@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:wght@400;500;600&display=swap');
:root {
    --bg: #000;
    --bg-soft: #0A0A0C;
    --surface: #121216;
    --border: #22222A;
    --text: #FFFFFF;
    --muted: #A3A3AD;
    --muted-2: #6B6B76;
    --accent: #C8C8C8;
    --ok: #4ADE80;
    --warn: #FBBF24;
    --danger: #F87171;
    --radius: 12px;
    --shadow: 0 20px 60px rgba(0,0,0,.55);
    --container: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg); color: var(--text);
    line-height: 1.6; -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
section { scroll-margin-top: 90px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button { font-family: inherit; }
::selection { background: var(--accent); color: #000; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-weight: 600; font-size: .95rem; padding: .8rem 1.4rem;
    border-radius: 8px; border: 1px solid transparent; cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
    text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header: floating pill ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    padding: .75rem 1.25rem;
    background: linear-gradient(to bottom, rgba(0,0,0,.7), transparent);
}
.site-header .container { padding: 0; }
.header-pill {
    max-width: 1160px; margin: 0 auto;
    display: flex; align-items: center; gap: 1.25rem;
    height: 52px; padding: 0 8px 0 24px;
    border: 1px solid var(--border); border-radius: 999px;
    background: rgba(0,0,0,.85); backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; flex: none; }
.brand img { height: 34px; width: auto; display: block; }
.brand .brand-name { font-family: 'Host Grotesk', 'Inter', sans-serif; font-weight: 400; font-size: 1.2rem; letter-spacing: .01em; color: var(--text); white-space: nowrap; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; align-items: center; justify-content: center; gap: 1.75rem; list-style: none; }
.main-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .92rem; transition: color .15s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.nav-drop { position: relative; }
.drop-btn {
    background: none; border: none; padding: .25rem 0;
    color: var(--muted); font-family: inherit; font-weight: 500; font-size: .92rem;
    cursor: pointer; display: inline-flex; align-items: center; gap: .3rem;
    transition: color .15s ease;
}
.drop-btn:hover, .nav-drop.active .drop-btn { color: var(--text); }
.drop-btn .chev { transition: transform .15s ease; }
.drop-menu {
    position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
    min-width: 240px; background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; box-shadow: var(--shadow); padding: .5rem;
    display: none; flex-direction: column;
}
.drop-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.drop-menu a {
    padding: .6rem .8rem; border-radius: 8px; color: var(--muted);
    text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}
.drop-menu a:hover { background: var(--bg-soft); color: var(--text); }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu, .nav-drop.open .drop-menu { display: flex; }
.nav-drop:hover .chev, .nav-drop:focus-within .chev, .nav-drop.open .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: .4rem; flex: none; }
.login-link { padding: 0 1rem; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; transition: color .15s ease; }
.login-link:hover { color: var(--text); }
.nav-actions .btn { height: 40px; padding: 0 1.5rem; border-radius: 999px; font-size: .92rem; }
.nav-toggle {
    display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--border); border-radius: 999px; cursor: pointer;
    color: var(--text); transition: border-color .15s ease;
}
.nav-toggle:hover { border-color: var(--text); }
@media (max-width: 860px) {
    .header-pill { position: relative; }
    .nav-toggle { display: inline-flex; }
    .main-nav {
        display: none; position: absolute; top: calc(100% + 10px); left: 8px; right: 8px;
        background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
        box-shadow: var(--shadow); padding: .75rem; z-index: 120;
    }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
    .main-nav a { display: block; padding: .7rem .9rem; border-radius: 10px; font-size: .95rem; }
    .main-nav a:hover, .main-nav a.active { background: var(--bg-soft); }
    .nav-drop { width: 100%; }
    .nav-drop .drop-btn { width: 100%; justify-content: space-between; padding: .7rem .9rem; border-radius: 10px; }
    .nav-drop .drop-menu {
        position: static; transform: none; min-width: 0; box-shadow: none;
        border: none; border-left: 1px solid var(--border); border-radius: 0;
        margin-left: .9rem; padding: 0 0 0 .5rem;
    }
    .site-header.nav-open .main-nav { display: block; }
}
@media (max-width: 560px) { .login-link { display: none; } .site-header { padding: .6rem .8rem; } }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; min-height: calc(100vh - 90px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 3rem 1.5rem 4.5rem;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(200,200,200,.08), transparent 70%);
}
.badge {
    display: inline-flex; align-items: center; gap: .5rem;
    border: 1px solid var(--border); border-radius: 999px;
    padding: .4rem 1rem; font-size: .8rem; color: var(--muted);
    background: rgba(200,200,200,.05); margin-bottom: 1.4rem;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.hero h1 {
    font-size: clamp(2.3rem, 5.6vw, 3.9rem);
    font-weight: 800; letter-spacing: -.03em; line-height: 1.08; max-width: 820px;
}
.hero h1 .accent { color: var(--accent); }
.tagline {
    margin-top: 1.15rem; font-size: clamp(.9rem, 2vw, 1.15rem);
    font-weight: 600; letter-spacing: .28em; color: var(--accent); text-transform: uppercase;
}
.hero-sub { margin: 1.15rem auto 0; max-width: 560px; color: var(--muted); font-size: 1.05rem; }

.hero-grid {
    margin-top: 2.5rem; width: 100%; max-width: 860px;
    display: grid; grid-template-columns: 1fr; gap: 1.5rem; justify-items: center;
}

/* ---------- Inline scan form ---------- */
.inline-scan { display: flex; gap: .6rem; align-items: stretch; }
.inline-scan .field { flex: 1; margin: 0; }
.inline-scan .btn { flex: none; padding: .85rem 1.6rem; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Hero screenshot ---------- */
.hero-screenshot { width: 100%; }
.hero-screenshot img {
    width: 100%; height: auto; display: block;
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); background: var(--surface);
}

/* ---------- Scan card ---------- */
.scan-card {
    width: 100%; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 1.75rem; text-align: left;
    scroll-margin-top: 90px;
}
.scan-step { display: none; }
.scan-step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .45rem; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: .35rem; }
.hint { font-size: .78rem; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="password"] {
    width: 100%; padding: .85rem 1rem; border-radius: 8px;
    border: 1px solid var(--border); background: var(--bg-soft); color: var(--text);
    font-size: 1rem; font-family: inherit; transition: border-color .15s ease;
}
.field input:focus { border-color: var(--accent); outline: none; }
.check { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.25rem; }
.check input { margin-top: .3rem; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.check label { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.scan-msg { display: none; margin-top: 1rem; padding: .85rem 1rem; border-radius: 8px; font-size: .9rem; }
.scan-msg.error { display: block; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.4); color: var(--danger); }
.scan-msg.success { display: block; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.4); color: var(--ok); }

/* ---------- Sample report preview ---------- */
.report-preview {
    position: relative; display: flex; flex-direction: column; gap: 1.15rem;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 1.5rem; text-align: left;
}
.sample-tag {
    position: absolute; top: 1rem; right: 1rem;
    font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: .25rem .7rem;
}
.rp-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.rp-domain { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.05rem; }
.rp-fav {
    width: 24px; height: 24px; border-radius: 7px; flex: none;
    background: var(--accent); color: #000; font-size: .72rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.rp-meta { color: var(--muted); font-size: .75rem; text-align: right; }
.rp-score { display: flex; align-items: center; gap: 1.1rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: .9rem 1rem; }
.score-ring {
    position: relative; width: 68px; height: 68px; flex: none; border-radius: 50%;
    background: conic-gradient(var(--accent) 68%, var(--border) 0);
    display: flex; align-items: center; justify-content: center;
}
.score-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg-soft); }
.score-ring .val { position: relative; font-weight: 800; font-size: 1.05rem; }
.score-info .score-big { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.score-info .score-note { color: var(--muted); font-size: .8rem; }
.sev-list { display: grid; gap: .5rem; }
.sev { display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: var(--muted); }
.sev .bar { flex: 1; height: 7px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.sev .bar i { display: block; height: 100%; border-radius: 999px; }
.sev .count { width: 2.4rem; text-align: right; font-weight: 700; color: var(--text); }
.sev.high .bar i { background: var(--danger); }
.sev.medium .bar i { background: var(--warn); }
.sev.low .bar i { background: var(--ok); }
.rp-findings { display: grid; gap: .5rem; }
.finding {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px;
    padding: .55rem .8rem; font-size: .8rem;
}
.finding .t { display: flex; align-items: center; gap: .5rem; }
.finding .url { color: var(--muted-2); font-size: .72rem; }
.sev-badge { padding: .12rem .5rem; border-radius: 999px; font-size: .68rem; font-weight: 700; flex: none; }
.sev-badge.high { background: rgba(248,113,113,.14); color: var(--danger); border: 1px solid rgba(248,113,113,.4); }
.sev-badge.medium { background: rgba(251,191,36,.12); color: var(--warn); border: 1px solid rgba(251,191,36,.35); }
.sev-badge.low { background: rgba(74,222,128,.12); color: var(--ok); border: 1px solid rgba(74,222,128,.35); }
.rp-foot { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); padding-top: .9rem; color: var(--muted); font-size: .75rem; }

.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.6rem; }
.trust-item {
    display: inline-flex; align-items: center; gap: .45rem;
    border: 1px solid var(--border); border-radius: 999px;
    padding: .45rem 1rem; background: rgba(200,200,200,.04);
    color: var(--muted); font-size: .8rem; font-weight: 600;
}
.trust-item svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.sample-link { margin-top: 1.25rem; }
.sample-link a {
    color: var(--muted); font-size: .9rem; font-weight: 500; text-decoration: none;
    border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: color .15s ease, border-color .15s ease;
}
.sample-link a:hover { color: var(--text); border-color: var(--accent); }

/* ---------- Page scaffolding ---------- */
.section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.section-head .eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: var(--accent); margin-bottom: .75rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.section-head p { margin-top: .9rem; color: var(--muted); font-size: 1.05rem; }
.bg-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.page-hero {
    padding: 6.5rem 1.5rem 3.5rem; text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; max-width: 780px; margin: 0 auto; }
.page-hero h1 .accent { color: var(--accent); }
.page-hero p { margin: 1.1rem auto 0; max-width: 560px; color: var(--muted); font-size: 1.08rem; }
.page-hero .cta-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- Steps (home teaser + how-it-works page) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.step-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.6rem;
}
.step-num {
    width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
    background: var(--accent); color: #000; border-radius: 8px;
    font-size: .78rem; font-weight: 700; margin-bottom: .9rem;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step-card p { color: var(--muted); font-size: .9rem; }
.hiw-steps { max-width: 760px; margin: 0 auto; display: grid; gap: 1rem; }
.hiw-step {
    display: flex; gap: 1.25rem; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem;
}
.hiw-step .step-num { flex: none; margin: 0; }
.hiw-step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.hiw-step p { color: var(--muted); font-size: .94rem; }

/* ---------- Features (solutions page) ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2rem; transition: border-color .2s ease, transform .2s ease;
}
.feature-card:hover { border-color: rgba(200,200,200,.45); transform: translateY(-3px); }
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(200,200,200,.1); border: 1px solid rgba(200,200,200,.2);
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
    color: var(--accent);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.feature-card p { color: var(--muted); font-size: .93rem; }

/* ---------- Pricing (pricing page) ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; align-items: stretch; }
.price-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2.25rem; display: flex; flex-direction: column; position: relative;
    transition: border-color .2s ease, transform .2s ease;
}
.price-card:hover { transform: translateY(-3px); }
.price-card.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.popular-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #000; font-size: .72rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; padding: .3rem .9rem; border-radius: 999px;
}
.price-card .plan { font-weight: 700; font-size: 1.05rem; }
.price-card .price { display: flex; align-items: baseline; gap: .3rem; margin: .9rem 0 .25rem; }
.price-card .price .amount { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.price-card .price .per { color: var(--muted-2); font-size: .9rem; }
.price-card .plan-desc { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.price-card ul { list-style: none; margin-bottom: 1.75rem; flex: 1; }
.price-card li { display: flex; gap: .6rem; color: var(--muted); font-size: .9rem; padding: .35rem 0; }
.price-card li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }
.price-card .strike { color: var(--muted-2); text-decoration: line-through; font-weight: 400; font-size: 1rem; margin-right: .35rem; }
.price-card .per-scan-note { color: var(--muted-2); font-size: .78rem; margin-top: .35rem; }

/* Billing toggle */
.period-toggle { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: -1.5rem 0 1rem; }
.currency-note { text-align: center; margin: 0 0 2.5rem; font-size: .85rem; color: var(--muted); }
.billed-note { color: var(--muted-2); font-size: .78rem; margin-top: .25rem; min-height: 1.1em; }
.toggle-btn {
    background: transparent; color: var(--muted); border: 1px solid var(--border);
    border-radius: 999px; padding: .5rem 1.1rem; font-size: .88rem; font-weight: 600; cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.toggle-btn .save { color: var(--ok); font-size: .75rem; font-weight: 700; margin-left: .2rem; }
.toggle-btn.active { background: var(--accent); color: #000; border-color: var(--accent); }
.toggle-btn.active .save { color: #000; }

/* Comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.vs-note { margin-top: 1.1rem; font-size: .85rem; color: var(--muted); line-height: 1.6; }
.compare { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .88rem; }
.compare th, .compare td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { font-weight: 700; color: var(--text); white-space: nowrap; }
.compare thead th.row-head { color: var(--muted); font-weight: 600; }
.compare tbody th { color: var(--muted); font-weight: 500; white-space: nowrap; }
.compare td { color: var(--muted); }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: var(--muted-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.compare .col-pop { background: rgba(200,200,200,.05); }
.plan-sub { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); margin-top: .25rem; }

/* Plan note (annual strike) */
.plan-note { margin: .25rem 0 .75rem; font-size: .85rem; color: var(--muted); display: none; }
.price-card.annual .plan-note { display: block; }

/* ---------- Final CTA + footer ---------- */
.final-cta { text-align: center; padding: 5.5rem 1.5rem; }
.final-cta h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.final-cta p { color: var(--muted); margin: 1rem auto 2rem; max-width: 520px; font-size: 1.05rem; }
.site-footer { padding: 2.5rem 1.5rem; border-top: 1px solid var(--border); }
.site-footer .container { max-width: var(--container); margin: 0 auto; }
.footer-main { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; }
.footer-brand img { height: 26px; width: auto; }
.footer-brand span { color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .15s ease; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; color: var(--muted); font-size: .8rem; }
.footer-bottom .legal { max-width: 600px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding-top: 3rem; }
}
@media (max-width: 640px) {
    .inline-scan { flex-direction: column; }
    .inline-scan .btn { width: 100%; }
    .section { padding: 3.5rem 0; }
    .footer-main { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
