:root {
    --white: #ffffff;
    --bg: #f4f6fb;
    --bg-soft: #eef2f9;
    --text: #1b2437;
    --text-muted: #5f6b82;
    --line: #dde3ef;
    --brand: #1e56e6;
    --brand-dark: #1644bb;
    --logo-snap: #2563eb;
    --logo-desk: #26a69a;
    --cta: #ef443b;
    --cta-hover: #d93a32;
    --success: #0d9f6e;
    --shadow-sm: 0 4px 20px rgba(22, 36, 70, 0.06);
    --shadow-md: 0 18px 50px rgba(22, 36, 70, 0.12);
    --radius: 14px;
    --radius-lg: 22px;
    --container: min(1180px, calc(100% - 2rem));
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.55;
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container { width: var(--container); margin: 0 auto; }

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem 1.25rem;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.98rem;
    font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
    font-weight: 700;
    font-size: 2.06rem;
    line-height: 1.1;
    color: #1a2233;
    letter-spacing: -0.02em;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
}

.site-header .brand-tagline {
    display: none;
}

.brand:hover {
    color: #1a2233;
}

.brand-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(22, 36, 70, 0.14);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.27rem;
    min-width: 0;
}

.brand-name {
    font-weight: 700;
    font-size: 1.875rem;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.brand-snap {
    color: var(--logo-snap);
}

.brand-desk {
    color: var(--logo-desk);
}

.brand-tagline {
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-muted);
    line-height: 1.2;
    white-space: nowrap;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #2563eb;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: none;
}

.brand--light .brand-name {
    color: #fff;
}

.brand--light .brand-snap {
    color: #93c5fd;
}

.brand--light .brand-desk {
    color: #5eead4;
}

.brand--light {
    color: #fff;
}

.brand--light:hover {
    color: #fff;
}

.brand--light .brand-tagline {
    color: rgba(255, 255, 255, 0.72);
}

.nav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(0.65rem, 1.15vw, 1.25rem);
    min-width: 0;
}

.nav-desktop a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.15s;
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--brand); }

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-actions .btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
}

.captcha-wrap {
    margin: 0.25rem 0 0.75rem;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.captcha-image {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    flex-shrink: 0;
}

.captcha-refresh {
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    padding: 0;
    cursor: pointer;
    color: var(--text);
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    position: relative;
    margin: 0 auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }

.nav-toggle.is-active .nav-toggle__icon {
    background: transparent;
}

.nav-toggle.is-active .nav-toggle__icon::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-mobile-backdrop,
.nav-mobile {
    display: none;
}

.nav-mobile a:hover,
.nav-mobile a.active { color: var(--brand); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.8rem 1.35rem;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-cta {
    background: var(--cta);
    color: #fff;
    box-shadow: 0 8px 24px rgba(239, 68, 59, 0.28);
}

.btn-cta:hover {
    background: var(--cta-hover);
    color: #fff;
}

.btn-brand {
    background: var(--brand);
    color: #fff;
}

.btn-brand:hover {
    background: var(--brand-dark);
    color: #fff;
}

.btn-outline {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--line);
}

.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-danger {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #fecaca;
}

.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }

/* ── Hero ── */
.hero-section {
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 70%);
    padding: 3.5rem 0 2rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(30, 86, 230, 0.08);
    color: var(--brand);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    line-height: 1.08;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.hero-lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    max-width: 34rem;
    margin: 0 0 1.75rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.hero-badges span::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
    margin-right: 0.4rem;
}

/* App mockup */
.app-mockup {
    background: linear-gradient(145deg, #1a2744, #243b67);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    color: #e8eefc;
}

.mockup-bar {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}

.mockup-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.25rem;
}

.mockup-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9db0d4;
    margin-bottom: 0.35rem;
}

.mockup-id {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.mockup-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.mockup-mini {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 0.85rem;
}

.mockup-code {
    font-size: 1.4rem;
    font-weight: 700;
    color: #7dd3fc;
}

.mockup-status {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #86efac;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.2);
}

/* Hero animated demo */
.hero-demo {
    min-height: 22rem;
}

.hero-demo .mockup-bar {
    align-items: center;
    justify-content: flex-start;
}

.hero-demo__title {
    margin-left: auto;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.hero-demo__viewport {
    position: relative;
    min-height: 19.5rem;
}

.hero-demo__scene {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-demo__scene.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.hero-demo__panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.1rem 1.15rem 1.15rem;
}

.hero-demo__panel--center {
    height: 100%;
    min-height: 16rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.65rem;
}

.hero-demo__panel-head {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: #eef2ff;
}

.hero-demo__field + .hero-demo__field {
    margin-top: 0.75rem;
}

.hero-demo__label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9db0d4;
    margin-bottom: 0.35rem;
}

.hero-demo__input {
    display: flex;
    align-items: center;
    min-height: 2.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero-demo__input--code {
    color: #7dd3fc;
}

.hero-demo__typed {
    min-width: 0.5rem;
    white-space: nowrap;
}

.hero-demo__caret {
    width: 2px;
    height: 1.15rem;
    margin-left: 2px;
    background: #93c5fd;
    animation: hero-demo-blink 1s step-end infinite;
}

.hero-demo__caret--code {
    opacity: 0;
}

.hero-demo__btn {
    width: 100%;
    margin-top: 0.95rem;
    min-height: 2.55rem;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: default;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-demo__btn.is-pressed {
    transform: scale(0.98);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-demo__hint {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: #cbd5e1;
}

.hero-demo__hint--success {
    color: #86efac;
}

.hero-demo__spinner {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #7dd3fc;
    animation: hero-demo-spin 0.9s linear infinite;
}

.hero-demo__loading-title {
    font-size: 1rem;
    font-weight: 700;
}

.hero-demo__loading-sub {
    font-size: 0.82rem;
    color: #9db0d4;
}

.hero-demo__progress {
    width: min(100%, 14rem);
    height: 6px;
    margin-top: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.hero-demo__progress span {
    display: block;
    height: 100%;
    width: 35%;
    border-radius: inherit;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    animation: hero-demo-progress 1.8s ease-in-out infinite;
}

.hero-demo__remote {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
}

.hero-demo__remote-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.65rem;
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
    font-size: 0.74rem;
    font-weight: 600;
}

.hero-demo__remote-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.hero-demo__remote-screen {
    position: relative;
    height: 12.75rem;
    overflow: hidden;
}

.hero-demo__remote-wallpaper {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(125, 211, 252, 0.4), transparent 42%),
        radial-gradient(circle at 82% 12%, rgba(167, 139, 250, 0.35), transparent 38%),
        linear-gradient(155deg, #0c4a6e 0%, #1e3a8a 42%, #312e81 100%);
}

.hero-demo__desktop-icons {
    position: absolute;
    top: 0.55rem;
    left: 0.45rem;
    display: grid;
    gap: 0.55rem;
    z-index: 1;
}

.hero-demo__desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    width: 2.6rem;
    font-size: 0.48rem;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero-demo__folder-icon {
    display: block;
    width: 1.35rem;
    height: 1.05rem;
    border-radius: 3px 3px 2px 2px;
    background: linear-gradient(180deg, #bfdbfe 0%, #3b82f6 100%);
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.hero-demo__folder-icon::before {
    content: "";
    position: absolute;
    top: -0.22rem;
    left: 0;
    width: 0.62rem;
    height: 0.28rem;
    border-radius: 2px 2px 0 0;
    background: #93c5fd;
}

.hero-demo__folder-icon--yellow {
    background: linear-gradient(180deg, #fef08a 0%, #eab308 100%);
}

.hero-demo__folder-icon--yellow::before {
    background: #fde047;
}

.hero-demo__folder-icon--green {
    background: linear-gradient(180deg, #bbf7d0 0%, #22c55e 100%);
}

.hero-demo__folder-icon--green::before {
    background: #86efac;
}

.hero-demo__folder-icon--purple {
    background: linear-gradient(180deg, #ddd6fe 0%, #8b5cf6 100%);
}

.hero-demo__folder-icon--purple::before {
    background: #c4b5fd;
}

.hero-demo__explorer {
    position: absolute;
    top: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.28);
    z-index: 2;
}

.hero-demo__explorer-top {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.32rem 0.45rem;
    background: linear-gradient(180deg, #ffffff, #eef2f7);
    border-bottom: 1px solid #dbe3ee;
}

.hero-demo__explorer-dot {
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: #cbd5e1;
}

.hero-demo__explorer-path {
    margin-left: 0.25rem;
    font-size: 0.52rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-demo__explorer-body {
    padding: 0.55rem 0.5rem 0.65rem;
    background: #ffffff;
}

.hero-demo__folder-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
}

.hero-demo__folder-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.25rem 0.15rem;
    border-radius: 6px;
    font-size: 0.5rem;
    color: #334155;
    text-align: center;
    will-change: transform;
}

.hero-demo__folder-item .hero-demo__folder-icon {
    width: 1.55rem;
    height: 1.2rem;
}

.hero-demo__remote-cursor {
    position: absolute;
    top: 78%;
    left: 84%;
    z-index: 5;
    width: 16px;
    height: 22px;
    transform-origin: 0 0;
    transform: scale(1);
    opacity: 0;
    pointer-events: none;
    will-change: top, left, transform, opacity;
}

.hero-demo__remote-cursor svg {
    display: block;
    width: 16px;
    height: 22px;
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.45));
}

.hero-demo__remote-screen.is-animating .hero-demo__remote-cursor {
    animation: hero-demo-cursor-session 5.2s ease-in-out forwards;
}

.hero-demo__remote-screen.is-animating .hero-demo__folder-item--a {
    animation: hero-demo-folder-drag-right 5.2s ease-in-out forwards;
}

.hero-demo__remote-screen.is-animating .hero-demo__folder-item--b {
    animation: hero-demo-folder-drag-left 5.2s ease-in-out forwards;
}

.hero-demo__trust {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(2px);
    opacity: 0;
    transform: scale(0.92);
}

.hero-demo__remote-screen.is-animating .hero-demo__trust {
    animation: hero-demo-trust-reveal 5.2s ease forwards;
}

.hero-demo__trust-icon {
    width: 3.4rem;
    height: 3.4rem;
}

.hero-demo__trust-icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hero-demo__trust-shield {
    fill: rgba(34, 197, 94, 0.92);
    stroke: #bbf7d0;
    stroke-width: 2;
}

.hero-demo__trust-face {
    fill: #fef9c3;
}

.hero-demo__trust-eye {
    fill: #0f172a;
}

.hero-demo__trust-smile {
    fill: none;
    stroke: #0f172a;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.hero-demo__trust-check {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
}

.hero-demo__remote-screen.is-animating .hero-demo__trust-check {
    animation: hero-demo-check-pop 5.2s ease forwards;
}

.hero-demo__trust strong {
    color: #ecfdf5;
    font-size: 0.82rem;
}

.hero-demo__trust span {
    color: #bbf7d0;
    font-size: 0.68rem;
}

.hero-demo__remote-taskbar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    background: rgba(15, 23, 42, 0.88);
}

.hero-demo__taskbar-start {
    width: 1.15rem;
    height: 0.35rem;
    border-radius: 3px;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
}

.hero-demo__remote-taskbar span:not(.hero-demo__taskbar-start) {
    width: 1.1rem;
    height: 0.35rem;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.25);
}

.hero-demo--static .hero-demo__remote-screen .hero-demo__trust {
    opacity: 1;
    transform: none;
}

.hero-demo--static .hero-demo__trust-check {
    opacity: 1;
}

.hero-demo--static .hero-demo__remote-cursor {
    opacity: 0;
}

@keyframes hero-demo-cursor-session {
    0%, 6% {
        opacity: 0;
        top: 78%;
        left: 84%;
        transform: scale(1);
    }
    8% {
        opacity: 1;
        top: 78%;
        left: 84%;
        transform: scale(1);
    }
    16% {
        top: 27%;
        left: 17%;
        transform: scale(1);
    }
    22%, 26% {
        top: 27%;
        left: 17%;
        transform: scale(1);
    }
    30% {
        top: 27%;
        left: 17%;
        transform: scale(0.86);
    }
    46% {
        top: 27%;
        left: 41%;
        transform: scale(1);
    }
    50%, 54% {
        top: 27%;
        left: 41%;
        transform: scale(1);
    }
    58% {
        top: 27%;
        left: 61%;
        transform: scale(0.86);
    }
    74% {
        top: 27%;
        left: 35%;
        transform: scale(1);
    }
    80%, 84% {
        opacity: 1;
        top: 46%;
        left: 48%;
        transform: scale(1);
    }
    88%, 100% {
        opacity: 0;
        top: 46%;
        left: 48%;
        transform: scale(1);
    }
}

@keyframes hero-demo-folder-drag-right {
    0%, 24% { transform: translate(0, 0); box-shadow: none; background: transparent; }
    28% { transform: translate(0, 0) scale(0.97); background: rgba(56, 189, 248, 0.12); box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35); }
    48% { transform: translate(1.65rem, -0.1rem); background: rgba(56, 189, 248, 0.16); box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12); }
    52%, 100% { transform: translate(1.65rem, -0.1rem); background: transparent; box-shadow: none; }
}

@keyframes hero-demo-folder-drag-left {
    0%, 56% { transform: translate(0, 0); box-shadow: none; background: transparent; }
    60% { transform: translate(0, 0) scale(0.97); background: rgba(56, 189, 248, 0.12); box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35); }
    76% { transform: translate(-1.45rem, 0.12rem); background: rgba(56, 189, 248, 0.16); box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12); }
    82%, 100% { transform: translate(-1.45rem, 0.12rem); background: transparent; box-shadow: none; }
}

@keyframes hero-demo-trust-reveal {
    0%, 78% { opacity: 0; transform: scale(0.9); }
    86%, 94% { opacity: 1; transform: scale(1); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes hero-demo-check-pop {
    0%, 84% { opacity: 0; transform: scale(0.6); }
    90%, 100% { opacity: 1; transform: scale(1); }
}

/* Transfer scene */
.hero-demo__transfer-panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem 1.05rem 1.1rem;
}

.hero-demo__transfer-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.95rem;
    color: #eef2ff;
}

.hero-demo__transfer-icon {
    font-size: 1rem;
}

.hero-demo__transfer-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.55rem;
    align-items: center;
}

.hero-demo__transfer-side {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hero-demo__transfer-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9db0d4;
}

.hero-demo__transfer-file {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0.6rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 600;
}

.hero-demo__transfer-file small {
    font-size: 0.62rem;
    font-weight: 500;
    color: #9db0d4;
}

.hero-demo__transfer-file--dest {
    opacity: 0.35;
    transform: scale(0.96);
}

.hero-demo__file-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1rem;
    border-radius: 4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
}

.hero-demo__transfer-mid {
    position: relative;
    width: 2.2rem;
    text-align: center;
    color: #7dd3fc;
    font-size: 1.15rem;
    font-weight: 700;
}

.hero-demo__transfer-flying {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.hero-demo__transfer-flying .hero-demo__file-badge {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hero-demo__transfer-bar {
    height: 6px;
    margin-top: 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.hero-demo__transfer-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
}

.hero-demo__transfer-status {
    margin-top: 0.45rem;
    font-size: 0.74rem;
    color: #bbf7d0;
    text-align: center;
}

.hero-demo__scene--transfer.is-animating .hero-demo__transfer-bar span {
    animation: hero-demo-transfer-bar 4.2s ease forwards;
}

.hero-demo__scene--transfer.is-animating .hero-demo__transfer-flying {
    animation: hero-demo-transfer-fly 4.2s ease forwards;
}

.hero-demo__scene--transfer.is-animating .hero-demo__transfer-file--source {
    animation: hero-demo-transfer-source 4.2s ease forwards;
}

.hero-demo__scene--transfer.is-animating .hero-demo__transfer-file--dest {
    animation: hero-demo-transfer-dest 4.2s ease forwards;
}

/* Chat scene */
.hero-demo__chat-panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.hero-demo__chat-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.85rem;
    background: rgba(0, 0, 0, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    font-weight: 700;
    color: #eef2ff;
}

.hero-demo__chat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.hero-demo__chat-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem;
    min-height: 11.5rem;
}

.hero-demo__chat-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 92%;
}

.hero-demo__chat-row--agent {
    align-self: flex-start;
}

.hero-demo__chat-row--client {
    align-self: flex-end;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-demo__chat-row--client.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-demo__chat-who {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9db0d4;
}

.hero-demo__chat-row--client .hero-demo__chat-who {
    text-align: right;
}

.hero-demo__chat-bubble {
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #f8fafc;
}

.hero-demo__chat-bubble--agent {
    background: rgba(56, 189, 248, 0.22);
    border: 1px solid rgba(125, 211, 252, 0.25);
    border-bottom-left-radius: 4px;
}

.hero-demo__chat-bubble--client {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(134, 239, 172, 0.25);
    border-bottom-right-radius: 4px;
    text-align: right;
}

.hero-demo__chat-bubble span {
    display: inline;
}

.hero-demo__chat-compose {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
    font-size: 0.68rem;
    color: #94a3b8;
}

.hero-demo__chat-compose button {
    border: 0;
    border-radius: 6px;
    padding: 0.3rem 0.55rem;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: default;
}

.hero-demo--static .hero-demo__chat-row--client {
    opacity: 1;
    transform: none;
}

.hero-demo--static .hero-demo__transfer-bar span {
    width: 100%;
}

.hero-demo--static .hero-demo__transfer-file--dest {
    opacity: 1;
    transform: none;
}

@keyframes hero-demo-transfer-bar {
    0% { width: 0; }
    35% { width: 42%; }
    70% { width: 78%; }
    100% { width: 100%; }
}

@keyframes hero-demo-transfer-fly {
    0%, 18% { opacity: 0; transform: translate(-120%, -50%); }
    28%, 62% { opacity: 1; transform: translate(-50%, -50%); }
    72%, 100% { opacity: 0; transform: translate(80%, -50%); }
}

@keyframes hero-demo-transfer-source {
    0%, 15% { opacity: 1; transform: scale(1); }
    35%, 100% { opacity: 0.55; transform: scale(0.96); }
}

@keyframes hero-demo-transfer-dest {
    0%, 55% { opacity: 0.35; transform: scale(0.96); }
    75%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35); }
}

.hero-demo--static .hero-demo__scene {
    position: relative;
    display: none;
}

.hero-demo--static .hero-demo__scene.is-active {
    display: block;
}

@keyframes hero-demo-blink {
    50% { opacity: 0; }
}

@keyframes hero-demo-spin {
    to { transform: rotate(360deg); }
}

@keyframes hero-demo-progress {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}

@media (max-width: 960px) {
    .hero-demo {
        margin-top: 1.5rem;
    }
}

/* ── Stats ── */
.stats-strip {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand);
}

.stat-number--live {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.1rem;
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1;
    transition: color 0.25s ease, transform 0.25s ease;
}

.stat-trend--up {
    color: #16a34a;
}

.stat-trend--down {
    color: #dc2626;
}

.stat-number--live.is-up #online-users-stat-value {
    color: #0f766e;
}

.stat-number--live.is-down #online-users-stat-value {
    color: #b45309;
}

.stat-caption {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ── Sections ── */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg); }

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.section-head p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(30, 86, 230, 0.1);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.feature-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem;
    position: relative;
}

.step-card .num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.step-card h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.step-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

.steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    min-width: 0;
}

.security-grid > * {
    min-width: 0;
}

.security-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.security-list li {
    padding: 0.65rem 0 0.65rem 1.75rem;
    position: relative;
    color: var(--text-muted);
}

.security-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--brand);
}

.security-copy__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 250px);
    gap: 1.25rem 1.75rem;
    align-items: center;
    margin-top: 0.35rem;
}

.security-copy__body .security-list {
    margin-top: 0;
}

.security-audience-card {
    padding: 2rem;
}

.security-desk-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    padding: 0.5rem 0.25rem;
}

.security-desk-animation__svg {
    width: min(320px, 100%);
    height: auto;
    overflow: visible;
}

.security-desk-animation__scene {
    transform-origin: 160px 210px;
    animation: securitySceneBob 8s ease-in-out infinite;
}

.security-desk-animation__person {
    transform-origin: 132px 188px;
}

.security-desk-animation__monitor {
    transform-origin: 172px 118px;
}

.security-desk-animation__screen,
.security-desk-animation__mini-screen {
    animation: securityScreenPulse 8s ease-in-out infinite;
}

.security-desk-animation__smile {
    transform-origin: 132px 156px;
    animation: securitySmileHappy 8s ease-in-out infinite;
}

.security-desk-animation__eye--left {
    transform-origin: 124px 148px;
    animation: securityEyeBlink 8s ease-in-out infinite;
}

.security-desk-animation__eye--right {
    transform-origin: 140px 148px;
    animation: securityEyeBlink 8s ease-in-out infinite;
}

.security-desk-animation__hand {
    transform-origin: 176px 186px;
    animation: securityHandType 8s ease-in-out infinite;
}

.security-desk-animation__bubble {
    transform-origin: 283px 52px;
    opacity: 0;
    animation: securityBubblePop 8s ease-in-out infinite;
}

.security-desk-animation__bubble-pc,
.security-desk-animation__bubble-link,
.security-desk-animation__bubble-emoji {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: securityBubbleItemIn 8s ease-in-out infinite;
}

.security-desk-animation__bubble-pc--1 { animation-delay: 1.85s; }
.security-desk-animation__bubble-link--1 { animation-delay: 2.05s; }
.security-desk-animation__bubble-pc--2 { animation-delay: 2.15s; }
.security-desk-animation__bubble-link--2 { animation-delay: 2.35s; }
.security-desk-animation__bubble-pc--3 { animation-delay: 2.45s; }
.security-desk-animation__bubble-emoji {
    animation-delay: 2.75s;
    animation-name: securityBubbleEmojiIn;
}

.security-desk-animation__spark {
    opacity: 0;
    animation: securitySparkle 8s ease-in-out infinite;
}

.security-desk-animation__spark--delay {
    animation-delay: 0.35s;
}

.security-desk-animation__floor {
    animation: securityShadowPulse 8s ease-in-out infinite;
    transform-origin: 178px 238px;
}

@keyframes securitySceneBob {
    0%, 100% { transform: translateY(0); }
    48%, 52% { transform: translateY(-3px); }
}

@keyframes securityHandType {
    0%, 100%, 24%, 74% { transform: translateY(0); }
    28%, 36%, 44% { transform: translateY(2px); }
    52%, 60%, 68% { transform: translateY(1px); }
}

@keyframes securityScreenPulse {
    0%, 20%, 100% { opacity: 0.82; }
    35%, 65% { opacity: 1; }
}

@keyframes securitySmileHappy {
    0%, 18%, 72%, 100% { transform: scale(1, 1); }
    30%, 60% { transform: scale(1.06, 1.45); }
}

@keyframes securityEyeBlink {
    0%, 46%, 48%, 100% { transform: scaleY(1); }
    47% { transform: scaleY(0.2); }
}

@keyframes securityBubblePop {
    0%, 14%, 70%, 100% {
        opacity: 0;
        transform: translateY(8px) scale(0.72);
    }
    22%, 62% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes securityBubbleItemIn {
    0%, 100% { opacity: 0; transform: scale(0.55); }
    4%, 42% { opacity: 1; transform: scale(1); }
    50%, 100% { opacity: 0; transform: scale(0.55); }
}

@keyframes securityBubbleEmojiIn {
    0%, 100% { opacity: 0; transform: scale(0.4) rotate(-8deg); }
    6%, 40% { opacity: 1; transform: scale(1.12) rotate(0deg); }
    48%, 100% { opacity: 0; transform: scale(0.4) rotate(8deg); }
}

@keyframes securitySparkle {
    0%, 24%, 66%, 100% { opacity: 0; transform: scale(0.5); }
    32%, 52% { opacity: 1; transform: scale(1); }
}

@keyframes securityShadowPulse {
    0%, 100% { transform: scaleX(1); opacity: 0.08; }
    50% { transform: scaleX(0.94); opacity: 0.06; }
}

@media (prefers-reduced-motion: reduce) {
    .security-desk-animation__scene,
    .security-desk-animation__screen,
    .security-desk-animation__mini-screen,
    .security-desk-animation__smile,
    .security-desk-animation__eye--left,
    .security-desk-animation__eye--right,
    .security-desk-animation__hand,
    .security-desk-animation__bubble,
    .security-desk-animation__bubble-pc,
    .security-desk-animation__bubble-link,
    .security-desk-animation__bubble-emoji,
    .security-desk-animation__spark,
    .security-desk-animation__floor {
        animation: none !important;
    }

    .security-desk-animation__bubble,
    .security-desk-animation__bubble-pc,
    .security-desk-animation__bubble-link,
    .security-desk-animation__bubble-emoji {
        opacity: 1;
        transform: none;
    }
}

.cta-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2744, #1e56e6);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    min-height: 8.5rem;
}

.cta-band__content {
    position: relative;
    z-index: 2;
}

.cta-band__binary {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
}

.cta-band__binary-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.cta-band__download-btn {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    background: #fff !important;
    color: var(--brand) !important;
    box-shadow: none !important;
}

.cta-band__download-btn:hover {
    transform: none;
}

.cta-band__download-label {
    display: inline-block;
    animation: cta-download-sway 3.2s ease-in-out infinite;
    will-change: transform;
}

@keyframes cta-download-sway {
    0%, 100% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta-band__download-label {
        animation: none;
    }
}

.cta-band h2 { margin: 0 0 0.35rem; font-size: 1.75rem; }
.cta-band p { margin: 0; opacity: 0.88; }

/* ── Download page ── */
.page-hero {
    background: var(--bg);
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
}

.page-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.page-lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 42rem;
}

.download-panel {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.platform-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    font-weight: 600;
}

.platform-item.active {
    border-color: var(--brand);
    background: rgba(30, 86, 230, 0.06);
    color: var(--brand);
}

.platform-item.disabled {
    opacity: 0.5;
}

.download-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.download-card h2 { margin-top: 0; }

.req-list {
    color: var(--text-muted);
    padding-left: 1.1rem;
    line-height: 1.8;
}

/* ── Footer ── */
.site-footer {
    background: #141c2e;
    color: #b8c2d6;
    padding: 3rem 0 0;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand__logo {
    display: inline-flex;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: #8d9bb5;
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0;
}

.footer-col h4 {
    color: #fff;
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
}

.footer-col a {
    display: block;
    color: #b8c2d6;
    padding: 0.3rem 0;
    font-size: 0.92rem;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.1rem 0 calc(1.35rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
    font-size: 0.86rem;
    color: #8d9bb5;
    background: rgba(0, 0, 0, 0.12);
}

.footer-bottom__copy,
.footer-bottom__tagline {
    margin: 0;
    line-height: 1.5;
    min-width: 0;
}

.footer-bottom__copy {
    flex: 1 1 20rem;
    color: #9aa8be;
}

.footer-bottom__rights {
    white-space: nowrap;
}

.footer-bottom__tagline {
    flex-shrink: 0;
    color: #7d8ba3;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

/* ── Admin (inherits light theme) ── */
.site-main--admin { padding: 2rem 0 3rem; background: var(--bg); min-height: 60vh; }

.admin-layout { display: grid; gap: 1rem; }

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.card, .panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.stat-label { color: var(--text-muted); font-size: 0.9rem; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--brand); margin-top: 0.2rem; }

.table-wrap { overflow: auto; }

.release-notes-box {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(30, 86, 230, 0.04);
}

.release-notes-box__title {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.release-notes-box__body {
    white-space: pre-wrap;
    line-height: 1.55;
    font-size: 0.93rem;
}

.update-package-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.update-package-item {
    margin: 0;
}

.update-package-accordion {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}

.update-package-accordion[open] {
    box-shadow: var(--shadow-sm);
}

.update-package-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.update-package-summary::-webkit-details-marker {
    display: none;
}

.update-package-summary::before {
    content: "▸";
    flex: 0 0 auto;
    color: var(--brand);
    font-size: 0.85rem;
    transition: transform 0.15s ease;
}

.update-package-accordion[open] > .update-package-summary::before {
    transform: rotate(90deg);
}

.update-package-summary__main {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1 1 auto;
}

.update-package-summary__title {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.update-package-summary__folder {
    font-size: 0.82rem;
}

.update-package-summary__meta {
    font-size: 0.82rem;
    white-space: nowrap;
    flex: 0 0 auto;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.form-actions--top {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}

.form-actions--bottom {
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

.mail-settings-form .form-group:last-of-type {
    margin-bottom: 0;
}

.update-package-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(30, 86, 230, 0.1);
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.update-package-badge--faulty {
    background: rgba(197, 48, 48, 0.12);
    color: #c53030;
}

.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

.checkbox-inline input {
    width: auto;
    margin: 0;
}

.update-package-body {
    padding: 0 1rem 1rem;
    border-top: 1px solid var(--line);
    background: rgba(30, 86, 230, 0.02);
}

.update-package-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
}

.update-package-delete-form {
    margin: 0;
}

.update-package-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1.25rem;
    margin: 0.9rem 0 1rem;
}

.update-package-details__row {
    display: grid;
    gap: 0.15rem;
}

.update-package-details dt {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.update-package-details dd {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text);
}

.update-package-files {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.update-package-files th,
.update-package-files td {
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.update-package-files th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
}

.update-version-history th,
.update-version-history td {
    vertical-align: middle;
    font-size: 0.88rem;
}

.update-version-history__index {
    white-space: nowrap;
    width: 3rem;
    text-align: center;
}

.update-version-history__row--active {
    background: rgba(30, 86, 230, 0.06);
}

.update-version-history__row--active td:first-child {
    box-shadow: inset 3px 0 0 var(--brand);
}

.update-version-history__row--faulty {
    opacity: 0.72;
}

.update-version-history__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.update-version-history__notes summary {
    cursor: pointer;
    font-size: 0.82rem;
}

.update-version-history__notes-row td {
    padding-top: 0;
    padding-bottom: 0.65rem;
    border-top: none;
}

.release-notes-box--inline {
    margin-top: 0.85rem;
    margin-bottom: 0;
}

@media (max-width: 720px) {
    .update-package-summary {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .update-package-summary__meta {
        width: 100%;
        padding-left: 1.1rem;
    }

    .update-package-details {
        grid-template-columns: 1fr;
    }
}

table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th, td { text-align: left; padding: 0.85rem 0.65rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text-muted); font-weight: 600; }

.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(30, 86, 230, 0.1);
    color: var(--brand);
}

.alert { padding: 0.9rem 1rem; border-radius: 12px; margin-bottom: 1rem; }
.alert-error { background: #fff5f5; border: 1px solid #fecaca; color: #9b2c2c; }
.alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }

.login-wrap {
    min-height: calc(100vh - 72px);
    display: grid;
    place-items: center;
    background: var(--bg);
    padding: 2rem 0;
}

.login-card { width: min(420px, 100%); }

.auth-portal-section {
    padding-top: 1.5rem;
}

.auth-portal-grid {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.auth-form-card {
    margin: 0;
    width: 100%;
    max-width: 420px;
    align-self: start;
}

.auth-form .form-group:last-of-type {
    margin-bottom: 1.1rem;
}

.auth-submit-btn {
    width: 100%;
}

.auth-form-footer {
    margin: 0.75rem 0 0;
    text-align: center;
}

.auth-form-footer + .auth-form-footer {
    margin-top: 0.35rem;
}

.auth-portal-aside {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    overflow: hidden;
    align-self: start;
}

.auth-info-card {
    margin: 0;
    flex: 0 0 auto;
    padding: 1.1rem 1.25rem;
}

.auth-info-card h3 {
    margin: 0;
    font-size: 1.02rem;
}

.auth-info-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

.auth-info-list {
    margin: 0.55rem 0 0;
}

.auth-info-list li {
    padding: 0.35rem 0 0.35rem 1.5rem;
    font-size: 0.92rem;
    line-height: 1.35;
}

.auth-illustration-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #eef4ff 0%, #f8fafc 55%, #ffffff 100%);
    box-shadow: var(--shadow-sm);
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
}

.auth-illustration-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.auth-illustration-fallback {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(30, 86, 230, 0.12), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1), transparent 40%),
        linear-gradient(145deg, #eef4ff 0%, #f8fafc 100%);
}

@media (max-width: 960px) {
    .auth-portal-grid {
        grid-template-columns: 1fr;
    }

    .auth-form-card {
        max-width: none;
    }

    .auth-portal-aside {
        max-height: none !important;
    }

    .auth-illustration-wrap {
        min-height: 220px;
        max-height: none;
    }

    .auth-illustration-wrap img {
        height: auto;
        max-height: 280px;
        object-fit: cover;
        object-position: center top;
    }
}

.auth-section-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

.auth-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.auth-choice-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.auth-choice-hint {
    margin: 0.9rem 0 0;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .auth-choice-grid {
        grid-template-columns: 1fr;
    }
}

.form-group { margin-bottom: 1rem; }
label { display: block; margin-bottom: 0.35rem; color: var(--text-muted); font-size: 0.92rem; }

.form-group input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
}

.subtle { color: var(--text-muted); font-size: 0.9rem; }

.admin-password-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.admin-password-form input[type="password"] {
    width: auto;
    min-width: 7rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.85rem;
}

.customer-password-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    min-width: 16rem;
}

.customer-password-form input[type="password"],
.customer-password-form input[type="text"] {
    width: auto;
    min-width: 6.5rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.85rem;
}

.construction-body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}

.construction-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.construction-card {
    width: min(460px, 100%);
}

.construction-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.construction-brand img {
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(22, 36, 70, 0.14);
}
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }

code {
    background: var(--bg-soft);
    padding: 0.1rem 0.35rem;
    border-radius: 6px;
    font-size: 0.88em;
}

/* ── Responsive ── */
@media (max-width: 1120px) {
    .nav-desktop, .header-actions .btn-outline { display: none; }
    .nav-toggle { display: inline-grid; place-items: center; }
    .header-inner { grid-template-columns: 1fr auto; }
    .header-actions .btn-cta { display: none; }
    .hero-grid, .security-grid, .download-panel, .footer-grid { grid-template-columns: 1fr; }
    .security-copy__body { grid-template-columns: 1fr; }
    .security-desk-animation { min-height: 200px; }
    .features-grid, .steps-row, .stats-grid, .stats { grid-template-columns: 1fr 1fr; }

    body.site-nav-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    .nav-mobile-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 110;
        background: rgba(15, 23, 42, 0.45);
    }

    .nav-mobile-backdrop[hidden] {
        display: none !important;
    }

    .nav-mobile {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 120;
        width: min(300px, 86vw);
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        background: var(--white);
        box-shadow: -10px 0 40px rgba(15, 23, 42, 0.14);
        transform: translateX(100%);
        transition: transform 0.22s ease;
        visibility: hidden;
        pointer-events: none;
    }

    .site-header.is-nav-open .nav-mobile {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-mobile__panel {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .nav-mobile__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
        border-bottom: 1px solid var(--line);
        flex-shrink: 0;
    }

    .nav-mobile__title {
        font-weight: 700;
        font-size: 1rem;
        color: var(--text);
    }

    .nav-mobile__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.25rem;
        height: 2.25rem;
        border: none;
        border-radius: 8px;
        background: var(--bg-soft);
        color: var(--text-muted);
        font-size: 1.35rem;
        line-height: 1;
        cursor: pointer;
    }

    .nav-mobile__links {
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.4rem 0.65rem;
        min-height: 0;
    }

    .nav-mobile__links a {
        display: block;
        padding: 0.55rem 0.65rem;
        border-radius: 10px;
        color: var(--text-muted);
        font-weight: 500;
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .nav-mobile__links a.active {
        background: rgba(30, 86, 230, 0.08);
        color: var(--brand);
        font-weight: 600;
    }

    .nav-mobile__footer {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.85rem 1rem;
        border-top: 1px solid var(--line);
        background: var(--bg-soft);
    }

    .nav-mobile__footer .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1.25rem;
        padding-bottom: 1.75rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: none;
    }
}

@media (min-width: 1400px) {
    .site-header .brand-tagline {
        display: block;
        font-size: 0.75rem;
    }
}

@media (max-width: 1280px) and (min-width: 1121px) {
    .site-header .brand-name { font-size: 1.5rem; }
    .site-header .brand-icon { width: 52px; height: 52px; }
}

@media (max-width: 600px) {
    :root {
        --container: min(1180px, calc(100% - 1.25rem));
    }

    .features-grid, .steps-row, .stats-grid, .stats { grid-template-columns: 1fr; }
    .hero-section { padding-top: 2rem; }

    .site-header .brand-icon {
        width: 44px;
        height: 44px;
    }

    .site-header .brand-name {
        font-size: 1.35rem;
    }

    .header-actions .btn-outline {
        display: none;
    }

    .header-actions .btn-cta {
        display: none;
    }

    .section {
        padding: 2.5rem 0;
    }

    .security-grid .feature-card,
    .security-grid .step-card {
        padding: 1rem;
    }

    .cta-band {
        padding: 1.5rem 1.15rem;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        min-height: 0;
    }

    .cta-band h2 {
        font-size: 1.45rem;
    }

    .cta-band__download-btn {
        width: 100%;
        justify-content: center;
    }

    .cta-band__content {
        width: 100%;
    }

    .site-footer {
        margin-top: 1.5rem;
        padding-top: 2.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .footer-brand .brand-icon {
        width: 48px;
        height: 48px;
    }

    .footer-brand .brand-name {
        font-size: 1.35rem;
    }

    .footer-brand .brand-tagline {
        font-size: 0.78rem;
        white-space: normal;
    }

    .footer-col h4 {
        margin-bottom: 0.45rem;
        font-size: 0.8rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.92);
    }

    .footer-col a {
        padding: 0.28rem 0;
        font-size: 0.88rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.45rem;
        padding-top: 0.95rem;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        font-size: 0.78rem;
    }

    .footer-bottom__copy {
        flex: none;
        width: 100%;
    }

    .footer-bottom__rights {
        white-space: normal;
        display: block;
        margin-top: 0.15rem;
    }

    .footer-bottom__tagline {
        width: 100%;
        font-size: 0.76rem;
        opacity: 0.9;
    }
}

/* Portal & Yönetim */
.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.relay-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.relay-row-needs-fix td {
    background: #fffbeb;
}

.relay-edit-row td {
    border-top: none !important;
}

.relay-overall-badge {
    font-size: 0.88rem;
}

.relay-collapsible-panel {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
}

.badge-muted {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
}

.badge.badge-online {
    background: #16a34a;
    color: #ffffff;
    border: 1px solid #15803d;
    font-weight: 600;
}

.badge.badge-offline {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.badge-relay-down {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.tab-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.25rem;
}

.tab-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.95rem;
    border-radius: 10px 10px 0 0;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.92rem;
}

.tab-link:hover {
    color: var(--text);
    background: rgba(30, 86, 230, 0.05);
}

.tab-link.is-active {
    color: var(--brand);
    background: rgba(30, 86, 230, 0.08);
    box-shadow: inset 0 -2px 0 var(--brand);
}

.tab-count {
    display: inline-block;
    min-width: 1.35rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: rgba(30, 86, 230, 0.12);
    color: var(--brand);
    font-size: 0.75rem;
    text-align: center;
}

.compact-input {
    width: 100%;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-size: 0.88rem;
}

.page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.create-form-panel {
    max-width: 520px;
}

.form-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.yonetim-body {
    background: var(--bg);
    min-height: 100vh;
}

.yonetim-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.yonetim-mobile-bar,
.yonetim-sidebar-backdrop,
.yonetim-menu-close {
    display: none;
}

.yonetim-sidebar__head {
    margin-bottom: 1rem;
}

.yonetim-sidebar__head .brand {
    margin-bottom: 0;
}

.yonetim-sidebar {
    background: #141c2e;
    color: #cbd5e1;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.yonetim-sidebar .brand { color: #fff; }

.yonetim-sidebar .brand .brand-name { color: #fff; }

.yonetim-nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.yonetim-nav-group {
    margin-top: 0.85rem;
}

.yonetim-nav-group:first-of-type {
    margin-top: 0.5rem;
}

.yonetim-nav-group-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    padding: 0.15rem 0.75rem 0.35rem;
}

.yonetim-nav a {
    color: #94a3b8;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-weight: 500;
    display: block;
}

.yonetim-nav a.yonetim-nav-top {
    margin-bottom: 0.1rem;
}

.yonetim-nav a.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: inset 3px 0 0 #7dd3fc;
}

.yonetim-nav a.yonetim-nav-external {
    opacity: 0.92;
}

.yonetim-nav a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.yonetim-sidebar__logout {
    margin-top: auto;
    flex-shrink: 0;
    padding-top: 0.75rem;
}

.yonetim-content {
    padding: 1.75rem 2rem;
    min-width: 0;
}

.yonetim-content .page-title {
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    line-height: 1.2;
    word-break: break-word;
}

.yonetim-content .page-lead {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.yonetim-content .table-wrap {
    -webkit-overflow-scrolling: touch;
}

.yonetim-content table {
    min-width: 640px;
}

.yonetim-content .table-wrap--fluid table {
    min-width: 0;
    width: 100%;
}

/* ── Pricing / sales page ── */
.pricing-hero {
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
    padding: 2.5rem 0 1.5rem;
    border-bottom: 1px solid var(--line);
}

.pricing-hero__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.pricing-hero__title {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    letter-spacing: -0.02em;
}

.pricing-hero__lead {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    max-width: 42rem;
}

.pricing-section {
    padding: 2rem 0 3rem;
    background: var(--bg);
}

.pricing-auth-note {
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.25rem;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
}

.pricing-card--featured {
    border-color: rgba(30, 86, 230, 0.35);
    box-shadow: 0 22px 55px rgba(30, 86, 230, 0.12);
}

.pricing-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand);
    background: rgba(30, 86, 230, 0.1);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}

.pricing-card__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding-right: 4.5rem;
}

.pricing-card__subtitle {
    margin: 0.4rem 0 1.25rem;
    min-height: 2.6em;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.pricing-card__price-wrap {
    margin-bottom: 1rem;
}

.pricing-card__price {
    font-size: clamp(2rem, 5vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text);
}

.pricing-card__price-note {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.pricing-card__addon {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: var(--bg-soft);
    margin-bottom: 1rem;
}

.pricing-card__addon-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.pricing-card__addon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pricing-card__seats {
    width: 5.5rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--white);
}

.pricing-card__total {
    font-size: 0.88rem;
    font-weight: 600;
}

.pricing-card__form {
    margin: 0 0 1.25rem;
}

.pricing-card__cta {
    width: 100%;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
}

.pricing-card__cta--alt {
    background: #2f3446;
    border-color: #2f3446;
}

.pricing-card__cta--alt:hover {
    background: #232735;
    border-color: #232735;
}

.pricing-card__features {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.pricing-feature {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
    line-height: 1.4;
}

.pricing-feature__icon {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pricing-feature--yes .pricing-feature__icon { color: var(--brand); }
.pricing-feature--no .pricing-feature__icon { color: #e11d48; }
.pricing-feature--no .pricing-feature__text { color: var(--text-muted); }

.pricing-feature__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pricing-feature__detail {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.pricing-footnote {
    text-align: center;
    max-width: 640px;
    margin: 2rem auto 0;
}

.pricing-empty {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 900px) {
    .portal-grid { grid-template-columns: 1fr; }

    body.yonetim-nav-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    .yonetim-shell {
        display: block !important;
        grid-template-columns: none !important;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .yonetim-mobile-bar {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        position: sticky;
        top: 0;
        z-index: 60;
        background: #141c2e;
        color: #fff;
        padding: 0.65rem 0.85rem;
        padding-top: calc(0.65rem + env(safe-area-inset-top, 0px));
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .yonetim-mobile-title {
        font-weight: 600;
        font-size: 0.95rem;
    }

    .yonetim-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        cursor: pointer;
    }

    .yonetim-menu-btn__icon,
    .yonetim-menu-btn__icon::before,
    .yonetim-menu-btn__icon::after {
        display: block;
        width: 1.1rem;
        height: 2px;
        background: currentColor;
        border-radius: 1px;
        position: relative;
    }

    .yonetim-menu-btn__icon::before,
    .yonetim-menu-btn__icon::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .yonetim-menu-btn__icon::before { top: -6px; }
    .yonetim-menu-btn__icon::after { top: 6px; }

    .yonetim-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 70;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        background: rgba(15, 23, 42, 0.55);
    }

    .yonetim-sidebar-backdrop[hidden] {
        display: none !important;
    }

    .yonetim-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 80;
        width: min(300px, 88vw);
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        margin: 0;
        transform: translateX(-100%);
        transition: transform 0.22s ease, visibility 0.22s ease;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
        overflow: hidden;
        visibility: hidden;
        pointer-events: none;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .yonetim-shell.is-nav-open .yonetim-sidebar {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .yonetim-sidebar__head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .yonetim-sidebar__head .brand {
        flex: 1;
        min-width: 0;
    }

    .yonetim-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 2.25rem;
        height: 2.25rem;
        margin-top: 0.15rem;
        border: none;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 1.35rem;
        line-height: 1;
        cursor: pointer;
    }

    .yonetim-nav {
        flex: 1 1 auto;
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        min-height: 0;
        margin: 0.25rem 0;
    }

    .yonetim-nav-group {
        width: 100%;
    }

    .yonetim-nav a {
        padding: 0.6rem 0.75rem;
    }

    .yonetim-content {
        width: 100%;
        padding: 1rem 0.85rem 1.5rem;
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    }

    .yonetim-content .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yonetim-content .stat-value {
        font-size: 1.45rem;
    }

    .yonetim-content .page-header-row {
        flex-direction: column;
        align-items: stretch;
    }

    .yonetim-content .page-header-row .btn,
    .yonetim-content .page-header-row form,
    .yonetim-content .page-header-row .actions {
        width: 100%;
    }

    .yonetim-content .page-header-row .btn {
        justify-content: center;
        text-align: center;
    }

    .yonetim-content .form-actions .btn {
        flex: 1 1 auto;
        min-width: calc(50% - 0.25rem);
    }

    .yonetim-content .relay-action-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .yonetim-content .relay-action-buttons .btn,
    .yonetim-content .relay-action-buttons form {
        width: 100%;
    }

    .yonetim-content .relay-action-buttons form {
        display: block;
    }

    .yonetim-content .relay-inline-edit-form > div {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .yonetim-content .relay-inline-edit-form input {
        width: 100% !important;
    }

    .yonetim-content .card,
    .yonetim-content .panel {
        padding: 1rem;
    }

    .yonetim-content pre {
        font-size: 0.75rem;
        overflow-x: auto;
    }

    .relay-report-dialog {
        width: 100% !important;
        max-height: 92vh !important;
        border-radius: 10px !important;
    }

    .relay-report-modal {
        padding: 0.5rem !important;
    }

    .relay-history-chart {
        min-width: 520px;
    }

    .yonetim-content div[style*="grid-template-columns: 1fr 1fr"],
    .yonetim-content div[style*="grid-template-columns:1fr 1fr"],
    .yonetim-content .form-group[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .yonetim-content > div[style*="justify-content:space-between"] {
        flex-direction: column;
        align-items: stretch !important;
    }

    .yonetim-content > div[style*="justify-content:space-between"] .btn,
    .yonetim-content > div[style*="justify-content:space-between"] form {
        width: 100%;
    }

    .yonetim-content .btn {
        min-height: 2.5rem;
    }
}

@media (max-width: 600px) {
    .yonetim-content .stats {
        grid-template-columns: 1fr;
    }

    .yonetim-content .form-actions {
        flex-direction: column;
    }

    .yonetim-content .form-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .yonetim-sidebar .brand-icon {
        width: 42px;
        height: 42px;
    }

    .yonetim-sidebar .brand-name {
        font-size: 1.2rem;
    }

    .yonetim-sidebar .brand-tagline {
        font-size: 0.75rem;
        white-space: normal;
    }
}

@media (max-width: 720px) {
    .brand-icon { width: 51px; height: 51px; }
    .brand-name { font-size: 1.575rem; }
    .brand-tagline { font-size: 0.83rem; white-space: normal; max-width: 13.5rem; }
}

/* ── Legal / cookie policy pages ── */
.page-hero--legal {
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
    padding: 3.5rem 0 2.75rem;
}

.legal-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
}

.legal-section {
    padding-top: 0;
    padding-bottom: 4rem;
}

.legal-document {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 2.25rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.legal-document__body h2 {
    margin: 2rem 0 0.75rem;
    font-size: 1.25rem;
    color: var(--text);
}

.legal-document__body h2:first-child {
    margin-top: 0;
}

.legal-document__body h3 {
    margin: 1.35rem 0 0.5rem;
    font-size: 1.05rem;
    color: var(--text);
}

.legal-document__body p,
.legal-document__body li {
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-document__body ul,
.legal-document__body ol {
    padding-left: 1.35rem;
}

/* ── Cookie consent bar (corporate) ── */
body.has-cookie-consent {
    padding-bottom: 0;
}

.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-consent.is-visible {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.cookie-consent.is-preference-center {
    align-items: center;
    padding: 1rem;
}

.cookie-consent__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(2px);
}

.cookie-consent__panel {
    position: relative;
    width: 100%;
    max-width: min(1180px, calc(100% - 2rem));
    margin: 0 auto max(1rem, env(safe-area-inset-bottom));
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.cookie-consent.is-preference-center .cookie-consent__panel {
    max-width: 520px;
    margin: auto;
    max-height: min(92vh, 820px);
    overflow-y: auto;
    border-radius: 6px;
}

.cookie-consent__header {
    padding: 1.35rem 1.75rem 0.85rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #f8fafc 0%, var(--white) 100%);
}

.cookie-consent__heading {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f1f3d;
    letter-spacing: -0.02em;
}

.cookie-consent__main {
    padding: 1.25rem 1.75rem 0.5rem;
}

.cookie-consent__text {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.65;
    color: #3d4a5f;
    max-width: 56rem;
}

.cookie-consent__meta {
    margin: 0.85rem 0 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.cookie-consent__meta a {
    color: #0f1f3d;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__meta a:hover {
    color: var(--brand);
}

.cookie-consent__meta-sep {
    margin: 0 0.45rem;
    color: #9aa8bc;
}

/* Gizlilik tercihi merkezi */
.cookie-consent__preference {
    padding: 1.25rem 1.5rem 0.5rem;
}

.cookie-consent__preference-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cookie-consent__back {
    border: 0;
    background: transparent;
    color: #0f1f3d;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0;
}

.cookie-consent__back:hover {
    color: var(--brand);
}

.cookie-consent__brand img {
    display: block;
    border-radius: 8px;
}

.cookie-consent__preference-title {
    margin: 0 0 0.85rem;
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f1f3d;
    letter-spacing: -0.02em;
}

.cookie-consent__preference-intro {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #3d4a5f;
}

.cookie-consent__preference-intro a {
    color: #0f1f3d;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__btn--block {
    width: 100%;
    margin-bottom: 1.25rem;
}

.cookie-consent__manage-title {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f1f3d;
}

.cookie-pref-list {
    border-top: 1px solid var(--line);
}

.cookie-pref-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--line);
    padding: 0.15rem 0;
}

.cookie-pref-details {
    min-width: 0;
}

.cookie-pref-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.cookie-pref-summary::-webkit-details-marker {
    display: none;
}

.cookie-pref-expand {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    position: relative;
}

.cookie-pref-expand::before,
.cookie-pref-expand::after {
    content: "";
    position: absolute;
    background: #0f1f3d;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cookie-pref-expand::before {
    width: 10px;
    height: 2px;
}

.cookie-pref-expand::after {
    width: 2px;
    height: 10px;
    transition: opacity 0.15s ease;
}

.cookie-pref-details[open] .cookie-pref-expand::after {
    opacity: 0;
}

.cookie-pref-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f1f3d;
    line-height: 1.35;
}

.cookie-pref-body {
    padding: 0 0 0.85rem 1.6rem;
}

.cookie-pref-body p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.cookie-pref-always {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f1f3d;
    white-space: nowrap;
    padding-right: 0.15rem;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-switch__slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #c5cdd8;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.cookie-switch__slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.cookie-switch input:checked + .cookie-switch__slider {
    background: #0f1f3d;
}

.cookie-switch input:checked + .cookie-switch__slider::before {
    transform: translateX(20px);
}

.cookie-switch input:focus-visible + .cookie-switch__slider {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.cookie-consent__preference-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 0 1.25rem;
    margin-top: 0.25rem;
}

.cookie-consent__settings {
    padding: 1.25rem 1.75rem 0.25rem;
}

.cookie-consent__settings-lead {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.cookie-consent__options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.cookie-consent__option-label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f8fafc;
    cursor: pointer;
}

.cookie-consent__option-label input {
    margin-top: 0.2rem;
    accent-color: #0f1f3d;
}

.cookie-consent__option-label strong {
    display: block;
    font-size: 0.92rem;
    color: #0f1f3d;
    margin-bottom: 0.15rem;
}

.cookie-consent__option-label small {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.cookie-consent__settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.cookie-consent__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 1rem 1.75rem 1.35rem;
    border-top: 1px solid var(--line);
    background: #fafbfc;
}

.cookie-consent__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.55rem 1.15rem;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cookie-consent__btn--outline {
    background: var(--white);
    border-color: #0f1f3d;
    color: #0f1f3d;
}

.cookie-consent__btn--outline:hover {
    background: #f1f5f9;
}

.cookie-consent__btn--primary {
    background: #0f1f3d;
    border-color: #0f1f3d;
    color: #fff;
}

.cookie-consent__btn--primary:hover {
    background: #162a4f;
    border-color: #162a4f;
}

.cookie-consent__btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: #0f1f3d;
}

.cookie-consent__btn--ghost:hover {
    background: #f1f5f9;
}

@media (max-width: 900px) {
    .cookie-consent__footer {
        justify-content: stretch;
    }

    .cookie-consent__footer .cookie-consent__btn {
        flex: 1 1 calc(50% - 0.35rem);
    }

    .cookie-consent__footer .cookie-consent__btn--outline {
        flex-basis: 100%;
    }
}

@media (max-width: 600px) {
    .cookie-consent.is-preference-center {
        padding: 0.5rem;
    }

    .cookie-consent.is-preference-center .cookie-consent__panel {
        max-width: 100%;
        max-height: 96vh;
    }

    .cookie-consent__panel {
        max-width: calc(100% - 1rem);
        margin-bottom: 0.5rem;
    }

    .cookie-consent__header,
    .cookie-consent__main,
    .cookie-consent__preference,
    .cookie-consent__footer {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .cookie-consent__heading,
    .cookie-consent__preference-title {
        font-size: 1.15rem;
    }

    .cookie-consent__footer .cookie-consent__btn {
        flex-basis: 100%;
    }

    .cookie-pref-row {
        gap: 0.5rem;
    }

    .cookie-pref-always {
        font-size: 0.72rem;
    }
}

/* ── Welcome notice (first visit) ── */
.welcome-notice {
    position: fixed;
    inset: 0;
    z-index: 350;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.welcome-notice.is-visible {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.welcome-notice__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.welcome-notice__panel {
    position: relative;
    width: min(100%, 32rem);
    max-height: min(85vh, 36rem);
    overflow: auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    border: 1px solid var(--line);
}

.welcome-notice__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem 0.75rem;
    border-bottom: 1px solid var(--line);
}

.welcome-notice__title {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.35;
    color: #0f172a;
}

.welcome-notice__close {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.welcome-notice__close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.welcome-notice__body {
    padding: 1rem 1.35rem;
}

.welcome-notice__body p {
    margin: 0 0 0.85rem;
    color: #334155;
    line-height: 1.6;
}

.welcome-notice__body p:last-child {
    margin-bottom: 0;
}

.welcome-notice__footer {
    display: flex;
    justify-content: flex-end;
    padding: 0.85rem 1.35rem 1.25rem;
    border-top: 1px solid var(--line);
    background: #fafbfc;
}

body.has-welcome-notice {
    overflow: hidden;
}

/* ── Contact page ── */
.contact-map-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.75rem;
}

.contact-map {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(320px, 42vw, 480px);
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #e8edf2;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    border: 0;
}

.contact-map-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.85rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.contact-card__icon {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.contact-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

.contact-card__body p {
    margin: 0 0 0.35rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.contact-card__body p:last-child {
    margin-bottom: 0;
}

.contact-card a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-updated {
    text-align: center;
    margin-top: 1.5rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: clamp(260px, 56vw, 360px);
    }
}

/* ── WhatsApp live support ── */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.whatsapp-support {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 280;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
    pointer-events: none;
}

.whatsapp-support__fab,
.whatsapp-support__panel {
    pointer-events: auto;
}

.whatsapp-support__fab {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.1rem 0.85rem 0.95rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 12px 28px rgba(18, 140, 126, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-support__fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(18, 140, 126, 0.42);
}

.whatsapp-support__fab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-support__panel {
    width: min(360px, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.whatsapp-support__panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.whatsapp-support__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.85rem;
    background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
    color: #fff;
}

.whatsapp-support__header-main {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.whatsapp-support__status {
    width: 10px;
    height: 10px;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: #7cf7b2;
    box-shadow: 0 0 0 4px rgba(124, 247, 178, 0.2);
    flex-shrink: 0;
}

.whatsapp-support__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.whatsapp-support__subtitle {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    opacity: 0.9;
}

.whatsapp-support__close {
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.whatsapp-support__close:hover {
    background: rgba(255, 255, 255, 0.24);
}

.whatsapp-support__body {
    padding: 1rem;
    background: #e5ddd5;
    min-height: 120px;
    max-height: 220px;
    overflow: auto;
}

.whatsapp-support__bubble {
    max-width: 92%;
    padding: 0.75rem 0.9rem;
    border-radius: 12px 12px 12px 4px;
    background: #fff;
    color: #1f2937;
    font-size: 0.92rem;
    line-height: 1.45;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.whatsapp-support__footer {
    padding: 0.85rem 1rem 1rem;
    background: #f8fafc;
    border-top: 1px solid var(--line);
}

.whatsapp-support__input {
    width: 100%;
    resize: vertical;
    min-height: 72px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    font: inherit;
    margin-bottom: 0.65rem;
}

.whatsapp-support__send {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.whatsapp-support__send:hover {
    background: #1ebe57;
}

.whatsapp-support__hint {
    margin: 0.55rem 0 0;
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.4;
}

body.has-cookie-consent .whatsapp-support {
    bottom: 6.5rem;
}

@media (max-width: 640px) {
    .whatsapp-support {
        right: 0.85rem;
        bottom: 0.85rem;
    }

    .whatsapp-support__fab-label {
        display: none;
    }

    .whatsapp-support__fab {
        width: 3.5rem;
        height: 3.5rem;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    body.has-cookie-consent .whatsapp-support {
        bottom: 5.5rem;
    }
}
