:root {
    --bg: #040711;
    --bg-2: #080d1d;
    --panel: rgba(255, 255, 255, 0.075);
    --panel-2: rgba(255, 255, 255, 0.115);
    --panel-3: rgba(8, 13, 29, 0.82);
    --text: #f8fbff;
    --muted: #9aa8c6;
    --soft: #d9e4ff;
    --line: rgba(255, 255, 255, 0.14);
    --line-strong: rgba(255, 255, 255, 0.24);
    --brand: #6fffd2;
    --brand-dark: #1cc999;
    --violet: #9b8cff;
    --blue: #4bb8ff;
    --danger: #ff6b8a;
    --warn: #ffd166;
    --ok: #58f29a;
    --shadow: 0 30px 100px rgba(0, 0, 0, 0.44);
    --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        radial-gradient(circle at 12% 0%, rgba(111, 255, 210, 0.22), transparent 30rem),
        radial-gradient(circle at 88% 12%, rgba(155, 140, 255, 0.23), transparent 34rem),
        linear-gradient(145deg, var(--bg), var(--bg-2) 52%, #050711);
    background-size: 48px 48px, 48px 48px, auto, auto, auto;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 20%), rgba(111, 255, 210, 0.12), transparent 24rem);
    z-index: -1;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.ambient {
    position: fixed;
    width: 28rem;
    height: 28rem;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.45;
    pointer-events: none;
    z-index: -2;
    animation: float-ambient 14s ease-in-out infinite alternate;
}
.ambient-one { left: -8rem; top: 15rem; background: rgba(75, 184, 255, 0.32); }
.ambient-two { right: -9rem; top: 34rem; background: rgba(111, 255, 210, 0.26); animation-delay: -6s; }

.site-shell { width: min(1220px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
    position: sticky;
    top: 14px;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    margin: 14px 0 28px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(4, 7, 17, 0.78);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(22px);
}

.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(111, 255, 210, 0.38);
    border-radius: 16px;
    color: #04120d;
    background: linear-gradient(135deg, var(--brand), #f1fff8);
    font-weight: 900;
    letter-spacing: -0.08em;
    box-shadow: 0 0 34px rgba(111, 255, 210, 0.28);
}
.brand strong { display: block; font-weight: 900; letter-spacing: -0.04em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }

.topnav { display: flex; justify-content: center; align-items: center; gap: 6px; }
.topnav a, .ghost-link {
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 13px;
    font-size: 14px;
    font-weight: 750;
    transition: 0.22s ease;
}
.topnav a:hover, .ghost-link:hover { color: var(--text); border-color: var(--line); background: rgba(255, 255, 255, 0.06); transform: translateY(-1px); }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.nav-cta, .primary-link, button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 12px 17px;
    color: #03110c;
    background: linear-gradient(135deg, var(--brand), #eafff4 55%, #93ffe1);
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 40px rgba(111, 255, 210, 0.25);
    transition: 0.24s ease;
}
.nav-cta:hover, .primary-link:hover, button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 18px 54px rgba(111, 255, 210, 0.34); }
.secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 12px 17px;
    color: var(--text);
    font-weight: 850;
    background: rgba(255, 255, 255, 0.055);
}

.flash-error, .form-errors {
    margin: 14px 0 22px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 107, 138, 0.38);
    border-radius: 20px;
    color: #ffe4ea;
    background: rgba(255, 107, 138, 0.12);
}
.form-errors p { margin: 0; }

.hero, .report-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    gap: 34px;
    align-items: center;
    min-height: calc(100vh - 128px);
    padding: 40px 0 78px;
}

.page-hero { padding: 92px 0 52px; max-width: 940px; }
.compact-hero { min-height: auto; }

.eyebrow, .section-heading span, .section-card-head span, .intent-card span, .pricing-card > span, .blog-card span, .dashboard-card span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.eyebrow::before, .section-heading span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand);
    box-shadow: 0 0 18px var(--brand);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
    max-width: 980px;
    margin-bottom: 22px;
    font-size: clamp(52px, 7vw, 96px);
    line-height: 0.9;
    letter-spacing: -0.085em;
}
h2 { margin-bottom: 16px; font-size: clamp(30px, 4.3vw, 56px); line-height: 0.98; letter-spacing: -0.065em; }
h3 { margin-bottom: 10px; font-size: 22px; letter-spacing: -0.035em; }
p { color: var(--muted); line-height: 1.75; }
.hero-lead, .page-hero p, .report-hero p { max-width: 720px; font-size: clamp(18px, 2vw, 22px); color: var(--soft); }

.scan-card, .hero-panel, .feature-card, .pro-section, .price-card, .faq-section, .section-card, .sticky-panel, .asset-card, .guide-card, .intent-card, .summary-strip > div, .report-score, .pricing-card, .blog-card, .comparison-section, .auth-card, .auth-copy, .dashboard-card, .empty-state {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--panel-2), rgba(255, 255, 255, 0.045));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}

.scan-card {
    position: relative;
    margin-top: 34px;
    padding: 16px;
    overflow: hidden;
}
.scan-card::before, .featured::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 0%, rgba(111, 255, 210, 0.15) 45%, transparent 70%);
    transform: translateX(-100%);
    animation: sheen 6s ease-in-out infinite;
}
.scan-card label, .auth-card label { display: block; margin: 0 0 10px; color: var(--soft); font-weight: 850; }
.scan-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 18px;
    color: var(--text);
    background: rgba(0, 0, 0, 0.28);
    outline: none;
    transition: 0.2s ease;
}
input:focus { border-color: rgba(111, 255, 210, 0.72); box-shadow: 0 0 0 5px rgba(111, 255, 210, 0.12); }
.scan-card p { margin: 12px 0 0; font-size: 14px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.trust-row span, .auth-benefits span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--soft);
    background: rgba(255, 255, 255, 0.055);
    font-size: 13px;
    font-weight: 800;
}

.hero-panel {
    position: relative;
    min-height: 580px;
    padding: 24px;
    overflow: hidden;
    transform-style: preserve-3d;
}
.hero-panel::after {
    content: "";
    position: absolute;
    inset: 7%;
    border-radius: 999px;
    background: conic-gradient(from 120deg, var(--brand), var(--violet), var(--blue), transparent, var(--brand));
    filter: blur(34px);
    opacity: 0.44;
    animation: rotate-glow 12s linear infinite;
}
.panel-toolbar { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.panel-toolbar span { width: 10px; height: 10px; border-radius: 999px; background: var(--line-strong); }
.panel-toolbar strong { margin-left: auto; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.score-orbit {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 270px;
    height: 270px;
    margin: 56px auto 32px;
    border: 1px solid rgba(111, 255, 210, 0.34);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(111, 255, 210, 0.08), rgba(4, 7, 17, 0.94) 68%);
    box-shadow: inset 0 0 55px rgba(111, 255, 210, 0.12), 0 0 70px rgba(111, 255, 210, 0.12);
}
.score-orbit::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: inherit;
    border: 1px dashed rgba(111, 255, 210, 0.38);
    animation: rotate-glow 18s linear infinite reverse;
}
.score-orbit strong { font-size: 86px; font-weight: 950; letter-spacing: -0.1em; }
.score-orbit span, .score-orbit small { color: var(--muted); }
.signal-list { position: relative; z-index: 2; display: grid; gap: 12px; }
.signal-list div {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.32);
    color: var(--soft);
    transform: translateZ(18px);
}
.dot { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 999px; }
.good { background: var(--ok); box-shadow: 0 0 14px var(--ok); }
.warn { background: var(--warn); box-shadow: 0 0 14px var(--warn); }

.metrics-strip, .feature-grid, .strategy-grid, .asset-grid, .guide-grid, .intent-grid, .summary-strip, .pricing-grid, .blog-grid, .dashboard-grid {
    display: grid;
    gap: 18px;
}
.metrics-strip { grid-template-columns: repeat(4, 1fr); margin: -34px 0 84px; }
.metrics-strip div {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.055);
}
.metrics-strip strong { display: block; font-size: 34px; letter-spacing: -0.06em; }
.metrics-strip span { color: var(--muted); font-weight: 750; }

.section-grid, .seo-section, .workflow-section, .faq-section, .pro-output, .comparison-section, .reports-section { padding: 80px 0; }
.section-heading { max-width: 860px; margin-bottom: 30px; }
.section-heading.compact { padding-top: 12px; margin-bottom: 22px; }
.section-heading p { max-width: 760px; font-size: 18px; }
.feature-grid, .strategy-grid, .intent-grid, .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card, .strategy-grid article, .guide-card, .intent-card, .pricing-card, .blog-card, .dashboard-card { padding: 28px; position: relative; overflow: hidden; }
.feature-card small { color: rgba(255, 255, 255, 0.34); font-size: 44px; font-weight: 950; letter-spacing: -0.08em; }
.feature-card strong { display: block; margin: 18px 0 10px; font-size: 26px; letter-spacing: -0.05em; }
.feature-card:hover, .blog-card:hover, .pricing-card:hover { transform: translateY(-5px); border-color: rgba(111, 255, 210, 0.35); transition: 0.24s ease; }

.seo-section { position: relative; }
.strategy-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(111, 255, 210, 0.1), rgba(155, 140, 255, 0.07));
}
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: steps; }
.timeline div {
    position: relative;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.055);
}
.timeline div::before {
    counter-increment: steps;
    content: "0" counter(steps);
    display: inline-flex;
    margin-bottom: 36px;
    color: var(--brand);
    font-weight: 950;
}
.timeline strong { display: block; margin-bottom: 8px; font-size: 22px; }

.pro-section {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: center;
    margin: 80px 0;
    padding: 38px;
    position: relative;
    overflow: hidden;
}
.pro-section::after {
    content: "";
    position: absolute;
    right: -8rem;
    top: -8rem;
    width: 22rem;
    height: 22rem;
    border-radius: 999px;
    background: rgba(111, 255, 210, 0.18);
    filter: blur(50px);
}
.price-card { padding: 26px; text-align: center; position: relative; z-index: 2; }
.price-card strong, .pricing-card h2 { display: block; margin: 6px 0 10px; font-size: 58px; font-weight: 950; letter-spacing: -0.08em; }

.faq-section { padding: 42px; }
.faq-section details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-section summary { cursor: pointer; color: var(--text); font-size: 21px; font-weight: 900; }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }

.report-hero { min-height: auto; padding-top: 76px; }
.report-hero h1 { font-size: clamp(42px, 5.7vw, 76px); }
.report-hero h1 span { color: var(--brand); }
.report-score { padding: 32px; text-align: center; }
.report-score strong { display: block; margin: 8px 0; font-size: 92px; font-weight: 950; letter-spacing: -0.1em; }
.report-score span, .report-score small { color: var(--muted); }
.summary-strip { grid-template-columns: 180px 180px 1fr; margin: 18px 0 30px; }
.summary-strip > div { padding: 22px; }
.summary-strip strong { display: block; font-size: 30px; font-weight: 950; letter-spacing: -0.06em; }
.summary-strip span { color: var(--muted); }

.result-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.checks-column { display: grid; gap: 20px; }
.section-card { padding: 24px; }
.section-card-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-card-head strong { color: var(--brand); font-size: 34px; font-weight: 950; }
.check-card { margin-top: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(0, 0, 0, 0.25); }
.check-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.check-title span { border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 950; white-space: nowrap; }
.is-pass .check-title span { color: #042313; background: var(--ok); }
.is-warn .check-title span { color: #251900; background: var(--warn); }
.is-fail .check-title span { color: #2b0610; background: var(--danger); }
.conclusion { color: var(--text); font-weight: 800; }
.insight, .logs { color: var(--muted); }
.logs { margin: 0; padding-left: 20px; line-height: 1.85; font-family: "JetBrains Mono", monospace; font-size: 13px; }
.sticky-panel { position: sticky; top: 112px; padding: 26px; }

.asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.asset-card { padding: 22px; overflow: hidden; }
.asset-card.wide { grid-column: 1 / -1; }
.asset-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.copy-btn { border-radius: 999px; padding: 10px 14px; color: #06120e; background: var(--brand); border: 0; font-weight: 900; cursor: pointer; }
pre {
    margin: 14px 0 0;
    white-space: pre-wrap;
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: #dfeaff;
    background: rgba(0, 0, 0, 0.42);
    font: 500 13px/1.75 "JetBrains Mono", monospace;
}
.guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.guide-card ul, .intent-card ul, .pricing-card ul { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.85; }
.prompt-box { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.prompt-box p { font-family: "JetBrains Mono", monospace; font-size: 13px; }
.intent-grid { margin-top: 18px; }

.pricing-grid { margin: 20px 0 72px; align-items: stretch; }
.pricing-card { min-height: 100%; }
.pricing-card.featured { border-color: rgba(111, 255, 210, 0.44); background: linear-gradient(180deg, rgba(111, 255, 210, 0.16), rgba(255, 255, 255, 0.06)); }
.plan-badge { position: absolute; top: 20px; right: 20px; padding: 8px 12px; border-radius: 999px; color: #06120e; background: var(--brand); font-size: 12px; font-weight: 950; }
.pricing-card .primary-link, .pricing-card .secondary-link { margin-top: 24px; width: 100%; }
.comparison-section { padding: 30px; }
.comparison-table, .reports-table { display: grid; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.comparison-table > div, .reports-table > div { display: grid; grid-template-columns: 1.4fr 0.7fr 0.7fr; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.comparison-table > div:last-child, .reports-table > div:last-child { border-bottom: 0; }
.comparison-table > div:first-child, .reports-table > div:first-child { background: rgba(255, 255, 255, 0.08); }
.comparison-table span, .reports-table span { color: var(--muted); }

.blog-grid { grid-template-columns: 1.2fr 1fr 1fr; margin-bottom: 70px; }
.blog-card { min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.blog-card.featured-post { grid-row: span 2; min-height: 580px; background: linear-gradient(160deg, rgba(111, 255, 210, 0.18), rgba(155, 140, 255, 0.1)); }
.blog-card h2 { font-size: clamp(26px, 3vw, 42px); }
.blog-card a { color: var(--brand); font-weight: 900; }

.auth-shell { display: grid; grid-template-columns: 1fr 440px; gap: 28px; align-items: center; min-height: calc(100vh - 190px); padding: 52px 0 90px; }
.auth-copy, .auth-card { padding: 32px; }
.auth-copy h1 { font-size: clamp(44px, 6vw, 76px); }
.auth-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.auth-card { display: grid; gap: 14px; }
.auth-card h2 { font-size: 34px; }
.auth-card p { margin: 0; }
.auth-card a { color: var(--brand); font-weight: 900; }

.dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 36px; }
.dashboard-card strong { display: block; margin: 12px 0; font-size: 44px; font-weight: 950; letter-spacing: -0.08em; }
.empty-state { padding: 34px; }
.reports-table > div { grid-template-columns: 1.4fr 0.5fr 0.5fr 0.8fr 0.4fr; }
.reports-table a { color: var(--brand); font-weight: 900; }

.scan-mode {
    display: inline-flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
}

.scan-mode.pro {
    color: #06120e;
    border-color: transparent;
    background: var(--brand);
}

.scan-mode.free {
    color: var(--soft);
    background: rgba(255, 255, 255, 0.06);
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    margin-top: 70px;
    padding: 42px 0 54px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}
.footer strong { display: block; margin-bottom: 8px; color: var(--text); }
.footer p { max-width: 620px; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.footer-links a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; }

[data-reveal] { opacity: 0; transform: translateY(28px) scale(0.985); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0) scale(1); }

@keyframes float-ambient { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(36px, -28px, 0) scale(1.08); } }
@keyframes rotate-glow { to { transform: rotate(360deg); } }
@keyframes sheen { 0%, 60% { transform: translateX(-110%); } 100% { transform: translateX(110%); } }

@media (max-width: 1050px) {
    .topbar { grid-template-columns: 1fr; }
    .topnav { justify-content: flex-start; flex-wrap: wrap; }
    .nav-actions { justify-content: flex-start; }
    .hero, .report-hero, .auth-shell { grid-template-columns: 1fr; min-height: auto; }
    .hero-panel { min-height: 500px; }
    .metrics-strip, .feature-grid, .strategy-grid, .timeline, .pricing-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
    .blog-card.featured-post { grid-row: auto; min-height: 330px; }
    .result-layout, .pro-section { grid-template-columns: 1fr; }
    .sticky-panel { position: static; }
}

@media (max-width: 720px) {
    .site-shell { width: min(100% - 24px, 1220px); }
    h1, .hero h1 { font-size: 42px; }
    h2 { font-size: 34px; }
    .topbar { top: 8px; }
    .topnav { gap: 2px; }
    .topnav a, .ghost-link { padding: 8px 10px; font-size: 13px; }
    .scan-row, .metrics-strip, .feature-grid, .strategy-grid, .timeline, .pricing-grid, .blog-grid, .asset-grid, .guide-grid, .intent-grid, .dashboard-grid, .summary-strip { grid-template-columns: 1fr; }
    .hero { padding-top: 26px; }
    .hero-panel { min-height: auto; }
    .score-orbit { width: 220px; height: 220px; }
    .score-orbit strong { font-size: 70px; }
    .page-hero { padding-top: 54px; }
    .faq-section, .pro-section, .comparison-section { padding: 24px; }
    .faq-section { grid-template-columns: 1fr; margin-top: 46px; }
    .faq-intro { position: static; }
    .comparison-table > div, .reports-table > div { grid-template-columns: 1fr; }
    .footer { flex-direction: column; }
    .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* Focused product refinements */
.pro-actions, .report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.pro-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.pro-pills span {
    padding: 10px 13px;
    border: 1px solid rgba(111, 255, 210, 0.25);
    border-radius: 999px;
    color: var(--soft);
    background: rgba(111, 255, 210, 0.08);
    font-size: 13px;
    font-weight: 850;
}

.report-hero {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 30px;
    align-items: stretch;
    padding: 58px 0 28px;
}

.report-hero h1 {
    max-width: 760px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 0.96;
}

.report-score {
    display: grid;
    align-content: center;
    min-height: 260px;
    background:
        radial-gradient(circle at 50% 20%, rgba(111, 255, 210, 0.15), transparent 16rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
}

.report-score strong { font-size: clamp(70px, 8vw, 112px); }

.executive-summary {
    position: relative;
}

.executive-summary h1 {
    max-width: 820px;
}

.executive-summary p strong {
    color: var(--brand);
}

.decision-badge {
    display: inline-flex;
    width: max-content;
    align-items: center;
    margin: 0 0 18px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.decision-badge.ai-ready {
    color: #06120e;
    background: var(--ok);
    box-shadow: 0 0 28px rgba(88, 242, 154, 0.24);
}

.decision-badge.partially-discoverable {
    color: #211800;
    background: var(--warn);
    box-shadow: 0 0 28px rgba(255, 209, 102, 0.18);
}

.decision-badge.not-discoverable {
    color: #2a0610;
    background: var(--danger);
    box-shadow: 0 0 28px rgba(255, 107, 138, 0.2);
}

.executive-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 0;
    max-width: 860px;
}

.executive-copy div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.055);
}

.executive-copy span,
.insight-block span,
.impact-layer span {
    display: block;
    margin-bottom: 8px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.executive-copy strong {
    display: block;
    color: var(--soft);
    line-height: 1.5;
}

.summary-strip {
    grid-template-columns: 160px 160px minmax(0, 1fr);
    gap: 14px;
    margin: 18px 0 24px;
}

.summary-strip > div {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
}

.summary-strip > div:last-child strong {
    font-size: 24px;
}

.pro-cta-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: center;
    margin: 26px 0 34px;
    padding: 30px;
    border: 1px solid rgba(111, 255, 210, 0.34);
    border-radius: 32px;
    background:
        radial-gradient(circle at 12% 18%, rgba(111, 255, 210, 0.18), transparent 20rem),
        linear-gradient(135deg, rgba(111, 255, 210, 0.13), rgba(155, 140, 255, 0.1));
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
    overflow: hidden;
}

.pro-cta-banner h2 {
    max-width: 820px;
    font-size: clamp(30px, 3.4vw, 48px);
}

.pro-cta-card {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(0, 0, 0, 0.28);
}

.pro-cta-card strong {
    font-size: 52px;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.pro-cta-card span { color: var(--soft); }

.result-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
}

.section-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.04));
}

.section-card-head h2 {
    font-size: clamp(30px, 3.7vw, 48px);
}

.section-card-head p {
    max-width: 620px;
    margin: 8px 0 0;
}

.check-card {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.insight-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.insight-block > div,
.locked-fix-preview {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}

.insight-block p,
.locked-fix-preview p {
    margin: 0;
    color: var(--soft);
}

.impact-layer {
    grid-column: 1 / -1;
    border-color: rgba(255, 209, 102, 0.26) !important;
    background: rgba(255, 209, 102, 0.08) !important;
}

.locked-fix-preview {
    border-color: rgba(111, 255, 210, 0.28);
    background: linear-gradient(135deg, rgba(111, 255, 210, 0.1), rgba(155, 140, 255, 0.06));
}

.locked-fix-preview strong {
    display: block;
    margin-bottom: 8px;
    color: var(--brand);
}

.technical-details {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.technical-details summary {
    cursor: pointer;
    padding: 14px 16px;
    color: var(--soft);
    font-weight: 900;
    list-style: none;
}

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

.technical-details summary::after {
    content: "+";
    float: right;
    color: var(--brand);
}

.technical-details[open] summary::after {
    content: "-";
}

.technical-body {
    padding: 0 16px 16px;
}

.technical-body p {
    margin: 8px 0;
    color: var(--muted);
    font-size: 14px;
}

.logs {
    padding: 16px 16px 16px 34px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.28);
}

.upgrade-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1fr auto;
    gap: 22px;
    align-items: center;
    margin: 36px 0 44px;
    padding: 34px;
    border: 1px solid rgba(111, 255, 210, 0.38);
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 18%, rgba(111, 255, 210, 0.2), transparent 22rem),
        linear-gradient(135deg, rgba(111, 255, 210, 0.13), rgba(155, 140, 255, 0.1));
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
}

.upgrade-section h2 {
    font-size: clamp(30px, 3.3vw, 48px);
}

.upgrade-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.upgrade-features div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--soft);
    background: rgba(0, 0, 0, 0.22);
    font-size: 14px;
    font-weight: 800;
}

.upgrade-section .primary-link {
    min-width: 190px;
}

.sticky-panel .primary-link,
.sticky-panel .secondary-link {
    width: 100%;
    margin-top: 12px;
}

.pro-side-list {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.pro-side-list li {
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--soft);
    background: rgba(255, 255, 255, 0.055);
    font-size: 14px;
    font-weight: 800;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 34px 0 70px;
}

.dashboard-sidebar,
.dashboard-panel {
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}

.dashboard-sidebar {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 24px;
    padding: 18px;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
}

.dashboard-sidebar nav {
    display: grid;
    gap: 8px;
}

.dashboard-sidebar nav a {
    padding: 13px 14px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--muted);
    font-weight: 850;
}

.dashboard-sidebar nav a.active,
.dashboard-sidebar nav a:hover {
    color: var(--text);
    border-color: rgba(111, 255, 210, 0.28);
    background: rgba(111, 255, 210, 0.08);
}

.sidebar-upgrade {
    padding: 18px;
    border: 1px solid rgba(111, 255, 210, 0.28);
    border-radius: 22px;
    background: rgba(111, 255, 210, 0.08);
}

.sidebar-upgrade span {
    color: var(--brand);
    font-weight: 950;
}

.sidebar-upgrade .primary-link { width: 100%; margin-top: 10px; }

.dashboard-main { display: grid; gap: 22px; }

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 22px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(111, 255, 210, 0.12), rgba(155, 140, 255, 0.08));
}

.dashboard-header h1 {
    max-width: 660px;
    font-size: clamp(36px, 4.8vw, 64px);
}

.dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 0;
}

.locked-card,
.pro-lock-panel {
    position: relative;
    overflow: hidden;
}

.locked-card::after,
.pro-lock-panel::after {
    content: "Locked for Pro";
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #06120e;
    background: var(--brand);
    font-size: 11px;
    font-weight: 950;
}

.unlocked-card {
    border-color: rgba(111, 255, 210, 0.4);
    background: linear-gradient(160deg, rgba(111, 255, 210, 0.14), rgba(255, 255, 255, 0.055));
}

.pro-lock-panel.is-unlocked::after {
    content: "Pro active";
}

.locked-pro-preview {
    max-width: 860px;
    padding: 34px;
    border: 1px solid rgba(111, 255, 210, 0.32);
    border-radius: 30px;
    background:
        linear-gradient(160deg, rgba(111, 255, 210, 0.12), rgba(155, 140, 255, 0.08)),
        rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
}

.locked-pro-preview h3 {
    max-width: 720px;
    font-size: clamp(28px, 3vw, 42px);
}

.locked-pro-preview .primary-link {
    margin-top: 12px;
}

.pro-deep-grid {
    margin-top: 18px;
}

.ai-optimization-system {
    margin-bottom: 26px;
}

.optimization-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.optimization-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04));
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
}

.optimization-card.wide {
    grid-column: 1 / -1;
}

.optimization-card h3 {
    color: var(--text);
    font-size: 24px;
}

.optimization-card ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.85;
}

.optimization-card p {
    margin: 14px 0 0;
    color: var(--soft);
}

.issue-playbooks {
    margin: 34px 0;
}

.playbook-list {
    display: grid;
    gap: 18px;
}

.playbook-card {
    padding: 26px;
    border: 1px solid rgba(111, 255, 210, 0.24);
    border-radius: 30px;
    background:
        radial-gradient(circle at 8% 0%, rgba(111, 255, 210, 0.13), transparent 20rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.042));
    box-shadow: var(--shadow);
}

.playbook-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.playbook-head span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.playbook-head strong {
    color: rgba(255, 255, 255, 0.28);
    font-size: 44px;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.playbook-card h3 {
    max-width: 760px;
    font-size: clamp(28px, 3.2vw, 44px);
}

.playbook-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.playbook-grid > div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.22);
}

.playbook-card h4 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 16px;
}

.playbook-card ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.85;
}

.pro-tools-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: stretch;
    padding: 70px 0 30px;
}

.pro-tools-hero h1 {
    max-width: 820px;
    font-size: clamp(44px, 6vw, 82px);
}

.pro-status-card,
.pro-runner {
    border: 1px solid var(--line);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}

.pro-status-card {
    display: grid;
    align-content: center;
    padding: 28px;
}

.pro-status-card.is-active {
    border-color: rgba(111, 255, 210, 0.38);
    background: linear-gradient(160deg, rgba(111, 255, 210, 0.15), rgba(255, 255, 255, 0.055));
}

.pro-status-card span { color: var(--muted); font-weight: 850; }
.pro-status-card strong { margin: 8px 0; font-size: 42px; font-weight: 950; letter-spacing: -0.07em; }

.pro-runner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 24px;
    align-items: center;
    padding: 30px;
    margin: 20px 0 28px;
}

.pro-scan-card { margin: 0; }

.pro-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 26px 0 70px;
}

@media (max-width: 1050px) {
    .pro-tools-hero,
    .pro-runner,
    .pro-tool-grid {
        grid-template-columns: 1fr;
    }
}

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

    .playbook-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}

.dashboard-panel { padding: 24px; }

.reports-section.dashboard-panel { padding-top: 24px; }

.pro-lock-panel {
    display: grid;
    gap: 16px;
}

.locked-tool {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.22);
}

.locked-tool strong { display: block; margin-bottom: 6px; }

.pro-lock-panel .primary-link { width: 100%; }

@media (max-width: 1050px) {
    .report-hero,
    .pro-cta-banner,
    .upgrade-section,
    .dashboard-shell,
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar { position: static; }
    .dashboard-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-header { align-items: flex-start; flex-direction: column; }
    .dashboard-stats { grid-template-columns: 1fr; }
    .executive-copy,
    .insight-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .report-hero h1 { font-size: 40px; }
    .report-score { min-height: 210px; }
    .summary-strip { grid-template-columns: 1fr; }
    .pro-cta-banner { padding: 22px; }
    .upgrade-section { padding: 22px; }
    .upgrade-features { grid-template-columns: 1fr; }
    .dashboard-sidebar nav { grid-template-columns: 1fr; }
}
