:root {
    --bg: #0b0c10;
    --bg-elev: #14161d;
    --bg-elev-2: #1b1e27;
    --card: #12141b;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #eef0f6;
    --text-muted: #9aa3b2;
    --text-dim: #6b7280;
    --accent: #6a78f7;
    --accent-2: #8b6cf0;
    --accent-soft: rgba(106, 120, 247, 0.14);
    --green: #35c28b;
    --orange: #e6994a;
    --blue: #4aa3e6;
    --pink: #e06b8c;
    --radius: 16px;
    --radius-sm: 10px;
    --maxw: 1080px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Ambient background glow */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(720px circle at 15% -5%, rgba(106, 120, 247, 0.18), transparent 55%),
        radial-gradient(680px circle at 92% 8%, rgba(139, 108, 240, 0.14), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(160%) blur(14px);
    background: rgba(11, 12, 16, 0.72);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; letter-spacing: -0.01em; }
.brand .mark {
    width: 28px; height: 28px; border-radius: 8px;
    background: linear-gradient(150deg, var(--accent), var(--accent-2));
    display: grid; place-items: center;
    box-shadow: 0 4px 14px rgba(106, 120, 247, 0.4);
}
.brand .mark svg { width: 16px; height: 16px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 14.5px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14.5px; font-weight: 600;
    padding: 9px 16px; border-radius: 10px;
    border: 1px solid var(--border-strong);
    color: var(--text);
    background: var(--bg-elev);
    transition: transform 0.12s ease, border-color 0.15s, background 0.15s;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.28); }
.btn-primary {
    border: none;
    background: linear-gradient(150deg, var(--accent), var(--accent-2));
    box-shadow: 0 8px 22px rgba(106, 120, 247, 0.38);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(106, 120, 247, 0.5); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; padding: 88px 0 40px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 56px;
    align-items: center;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid rgba(106, 120, 247, 0.28);
    padding: 6px 12px; border-radius: 999px;
    margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

h1 {
    font-size: clamp(38px, 5.4vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 720;
    margin-bottom: 20px;
}
h1 .grad {
    background: linear-gradient(120deg, var(--accent), var(--accent-2) 60%, #c3a7ff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 18.5px; color: var(--text-muted); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--green); }

/* ---------- App mock ---------- */
.mock-stage { position: relative; display: flex; justify-content: center; }
.menubar {
    position: absolute; top: -34px; right: 24px;
    display: flex; align-items: center; gap: 14px;
    color: var(--text-dim); font-size: 12px;
}
.menubar .active { color: var(--text); }
.panel {
    width: 100%; max-width: 380px;
    background: rgba(20, 22, 29, 0.92);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    backdrop-filter: blur(20px);
}
.panel-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.panel-search {
    flex: 1; display: flex; align-items: center; gap: 8px;
    color: var(--text-dim); font-size: 13px;
}
.panel-search svg { width: 14px; height: 14px; }
.panel-ico { color: var(--text-dim); width: 15px; height: 15px; }
.strip { display: flex; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); overflow: hidden; }
.strip-card {
    min-width: 84px; height: 54px; border-radius: 9px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--border);
    padding: 8px; font-size: 10px; color: var(--text-muted);
    display: flex; flex-direction: column; justify-content: space-between;
}
.strip-card .k { font-size: 9px; }
.tabs { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.tab { font-size: 11.5px; padding: 4px 11px; border-radius: 999px; color: var(--text-muted); }
.tab.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.rows { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px; border-radius: 9px;
}
.row.sel { background: var(--accent-soft); }
.row .ic { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.row .ic svg { width: 15px; height: 15px; }
.row .body { min-width: 0; flex: 1; }
.row .title { font-size: 12.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .meta { font-size: 10px; color: var(--text-dim); display: flex; gap: 6px; align-items: center; margin-top: 2px; }
.badge { font-size: 9px; font-weight: 600; padding: 1px 6px; border-radius: 999px; }
.thumb { width: 34px; height: 34px; border-radius: 8px; flex: none; background-size: cover; background-position: center; }

/* type colors */
.t-text { color: #9aa3b2; } .bg-text { background: rgba(154,163,178,0.16); color: #b7becb; }
.t-link { color: var(--blue); } .bg-link { background: rgba(74,163,230,0.16); color: var(--blue); }
.t-img  { color: var(--green); } .bg-img { background: rgba(53,194,139,0.16); color: var(--green); }
.t-shot { color: var(--orange); } .bg-shot { background: rgba(230,153,74,0.16); color: var(--orange); }
.t-file { color: var(--pink); } .bg-file { background: rgba(224,107,140,0.16); color: var(--pink); }

/* Animated demo showcase */
.demo-frame {
    max-width: 760px;
    margin: 0 auto;
    border-radius: 18px;
    padding: 10px;
    background:
        linear-gradient(150deg, rgba(106, 120, 247, 0.12), rgba(139, 108, 240, 0.06)),
        var(--bg-elev);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
}
.demo-frame img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* ---------- Sections ---------- */
section { position: relative; z-index: 1; }
.section-pad { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; font-weight: 700; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature .ficon {
    width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center; margin-bottom: 16px;
    background: var(--accent-soft); color: var(--accent);
}
.feature .ficon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--text-muted); font-size: 14.5px; }

/* Privacy band */
.band {
    position: relative; z-index: 1;
    margin: 20px auto; max-width: var(--maxw);
    border-radius: 28px;
    background:
        linear-gradient(150deg, rgba(106,120,247,0.16), rgba(139,108,240,0.10)),
        var(--bg-elev);
    border: 1px solid rgba(106,120,247,0.28);
    padding: 60px 40px;
    text-align: center;
    overflow: hidden;
}
.band::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(500px circle at 50% 120%, rgba(106,120,247,0.22), transparent 60%);
    pointer-events: none;
}
.band .lock { width: 52px; height: 52px; margin: 0 auto 20px; color: var(--accent); }
.band h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; max-width: 720px; margin: 0 auto 16px; line-height: 1.12; }
.band p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 16px; }

/* Badge legend */
.legend { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.legend .badge { font-size: 12px; padding: 6px 14px; display: inline-flex; align-items: center; gap: 7px; }
.legend .badge svg { width: 13px; height: 13px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step .num { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }
.kbd {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: var(--bg-elev-2); border: 1px solid var(--border-strong);
    border-radius: 6px; padding: 2px 7px; font-size: 13px;
}

/* macOS limitations callout */
.limitations { max-width: 860px; margin: 0 auto 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.limitation { display: flex; gap: 11px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 15px 16px; }
.limitation svg { width: 18px; height: 18px; color: var(--pink); flex: none; margin-top: 1px; }
.limitation p { font-size: 13.5px; color: var(--text-muted); }
.limitation b { color: var(--text); font-weight: 600; }

/* comparison table */
.compare-wrap { max-width: 980px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; }
table.compare th, table.compare td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--border); }
table.compare tbody tr:last-child td, table.compare tbody tr:last-child th { border-bottom: none; }
table.compare thead th { font-size: 11.5px; letter-spacing: 0.03em; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
table.compare thead th:first-child { text-align: left; }
table.compare tbody th { text-align: left; font-weight: 600; color: var(--text); white-space: nowrap; font-size: 14px; }
table.compare td.txt { color: var(--text-muted); font-size: 12.5px; white-space: nowrap; }
table.compare tr.me { background: var(--accent-soft); }
table.compare tr.me th { color: var(--accent); }
table.compare tr.me td.txt { color: #b9c0f7; }
.yes { color: var(--green); font-weight: 700; }
.no { color: #6b7280; }
.partial { color: var(--orange); font-weight: 600; font-size: 12.5px; }
.compare-note { max-width: 820px; margin: 18px auto 0; text-align: center; font-size: 12.5px; color: var(--text-dim); line-height: 1.6; }
.compare-verdict { max-width: 760px; margin: 26px auto 0; text-align: center; font-size: 15px; color: var(--text-muted); }
.compare-verdict b { color: var(--text); }

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

/* Footer */
footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 44px 0 60px; margin-top: 40px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { color: var(--text-muted); font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.foot-meta { color: var(--text-dim); font-size: 13px; }

/* Reveal animation — progressive enhancement: visible by default, hidden only
   once JS marks the document, so the page works fine with JS disabled. */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero { padding-top: 60px; }
    .mock-stage { order: 2; }
    .features { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .nav-links .hide-sm { display: none; }
}
@media (max-width: 520px) {
    .band { padding: 44px 22px; border-radius: 20px; }
    .hero p.lead { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .js .reveal { transition: none; opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}
