:root {
    --ink: #16233b;
    --muted: #5b6b84;
    --blue: #2563eb;
    --blue-deep: #1e40af;
    --cyan: #06b6d4;
    --bg: #ffffff;
    --soft: #f4f7fc;
    --border: #e2e8f0;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(11, 30, 63, 0.08);
    --shadow-lg: 0 24px 60px rgba(11, 30, 63, 0.18);
    --grad: linear-gradient(135deg, #12275c 0%, #1e3a8a 45%, #0e7490 100%);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
}

.container { max-width: 1020px; margin: 0 auto; padding: 0 20px; }
section[id] { scroll-margin-top: 84px; }

h1, h2, h3 { font-family: "Outfit", -apple-system, "Segoe UI", sans-serif; }

/* ---------- Navigation ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.brand-logo {
    height: 34px;
    width: auto;
    margin-right: 8px;
}

.nav-links { display: flex; align-items: center; gap: 26px; }

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a:hover { color: var(--blue); }

.nav-links .nav-cta {
    background: var(--blue);
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
}

.nav-links .nav-cta:hover { background: var(--blue-deep); color: #fff; }

/* ---------- Hero ---------- */

.hero {
    background: var(--grad);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 76px 0 88px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.28), transparent 70%);
    top: -200px;
    right: -140px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.22), transparent 70%);
    bottom: -220px;
    left: -160px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
    align-items: center;
    position: relative;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12.5px;
    color: #9ecbff;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 50px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero h1 .accent { color: #7dd3fc; }

.hero .subtitle {
    margin-top: 18px;
    font-size: 17.5px;
    color: #d7e4f5;
    max-width: 46ch;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.btn-light, .btn-outline {
    display: inline-block;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-light {
    background: #fff;
    color: var(--blue-deep);
    padding: 13px 28px;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(255, 255, 255, 0.28);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    padding: 11px 26px;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.trust { margin-top: 22px; font-size: 13.5px; color: #9db6d8; }
.trust strong { color: #d7e4f5; }

.screen-card {
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
}

.screen-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.hero-copy > *, .hero-art { animation: fadeUp 0.8s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
.hero-art { animation-delay: 0.2s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */

section { padding: 72px 0; }

.section-title { text-align: center; margin-bottom: 44px; }

.section-title .kicker {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ---------- How it works ---------- */

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

.step {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 16px;
}

.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* ---------- In action (demo gifs) ---------- */

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

.action-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

.action-card img { width: 100%; display: block; }

.action-card figcaption {
    padding: 14px 16px;
    font-size: 14.5px;
    color: var(--muted);
    font-weight: 500;
}

.action-card figcaption strong { color: var(--ink); }

/* ---------- Features ---------- */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.feature {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--soft);
    font-size: 28px;
    margin-bottom: 16px;
}

.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); }


/* ---------- Language select inside hero ---------- */

.hero-lang {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    z-index: 10;
}

#lang-select {
    font-family: inherit;
    font-size: 13.5px;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    cursor: pointer;
}

/* ---------- Video ---------- */

.video-lite {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    background: #000 center / cover no-repeat;
}

.video-lite iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.play-btn {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn .circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.play-btn .circle::after {
    content: "";
    border-left: 26px solid var(--blue);
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    margin-left: 6px;
}

.play-btn:hover .circle { transform: scale(1.08); }

/* ---------- Download ---------- */

.downloads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}

.download-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.download-card .icon { font-size: 44px; margin-bottom: 12px; }
.download-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.download-card .note { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

.download-card a.btn {
    display: block;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15.5px;
    transition: background 0.2s ease;
}

.download-card a.btn:hover { background: var(--blue-deep); }

.center-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 28px; }
.center-note a { color: var(--blue); }

/* ---------- FAQ ---------- */

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

.faq details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px 22px;
    margin-bottom: 12px;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 0;
    padding-right: 30px;
    position: relative;
    list-style: none;
}

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

.faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 14px;
    font-size: 22px;
    font-weight: 600;
    color: var(--blue);
}

.faq details[open] summary::after { content: "\2013"; }

.faq details p { color: var(--muted); font-size: 15.5px; padding-bottom: 18px; }

/* ---------- Footer ---------- */

footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--muted);
    font-size: 14.5px;
    border-top: 1px solid var(--border);
    background: var(--soft);
}

footer a { color: var(--blue); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .hero .subtitle { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .steps { grid-template-columns: 1fr; }
    .action-grid { grid-template-columns: 1fr; }
    .nav-links a:not(.nav-cta) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-copy > *, .hero-art { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}