/* ── RESET & VARIABLES ───────────────────────────────────── */

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

:root {
    --bg:           #0F0067;
    --bg-card:      #17007a;
    --bg-card-2:    #1d0090;
    --border:       rgba(255,255,255,0.10);
    --accent:       #FF9500;
    --accent-light: #FFB340;
    --accent-glow:  rgba(106, 73, 28, 0.18);
    --text:         #f2f2f7;
    --text-2:       #aeaeb2;
    --text-3:       rgba(255,255,255,0.35);
    --radius:       20px;
    --radius-sm:    12px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────────── */

nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px;
    height: 60px;
    background: rgba(15,0,103,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 17px; font-weight: 600; letter-spacing: -0.3px;
    color: var(--text); text-decoration: none;
}

.nav-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.nav-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── LANGUAGE TOGGLE ─────────────────────────────────────── */

.lang-toggle {
    display: flex; gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3px;
}

.lang-btn {
    padding: 4px 14px;
    border: none; background: transparent;
    color: var(--text-2); font-size: 13px; font-weight: 500;
    border-radius: 16px; cursor: pointer;
    transition: all 0.2s;
}

.lang-btn.active { background: var(--accent); color: #fff; }

/* ── FOOTER ──────────────────────────────────────────────── */

footer {
    border-top: 1px solid var(--border);
    padding: 32px 24px;
    text-align: center;
    font-size: 13px; color: var(--text-3);
}

footer a { color: var(--text-3); text-decoration: none; }
footer a:hover { color: var(--text-2); }

/* ── LANGUAGE HIDING ─────────────────────────────────────── */

[data-lang]:not(.visible) { display: none !important; }

/* ── LEGAL PAGES ─────────────────────────────────────────── */

.page-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 100px 24px 80px;
}

.page-label {
    font-size: 12px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 10px;
}

.page-title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700; letter-spacing: -1px;
    line-height: 1.15; margin-bottom: 12px;
}

.page-intro {
    font-size: 16px; color: var(--text-2);
    margin-bottom: 40px; line-height: 1.7;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 28px 32px;
    margin-bottom: 12px;
}

.legal-card h2 {
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.5px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 14px;
}

.legal-card p {
    font-size: 15px; color: var(--text-2);
    line-height: 1.7; margin-bottom: 10px;
}

.legal-card p:last-child { margin-bottom: 0; }

.legal-card ul {
    list-style: none;
    display: flex; flex-direction: column; gap: 8px;
    margin-top: 4px;
}

.legal-card ul li {
    font-size: 15px; color: var(--text-2);
    display: flex; align-items: baseline; gap: 10px;
}

.legal-card ul li::before { content: "–"; color: var(--accent); flex-shrink: 0; }

.legal-card a { color: var(--accent); text-decoration: none; }
.legal-card a:hover { text-decoration: underline; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.chip {
    background: rgba(255,149,0,0.12);
    border: 1px solid rgba(255,149,0,0.25);
    color: var(--accent-light);
    font-size: 12px; font-weight: 600;
    padding: 4px 12px; border-radius: 20px;
}

.legal-note {
    font-size: 13px; color: var(--text-3);
    margin-top: 32px; line-height: 1.65;
}

/* ── HERO ────────────────────────────────────────────────── */

.hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative; overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute; top: -40%; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(255,149,0,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.app-icon {
    width: 110px; height: 110px;
    border-radius: 26px;
    margin: 0 auto 32px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(104, 76, 36, 0.18), 0 20px 60px rgba(0,0,0,0.5);
}

.app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.badge {
    display: inline-block;
    background: var(--accent-glow);
    border: 1px solid rgba(255,149,0,0.3);
    color: var(--accent-light);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.8px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 20px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(38px, 7vw, 72px);
    font-weight: 700; letter-spacing: -2px; line-height: 1.08;
    margin-bottom: 22px;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-2); max-width: 560px;
    margin-bottom: 40px; line-height: 1.6;
}

.cta-group {
    display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--accent);
    color: #fff; font-size: 16px; font-weight: 600;
    padding: 14px 28px; border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(255,149,0,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,149,0,0.45);
}

.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-2); font-size: 16px; font-weight: 500;
    padding: 14px 28px; border-radius: 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover { background: var(--bg-card-2); color: var(--text); }

.platforms {
    display: flex; gap: 20px; margin-top: 48px; flex-wrap: wrap; justify-content: center;
}

.platform-tag {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--text-3);
}

.platform-dot { width: 6px; height: 6px; background: var(--text-3); border-radius: 50%; }

/* ── SECTIONS ────────────────────────────────────────────── */

section {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 12px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700; letter-spacing: -1px;
    line-height: 1.15; margin-bottom: 16px;
}

.section-sub {
    font-size: 18px; color: var(--text-2);
    max-width: 600px; line-height: 1.65;
    margin-bottom: 56px;
}

/* ── FEATURES GRID ───────────────────────────────────────── */

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
    border-color: rgba(255,149,0,0.25);
    background: var(--bg-card-2);
}

.feature-icon {
    width: 44px; height: 44px;
    background: var(--accent-glow);
    border: 1px solid rgba(255,149,0,0.2);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    color: var(--accent);
}

.feature-icon svg { flex-shrink: 0; }

.feature-card h3 {
    font-size: 16px; font-weight: 600;
    margin-bottom: 8px; letter-spacing: -0.2px;
}

.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── HIGHLIGHT ROW ───────────────────────────────────────── */

.highlight {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 16px;
}

.highlight.reverse { direction: rtl; }
.highlight.reverse > * { direction: ltr; }

.highlight-visual {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    aspect-ratio: 9/16;
    max-height: 460px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
}

.highlight-content .section-label { display: block; }

.highlight-content h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700; letter-spacing: -0.8px;
    line-height: 1.2; margin-bottom: 16px;
}

.highlight-content p {
    font-size: 16px; color: var(--text-2);
    line-height: 1.7; margin-bottom: 24px;
}

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.check-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 15px; color: var(--text-2);
}

.check-list li::before {
    content: "✦";
    color: var(--accent); font-size: 10px;
    margin-top: 5px; flex-shrink: 0;
}

/* ── SYNC STRIP ──────────────────────────────────────────── */

.sync-strip {
    background: linear-gradient(135deg, #0a0055, #140070);
    border: 1px solid rgba(255,149,0,0.2);
    border-radius: 28px;
    padding: 64px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.sync-icons { display: flex; gap: 16px; justify-content: center; margin-bottom: 32px; }

.sync-device {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    font-size: 13px; color: var(--text-2);
    display: flex; align-items: center; gap: 8px;
}

.sync-strip h2 {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 700; letter-spacing: -0.8px; margin-bottom: 12px;
}

.sync-strip p { font-size: 17px; color: var(--text-2); max-width: 500px; margin: 0 auto; }

/* ── FINAL CTA ───────────────────────────────────────────── */

.final-cta { text-align: center; padding: 120px 24px; }

.final-cta h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700; letter-spacing: -1.5px;
    line-height: 1.1; margin-bottom: 20px;
}

.final-cta p { font-size: 18px; color: var(--text-2); margin-bottom: 40px; }

/* ── DIVIDER ─────────────────────────────────────────────── */

.divider {
    border: none;
    border-top: 1px solid var(--border);
    max-width: 1100px; margin: 0 auto;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 768px) {
    nav { padding: 0 20px; }

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

    .highlight {
        grid-template-columns: 1fr;
        padding: 36px 24px;
        gap: 32px;
    }

    .highlight.reverse { direction: ltr; }
    .highlight-visual { display: none; }

    .sync-strip { padding: 40px 24px; }
    .sync-icons { flex-wrap: wrap; }
}

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