:root {
    --bg: #101010;
    --surface: #1c1c1c;
    --surface-2: #242424;
    --surface-3: #2a2a2a;
    --surface-3-hover: #343434;
    --border: #2c2c2c;
    --border-strong: #3a3a3a;

    --text: #f2f2f2;
    --text-muted: #a3a3a3;
    --text-faint: #7a7a7a;

    --ink: #ffffff;
    --ink-text: #121212;

    --shadow-card: rgba(0, 0, 0, .45);
    --shadow-lg: rgba(0, 0, 0, .55);
    --glow: rgba(255, 255, 255, .16);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --container: 1160px;

    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}

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

.eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    color: var(--text-faint);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

section { padding: 96px 0; }

h1, h2, h3 { margin: 0; letter-spacing: -.03em; font-weight: 800; }

.sectionHead { max-width: 620px; margin-bottom: 56px; }
.sectionHead h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--ink);
    color: var(--ink-text);
    box-shadow: 0 10px 24px var(--shadow-card);
}
.btn-primary:hover { box-shadow: 0 14px 30px var(--shadow-lg); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */

.siteHeader {
    position: sticky;
    top: 0;
    z-index: 50;
    padding-block: 22px;
    background: rgba(16, 16, 16, .72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
}
.siteHeader.scrolled {
    border-bottom-color: var(--border);
    background: rgba(16, 16, 16, .92);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .01em;
}
.logo svg { width: 30px; height: 30px; }

.navLinks {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: .92rem;
    color: var(--text-muted);
}
.navLinks a { transition: color .15s ease; }
.navLinks a:hover { color: var(--text); }

.headerActions { display: flex; align-items: center; gap: 14px; }

.langSwitch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.langSwitch:hover { color: var(--text); background: var(--surface-2); }

.navToggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
}

.mobileNav {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0 20px;
    border-bottom: 1px solid var(--border);
}
.mobileNav a {
    padding: 12px 4px;
    color: var(--text-muted);
    font-size: .95rem;
    border-radius: 10px;
}
.mobileNav a:hover { color: var(--text); background: var(--surface-2); }
.mobileNav.open { display: flex; }

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

.hero {
    position: relative;
    padding-top: 64px;
    padding-bottom: 60px;
    overflow: clip;
}

.heroGrid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px 7px 8px;
    margin-bottom: 26px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-muted);
}
.badge .badgeTag {
    padding: 3px 9px;
    background: var(--ink);
    color: var(--ink-text);
    border-radius: 999px;
    font-size: .68rem;
    letter-spacing: .04em;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: .96;
    margin-bottom: 22px;
}

.heroTagline {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--text);
    margin: 0 0 18px;
    letter-spacing: -.01em;
}

.heroText {
    max-width: 460px;
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0 0 34px;
}

.heroChecks {
    display: flex;
    gap: 30px;
    margin-bottom: 38px;
}
.heroCheck {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.heroCheck svg {
    width: 20px; height: 20px;
    color: var(--text);
}
.heroCheck span {
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 600;
}

.heroActions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.heroHint { color: var(--text-faint); font-size: .82rem; }

/* ---------- Phone mockup ---------- */

.phoneWrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.phoneGlow {
    position: absolute;
    inset: -10% -10% -10% -10%;
    background: radial-gradient(closest-side, var(--glow), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.phone {
    position: relative;
    z-index: 1;
    width: min(300px, 82vw);
    background: #050505;
    border-radius: 46px;
    padding: 14px;
    box-shadow: 0 40px 90px var(--shadow-lg), 0 0 0 1px #000;
}

.phoneNotch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 22px;
    background: #050505;
    border-radius: 999px;
    z-index: 3;
}

.phoneScreen {
    position: relative;
    background: var(--bg);
    border-radius: 34px;
    overflow: hidden;
    padding: 14px 16px 16px;
}

.statusBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 4px 18px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--text);
}
.statusIcons { display: flex; align-items: center; gap: 5px; }
.statusIcons svg { width: 16px; height: 16px; color: var(--text); }

.mockRing {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 0 14px;
}
.mockRing svg { width: 190px; height: 190px; }
.mockTime {
    position: absolute;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
    margin-top: -8px;
}
.mockRingLabel {
    position: absolute;
    margin-top: 34px;
    font-size: .68rem;
    color: var(--text-muted);
}

.mockStats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 14px;
}
.mockStat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 11px;
}
.mockStat svg { width: 15px; height: 15px; color: var(--text-muted); flex-shrink: 0; }
.mockStat div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mockStat span { font-size: .58rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mockStat strong { font-size: .8rem; font-variant-numeric: tabular-nums; }

.mockButton {
    margin-top: 12px;
    width: 100%;
    padding: 13px;
    background: var(--ink);
    color: var(--ink-text);
    border-radius: 13px;
    text-align: center;
    font-size: .85rem;
    font-weight: 800;
}

.mockHistory {
    margin-top: 16px;
    padding: 12px 12px 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}
.mockHistoryHead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: .74rem;
    font-weight: 700;
}
.mockHistoryHead span:last-child {
    display: grid;
    place-items: center;
    width: 18px; height: 18px;
    background: var(--surface-3);
    border-radius: 50%;
    font-size: .62rem;
    flex-shrink: 0;
}
.mockHistoryRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px;
    margin-bottom: 6px;
    background: var(--surface-2);
    border: 1px dashed var(--border-strong);
    border-radius: 10px;
    font-size: .72rem;
}
.mockHistoryRow .num { color: var(--text-muted); margin-right: 6px; }
.mockHistoryRow .delta { color: var(--text-faint); font-variant-numeric: tabular-nums; }

.mockNav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 16px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}
.mockNav svg { width: 18px; height: 18px; color: var(--text-faint); }
.mockNav .active {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    background: var(--ink);
    border-radius: 11px;
}
.mockNav .active svg { width: 17px; height: 17px; color: var(--ink-text); }

/* ---------- Feature grid ---------- */

.featureGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.featureCard { display: flex; flex-direction: column; gap: 14px; }
.featureIcon {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 13px;
}
.featureIcon svg { width: 21px; height: 21px; color: var(--text); }
.featureCard h3 { font-size: 1.02rem; }
.featureCard p { margin: 0; color: var(--text-muted); font-size: .88rem; }

/* ---------- Steps ---------- */

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

.step { position: relative; }
.stepBadge {
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    margin-bottom: 20px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 800;
    color: var(--text-muted);
}
.stepIcon {
    display: grid;
    place-items: center;
    width: 68px; height: 68px;
    margin-bottom: 22px;
    background: var(--surface-2);
    border-radius: var(--radius-md);
}
.stepIcon svg { width: 28px; height: 28px; color: var(--text); }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-muted); font-size: .88rem; max-width: 280px; }

.stepArrow {
    position: absolute;
    top: 34px;
    left: calc(100% + 4px);
    width: 40px;
    color: var(--border-strong);
}

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

.faqList { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faqItem {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faqQuestion {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 19px 22px;
    cursor: pointer;
    font-size: .96rem;
    font-weight: 700;
    box-sizing: border-box;
}
.faqQuestion svg {
    width: 18px; height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform .2s ease;
}
.faqItem[data-open="true"] .faqQuestion svg { transform: rotate(45deg); }

.faqAnswer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .22s ease;
}
.faqItem[data-open="true"] .faqAnswer { grid-template-rows: 1fr; }
.faqAnswer > div { overflow: hidden; }
.faqAnswer p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--text-muted);
    font-size: .9rem;
    max-width: 640px;
}

/* ---------- CTA + PWA card ---------- */

.ctaSection {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.ctaCopy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.ctaCopy p { color: var(--text-muted); margin: 0 0 26px; max-width: 400px; }

.pwaCard {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px;
}
.pwaCardHead { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pwaCardHead .featureIcon { background: var(--surface-3); }
.pwaCardHead h3 { font-size: 1.02rem; margin-bottom: 4px; }
.pwaCardHead p { margin: 0; color: var(--text-muted); font-size: .85rem; }

.pwaPerks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.pwaPerk { display: flex; align-items: center; gap: 10px; }
.pwaPerk svg { width: 17px; height: 17px; color: var(--text); flex-shrink: 0; }
.pwaPerk span { font-size: .82rem; color: var(--text-muted); font-weight: 600; }

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

.headerBar { display: flex; align-items: center; justify-content: space-between; }

.siteFooter {
    padding: 44px 0 40px;
    border-top: 1px solid var(--border);
    color: var(--text-faint);
    font-size: .84rem;
}
.footerBar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footerLogo { display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--text); }
.footerLogo svg { width: 22px; height: 22px; }
.footerLinks { display: flex; gap: 22px; }
.footerLinks a:hover { color: var(--text); }

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

@media (max-width: 980px) {
    .navLinks { display: none; }
    .headerActions .btn-primary { display: none; }
    .navToggle { display: inline-flex; }
    .heroGrid { grid-template-columns: 1fr; }
    .phoneWrap { order: -1; margin-bottom: 20px; }
    .featureGrid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 40px; }
    .stepArrow { display: none; }
    .ctaSection { grid-template-columns: 1fr; padding: 36px 24px; }
}

@media (max-width: 620px) {
    section { padding: 64px 0; }
    .featureGrid { grid-template-columns: 1fr; }
    .heroChecks { flex-wrap: wrap; row-gap: 18px; }
    .pwaPerks { grid-template-columns: 1fr; }
    .footerBar { flex-direction: column; text-align: center; }
}
