:root {
    --navy: #0b1220;
    --navy-2: #111c31;
    --navy-3: #17243c;
    --blue: #2563eb;
    --blue-2: #3b82f6;
    --cyan: #22d3ee;
    --ink: #0f172a;
    --muted: #5b6b81;
    --line: #dbe3ee;
    --surface: #ffffff;
    --surface-2: #f5f8fc;
    --surface-3: #eef4fb;
    --green: #10b981;
    --amber: #d97706;
    --red: #dc2626;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, .10);
    --shadow-lg: 0 30px 70px rgba(2, 8, 20, .35);
    --radius: 16px;
    --container: 1180px;
    --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 999;
    background: white;
    color: var(--navy);
    padding: 10px 16px;
    border-radius: 8px;
}
.skip-link:focus { left: 12px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 18, 32, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 72px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: white;
    text-decoration: none;
    flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 15px; letter-spacing: -.01em; }
.brand-copy small { color: #8fa3b8; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 10px;
    margin-right: auto;
}
.nav-links a {
    color: #c8d5e5;
    font-size: 13px;
    font-weight: 550;
    text-decoration: none;
    white-space: nowrap;
}
.nav-links a:hover { color: white; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
}
.lang-switch a {
    color: #9fb2c7;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: .04em;
    padding: 4px 6px;
    border-radius: 5px;
    text-decoration: none;
}
.lang-switch a:hover { color: white; background: rgba(255,255,255,.08); }
.lang-switch a.is-active { color: white; background: rgba(255,255,255,.14); }
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: transparent;
    color: white;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    font: inherit;
    font-size: 13.5px;
    font-weight: 650;
    line-height: 1.1;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .28);
}
.btn-primary:hover { background: linear-gradient(180deg, #4b8df8, #1d4ed8); }
.btn-ghost {
    background: rgba(255,255,255,.06);
    color: white;
    border: 1px solid rgba(255,255,255,.18);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-light {
    background: white;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}
.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.btn-outline:hover { border-color: #b9c8dc; background: var(--surface-2); }
.btn-sm { padding: 9px 14px; font-size: 12.5px; border-radius: 9px; }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 78% -10%, rgba(34, 211, 238, .17), transparent 60%),
        radial-gradient(700px 500px at 10% 0%, rgba(37, 99, 235, .22), transparent 55%),
        linear-gradient(180deg, #0b1220 0%, #0d1729 100%);
    color: white;
    padding: 74px 0 0;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 54px;
    align-items: center;
    padding-bottom: 54px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8fd8ff;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 5px rgba(34, 211, 238, .14);
}
.hero h1 {
    margin: 0;
    font-size: clamp(38px, 4.8vw, 62px);
    line-height: 1.04;
    letter-spacing: -.035em;
    font-weight: 720;
    max-width: 720px;
}
.hero h1 span {
    background: linear-gradient(90deg, #7dd3fc, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lede {
    max-width: 620px;
    margin: 22px 0 0;
    color: #b8c7d9;
    font-size: 16px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
    color: #8fa3b8;
    font-size: 11.5px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ade80;
}
.hero-visual {
    position: relative;
}
.hero-visual::after {
    content: "";
    position: absolute;
    inset: 10% -8% -10% 8%;
    background: linear-gradient(135deg, rgba(37,99,235,.2), rgba(34,211,238,.08));
    filter: blur(40px);
    z-index: -1;
}
.hero-frame {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    padding: 8px;
    background: rgba(255,255,255,.04);
    box-shadow: var(--shadow-lg);
    transform: perspective(1300px) rotateY(-4deg) rotateX(1deg);
}
.hero-frame img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
}
.hero-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.10);
    padding: 22px 0 26px;
}
.stat { padding: 0 24px; border-left: 1px solid rgba(255,255,255,.10); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; color: white; font-size: 20px; letter-spacing: -.02em; }
.stat span { color: #8fa3b8; font-size: 11px; }

/* Sections */
.section { padding: 82px 0; }
.section.alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
    color: var(--blue);
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.12;
    letter-spacing: -.03em;
}
.section-head p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.feature {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover {
    transform: translateY(-3px);
    border-color: #c7d7ea;
    box-shadow: var(--shadow-md);
}
.feature-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--surface-3);
    color: var(--blue);
    margin-bottom: 14px;
}
.feature-icon svg { width: 21px; height: 21px; }
.feature h3 { margin: 0 0 6px; font-size: 15px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.split h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -.03em; }
.split p { color: var(--muted); font-size: 14.5px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.check-list li::before {
    content: "✓";
    flex: 0 0 20px;
    height: 20px;
    border-radius: 50%;
    background: #e8f7f1;
    color: #047857;
    font-size: 12px;
    font-weight: 800;
    display: grid;
    place-items: center;
    margin-top: 1px;
}
.split-visual {
    border-radius: 18px;
    border: 1px solid var(--line);
    background: white;
    padding: 10px;
    box-shadow: var(--shadow-md);
}
.split-visual img { border-radius: 12px; }

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.gallery-main {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--navy);
    box-shadow: var(--shadow-md);
}
.gallery-main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}
.thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: var(--navy);
    cursor: pointer;
    opacity: .62;
    transition: opacity .15s ease, border-color .15s ease;
}
.thumb img { aspect-ratio: 16 / 9; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; border-color: var(--blue); }

/* Download */
.download {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 46px;
    color: white;
    background:
        radial-gradient(600px 300px at 85% 0%, rgba(34,211,238,.18), transparent 60%),
        linear-gradient(135deg, #0b1220, #13233d);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow-lg);
}
.download-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 34px;
    align-items: center;
}
.download h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; line-height: 1.1; }
.download p { color: #b8c7d9; font-size: 14px; max-width: 620px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.download-note { color: #8fa3b8; font-size: 11px; margin-top: 12px; }
.store-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 20px;
}
.store-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.store-card span { color: #9fb2c7; font-size: 11.5px; }
.store-card .pill {
    display: inline-flex;
    margin-top: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .15);
    color: #fbbf24;
    font-size: 10.5px;
    font-weight: 650;
}

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; }
details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    padding: 0 18px;
    box-shadow: var(--shadow-sm);
}
details summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 0;
    font-weight: 650;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--muted); font-weight: 500; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* Footer */
.footer {
    background: var(--navy);
    color: #9fb2c7;
    padding: 48px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer .brand img { height: 30px; }
.footer h4 { color: white; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.footer a { display: block; color: #9fb2c7; font-size: 12.5px; margin: 7px 0; }
.footer a:hover { color: white; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 20px;
    font-size: 11px;
    color: #71859b;
}

/* Legal pages */
.page-hero {
    background: var(--navy);
    color: white;
    padding: 64px 0 54px;
}
.page-hero h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; }
.page-hero p { color: #b8c7d9; max-width: 760px; margin: 14px 0 0; }
.legal {
    max-width: 860px;
    margin: 0 auto;
    padding: 54px 0 80px;
}
.legal h2 { margin: 34px 0 10px; font-size: 21px; letter-spacing: -.02em; }
.legal h3 { margin: 24px 0 8px; font-size: 16px; }
.legal p, .legal li { color: #334155; font-size: 14px; line-height: 1.75; }
.legal ul { padding-left: 22px; }
.legal .note {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    color: var(--muted);
    font-size: 12.5px;
}
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0;
}
.support-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.support-card h3 { margin: 0 0 6px; font-size: 15px; }
.support-card p { margin: 0 0 14px; color: var(--muted); font-size: 12.5px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .hero-frame { transform: none; }
    .split { grid-template-columns: 1fr; gap: 30px; }
    .download-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #0d1729;
        border-bottom: 1px solid rgba(255,255,255,.1);
        padding: 14px 20px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .nav-links.is-open { display: flex; }
    .nav-toggle { display: inline-grid; place-items: center; }
    .nav-actions .btn { display: none; }
    .hero { padding-top: 52px; }
    .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 18px; }
    .stat:nth-child(3) { border-left: 0; padding-left: 0; }
    .section { padding: 60px 0; }
    .download { padding: 28px; }
    .gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .feature-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 38px; }
    .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .feature, .thumb { transition: none; }
}
