/* ============================================= */
/*  OpenRank Landing — CSS                        */
/*  Light (default) + Dark theme                  */
/* ============================================= */

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* --- Design Tokens — Light (default) --- */
:root {
    --cyan: #0097A7;
    --green: #00C853;
    --pink: #E91E63;
    --orange: #F57C00;
    --purple: #9C27B0;

    --cyan-rgb: 0, 151, 167;
    --green-rgb: 0, 200, 83;
    --pink-rgb: 233, 30, 99;
    --orange-rgb: 245, 124, 0;
    --purple-rgb: 156, 39, 176;

    --bg-body: #F5F7FA;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F0F2F8;
    --bg-surface: #EDF0F7;
    --bg-phone: linear-gradient(145deg, #E0E5F0 0%, #CDD3E0 100%);
    --bg-phone-screen: #FFFFFF;

    --text-primary: #1A1B2E;
    --text-secondary: #5C5D78;
    --text-muted: #8E8FA8;

    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 151, 167, 0.25);
    --nav-bg: rgba(245, 247, 250, 0.85);
    --nav-bg-scrolled: rgba(245, 247, 250, 0.96);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.10);
    --shadow-phone: 0 28px 64px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0,0,0,0.06);
    --glow: none;
    --device-bezel: #1C1C1E;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --container: 1200px;
    --nav-height: 72px;
}

/* --- Dark theme override --- */
[data-theme="dark"] {
    color-scheme: dark;
    --cyan: #3DCFD9;
    --green: #4ADE80;
    --pink: #F472B6;
    --orange: #FB923C;
    --purple: #A78BFA;

    --cyan-rgb: 61, 207, 217;
    --green-rgb: 74, 222, 128;
    --pink-rgb: 244, 114, 182;
    --orange-rgb: 251, 146, 60;
    --purple-rgb: 167, 139, 250;

    --bg-body: #0B0D12;
    --bg-card: #141821;
    --bg-card-hover: #1A1F2A;
    --bg-surface: #10131A;
    --bg-phone: #1C1C1E;
    --bg-phone-screen: #0B0D12;

    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(61, 207, 217, 0.35);
    --nav-bg: rgba(11, 13, 18, 0.72);
    --nav-bg-scrolled: rgba(11, 13, 18, 0.94);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-phone: 0 28px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.08);
    --glow: none;
    --device-bezel: #1C1C1E;
}

/* --- Base --- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }

body {
    font-family: var(--font);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.35s ease, color 0.35s ease;
}

::selection {
    background: rgba(var(--cyan-rgb), 0.22);
    color: var(--text-primary);
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
    .phone-mockup,
    .phone-mockup:hover {
        transform: none;
    }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.text-accent { color: var(--cyan); }

/* --- Section Header --- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header__tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--cyan);
    background: rgba(var(--cyan-rgb), 0.08);
    border: 1px solid rgba(var(--cyan-rgb), 0.2);
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.section-header__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-header__desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================= */
/*  NAVIGATION                                    */
/* ============================================= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}
.nav--scrolled { background: var(--nav-bg-scrolled); }
.nav__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--cyan);
    flex-shrink: 0;
}
.nav__logo-icon { font-size: 24px; }
.nav__panel {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.nav__links {
    display: flex;
    gap: 32px;
}
.nav__links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    position: relative;
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--cyan);
    transition: width 0.3s;
}
.nav__links a:hover::after { width: 100%; }

/* --- Nav Controls (theme + lang) --- */
.nav__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}
.nav__lang,
.nav__theme {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    color: var(--text-secondary);
    font-family: var(--font);
    font-weight: 700;
    transition: border-color 0.2s, color 0.2s, background-color 0.35s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav__lang {
    padding: 7px 16px;
    font-size: 13px;
    letter-spacing: 1px;
}
.nav__theme {
    width: 38px;
    height: 38px;
    padding: 0;
}
.nav__lang:hover,
.nav__theme:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}
/* Theme icon visibility */
.nav__theme-sun,
.nav__theme-moon { display: none; }
[data-theme="light"] .nav__theme-sun { display: block; }
[data-theme="dark"] .nav__theme-moon { display: block; }
/* Show moon in light (click → dark), sun in dark (click → light) — inverted */
/* Actually: in light mode, show moon to switch to dark. In dark, show sun to switch to light: */
[data-theme="light"] .nav__theme-sun { display: none; }
[data-theme="light"] .nav__theme-moon { display: block; }
[data-theme="dark"] .nav__theme-sun { display: block; }
[data-theme="dark"] .nav__theme-moon { display: none; }

.nav__cta {
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-body);
    background: var(--cyan);
    padding: 10px 24px;
    border-radius: 100px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.35s;
    flex-shrink: 0;
}
[data-theme="dark"] .nav__cta { color: #0C0C18; }
.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(var(--cyan-rgb), 0.3);
}
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
    align-items: center;
}
.nav__burger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 2px;
}
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================= */
/*  HERO                                          */
/* ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}
.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--cyan-rgb), 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--cyan-rgb), 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
}
.hero__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
}
.hero__badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--green);
    background: rgba(var(--green-rgb), 0.08);
    border: 1px solid rgba(var(--green-rgb), 0.25);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.hero__title {
    font-size: clamp(2.4rem, 5.4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-bottom: 24px;
}
.hero__brand {
    display: block;
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 10px;
}
.hero__title-accent {
    color: var(--cyan);
}
.hero__subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}
.hero__subtitle strong { color: var(--text-primary); }
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero__trust {
    display: flex;
    align-items: center;
    gap: 24px;
}
.hero__trust-item { display: flex; flex-direction: column; }
.hero__trust-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.hero__trust-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero__trust-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* --- Phone Mockup --- */
.hero__phone {
    display: flex;
    justify-content: center;
    perspective: 1400px;
}
.phone-mockup {
    width: 292px;
    background: var(--device-bezel);
    border-radius: 44px;
    padding: 10px;
    box-shadow: var(--shadow-phone);
    transform: rotateY(-10deg) rotateX(4deg);
    transition: box-shadow 0.35s, transform 0.5s ease;
    position: relative;
}
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 3;
}
.phone-mockup:hover {
    transform: rotateY(-4deg) rotateX(2deg);
}
.phone-mockup__screen {
    background: var(--bg-phone-screen);
    border-radius: 36px;
    padding: 44px 18px 22px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    transition: background-color 0.35s;
    overflow: hidden;
    position: relative;
}
.phone-mockup__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.phone-mockup__app-icon { font-size: 20px; }
.phone-mockup__app-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--cyan);
    letter-spacing: 3px;
}
.phone-mockup__speed { text-align: center; margin-bottom: 20px; }
.phone-mockup__speed-value {
    font-size: 72px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text-primary);
    line-height: 1;
    display: block;
    letter-spacing: -0.04em;
}
.phone-mockup__speed-unit {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 2px;
}
.phone-mockup__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
.phone-mockup__stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    transition: background-color 0.35s, border-color 0.35s;
}
[data-theme="light"] .phone-mockup__stat {
    background: var(--bg-surface);
    border-color: transparent;
}
.phone-mockup__stat-val {
    display: block;
    font-size: 18px;
    font-weight: 800;
    font-family: var(--font-mono);
}
.phone-mockup__stat-val.cyan { color: var(--cyan); }
.phone-mockup__stat-val.orange { color: var(--orange); }
.phone-mockup__stat-val.green { color: var(--green); }
.phone-mockup__stat-val.pink { color: var(--pink); }
.phone-mockup__stat-lbl {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 2px;
}
.phone-mockup__map {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    transition: background-color 0.35s, border-color 0.35s;
}
[data-theme="light"] .phone-mockup__map {
    background: var(--bg-surface);
    border-color: transparent;
}
.phone-mockup__map-line {
    position: absolute;
    top: 30%; left: 10%;
    width: 80%; height: 3px;
    background: linear-gradient(90deg, var(--green), var(--orange), var(--pink));
    border-radius: 2px;
    transform: rotate(-5deg);
}
.phone-mockup__map-line.line2 {
    top: 55%; left: 15%;
    width: 60%;
    transform: rotate(8deg);
    opacity: 0.6;
}
.phone-mockup__map-dot {
    position: absolute;
    top: 28%; right: 12%;
    width: 10px; height: 10px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--cyan);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-weight: 700;
    border: none;
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn--primary {
    background: var(--cyan);
    color: #FFFFFF;
    padding: 14px 32px;
    font-size: 15px;
}
[data-theme="dark"] .btn--primary { color: #0C0C18; }
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--cyan-rgb), 0.3);
}
.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 14px 32px;
    font-size: 15px;
    border: 1px solid var(--border);
}
.btn--ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}
.btn--large {
    padding: 16px 36px;
    font-size: 16px;
}
.btn__icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================= */
/*  FEATURES                                      */
/* ============================================= */
.features {
    padding: 120px 0;
    position: relative;
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s, background-color 0.35s;
}
.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
}
.feature-card--large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto 1fr;
    column-gap: 20px;
    row-gap: 8px;
}
.feature-card--large .feature-card__icon { grid-row: 1 / 3; align-self: start; }
.feature-card--large .feature-card__list { grid-column: 1 / -1; }
.feature-card__icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.feature-card__icon--cyan,
.feature-card__icon--green,
.feature-card__icon--pink,
.feature-card__icon--orange,
.feature-card__icon--purple { background: rgba(var(--cyan-rgb), 0.1); color: var(--cyan); }

.feature-card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.feature-card__desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
.feature-card__list {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.feature-card__list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}
.feature-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
}

/* ============================================= */
/*  STATS BAR                                     */
/* ============================================= */
.stats-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 24px;
    overflow: hidden;
    transition: background-color 0.35s, border-color 0.35s;
}
.stats-bar__track {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px 28px;
    flex-wrap: wrap;
}
.stats-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0;
}
.stats-bar__item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    flex-shrink: 0;
}
.stats-bar__value,
.stats-bar__label,
.stats-bar__divider { display: none; }

/* ============================================= */
/*  HOW IT WORKS                                  */
/* ============================================= */
.how { padding: 120px 0; }
.how__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}
.how__step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 32px 24px;
}
.how__step-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(var(--cyan-rgb), 0.1);
    border: 2px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
    font-weight: 900;
    color: var(--cyan);
    font-family: var(--font-mono);
}
.how__step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.how__step p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
.how__step-arrow {
    width: 48px;
    height: 1px;
    background: var(--border);
    margin-top: 52px;
    flex-shrink: 0;
    font-size: 0;
    color: transparent;
}

/* ============================================= */
/*  COMPARE TABLE                                 */
/* ============================================= */
.compare {
    padding: 120px 0;
    background: var(--bg-surface);
    transition: background-color 0.35s;
}
.compare__table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}
.compare__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
.compare__table th,
.compare__table td {
    padding: 16px 20px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.compare__table th {
    background: var(--bg-card);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    color: var(--text-secondary);
    transition: background-color 0.35s;
}
.compare__table th:first-child,
.compare__table td:first-child { text-align: left; font-weight: 600; }
.compare__table td {
    background: var(--bg-body);
    color: var(--text-secondary);
    transition: background-color 0.35s;
}
.compare__highlight {
    background: rgba(var(--cyan-rgb), 0.05) !important;
    color: var(--text-primary) !important;
    font-weight: 600;
}
.compare__table th.compare__highlight {
    color: var(--cyan) !important;
    font-size: 14px;
}
.compare__table tr:hover td { background: var(--bg-card); }

/* ============================================= */
/*  SOCIAL PROOF                                  */
/* ============================================= */
.proof { padding: 120px 0; }
.proof__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.proof__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, background-color 0.35s, border-color 0.35s;
}
.proof__card:hover { transform: translateY(-4px); }
.proof__stars { color: var(--orange); font-size: 18px; letter-spacing: 2px; margin-bottom: 16px; }
.proof__card p { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 16px; }
.proof__card strong { color: var(--text-primary); }
.proof__card footer { font-size: 0.85rem; color: var(--text-muted); font-style: normal; }

/* ============================================= */
/*  FAQ                                           */
/* ============================================= */
.faq {
    padding: 120px 0;
    background: var(--bg-surface);
    transition: background-color 0.35s;
}
.faq__list { max-width: 720px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
    transition: color 0.2s;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--cyan);
    flex-shrink: 0;
    margin-left: 20px;
    transition: transform 0.3s;
}
details[open] .faq__question::after { content: '−'; }
details[open] .faq__question { color: var(--cyan); }
.faq__answer { padding: 0 0 24px; }
.faq__answer p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

/* ============================================= */
/*  CTA                                           */
/* ============================================= */
.cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(var(--cyan-rgb), 0.06), transparent);
    pointer-events: none;
}
.cta__content { text-align: center; position: relative; }
.cta__title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta__desc { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 40px; }

/* ============================================= */
/*  FOOTER                                        */
/* ============================================= */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--border);
    transition: border-color 0.35s;
}
.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 48px;
}
.footer__logo {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--cyan);
    display: block;
    margin-bottom: 12px;
}
.footer__brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.footer__links { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.footer__col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.footer__col ul li { margin-bottom: 8px; }
.footer__col a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer__col a:hover { color: var(--cyan); }
.footer__col ul li { font-size: 0.9rem; color: var(--text-muted); }
.footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}
.footer__bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer__bottom a { color: var(--cyan); }
.footer__bottom a:hover { text-decoration: underline; }

/* ============================================= */
/*  REVEAL ANIMATIONS                             */
/* ============================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================= */
/*  RESPONSIVE                                    */
/* ============================================= */
@media (max-width: 1024px) {
    .hero__container { grid-template-columns: 1fr; text-align: center; }
    .hero__subtitle { margin: 0 auto 32px; }
    .hero__actions { justify-content: center; }
    .hero__trust { justify-content: center; }
    .hero__phone { order: -1; }
    .phone-mockup { width: 250px; transform: none; }
    .phone-mockup:hover { transform: none; }
    .phone-mockup__screen { min-height: 480px; padding-top: 40px; }
    .phone-mockup__speed-value { font-size: 56px; }
    .features__grid { grid-template-columns: 1fr 1fr; }
    .feature-card--large { grid-column: span 2; }
    .proof__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
    .nav__container { padding: 0 16px; }
    .nav__burger { display: flex; margin-left: auto; }
    .nav__panel {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px 24px;
        background: var(--nav-bg-scrolled);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        z-index: 999;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
    }
    .nav__panel.active { display: flex; }
    .nav__links {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .nav__links a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav__controls {
        margin: 16px 0 0;
        justify-content: flex-start;
    }
    .nav__cta {
        display: inline-flex;
        margin-top: 12px;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .features__grid { grid-template-columns: 1fr; }
    .feature-card--large { grid-column: span 1; grid-template-columns: 1fr; }
    .feature-card--large .feature-card__icon { grid-row: auto; }
    .feature-card__list { grid-template-columns: 1fr; }
    .how__steps { flex-direction: column; align-items: center; }
    .how__step-arrow { transform: rotate(90deg); margin: 0; }
    .compare__table { font-size: 12px; }
    .footer__top { flex-direction: column; gap: 32px; }
    .footer__links { gap: 40px; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 2rem; }
    .hero__trust { flex-wrap: wrap; gap: 16px; }
    .hero__trust-divider { display: none; }
    .btn--large { padding: 14px 24px; font-size: 14px; }
    .nav__controls { gap: 6px; }
    .nav__lang { padding: 6px 12px; font-size: 12px; }
    .nav__theme { width: 34px; height: 34px; }
}

/* ============================================= */
/*  LOGO                                          */
/* ============================================= */
.logo-mark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: block;
}
.nav__logo-icon { display: flex; }
.phone-mockup__header .logo-mark { width: 20px; height: 20px; }

/* ============================================= */
/*  STORE BUTTONS                                 */
/* ============================================= */
.store-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #111111;
    color: #ffffff;
    padding: 10px 20px 10px 16px;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    min-width: 200px;
}
[data-theme="dark"] .store-btn {
    background: #F5F5F7;
    color: #111111;
}
.store-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
    opacity: 0.94;
}
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn__meta { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn__label { font-size: 10px; font-weight: 500; letter-spacing: 0.04em; opacity: 0.75; text-transform: uppercase; }
.store-btn__name { font-size: 16px; font-weight: 700; }
.cta .store-btns { justify-content: center; }

/* ============================================= */
/*  PHONE EXTRA (radar + ETA)                     */
/* ============================================= */
.phone-mockup__alert {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--orange-rgb), 0.12);
    border: 1px solid rgba(var(--orange-rgb), 0.28);
    color: var(--orange);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}
.phone-mockup__alert-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 8px var(--orange);
    animation: dotPulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
.phone-mockup__eta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding: 0 4px;
}
.phone-mockup__eta strong {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 14px;
}
.phone-mockup__status {
    position: absolute;
    top: 10px;
    left: 22px;
    right: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    pointer-events: none;
}
.phone-mockup__status-end {
    display: flex;
    align-items: center;
    gap: 4px;
}
.phone-mockup__tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.phone-mockup__tab {
    text-align: center;
    font-size: 10px;
    font-weight: 650;
    color: var(--text-muted);
    padding: 8px 0 2px;
    letter-spacing: 0.02em;
}
.phone-mockup__tab.is-active { color: var(--cyan); }
.phone-mockup__home {
    width: 108px;
    height: 4px;
    border-radius: 4px;
    background: var(--text-primary);
    opacity: 0.28;
    margin: 14px auto 0;
}

/* ============================================= */
/*  PRIVACY / TRUST STRIP                         */
/* ============================================= */
.trust {
    padding: 120px 0;
    background: var(--bg-surface);
    transition: background-color 0.35s;
}
.trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.trust__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
}
.trust__card h3 { font-size: 1.15rem; font-weight: 700; margin: 16px 0 8px; }
.trust__card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.65; }
.trust__icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--cyan-rgb), 0.1);
    color: var(--cyan);
}

/* ============================================= */
/*  LEGAL PAGES                                   */
/* ============================================= */
.legal {
    padding: calc(var(--nav-height) + 48px) 0 80px;
    min-height: 80vh;
}
.legal__wrap { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.legal__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cyan);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 28px;
}
.legal__back:hover { text-decoration: underline; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 8px; }
.legal__lead { color: var(--text-secondary); font-size: 15px; margin-bottom: 40px; }
.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
}
.legal-card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: var(--cyan); }
.legal-card p,
.legal-card li { color: var(--text-secondary); font-size: 15px; margin-bottom: 10px; }
.legal-card ul,
.legal-card ol { padding-left: 20px; }
.legal-card ul { list-style: disc; }
.legal-card ol { list-style: decimal; }
.legal-card li { margin-bottom: 6px; }
.legal-card a { color: var(--cyan); }
.legal-card a:hover { text-decoration: underline; }
.legal-card strong { color: var(--text-primary); }
.legal-card--warn { border-color: rgba(229, 57, 53, 0.35); }
.legal-card--warn h2 { color: #E53935; }
[data-theme="dark"] .legal-card--warn h2 { color: #FF5252; }
.contact-box {
    margin-top: 12px;
    padding: 16px;
    background: var(--bg-surface);
    border-radius: 10px;
}
.contact-box p { margin: 0 0 4px; }
.step { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.step:last-child { margin-bottom: 0; }
.step p { margin: 0; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--cyan);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
[data-theme="dark"] .step-num { color: #0C0C18; }
.faq-mini { margin-bottom: 20px; }
.faq-mini:last-child { margin-bottom: 0; }
.faq-mini__q { font-weight: 600; color: var(--text-primary); font-size: 15px; margin-bottom: 4px; }
.faq-mini__a { color: var(--text-secondary); font-size: 15px; margin: 0; }
.legal-note { text-align: center; color: var(--text-muted); font-size: 13px; margin-top: 32px; }

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 2000;
    background: var(--cyan);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}
.skip-link:focus { top: 16px; }
[data-theme="dark"] .skip-link { color: #0C0C18; }

.hero__actions { align-items: center; }

@media (max-width: 480px) {
    .store-btn { min-width: 0; width: 100%; }
    .store-btns { width: 100%; }
}

/* ============================================= */
/*  ABOUT / DEFINITION (SEO + GEO)                */
/* ============================================= */
.about {
    padding: 80px 0 40px;
}
.about__card {
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    box-shadow: var(--shadow-card);
}
.about__card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.about__card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 14px;
}
.about__card p:last-child { margin-bottom: 0; }
.about__card strong { color: var(--text-primary); }

.partner { padding: 80px 0 40px; }
.partner .section-header {
    margin-bottom: 0;
    text-align: left;
}
.partner .section-header__desc {
    margin: 12px 0 0;
    max-width: none;
}
.partner__card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    box-shadow: var(--shadow-card);
}
.partner__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 28px 0 24px;
}
.partner__app {
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border);
}
.partner__app h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}
.partner__app p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}
.partner__note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.partner__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--cyan);
}
.partner__cta:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .partner__card { padding: 28px 20px; }
    .partner__split { grid-template-columns: 1fr; }
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
