/* ═══════════════════════════════════════════════════════════════
   x-findmyphone.com — Premium Ana Sayfa
   Özel CSS · Açık / Koyu / Otomatik tema
   ═══════════════════════════════════════════════════════════════ */

/* ─── Tema değişkenleri: AÇIK ─── */
:root,
[data-theme="light"] {
    color-scheme: light;

    --bg-base: #f8f9fc;
    --bg-elevated: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.72);
    --bg-glass-strong: rgba(255, 255, 255, 0.92);
    --bg-muted: #f1f3f8;
    --bg-accent-soft: rgba(59, 130, 246, 0.08);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #f8fafc;

    --border-subtle: rgba(15, 23, 42, 0.08);
    --border-medium: rgba(15, 23, 42, 0.12);
    --border-active: rgba(59, 130, 246, 0.35);

    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-glow: #06b6d4;
    --accent-soft: rgba(37, 99, 235, 0.12);
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);

    --apple: #1d1d1f;
    --apple-soft: rgba(29, 29, 31, 0.08);
    --android: #059669;
    --android-soft: rgba(5, 150, 105, 0.1);
    --gsm: #2563eb;
    --gsm-soft: rgba(37, 99, 235, 0.1);

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);

    --hero-orb-1: rgba(37, 99, 235, 0.18);
    --hero-orb-2: rgba(6, 182, 212, 0.14);
    --hero-orb-3: rgba(139, 92, 246, 0.1);
    --hero-grid: rgba(15, 23, 42, 0.04);
    --hero-radar: rgba(37, 99, 235, 0.2);

    --site-header-height: 88px;

    --logo-x-gradient: linear-gradient(135deg, #2563eb, #06b6d4);
    --logo-mark-bg: url(#logoGradLight);
}

/* ─── Tema değişkenleri: KOYU ─── */
[data-theme="dark"] {
    color-scheme: dark;

    --bg-base: #07080d;
    --bg-elevated: #0f1117;
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-strong: rgba(255, 255, 255, 0.07);
    --bg-muted: #14161f;
    --bg-accent-soft: rgba(59, 130, 246, 0.1);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #0f172a;

    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-medium: rgba(255, 255, 255, 0.11);
    --border-active: rgba(59, 130, 246, 0.45);

    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-glow: #22d3ee;
    --accent-soft: rgba(59, 130, 246, 0.15);
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);

    --apple: #e2e8f0;
    --apple-soft: rgba(226, 232, 240, 0.06);
    --android: #34d399;
    --android-soft: rgba(52, 211, 153, 0.1);
    --gsm: #60a5fa;
    --gsm-soft: rgba(96, 165, 250, 0.12);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.2);

    --hero-orb-1: rgba(59, 130, 246, 0.22);
    --hero-orb-2: rgba(34, 211, 238, 0.16);
    --hero-orb-3: rgba(167, 139, 250, 0.12);
    --hero-grid: rgba(255, 255, 255, 0.03);
    --hero-radar: rgba(59, 130, 246, 0.25);

    --logo-x-gradient: linear-gradient(135deg, #60a5fa, #22d3ee);
}

/* ─── Otomatik: sistem tercihi ─── */
@media (prefers-color-scheme: dark) {
    [data-theme="auto"] {
        color-scheme: dark;

        --bg-base: #07080d;
        --bg-elevated: #0f1117;
        --bg-glass: rgba(255, 255, 255, 0.04);
        --bg-glass-strong: rgba(255, 255, 255, 0.07);
        --bg-muted: #14161f;
        --bg-accent-soft: rgba(59, 130, 246, 0.1);

        --text-primary: #f1f5f9;
        --text-secondary: #94a3b8;
        --text-muted: #64748b;
        --text-inverse: #0f172a;

        --border-subtle: rgba(255, 255, 255, 0.07);
        --border-medium: rgba(255, 255, 255, 0.11);
        --border-active: rgba(59, 130, 246, 0.45);

        --accent: #3b82f6;
        --accent-light: #60a5fa;
        --accent-glow: #22d3ee;
        --accent-soft: rgba(59, 130, 246, 0.15);
        --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);

        --apple: #e2e8f0;
        --apple-soft: rgba(226, 232, 240, 0.06);
        --android: #34d399;
        --android-soft: rgba(52, 211, 153, 0.1);
        --gsm: #60a5fa;
        --gsm-soft: rgba(96, 165, 250, 0.12);

        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
        --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.2);

        --hero-orb-1: rgba(59, 130, 246, 0.22);
        --hero-orb-2: rgba(34, 211, 238, 0.16);
        --hero-orb-3: rgba(167, 139, 250, 0.12);
        --hero-grid: rgba(255, 255, 255, 0.03);
        --hero-radar: rgba(59, 130, 246, 0.25);

        --logo-x-gradient: linear-gradient(135deg, #60a5fa, #22d3ee);
    }
}

@media (prefers-color-scheme: light) {
    [data-theme="auto"] {
        color-scheme: light;
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--site-header-height, 88px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-base);
    transition: background-color 0.35s ease, color 0.35s ease;
    overflow-x: hidden;
}

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

.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;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── HEADER ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.35s ease, border-color 0.35s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo — X ikon + findmyphone wordmark */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-mark svg {
    width: 100%;
    height: 100%;
}

.logo-mark-bg {
    fill: var(--accent-soft);
    stroke: var(--border-active);
    stroke-width: 1;
}

.logo-mark-x {
    stroke: var(--accent);
}

.logo-word {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
}

.logo:hover .logo-word {
    color: var(--accent);
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

/* Tema switcher */
.theme-switcher {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg-muted);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
}

.theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-btn svg {
    width: 18px;
    height: 18px;
}

.theme-btn:hover {
    color: var(--text-primary);
    background: var(--bg-glass-strong);
}

.theme-btn.is-active {
    background: var(--bg-elevated);
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: var(--bg-muted);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle__bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 2px;
    background: var(--text-primary);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}

/* ─── SECTION HEADER ─── */
.section-header {
    margin-bottom: 48px;
}

.section-header--center {
    text-align: center;
}

.section-header--center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 520px;
}

/* ─── SEO CONTENT ─── */
.seo-content {
    padding: 72px 0;
    background: var(--bg-muted);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.seo-content__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.seo-block {
    padding: 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
}

.seo-block h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.seo-block p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.seo-block a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.seo-list {
    list-style: none;
}

.seo-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 8px;
}

.seo-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .seo-content__grid {
        grid-template-columns: 1fr;
    }
}

/* ─── YARDIMCI RESMİ LİNKLER ─── */
.official-links {
    padding: 48px 0 88px;
}

.official-links__head {
    max-width: 760px;
    margin-bottom: 28px;
}

.official-links__head h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.official-links__head p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-wrap: balance;
}

.official-links__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.official-links__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-muted);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.official-links__item:hover {
    border-color: var(--border-medium);
    background: var(--bg-elevated);
    transform: translateY(-1px);
}

.official-links__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
}

.official-links__icon svg {
    width: 26px;
    height: 26px;
}

.official-links__icon--apple {
    color: var(--apple);
    background: var(--apple-soft);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.official-links__icon--android {
    color: var(--android);
    background: var(--android-soft);
    border: 1px solid rgba(52, 211, 153, 0.16);
}

.official-links__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.official-links__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.official-links__item strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.official-links__url {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ─── SERVICE CARDS (legacy) ─── */
.services {
    padding: 100px 0;
    position: relative;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.service-card {
    position: relative;
    border-radius: 24px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.service-card:hover .service-card-glow {
    opacity: 1;
}

.service-card--apple .service-card-glow {
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.15), transparent 60%);
}

.service-card--android .service-card-glow {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), transparent 60%);
}

.service-card--gsm .service-card-glow {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.15));
}

.service-card-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover .service-card-inner {
    border-color: var(--border-active);
    box-shadow: var(--shadow-lg);
}

.service-card--gsm .service-card-inner {
    border-color: var(--border-active);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.icon-phone-body { fill: var(--bg-muted); stroke: var(--border-medium); stroke-width: 1; }
.icon-phone-screen { fill: var(--accent-soft); }
.icon-phone-btn { fill: var(--text-muted); }
.icon-pin-curve { stroke: var(--accent); fill: none; }
.icon-pin-curve--right { stroke: var(--android); }
.icon-pin-dot { fill: var(--accent); }
.icon-pin-dot--green { fill: var(--android); }
.icon-pin-ring { stroke: var(--accent); fill: none; opacity: 0.4; }
.icon-pin-ring--green { stroke: var(--android); }
.icon-sim-body { fill: var(--gsm-soft); stroke: var(--accent); stroke-width: 1.5; }
.icon-sim-line { stroke: var(--border-medium); }
.icon-sim-text { fill: var(--accent); font-family: 'Plus Jakarta Sans', sans-serif; }
.icon-signal { stroke: var(--accent); }
.icon-wave { stroke: var(--accent-glow); fill: none; opacity: 0.6; }
.icon-dot-pulse { fill: var(--accent-glow); }
.icon-dot-ring { stroke: var(--accent-glow); fill: none; opacity: 0.5; animation: pulse 2s ease-in-out infinite; }

.service-badge {
    display: inline-block;
    width: fit-content;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.service-badge--official {
    background: var(--bg-muted);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

.service-badge--premium {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid var(--border-active);
}

.service-title {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.25;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    position: relative;
    padding-left: 22px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.service-card--android .service-features li::before {
    background: var(--android);
}

.service-card--gsm .service-features li::before {
    background: var(--accent-glow);
}

.service-note {
    margin-top: 14px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn--apple {
    background: #1d1d1f;
    color: #ffffff;
}

[data-theme="dark"] .btn--apple {
    background: #f1f5f9;
    color: #0f172a;
}

@media (prefers-color-scheme: dark) {
    [data-theme="auto"] .btn--apple {
        background: #f1f5f9;
        color: #0f172a;
    }
}

@media (prefers-color-scheme: light) {
    [data-theme="auto"] .btn--apple {
        background: #1d1d1f;
        color: #ffffff;
    }
}

.btn--apple:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

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

.btn--android:hover {
    filter: brightness(1.08);
    transform: scale(1.02);
}

.btn--gsm {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn--gsm:hover {
    box-shadow: 0 6px 28px rgba(37, 99, 235, 0.45);
    transform: scale(1.02);
}

.btn--gsm svg:last-child {
    transform: none;
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    box-shadow: none;
}

.btn--outline:hover {
    background: var(--bg-muted);
    border-color: var(--border-active);
}

.btn--lg {
    width: auto;
    padding: 16px 32px;
    font-size: 1rem;
}

.btn--lg:hover svg {
    transform: translateY(4px);
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-muted);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    opacity: 0.85;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--text-muted);
}

.step-connector svg {
    width: 48px;
    height: 12px;
}

/* ─── TRUST BAND ─── */
.trust-band {
    padding: 80px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.trust-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    backdrop-filter: blur(12px);
}

.trust-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 14px;
    color: var(--accent);
}

.trust-icon svg {
    width: 24px;
    height: 24px;
}

.trust-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.trust-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── FAQ ─── */
.faq {
    padding: 100px 0;
    background: var(--bg-muted);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item[open] {
    border-color: var(--border-active);
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p,
.faq-answer li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer p + p,
.faq-answer p + ul,
.faq-answer ul + p {
    margin-top: 12px;
}

.faq-answer ul,
.faq-answer ol {
    margin: 0;
    padding-left: 1.25rem;
}

.faq-answer li + li {
    margin-top: 8px;
}

.faq-answer a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ─── CTA ─── */
.cta-section {
    padding: 80px 0 120px;
}

.cta-box {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border-active);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0.08;
}

.cta-content {
    position: relative;
    text-align: center;
    padding: 64px 32px;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px);
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── FOOTER ─── */
.site-footer {
    padding: 64px 0 32px;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    max-width: 280px;
}

.logo--footer .logo-mark {
    width: 36px;
    height: 36px;
}

.logo--footer .logo-word {
    font-size: 0.9375rem;
}

.footer-links h3 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-disclaimer {
    padding: 24px;
    background: var(--bg-muted);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    margin-bottom: 32px;
}

.footer-disclaimer p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-disclaimer strong {
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ─── MOBILE BOTTOM BAR ─── */
.mobile-bar {
    display: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .official-links__grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 768px) {
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    }

    body.nav-open {
        overflow: hidden;
    }

    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        inset: 0;
        top: 73px;
        z-index: 99;
        background: rgba(7, 8, 13, 0.45);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    [data-theme="light"] .mobile-nav {
        background: rgba(15, 23, 42, 0.25);
    }

    .mobile-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-nav__panel {
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border-medium);
        box-shadow: var(--shadow-lg);
        padding: 12px 16px 20px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        transform: translateY(-8px);
        opacity: 0;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .mobile-nav.is-open .mobile-nav__panel {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-nav__panel a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0 14px;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary);
        transition: background 0.2s ease, color 0.2s ease;
    }

    .mobile-nav__panel a:hover,
    .mobile-nav__panel a:focus-visible {
        background: var(--accent-soft);
        color: var(--accent);
    }

    .mobile-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        justify-content: space-around;
        gap: 4px;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
        background: var(--bg-glass-strong);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-medium);
        box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
    }

    .mobile-bar__link {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-height: 52px;
        padding: 6px 4px;
        border-radius: 12px;
        font-size: 0.6875rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        color: var(--text-muted);
        text-decoration: none;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .mobile-bar__link svg {
        flex-shrink: 0;
    }

    .mobile-bar__link:hover,
    .mobile-bar__link:focus-visible {
        color: var(--accent);
        background: var(--accent-soft);
    }

    .site-footer {
        padding-bottom: 24px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        padding: 0;
        transform: rotate(90deg);
    }

    .step {
        max-width: 100%;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

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

    .footer-links h3 {
        margin-bottom: 12px;
    }

    .logo-word {
        font-size: 0.9375rem;
    }

    .theme-switcher {
        padding: 3px;
    }

    .theme-btn {
        width: 34px;
        height: 34px;
    }
}


@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-inner {
        gap: 12px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .service-card-inner {
        padding: 24px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-disclaimer {
        padding: 18px;
    }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ─── Fixed header offset (legal, dashboard, checkout) ─── */
.page-with-fixed-header {
    padding-top: calc(var(--site-header-height, 88px) + 32px);
    min-height: calc(100dvh - var(--site-header-height, 88px));
}

/* ─── Legal pages ─── */
.legal-page-wrap {
    padding-bottom: 80px;
}

.legal-shell {
    max-width: 820px;
    margin: 0 auto;
}

.legal-shell__nav {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--border-medium);
    background: var(--bg-subtle);
}

.legal-shell__nav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.legal-shell__nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
}

.legal-shell__nav-link.is-active {
    color: #fff;
    background: var(--accent-gradient);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
}

.legal-page {
    padding: 36px 40px;
    border-radius: 24px;
    border: 1px solid var(--border-medium);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-md);
}

.legal-page__header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-page__header h1 {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.15;
}

.legal-page__eyebrow {
    margin: 0 0 8px;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.legal-page__meta,
.legal-page__operator,
.legal-page__contact {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.legal-page__contact a {
    color: var(--accent);
}

.legal-page__intro {
    margin: 18px 0 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.legal-page__toc {
    margin-bottom: 28px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
}

.legal-page__toc-title {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.legal-page__toc-list {
    margin: 0;
    padding-left: 1.2rem;
    columns: 2;
    column-gap: 28px;
}

.legal-page__toc-list li {
    margin: 0 0 8px;
    break-inside: avoid;
}

.legal-page__toc-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.45;
}

.legal-page__toc-list a:hover {
    color: var(--accent);
}

.legal-page__section {
    margin-bottom: 28px;
    scroll-margin-top: calc(var(--site-header-height, 88px) + 24px);
}

.legal-page__section h2 {
    margin: 0 0 12px;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.legal-page__section p {
    margin: 0 0 10px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-page__list {
    margin: 0 0 10px;
    padding-left: 1.25rem;
    color: var(--text-secondary);
}

.legal-page__list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-page__footer {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.legal-page__related {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.legal-page__related a {
    color: var(--accent);
}

.legal-page__back {
    margin: 0;
    font-size: 0.9375rem;
}

.legal-page__back a {
    color: var(--text-secondary);
    text-decoration: none;
}

.legal-page__back a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .legal-page__toc-list {
        columns: 1;
    }

    .legal-shell__nav {
        display: flex;
        width: 100%;
    }

    .legal-shell__nav-link {
        flex: 1;
        justify-content: center;
    }
}
