/* ============================================================
   Ana sayfa atölyesi — AirDrop, Sohbet, Mesaj kapsülü
   ============================================================ */

.home-live-section,
.home-atelier,
.home-live-strip {
    --hlc-rgb: var(--accent-primary-rgb, 23, 162, 184);
    width: 100%;
}

.home-atelier-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    width: 100%;
}

.home-live-strip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    width: 100%;
}

@media (min-width: 1200px) {
    .home-live-strip-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
    }

    .home-atelier-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "stats stats"
            "printer mail";
        align-items: stretch;
    }

    .home-atelier-cell--stats { grid-area: stats; }
    .home-atelier-cell--printer { grid-area: printer; }
    .home-atelier-cell--mail { grid-area: mail; }
}

.home-atelier-cell--stats {
    min-width: 0;
    width: 100%;
}

.home-atelier-cell--stats .row,
.stats-section .home-atelier-cell--stats .row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin: 0;
}

.home-atelier-cell--stats .row > [class*="col-"],
.stats-section .home-atelier-cell--stats .row > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    flex: none;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .home-atelier-cell--stats .row,
    .stats-section .home-atelier-cell--stats .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .home-atelier-cell--stats .row,
    .stats-section .home-atelier-cell--stats .row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.home-atelier-cell--stats .stat-card {
    height: 100%;
}

.home-atelier-cell--printer,
.home-atelier-cell--mail {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

#iletisim,
.home-atelier-cell--mail {
    scroll-margin-top: 80px;
}

/* Atölyenin altı: kart margin'i (.neu-card), ızgara padding/margin'i (.stats-section) ve
   bölüm margin'i üst üste binip "Mesaj Gönder" ile footer İletişim arasını ~86px açıyordu.
   Tek bir boşluk kalıyor: bölümün alt margin'i. */
.home-atelier-grid.stats-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.home-atelier-cell--printer > :last-child,
.home-atelier-cell--mail > :last-child {
    margin-bottom: 0;
}

.home-atelier.projects-contact-section {
    margin-bottom: var(--spacing-lg);
}

.home-atelier-cell--printer .pr2-card,
.home-atelier-cell--printer .printer-showcase-card,
.home-atelier-cell--mail .hmc-card {
    flex: 1;
}

.hlc-card {
    --hlc-rgb: var(--accent-primary-rgb, 23, 162, 184);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    padding: 0;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    animation: hlc-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hlc-card--chat {
    animation-delay: 0.08s;
}

.hlc-card:hover {
    transform: translateY(-2px);
}

@keyframes hlc-enter {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

.hlc-stage {
    position: relative;
    height: 200px;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(var(--hlc-rgb), 0.28), transparent 58%),
        var(--bg-secondary);
    box-shadow: var(--neu-inset-sm);
}

.hlc-card.is-live .hlc-stage {
    height: 240px;
}

.hlc-card.is-live .hlc-bubbles {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
}

.hlc-stage-live {
    position: absolute;
    top: 0.55rem;
    right: 0.6rem;
    z-index: 7;
}

.hlc-card.is-live .hlc-stage-live {
    display: inline-flex;
}

.hlc-card--chat .hlc-stage {
    background:
        radial-gradient(ellipse at 72% 22%, rgba(var(--hlc-rgb), 0.26), transparent 52%),
        var(--bg-secondary);
}

/* ---------- AirDrop radar ---------- */
.hlc-ring {
    position: absolute;
    left: 50%;
    top: 54%;
    width: calc(54px + var(--d) * 46px);
    height: calc(54px + var(--d) * 46px);
    margin: calc(-27px - var(--d) * 23px) 0 0 calc(-27px - var(--d) * 23px);
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--accent-primary) 42%, transparent);
    animation: hlc-pulse 3.2s ease-out infinite;
    animation-delay: calc(var(--d) * 0.55s);
}

@keyframes hlc-pulse {
    0%, 100% { opacity: 0.25; transform: scale(0.96); }
    50%      { opacity: 0.85; transform: scale(1.04); }
}

.hlc-core {
    position: absolute;
    left: 50%;
    top: 54%;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 22px color-mix(in srgb, var(--accent-primary) 55%, transparent);
    font-size: 0.95rem;
    z-index: 2;
}

.hlc-orbit {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.hlc-beam {
    position: absolute;
    left: 50%;
    top: 54%;
    width: 2px;
    height: 50px;
    margin: -50px 0 0 -1px;
    transform-origin: 50% 100%;
    transform: rotate(var(--a, 0deg));
    pointer-events: none;
    z-index: 1;
    border-radius: 2px;
    background: linear-gradient(
        to top,
        color-mix(in srgb, var(--accent-primary) 8%, transparent),
        var(--accent-primary)
    );
    box-shadow: 0 0 8px color-mix(in srgb, var(--accent-primary) 45%, transparent);
}

.hlc-sat {
    pointer-events: auto;
    position: absolute;
    left: 50%;
    top: 54%;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    color: var(--accent-primary);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transform: rotate(var(--a, 0deg)) translateY(-72px) rotate(calc(-1 * var(--a, 0deg)));
    box-shadow: none;
    z-index: 2;
}

.hlc-sat.is-on {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 18px color-mix(in srgb, var(--accent-primary) 50%, transparent);
}

.hlc-sat-name {
    position: absolute;
    top: 50%;
    left: calc(100% + 8px);
    transform: translateY(-50%);
    max-width: 7.4rem;
    padding: 0.16rem 0.42rem;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
    background: var(--bg-primary);
    box-shadow: var(--neu-shadow-sm);
    pointer-events: none;
}

.hlc-sat[data-side="left"] .hlc-sat-name {
    left: auto;
    right: calc(100% + 8px);
}

/* ---------- Sohbet balonları (bekleme) ---------- */
.hlc-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hlc-bubble {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.65rem;
    border-radius: 14px;
    background: var(--bg-primary);
    box-shadow: var(--neu-shadow-sm);
    border: 1px solid rgba(var(--hlc-rgb), 0.22);
    animation: hlc-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d) * 0.18s);
}

.hlc-bubble--in {
    left: 14%;
    max-width: 58%;
}

.hlc-bubble--in[style*="--d:0"] { top: 18%; }
.hlc-bubble--in[style*="--d:2"] { top: 58%; }

.hlc-bubble--out {
    right: 14%;
    top: 38%;
    background: rgba(var(--hlc-rgb), 0.28);
    border-color: rgba(var(--hlc-rgb), 0.5);
}

.hlc-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-primary);
    flex-shrink: 0;
}

.hlc-line {
    display: block;
    width: 72px;
    height: 7px;
    border-radius: 999px;
    background: rgba(var(--hlc-rgb), 0.28);
}

.hlc-bubble--out .hlc-line {
    width: 54px;
    background: rgba(255, 255, 255, 0.72);
}

.hlc-dots {
    display: flex;
    gap: 4px;
}

.hlc-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: hlc-dot 1.1s ease-in-out infinite;
}

.hlc-dots i:nth-child(2) { animation-delay: 0.15s; }
.hlc-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes hlc-dot {
    0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}

@keyframes hlc-pop {
    from { opacity: 0; transform: translateY(8px) scale(0.94); }
    to   { opacity: 1; transform: none; }
}

.hlc-gate {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    display: flex;
    justify-content: center;
    padding: 0 1rem 0.9rem;
    background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--bg-secondary) 72%, transparent) 45%, var(--bg-secondary) 100%);
    pointer-events: none;
}

.hlc-wake {
    pointer-events: auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: var(--accent-primary);
    box-shadow:
        0 8px 20px color-mix(in srgb, var(--accent-primary) 32%, transparent),
        var(--neu-shadow-sm);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hlc-wake:hover {
    transform: translateY(-1px);
    box-shadow:
        0 10px 24px color-mix(in srgb, var(--accent-primary) 38%, transparent),
        var(--neu-shadow-md);
}

.hlc-wake-ring {
    position: absolute;
    inset: -5px;
    border-radius: 999px;
    border: 2px solid color-mix(in srgb, var(--accent-primary) 55%, transparent);
    animation: hlc-wake-pulse 2.2s ease-out infinite;
    pointer-events: none;
}

@keyframes hlc-wake-pulse {
    0%   { opacity: 0.75; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.18); }
}

.hlc-card.is-live .hlc-gate {
    display: none;
}

.hlc-card.is-booting .hlc-wake {
    opacity: 0.65;
    pointer-events: none;
}

/* ---------- Metin ---------- */
.hlc-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.05rem 1.15rem 1.15rem;
    flex: 1;
}

.hlc-cta.neu-button {
    margin-top: 0.35rem;
    text-decoration: none;
    font-weight: 600;
    color: var(--accent-primary);
    border: 1px solid color-mix(in srgb, var(--accent-primary) 32%, transparent);
    transition:
        background 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease,
        border-color 0.22s ease;
}

.hlc-cta.neu-button i {
    font-size: 0.75rem;
    color: var(--accent-primary);
    transition: color 0.22s ease, transform 0.25s ease;
}

.hlc-cta.neu-button:hover {
    color: #fff;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: var(--neu-shadow-md);
    transform: translateY(-1px);
}

.hlc-cta.neu-button:hover i {
    color: #fff;
    transform: translateX(3px);
}

.hlc-kicker,
.hlc-kicker.neu-text-secondary {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.hlc-title {
    margin: 0;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.2;
}

.hlc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.hlc-head .hlc-title {
    min-width: 0;
}

.hlc-head .hlc-kicker {
    flex-shrink: 0;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

.hlc-stage-live {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    flex-shrink: 0;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    background: var(--bg-primary);
    box-shadow: var(--neu-inset-sm);
    color: var(--text-secondary);
    white-space: nowrap;
}

.hlc-stage-live {
    display: none;
    background: color-mix(in srgb, var(--bg-primary) 88%, transparent);
    backdrop-filter: blur(6px);
    box-shadow: var(--neu-shadow-sm);
    pointer-events: none;
}

.hlc-stage-live.is-on { color: var(--accent-primary); }
.hlc-stage-live.is-off { color: var(--text-muted); }

.hlc-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 rgba(var(--hlc-rgb), 0.45);
    animation: hlc-online-ping 1.6s ease-out infinite;
}

@keyframes hlc-online-ping {
    0%   { box-shadow: 0 0 0 0 rgba(var(--hlc-rgb), 0.55); }
    100% { box-shadow: 0 0 0 7px transparent; }
}

.hlc-lead {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.hlc-peers,
.hlc-people {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.65rem 0.7rem 0;
    max-height: 72px;
    overflow: auto;
}

.hlc-people:not([hidden]) {
    min-height: 0;
}

.hlc-peer,
.hlc-person {
    border: none;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-primary);
    box-shadow: var(--neu-shadow-sm);
    border: 1px solid rgba(var(--hlc-rgb), 0.28);
    cursor: pointer;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hlc-person {
    cursor: default;
}

.hlc-peer.is-self {
    cursor: default;
    opacity: 0.7;
}

.hlc-peer.is-on {
    color: #fff;
    background: rgba(var(--hlc-rgb), 0.35);
    border-color: rgba(var(--hlc-rgb), 0.7);
}

.hlc-peer-empty {
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 0.2rem 0.15rem;
}

.hlc-feed {
    position: relative;
    z-index: 3;
    flex: 1;
    overflow: auto;
    overflow-anchor: none;
    padding: 1.85rem 0.75rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 0;
    scroll-behavior: auto;
}

.hlc-card--drop .hlc-feed,
.hlc-card--drop .hlc-peers {
    pointer-events: none;
}

.hlc-card--drop .hlc-feed .hlc-msg {
    pointer-events: auto;
}

.hlc-msg {
    max-width: 88%;
    padding: 0.38rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-primary);
    background: var(--bg-primary);
    box-shadow: var(--neu-shadow-sm);
    border: 1px solid rgba(var(--hlc-rgb), 0.16);
    word-break: break-word;
}

.hlc-msg strong {
    display: block;
    font-size: 0.64rem;
    letter-spacing: 0.04em;
    color: var(--accent-primary);
    margin-bottom: 0.1rem;
}

.hlc-msg.is-out {
    align-self: flex-end;
    color: #fff;
    background: linear-gradient(145deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
}

.hlc-msg.is-out strong {
    color: rgba(255, 255, 255, 0.9);
}

.hlc-msg.is-sys {
    align-self: center;
    max-width: 95%;
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    background: transparent;
    box-shadow: none;
    border: none;
}

.hlc-msg.is-file {
    align-self: flex-end;
    max-width: 92%;
    padding: 0.5rem 0.7rem 0.55rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 2px solid color-mix(in srgb, var(--accent-primary) 38%, transparent);
    box-shadow: var(--neu-shadow-sm);
}

.hlc-msg.is-file.is-out {
    align-self: flex-end;
    color: var(--text-primary);
    background: var(--bg-primary);
    border-color: color-mix(in srgb, var(--accent-primary) 42%, transparent);
}

.hlc-msg.is-file.is-out strong {
    color: var(--accent-primary);
}

.hlc-msg.is-file.is-sending {
    border-color: var(--accent-primary);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--accent-primary) 18%, transparent),
        var(--neu-shadow-sm);
    animation: hlc-file-card-pulse 1.15s ease-in-out infinite;
}

.hlc-msg.is-file.is-done {
    border-color: color-mix(in srgb, #27ae60 55%, transparent);
    animation: none;
}

@keyframes hlc-file-card-pulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-primary) 0%, transparent), var(--neu-shadow-sm); }
    50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-primary) 22%, transparent), var(--neu-shadow-sm); }
}

.hlc-msg.is-file.is-in {
    align-self: flex-start;
}

.hlc-file-name {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.38rem;
    word-break: break-all;
}

.hlc-file-name i {
    font-size: 0.72rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.hlc-file-bar {
    height: 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-secondary) 55%, var(--text-muted));
    overflow: hidden;
    margin-bottom: 0.32rem;
}

.hlc-file-bar-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width 0.16s ease;
    box-shadow: 0 0 8px color-mix(in srgb, var(--accent-primary) 45%, transparent);
}

.hlc-msg.is-file.is-sending .hlc-file-bar-fill {
    animation: hlc-bar-shimmer 1.1s linear infinite;
}

@keyframes hlc-bar-shimmer {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.18); }
    100% { filter: brightness(1); }
}

.hlc-msg.is-file.is-done .hlc-file-bar-fill {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    animation: none;
}

.hlc-file-status {
    display: block;
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.hlc-msg.is-file.is-done .hlc-file-status {
    color: #27ae60;
}

.hlc-transfer {
    border-radius: 14px;
    padding: 0.55rem 0.65rem;
    background: color-mix(in srgb, var(--accent-primary) 10%, var(--bg-primary));
    border: 1px solid color-mix(in srgb, var(--accent-primary) 32%, transparent);
    box-shadow: var(--neu-inset-sm);
    animation: hlc-file-card-pulse 1.15s ease-in-out infinite;
}

.hlc-transfer[hidden] {
    display: none !important;
}

.hlc-transfer-inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hlc-transfer-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #fff;
    background: linear-gradient(145deg, var(--accent-primary), var(--accent-secondary));
}

.hlc-transfer-ico i {
    animation: hlc-file-spin 0.9s linear infinite;
}

.hlc-transfer.is-done .hlc-transfer-ico i {
    animation: none;
}

.hlc-transfer-copy {
    flex: 1;
    min-width: 0;
}

.hlc-transfer-name {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.28rem;
}

.hlc-transfer-bar {
    height: 5px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-secondary) 50%, var(--text-muted));
    overflow: hidden;
    margin-bottom: 0.2rem;
}

.hlc-transfer-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width 0.16s ease;
}

.hlc-transfer-status {
    display: block;
    font-size: 0.64rem;
    color: var(--text-secondary);
}

.hlc-transfer-pct {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--accent-primary);
    min-width: 2.4rem;
    text-align: right;
}

.hlc-transfer.is-done {
    animation: none;
    border-color: color-mix(in srgb, #27ae60 45%, transparent);
    background: color-mix(in srgb, #27ae60 8%, var(--bg-primary));
}

.hlc-transfer.is-done .hlc-transfer-pct,
.hlc-transfer.is-done .hlc-transfer-status {
    color: #27ae60;
}

.hlc-card.is-transferring .hlc-composer {
    opacity: 0.72;
    pointer-events: none;
}

.hlc-file.is-sending {
    color: var(--accent-primary);
    animation: hlc-file-pulse 0.9s ease-in-out infinite;
}

.hlc-file.is-sending i {
    animation: hlc-file-spin 0.85s linear infinite;
}

@keyframes hlc-file-pulse {
    0%, 100% { box-shadow: var(--neu-shadow-sm); }
    50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-primary) 22%, transparent), var(--neu-shadow-sm); }
}

@keyframes hlc-file-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hlc-composer {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.hlc-input {
    flex: 1;
    min-width: 0;
    border: none;
    border-radius: 12px;
    padding: 0.55rem 0.75rem;
    background: var(--bg-primary);
    box-shadow: var(--neu-inset-sm);
    color: var(--text-primary);
    font-size: 0.86rem;
}

.hlc-input::placeholder,
.hmc-input::placeholder,
.hmc-textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.hlc-input:focus {
    outline: none;
    box-shadow: var(--neu-inset-sm), 0 0 0 2px rgba(var(--hlc-rgb), 0.35);
}

.hlc-input:disabled {
    opacity: 1;
    color: var(--text-primary);
}

.hlc-send,
.hlc-file {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: var(--bg-primary);
    box-shadow: var(--neu-shadow-sm);
    color: var(--accent-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.hlc-send:hover:not(:disabled),
.hlc-file:hover:not(:disabled) {
    box-shadow: var(--neu-shadow-md);
}

.hlc-send:disabled,
.hlc-file:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ============================================================
   İletişim formu
   ============================================================ */

.hmc-card {
    --hlc-rgb: var(--accent-primary-rgb, 23, 162, 184);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    padding: 0 !important;
    border-radius: 22px;
    overflow: visible;
    position: relative;
    animation: hlc-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.12s;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* İletişim kartı kenar ışığı efekti (kısa ~1.4s) */
.hmc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(var(--hlc-rgb), 0.25) 20%, 
        color-mix(in srgb, var(--accent-primary) 85%, #fff) 50%, 
        rgba(var(--hlc-rgb), 0.25) 80%, 
        transparent 100%
    );
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
    z-index: 8;
}

.hmc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1.5px solid transparent;
    pointer-events: none;
    opacity: 0;
    z-index: 7;
    box-shadow: 
        inset 0 0 16px rgba(var(--hlc-rgb), 0.25),
        0 0 22px -2px rgba(var(--hlc-rgb), 0.4);
}

.hmc-card:hover::before,
.hmc-card.hmc-glow-active::before {
    animation: hmcEdgeRay 1.4s cubic-bezier(0.2, 0.8, 0.25, 1) forwards;
}

.hmc-card:hover::after,
.hmc-card.hmc-glow-active::after {
    animation: hmcRimGlow 1.4s ease-out forwards;
}

@keyframes hmcEdgeRay {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes hmcRimGlow {
    0% {
        opacity: 0;
        border-color: transparent;
    }
    25% {
        opacity: 1;
        border-color: rgba(var(--hlc-rgb), 0.65);
    }
    75% {
        opacity: 0.7;
        border-color: rgba(var(--hlc-rgb), 0.4);
    }
    100% {
        opacity: 0;
        border-color: transparent;
    }
}

.hmc-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.15rem 1.2rem 1.25rem;
    flex: 1;
}

.hmc-body #contactForm {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.hmc-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem 1.35rem;
}

@media (min-width: 576px) {
    .hmc-fields {
        grid-template-columns: 1fr 1fr;
    }
}

.hmc-input,
.hmc-textarea {
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-radius: 14px;
    padding: 0.7rem 0.85rem;
    background: var(--bg-primary);
    box-shadow: var(--neu-inset-sm);
    color: var(--text-primary);
}

.hmc-input:focus,
.hmc-textarea:focus {
    outline: none;
    box-shadow: var(--neu-inset-sm), 0 0 0 2px rgba(var(--hlc-rgb), 0.32);
}

.hmc-well {
    position: relative;
}

.hmc-textarea,
.hmc-card .neu-textarea,
.projects-contact-section .hmc-card .neu-textarea,
.contact-form.hmc-card .neu-textarea {
    min-height: 118px;
    max-height: 220px;
    resize: none;
    overflow-y: auto;
    padding-bottom: 1.8rem;
}

.hmc-input::placeholder,
.hmc-textarea::placeholder,
.hmc-card .neu-input::placeholder,
.hmc-card .neu-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 1;
}

.hmc-count {
    position: absolute;
    right: 0.7rem;
    bottom: 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    pointer-events: none;
}

.hmc-card #contactFormBtn {
    margin-top: 0.35rem;
    padding: 0.62rem 1rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hlc-card,
    .hmc-card {
        animation: none;
        transition: none;
    }

    .hlc-card:hover {
        transform: none;
    }

    /* Halka, balon ve nokta animasyonları dar ekranda da çalışır (hafif CSS animasyonları); yalnızca reduced-motion kapatır. */

    .hlc-body {
        padding: 0.85rem 0.8rem 1rem;
    }

    .hmc-body {
        padding: 0.9rem 0.8rem 1rem;
    }
}

@media (max-width: 576px) {
    .hlc-stage { height: 180px; }
    .hlc-title { font-size: 1.08rem; }
    .hlc-head .hlc-kicker {
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hlc-card,
    .hmc-card,
    .hlc-card *,
    .hmc-card *,
    .hlc-card *::before,
    .hmc-card *::before,
    .hlc-card *::after,
    .hmc-card *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* Canlı bağlantı kurulana kadar üst görsel alanı bilinçli olarak sakin görünür. */
.hlc-card .hlc-stage {
    position: relative;
    transition: background 0.5s ease;
}

.hlc-card:not(.is-live) .hlc-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: rgba(15, 18, 28, 0.13);
    backdrop-filter: blur(2px) saturate(0.72);
    -webkit-backdrop-filter: blur(2px) saturate(0.72);
    transition: opacity 0.5s ease;
}

.hlc-card.is-live .hlc-stage {
    background-color: transparent;
}

.hlc-card.is-live .hlc-stage::after {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hlc-card .hlc-stage {
        transition: none;
    }
}
