:root {
    /* Premium Dark Palette */
    --bg: #030303;
    --surface: #0a0a0a;
    --surface2: #111111;
    --surface3: #181818;
    --border: rgba(255, 255, 255, 0.05);
    --border2: rgba(255, 255, 255, 0.08);
    
    /* Unified Accent: Security Red-Orange */
    --red: #ff3e3e;
    --red-hover: #e63535;
    --red-dim: rgba(255, 62, 62, 0.05);
    --red-glow: rgba(255, 62, 62, 0.15);
    --red-shadow: rgba(255, 62, 62, 0.25);
    
    --green: #00f294;
    --green-dim: rgba(0, 242, 148, 0.08);
    --yellow: #ffb800;
    --yellow-dim: rgba(255, 184, 0, 0.08);
    --orange: #ff7a00;
    --orange-dim: rgba(255, 122, 0, 0.08);
    
    --blue: #3e8dff;
    --blue-dim: rgba(62, 141, 255, 0.08);
    
    --text: #ffffff;
    --text-secondary: #a1a1aa;
    --muted: #52525b;
    --muted2: #3f3f46;
    
    --mono: 'JetBrains Mono', monospace;
    --sans: 'Inter', sans-serif;
    --serif: 'Fraunces', serif;
}

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

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}



/* views */
#landingView,
#appView {
    display: none
}

#landingView.active,
#appView.active {
    display: block
}

/* Dashboard sections are now managed by React in DashboardReport.tsx */

/* NAV */
.nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--text);
    text-decoration: none;
}

.logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

@keyframes pip {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .4;
        transform: scale(.7)
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none
}

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

.auth-footer a {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
}

/* ── QUICK TOUR MODAL ──────────────────────── */
.quick-tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 18, 8, 0.2);
    
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: none !important;
}

.quick-tour-modal {
    background: #ffffff;
    width: 90%;
    max-width: 440px;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    text-align: center;
    color: #0f172a !important;
}

.quick-tour-modal h3, .quick-tour-modal p, .quick-tour-modal strong {
    color: #0f172a !important;
}

.quick-tour-modal .muted {
    color: #64748b !important;
}

.quick-tour-modal ul {
    list-style: none;
}

.quick-tour-modal ul li {
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

.quick-tour-modal ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--red);
}

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

/* ── BOTTOM LEFT PROFILE WIDGET ──────────────── */
.app-bottom-left {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9000;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    flex-direction: column;
}

/* Profile button */
.user-profile-button {
    background: transparent;
    border: 1px solid transparent;
    padding: 6px 12px 6px 0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    min-width: 180px;
}

.user-profile-button:hover {
    background: var(--surface2);
}

.user-profile-button img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.user-profile-name-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

/* ── VISIBILITY UTILS ──────────────────────── */
.show {
    display: block !important;
}
.flex-show {
    display: flex !important;
}
.hide {
    display: none !important;
}

/* ── GITHUB WRAP ───────────────────────────── */
.github-wrap {
    width: 100%;
    margin-top: 20px;
}

/* ── FILE ROW ──────────────────────────────── */
.file-row {
    background: #f8fafc;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-top: 20px;
}

.user-profile-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    width: 240px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-profile-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.up-menu-header {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
}

.up-menu-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.up-menu-email {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.up-menu-credits {
    padding: 12px 16px;
    background: var(--surface);
    border-radius: 8px;
    margin: 4px 8px;
}

.up-menu-upgrade-text {
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    display: block;
    margin-top: 8px;
    transition: color 0.15s;
}

.up-menu-upgrade-text:hover {
    color: var(--red);
}

.up-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.up-menu-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.15s;
}

.up-menu-item:hover {
    background: var(--surface2);
}

.up-menu-item svg {
    color: var(--muted);
}

.up-menu-item.sign-out {
    color: var(--red);
}

.up-menu-item.sign-out svg {
    color: var(--red);
}

/* Landing Nav User Details */
.user-details-nav {
    display: flex;
    flex-direction: column;
}

.user-name-nav {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.user-email-nav {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.user-avatar-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid var(--border);
}

.user-profile-container {
    display: flex;
    align-items: center;
    gap: 12px;
}


.nav-cta {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    box-shadow: 0 2px 12px rgba(232, 50, 31, .25)
}

.nav-cta:hover {
    background: var(--red-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--red-shadow)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-login-btn {
    background: transparent;
    color: var(--muted2);
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.nav-login-btn:hover {
    color: var(--text);
}

.nav-signup-btn {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    padding: 8px 18px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-signup-btn:hover {
    background: var(--surface);
    border-color: var(--muted);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* HERO */
.landing {
    padding-top: 60px
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden
}


.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px;
    text-align: center;
    position: relative;
    background: var(--bg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-badge i {
    color: var(--red);
    font-size: 6px;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(48px, 10vw, 110px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 32px;
    color: var(--text);
}

.hero h1 .accent {
    background: linear-gradient(to bottom right, var(--text) 30%, var(--red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    padding-right: 5px;
}

.hero-sub {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.btn-primary {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 16px var(--red-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--red-hover);
    box-shadow: 0 12px 24px var(--red-shadow);
    transform: translateY(-2px); box-shadow: 0 12px 24px var(--red-shadow); }

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1.5px solid var(--border2);
    padding: 11px 26px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06)
}

.btn-ghost:hover {
    border-color: var(--text);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1)
}

.built-for {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    animation: none !important;
}

.built-for-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted)
}

.tool-badge {
    font-family: var(--mono);
    font-size: 11px;
    padding: 4px 10px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--muted2)
}

.hero-mockup {
    margin-top: 70px;
    max-width: 720px;
    width: 100%;
    animation: none !important;
}

.mockup-window {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .5)
}

.mockup-bar {
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%
}

.mock-dot.r {
    background: #ff5f57
}

.mock-dot.y {
    background: #febc2e
}

.mock-dot.g {
    background: #28c840
}

.mock-title {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    margin-left: 8px
}

.mockup-body {
    padding: 20px
}

.mock-verdict {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(232, 50, 31, .06);
    border: 1px solid rgba(232, 50, 31, .2);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 14px
}

.mock-verdict-icon {
    font-size: 28px
}

.mock-verdict-text {
    flex: 1
}

.mock-verdict-label {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase
}

.mock-verdict-head {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--red)
}

.mock-score {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--red)
}

.mock-score-l {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--muted)
}

.mock-issues {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.mock-issue {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface2);
    border-radius: 6px;
    padding: 10px 14px;
    border-left: 3px solid
}

.mock-issue.c {
    border-color: var(--red)
}

.mock-issue.h {
    border-color: var(--orange)
}

.mock-issue.m {
    border-color: var(--yellow)
}

.mock-sev {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    flex-shrink: 0
}

.mock-sev.c {
    background: var(--red-dim);
    color: var(--red)
}

.mock-sev.h {
    background: var(--orange-dim);
    color: var(--orange)
}

.mock-sev.m {
    background: var(--yellow-dim);
    color: var(--yellow)
}

.mock-issue-text {
    font-size: 12px;
    color: var(--muted2)
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* Icon Animations */
@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes iconShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes iconSpinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.icon-anim-float {
    animation: none !important;
}

.icon-anim-shake {
    animation: none !important;
}

.icon-anim-pulse {
    animation: none !important;
}

.icon-anim-bounce {
    animation: none !important;
}

.icon-anim-spin {
    animation: none !important;
}

.icon-anim-spin-slow {
    animation: none !important;
}

/* LANDING SECTIONS */
.section {
    padding: 96px 24px;
    max-width: 1040px;
    margin: 0 auto
}

.section-eyebrow {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px
}

.section-eyebrow::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--red)
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 16px
}

.section-sub {
    font-size: 17px;
    color: var(--muted2);
    max-width: 560px;
    line-height: 1.6;
    font-weight: 300
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 64px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.problem-card {
    background: linear-gradient(135deg, var(--surface2) 0%, var(--surface) 100%);
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 62, 62, 0.05), transparent 70%);
    pointer-events: none;
}

.problem-card:hover {
    border-color: var(--border2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.problem-card:hover {
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px) scale(1.02);
    border-color: var(--red);
}

.problem-icon {
    font-size: 32px;
    margin-bottom: 16px
}

.problem-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px
}

.problem-text {
    font-size: 14px;
    color: var(--muted2);
    line-height: 1.6
}

.how-section {
    padding: 96px 24px;
    position: relative
}

.how-inner {
    max-width: 960px;
    margin: 0 auto
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative
}

.steps-row::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.66% + 16px);
    right: calc(16.66% + 16px);
    height: 1px;
    background: var(--border);
}

.step-card {
    padding: 24px 20px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--red);
    box-shadow: 0 20px 60px rgba(232, 50, 31, 0.1);
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--surface);
    
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 900;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
    transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

.step-card:hover .step-num {
    background: var(--red-dim);
    border-color: var(--red);
    color: var(--red)
}

.step-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px
}

.step-text {
    font-size: 13px;
    color: var(--muted2);
    line-height: 1.5
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto
}

.feat-card {
    background: var(--surface);
    padding: 24px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    transition: all .3s ease;
}

.feat-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: var(--red);
}

.feat-icon {
    width: 44px;
    height: 44px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    transition: all .2s
}

.feat-card:hover .feat-icon {
    border-color: var(--red);
    background: var(--red-dim)
}

.feat-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px
}

.feat-text {
    font-size: 13px;
    color: var(--muted2);
    line-height: 1.6
}

.feat-tag {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--red-dim);
    color: var(--red)
}

/* COVERAGE GRID */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.coverage-tier {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .05);
    transition: transform .2s, box-shadow .2s;
}

.coverage-tier:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, .1);
}

.tier-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
}

.tier-label.p0 {
    background: var(--red-dim);
    color: var(--red);
    border: 1px solid rgba(232, 50, 31, .2);
}

.tier-label.p1 {
    background: var(--orange-dim);
    color: var(--orange);
    border: 1px solid rgba(234, 88, 12, .2);
}

.tier-label.p2 {
    background: var(--yellow-dim);
    color: var(--yellow);
    border: 1px solid rgba(202, 138, 4, .2);
}

.coverage-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
}

.coverage-list li {
    font-size: 14px;
    color: var(--muted2);
    line-height: 1.5;
    padding-left: 28px;
    position: relative;
    text-align: left;
}

.coverage-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 900;
    font-size: 15px;
}

.coverage-list li strong {
    color: var(--text);
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 40px 32px;
    position: relative;
    transition: all .2s;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07)
}

.price-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, .12);
    transform: translateY(-3px)
}

.price-card.featured {
    border-color: var(--red);
    background: var(--surface);
    box-shadow: 0 8px 40px rgba(232, 50, 31, .15)
}

.price-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap
}

.price-tier {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px
}

.price-amount {
    font-family: 'Fraunces', serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px
}

.price-amount span {
    font-size: 20px;
    font-weight: 400;
    color: var(--muted2)
}

.price-period {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px
}

.price-desc {
    font-size: 14px;
    color: var(--muted2);
    line-height: 1.5;
    margin-bottom: 24px
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--muted2)
}

.price-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px
}

.price-btn {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    border: 1.5px solid var(--border2);
    background: none;
    color: var(--text)
}

.price-btn:hover {
    border-color: var(--text);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .1)
}

.price-card.featured .price-btn {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 4px 16px var(--red-glow)
}

.price-card.featured .price-btn:hover {
    background: var(--red-hover);
    box-shadow: 0 8px 28px var(--red-shadow)
}

.faq-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
    transition: box-shadow .2s
}

.faq-item:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .09)
}

.faq-q {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color .15s
}

.faq-q:hover {
    color: var(--red)
}

.faq-q .faq-icon {
    font-size: 18px;
    color: var(--muted);
    transition: transform .2s, color .15s;
    flex-shrink: 0
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--red)
}

.faq-a {
    display: none;
    padding: 16px 24px 20px;
    font-size: 14px;
    color: var(--muted2);
    line-height: 1.7;
    border-top: 1px solid var(--border)
}

.faq-item.open .faq-a {
    display: block
}

.cta-banner {
    margin: 0 auto 96px;
    max-width: 960px;
    padding: 0 24px
}

.cta-inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 56px;
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden
}

.cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 25, 0, 0.08) 0%, transparent 60%);
    pointer-events: none
}

.cta-inner h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 16px;
    position: relative
}

.cta-inner p {
    font-size: 17px;
    color: var(--muted2);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.6;
    font-weight: 300;
    position: relative
}

.footer {
    border-top: 1px solid var(--border);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px
}

.footer-logo {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px
}

.footer-copy {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted)
}

.footer-links {
    display: flex;
    gap: 20px
}

.footer-links a {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    transition: color .15s
}

.footer-links a:hover {
    color: var(--text)
}

/* APP */
.app-wrap {
    padding-top: 60px;
    min-height: 100vh
}

.app-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px
}

.app-hero {
    margin-bottom: 28px
}

.app-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 10px
}

.app-title {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px
}

.app-sub {
    font-size: 15px;
    color: var(--muted2);
    font-weight: 300
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--border);
    color: var(--muted2);
    padding: 7px 14px;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all .15s
}

.back-btn:hover {
    border-color: var(--border2);
    color: var(--text)
}

/* BIZ */
.biz-wrap {
    margin-bottom: 14px
}

.biz-heading {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--text);
    opacity: 0.7;
    margin-bottom: 12px;
}

.biz-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.biz-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 12px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--red);
    cursor: pointer;
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
    justify-content: flex-start;
}

.biz-btn:hover {
    background: rgba(232, 50, 31, 0.06);
}

.biz-btn.active {
    background: var(--surface2) !important;
    border: 1px solid var(--red) !important;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 4px 12px var(--red-shadow);
}

.biz-btn .biz-icon {
    color: var(--red);
    opacity: 0.7;
}

.biz-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* INPUT TABS */
.input-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px
}

.input-tab {
    flex: 1;
    padding: 9px 16px;
    border: none;
    background: none;
    color: var(--muted2);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px
}

.input-tab.active {
    background: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border2)
}

.github-wrap {
    display: none;
    margin-bottom: 12px
}

.github-wrap.show {
    display: block
}

.github-row {
    display: flex;
    gap: 8px
}

.github-input {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color .15s
}

.github-input:focus {
    border-color: var(--red)
}

.github-input::placeholder {
    color: var(--muted)
}

.github-btn {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--muted2);
    padding: 14px 20px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap
}

.github-btn:hover {
    border-color: var(--red);
    color: var(--text)
}

/* UPLOAD ZONE */
.upload-zone {
    background: var(--surface);
    border: 1.5px dashed var(--border2);
    border-radius: 12px;
    padding: 56px 32px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px
}

.upload-zone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(232, 50, 31, .03) 0%, transparent 70%);
    pointer-events: none
}

.upload-zone:hover,
.upload-zone.drag {
    border-color: var(--red);
    background: rgba(232, 50, 31, .03)
}

.upload-zone input[type=file] {
    display: none
}

.upload-ico {
    width: 56px;
    height: 56px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
    transition: all .2s
}

.upload-zone:hover .upload-ico {
    border-color: var(--red);
    transform: scale(1.05) rotate(-4deg)
}

.upload-title {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px
}

.upload-hint {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 16px
}

.chip-row {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap
}

.chip {
    font-family: var(--mono);
    font-size: 11px;
    padding: 3px 9px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--muted)
}

/* STACK BAR */
.stack-bar {
    display: none;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 12px;
    flex-wrap: wrap
}

.stack-bar.show {
    display: flex
}

.stack-bar-lbl {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted)
}

.stack-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    border: 1px solid
}

.stack-badge.supabase {
    background: rgba(62, 207, 142, .1);
    border-color: rgba(62, 207, 142, .3);
    color: #3ecf8e
}

.stack-badge.nextjs {
    background: var(--surface);
    border-color: rgba(255, 255, 255, .15);
    color: #e8e6e0
}

.stack-badge.firebase {
    background: rgba(255, 167, 38, .1);
    border-color: rgba(255, 167, 38, .3);
    color: #ffa726
}

.stack-badge.stripe {
    background: rgba(99, 91, 255, .1);
    border-color: rgba(99, 91, 255, .3);
    color: #635bff
}

.stack-badge.prisma {
    background: rgba(42, 128, 185, .1);
    border-color: rgba(42, 128, 185, .3);
    color: #5a9fd4
}

.stack-badge.react {
    background: rgba(97, 218, 251, .1);
    border-color: rgba(97, 218, 251, .3);
    color: #61dafb
}

.stack-badge.vue {
    background: rgba(66, 184, 131, .1);
    border-color: rgba(66, 184, 131, .3);
    color: #42b883
}

.stack-badge.express {
    background: var(--surface);
    border-color: rgba(255, 255, 255, .1);
    color: #aaa
}

.stack-badge.lovable {
    background: rgba(232, 50, 31, .1);
    border-color: rgba(232, 50, 31, .3);
    color: #ff7060
}

/* FILE ROW */
.file-row {
    display: none;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 12px
}

.file-row.show {
    display: flex
}

.file-thumb {
    width: 36px;
    height: 36px;
    background: var(--red-dim);
    border: 1px solid rgba(232, 50, 31, .2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0
}

.file-meta {
    flex: 1;
    min-width: 0
}

.file-name {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.file-count {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px
}

.rm-btn {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 18px;
    transition: color .15s;
    padding: 4px
}

.rm-btn:hover {
    color: var(--red)
}

/* SCAN BTN */
.scan-btn {
    width: 100%;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 18px;
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.3px;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(232, 50, 31, .28);
}

.scan-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform .5s;
}

.scan-btn:hover::after {
    transform: translateX(100%)
}

.scan-btn:hover {
    background: #d42d1c;
    transform: translateY(-1px);
    box-shadow: 0 10px 36px rgba(232, 50, 31, .38)
}

.scan-btn:disabled {
    background: var(--border);
    color: var(--muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none
}

.scan-btn:disabled::after {
    display: none
}

.err-box {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 14px;
    margin-left: auto;
    margin-right: auto;
    max-width: fit-content;
    text-align: center;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.05);
}

.err-box::before {
    content: "⚠️ ";
    margin-right: 6px;
}

.err-box.show {
    display: block
}

/* LOADING */
#loadSec {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 56px 32px;
    text-align: center;
    margin: 0 auto 24px;
    max-width: 900px
}

.spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 24px;
    position: relative
}

.spin-a {
    position: absolute;
    inset: 0;
    border: 2px solid var(--border);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: none !important;
}

.spin-b {
    position: absolute;
    inset: 9px;
    border: 2px solid var(--border);
    border-bottom-color: #ff6b5a;
    border-radius: 50%;
    animation: none !important;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.load-title {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 6px
}

.load-sub {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 24px
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 360px;
    margin: 0 auto;
    text-align: left
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    opacity: 0;
    animation: none !important;
}

.step-item.active {
    color: var(--red)
}

/* RESULTS */
.act-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap
}

.act-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05)
}

.act-btn:hover {
    background: var(--surface2);
    border-color: var(--border2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08)
}

.act-btn.ok {
    background: var(--green-dim);
    border-color: rgba(22, 163, 74, .3);
    color: var(--green)
}

.act-btn.primary {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(232, 50, 31, .25)
}

.act-btn.primary:hover {
    background: #d42d1c;
    color: #fff;
    box-shadow: 0 6px 20px rgba(232, 50, 31, .35)
}

/* VIBE CHECKS */
.vibe-panel {
    background: var(--surface);
    border: 1px solid rgba(168, 85, 247, .25);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px
}

.vibe-panel-title {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px
}

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

.vc-item {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.vc-item.fail {
    border-color: rgba(232, 50, 31, .25);
    background: rgba(232, 50, 31, .04)
}

.vc-item.pass {
    border-color: rgba(34, 197, 94, .2)
}

.vc-item.skip {
    opacity: .5
}

.vc-icon {
    font-size: 14px;
    flex-shrink: 0
}

.vc-label {
    font-size: 11px;
    color: var(--muted2);
    flex: 1;
    line-height: 1.3
}

.vc-status {
    font-size: 14px;
    flex-shrink: 0
}

/* DIFF BAR */
.diff-bar {
    display: none;
    background: var(--blue-dim);
    border: 1px solid rgba(59, 130, 246, .25);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 16px
}

.diff-bar.show {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}

.diff-lbl {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 700;
    flex-basis: 100%;
    margin-bottom: 4px
}

.diff-stat {
    text-align: center
}

.diff-n {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    font-weight: 900;
    line-height: 1
}

.diff-n.g {
    color: var(--green)
}

.diff-n.r {
    color: var(--red)
}

.diff-n.m {
    color: var(--muted)
}

.diff-l {
    font-family: var(--mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-top: 2px
}

/* SHARED BAR */
.shared-bar {
    display: none;
    background: var(--yellow-dim);
    border: 1px solid rgba(234, 179, 8, .25);
    border-radius: 6px;
    padding: 10px 16px;
    font-family: var(--mono);
    font-size: 12px;
    color: #a0820a;
    margin-bottom: 16px
}

.shared-bar.show {
    display: block
}

/* VERDICT */
.verdict {
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    border: 1px solid
}

.verdict.go {
    background: var(--green-dim);
    border-color: rgba(34, 197, 94, .25)
}

.verdict.nogo {
    background: var(--red-dim);
    border-color: rgba(232, 50, 31, .25)
}

.verdict.warn {
    background: var(--yellow-dim);
    border-color: rgba(234, 179, 8, .25)
}

.v-icon {
    font-size: 44px;
    line-height: 1;
    flex-shrink: 0
}

.v-body {
    flex: 1;
    min-width: 0
}

.v-lbl {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 5px
}

.v-head {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 6px
}

.verdict.go .v-head {
    color: var(--green)
}

.verdict.nogo .v-head {
    color: var(--red)
}

.verdict.warn .v-head {
    color: var(--yellow)
}

.v-sum {
    font-size: 14px;
    color: var(--muted2);
    line-height: 1.5
}

.v-score {
    text-align: center;
    flex-shrink: 0
}

.v-score-n {
    font-family: 'Fraunces', serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 1
}

.verdict.go .v-score-n {
    color: var(--green)
}

.verdict.nogo .v-score-n {
    color: var(--red)
}

.verdict.warn .v-score-n {
    color: var(--yellow)
}

.v-score-l {
    font-family: var(--mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted)
}

/* STATS */
.stats-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    flex: 1;
    min-width: 100px;
    justify-content: center;
    font-family: var(--mono);
    color: var(--text);
}

.stat-box.sev-c {
    background: #64748b;
    color: #fff;
    border-color: #64748b;
}

/* Critical - Slate */
.stat-box.sev-h {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

/* High */
.stat-box.sev-m {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

/* Medium */
.stat-box.sev-l {
    background: var(--yellow);
    color: #fff;
    border-color: var(--yellow);
}

/* Low */

.stat-n {
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.stat-l {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* SCORE CARD */
.score-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px
}

.score-card-title {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px
}

.score-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px
}

.score-block {
    text-align: center
}

.score-block-n {
    font-family: 'Fraunces', serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 1
}

.score-block-l {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-top: 4px
}

.score-arrow {
    font-size: 24px;
    color: var(--muted)
}

.score-delta {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 6px
}

.score-delta.up {
    background: var(--green-dim);
    color: var(--green)
}

.score-delta.down {
    background: var(--red-dim);
    color: var(--red)
}

.score-delta.same {
    background: var(--surface2);
    color: var(--muted)
}

.score-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

/* FILTER BAR */
.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: center
}

.filter-lbl {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted)
}

.filter-btn {
    padding: 5px 12px;
    border-radius: 20px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    border: 1px solid var(--border);
    background: none;
    color: var(--muted2);
    cursor: pointer;
    transition: all .15s;
    text-transform: uppercase;
    letter-spacing: .5px
}

.filter-btn:hover {
    border-color: var(--border2);
    color: var(--text)
}

.filter-btn.fAll.active {
    background: var(--surface2);
    border-color: var(--border2);
    color: var(--text)
}

.filter-btn.fCr.active {
    background: var(--red-dim);
    border-color: var(--red);
    color: var(--red)
}

.filter-btn.fHi.active {
    background: var(--orange-dim);
    border-color: var(--orange);
    color: var(--orange)
}

.filter-btn.fMed.active {
    background: var(--yellow-dim);
    border-color: var(--yellow);
    color: var(--yellow)
}

.filter-btn.fLo.active {
    background: var(--blue-dim);
    border-color: var(--blue);
    color: var(--blue)
}

/* SEC LABEL */
.sec-lbl {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.sec-lbl::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

/* VULN CARDS */
.vuln-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06)
}

.vuln-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .1);
    transform: translateY(-1px)
}

.vuln-card.sc {
    border-left: 3px solid var(--red)
}

.vuln-card.sh {
    border-left: 3px solid var(--orange)
}

.vuln-card.sm {
    border-left: 3px solid var(--yellow)
}

.vuln-card.sl {
    border-left: 3px solid var(--blue)
}

.vuln-card.si {
    border-left: 3px solid var(--muted)
}

.vuln-top {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: var(--surface)
}

.sev-tag {
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 3px;
    flex-shrink: 0
}

.tc {
    background: var(--red-dim);
    color: var(--red)
}

.th {
    background: var(--orange-dim);
    color: var(--orange)
}

.tm {
    background: var(--yellow-dim);
    color: var(--yellow)
}

.tl {
    background: var(--blue-dim);
    color: var(--blue)
}

.ti {
    background: var(--surface2);
    color: var(--muted2)
}

.vibe-tag {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    background: var(--purple-dim);
    color: var(--purple);
    flex-shrink: 0
}

.new-tag {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    background: var(--red-dim);
    color: var(--red);
    flex-shrink: 0
}

.v-meta {
    flex: 1;
    min-width: 0
}

.v-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px
}

.v-file {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted)
}

.toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: all .2s
}

.vuln-card.open .toggle {
    transform: rotate(180deg);
    background: var(--red-dim);
    border-color: rgba(232, 50, 31, .3)
}

.vuln-body {
    display: none;
    padding: 16px 18px;
    border-top: 1px solid var(--border);
    background: var(--surface2);
    animation: none !important;
}

.vuln-card.open .vuln-body {
    display: block
}

.vuln-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px
}

.vg-lbl {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 5px
}

.vg-txt {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted2)
}

.fix-hdr {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px
}

.fix-steps {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted2);
    margin-bottom: 12px
}

.code-block {
    background: #18140e;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 8px;
    overflow: hidden
}

.code-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: var(--surface)
}

.code-lang {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4)
}

.copy-btn {
    background: var(--surface);
    border: none;
    color: rgba(255, 255, 255, .5);
    font-family: var(--mono);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: all .15s
}

.copy-btn:hover {
    background: rgba(22, 163, 74, .2);
    color: var(--green)
}

.code-pre {
    padding: 14px;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.6;
    color: #d4cfc5;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0
}

/* SAFE STATE */
.safe-state {
    text-align: center;
    padding: 48px 32px;
    background: var(--surface);
    border: 1px solid rgba(34, 197, 94, .2);
    border-radius: 10px
}

.safe-icon {
    font-size: 48px;
    margin-bottom: 12px
}

.safe-title {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--green);
    margin-bottom: 8px
}

.safe-sub {
    color: var(--muted2);
    font-size: 14px
}

/* FIX FOR ME */
.fix-panel {
    display: none;
    background: var(--surface);
    border: 1px solid rgba(34, 197, 94, .25);
    border-radius: 10px;
    margin-top: 16px;
    overflow: hidden
}

.fix-panel.show {
    display: block
}

.fix-panel-hdr {
    background: rgba(34, 197, 94, .06);
    border-bottom: 1px solid rgba(34, 197, 94, .15);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px
}

.fix-panel-title {
    font-family: 'Fraunces', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--green);
    flex: 1
}

.fix-file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
    padding: 16px 18px
}

.fix-file-item {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden
}

.fix-file-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border)
}

.fix-file-name {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted2)
}

.fix-file-copy {
    background: none;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10px;
    padding: 3px 9px;
    border-radius: 3px;
    cursor: pointer;
    transition: all .15s
}

.fix-file-copy:hover {
    background: var(--green-dim);
    color: var(--green);
    border-color: rgba(34, 197, 94, .3)
}

.fix-file-pre {
    padding: 12px 14px;
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.6;
    color: #d4cfc5;
    background: #18140e;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    max-height: 180px;
    overflow-y: auto
}

.fix-gen {
    text-align: center;
    padding: 32px
}

.fix-spin {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: none !important;
    margin: 0 auto 12px
}

.fix-gen-txt {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted)
}

.ask-btn-serif {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 16px;
    padding: 0;
    letter-spacing: -0.5px;
    transition: opacity 0.2s, transform 0.2s;
    width: 100%;
}

.ask-btn-serif:hover {
    opacity: 0.7;
    transform: scale(1.02);
}

.ask-btn-serif-mod {
    font-family: 'Fraunces', serif !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    width: 100%;
}

.chat-overlay {
    display: none;
}

.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 40px;
    width: 420px;
    height: 600px;
    max-height: 85vh;
    background: var(--surface);
    
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.2), opacity 0.4s ease;
}

.chat-widget.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 600px) {
    .chat-widget {
        width: calc(100% - 32px);
        right: 16px;
        bottom: 16px;
    }
}

/* CHAT */
#chatSec {
    margin-top: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden
}

.chat-hdr {
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px
}

.chat-hdr-icon {
    font-size: 18px
}

.chat-hdr-title {
    font-family: 'Fraunces', serif;
    font-size: 15px;
    font-weight: 700
}

.chat-hdr-sub {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    margin-top: 1px
}

.chat-msgs {
    padding: 16px;
    max-height: 340px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.chat-msg {
    display: flex;
    gap: 8px;
    animation: none !important;
}

.chat-msg.u {
    flex-direction: row-reverse
}

.msg-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0
}

.chat-msg.u .msg-av {
    background: var(--red-dim);
    border-color: rgba(232, 50, 31, .3)
}

.msg-bub {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    background: var(--surface2);
    border: 1px solid var(--border)
}

.chat-msg.u .msg-bub {
    background: var(--red-dim);
    border-color: rgba(232, 50, 31, .25)
}

.act-bar {
    display: flex;
    align-items: center;
    gap: 12px
}

.tooltip-container {
    position: relative;
    display: inline-flex;
}

.tooltip-box {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: #111;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-family: var(--mono);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tooltip-box::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #111 transparent;
}

.tooltip-container:hover .tooltip-box {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.act-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
    transition: all .15s
}

.act-btn:hover {
    background: var(--red-dim);
    border-color: rgba(232, 50, 31, .3);
    color: var(--red)
}

.typing {
    display: flex;
    align-items: center;
    gap: 4px
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted);
    animation: none !important;
}

.dot:nth-child(2) {
    animation-delay: .2s
}

.dot:nth-child(3) {
    animation-delay: .4s
}

@keyframes bounce {

    0%,
    60%,
    100% {
        transform: translateY(0)
    }

    30% {
        transform: translateY(-5px)
    }
}

.quick-row {
    padding: 0 16px 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.qp {
    font-family: var(--mono);
    font-size: 11px;
    padding: 5px 11px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    color: var(--muted2);
    transition: all .15s
}

.qp:hover {
    background: var(--red-dim);
    border-color: rgba(232, 50, 31, .3);
    color: var(--text)
}

.chat-inp-row {
    border-top: 1px solid var(--border);
    padding: 12px 14px;
    display: flex;
    gap: 8px;
    align-items: flex-end
}

#chatInput {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 9px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    background: var(--surface2);
    color: var(--text);
    resize: none;
    outline: none;
    min-height: 38px;
    max-height: 100px;
    transition: border-color .15s
}

#chatInput:focus {
    border-color: var(--red)
}

#chatInput::placeholder {
    color: var(--muted)
}

.send-btn {
    width: 36px;
    height: 36px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(232, 50, 31, .28)
}

.send-btn:hover {
    background: #d42d1c;
    transform: scale(1.08)
}

.send-btn:disabled {
    background: var(--surface2);
    cursor: not-allowed;
    transform: none
}

.reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 24px auto 0 auto;
    padding: 12px 14px;
    background: transparent;
    border: 1.2px solid #000;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.reset-btn:hover {
    background: rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--text);
    border: none;
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--mono);
    font-size: 12px;
    transition: transform .3s ease;
    z-index: 10000;
    white-space: nowrap;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .18)
}

.toast.show {
    transform: translateX(-50%) translateY(0)
}

.app-foot {
    text-align: center;
    padding: 24px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    margin-top: 40px
}

/* PRINT */
@media print {

    body::after,
    .nav,
    .app-hero .back-btn,
    .biz-wrap,
    .input-tabs,
    .github-wrap,
    .stack-bar,
    #uploadSec,
    #loadSec,
    #chatSec,
    .act-bar,
    .reset-btn,
    .app-foot,
    .toggle,
    #landingView,
    .fix-panel,
    .score-card,
    .filter-bar,
    .vibe-panel {
        display: none !important
    }

    body {
        background: var(--surface) !important;
        color: #000 !important
    }

    .app-main {
        padding: 0 !important;
        max-width: 100% !important
    }

    #resSec {
        display: block !important
    }

    .vuln-card {
        break-inside: avoid
    }

    .vuln-body {
        display: block !important
    }

    .stat-box,
    .vuln-card,
    .verdict {
        border: 1px solid #ccc !important
    }

    .diff-bar.show {
        display: flex !important
    }
}

/* RESPONSIVE */
@media(max-width:768px) {
    .nav-links {
        display: none
    }

    .problem-grid,
    .features-grid {
        grid-template-columns: 1fr
    }

    .steps-row {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .steps-row::before {
        display: none
    }

    .pricing-grid {
        grid-template-columns: 1fr
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr)
    }

    .vuln-grid {
        grid-template-columns: 1fr
    }

    .verdict {
        flex-wrap: wrap
    }

    .v-score {
        display: none
    }

    .vibe-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .compare-table {
        font-size: 12px
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 12px
    }
}

/* ════════════════════════════════════════════
   DASHBOARD LAYOUT (App View)
════════════════════════════════════════════ */
.dash-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    min-height: calc(100vh - 96px);
    width: 100%;
    background: var(--bg-secondary);
    padding: 90px 24px 24px;
    box-sizing: border-box;
}

.dash-sidebar {
    width: 280px;
    min-width: 280px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    position: sticky;
    top: 96px;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.dash-sidebar .upload-zone {
    padding: 32px 16px;
    text-align: center;
}

.dash-sidebar .upload-ico {
    margin-bottom: 10px;
    font-size: 22px;
}

.dash-sidebar .upload-title {
    font-size: 16px;
}

.dash-sidebar .chip-row {
    justify-content: center;
}

.dash-sidebar .input-tabs {
    margin-bottom: 10px;
}

.dash-sidebar .github-input {
    font-size: 12px;
    padding: 10px 12px;
}

.dash-sidebar .github-btn {
    font-size: 12px;
    padding: 10px 14px;
}

.dash-sidebar .scan-btn {
    font-size: 14px;
    padding: 14px 12px;
    letter-spacing: -.2px;
}

.sidebar-foot {
    margin-top: auto;
    padding-top: 20px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
}

.dash-main {
    flex: 1;
    padding: 32px;
    min-height: calc(100vh - 120px);
    overflow-y: auto;
    position: relative;
    background: var(--surface2);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.dash-main-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 48px;
    height: 72px;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--surface);
    /* Changed to solid white for visibility */
    
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* Changed to black for contrast */
    transition: all .3s;
}

#emptyDashState {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--muted);
}

#emptyDashState.hide {
    display: none;
}

#resSec.show~#emptyDashState,
#loadSec.show~#emptyDashState {
    display: none !important;
}

.dash-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.act-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.dash-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 20px;
}

.dash-grid-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.dash-grid-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.dash-card,
.vibe-panel,
.score-card {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

/* Compact vibe checks for combined card */
.vibe-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.vibe-grid-compact .vc-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 12px;
    font-family: 'DM Sans', sans-serif;
    background: var(--surface);
}

.vibe-grid-compact .vc-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.vibe-grid-compact .vc-label {
    flex: 1;
    color: var(--text);
    white-space: nowrap;
}

.vibe-grid-compact .vc-status {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.vibe-grid-compact .vc-status svg {
    width: 14px;
    height: 14px;
}

.dash-grid-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (max-width: 1100px) {
    .dash-grid-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .dash-layout {
        flex-direction: column;
    }

    .dash-sidebar {
        width: 100%;
        min-width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 2px solid var(--border);
    }

    .dash-main {
        height: auto;
        overflow: visible;
    }

    .dash-grid-top,
    .dash-grid-bottom {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════
   NEW TWO-SCREEN APP DESIGN
   Screen 1: Input / Upload (dark, full-screen)
   Screen 2: Dashboard (sidebar + main, light)
═══════════════════════════════════════════════ */

/* ── appView host ──────────────────────── */
#appView {
    position: fixed;
    inset: 0;
    overflow: hidden;
    display: none;
}

#appView.active {
    display: block;
}

/* ── SCREEN TRANSITIONS ────────────────── */
.input-screen,
.dash-screen {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    will-change: transform, opacity;
    transition:
        opacity .6s cubic-bezier(.4, 0, .2, 1),
        transform .6s cubic-bezier(.4, 0, .2, 1),
        filter .6s cubic-bezier(.4, 0, .2, 1);
}

/* Input screen */
.input-screen {
    background: var(--bg);
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
    z-index: 2;
}

.input-screen.slide-out {
    opacity: 0;
    transform: translateY(-32px) scale(.97);
    filter: blur(4px);
    pointer-events: none;
}

/* Dash screen: scales up from slightly below */
.dash-screen {
    background: var(--bg);
    opacity: 0;
    transform: translateY(48px) scale(.98);
    filter: blur(6px);
    pointer-events: none;
    z-index: 1;
}

.dash-screen.slide-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
    pointer-events: auto;
}

/* ── INPUT SCREEN INNER ─────────────────── */
.input-screen-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 40px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

/* Top bar */
.inp-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    width: 100%;
}

.inp-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.5px;
}

.inp-logo .logo-pip {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: none !important;
}

.inp-back-btn {
    background: var(--surface);
    border: 1px solid var(--border2);
    color: var(--text);
    padding: 8px 18px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
}

.inp-back-btn:hover {
    background: var(--surface2);
    color: var(--text);
}

/* Title */
.inp-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--text);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 12px;
    text-align: center;
}

.inp-sub {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Section label */
.inp-section-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 12px;
    text-align: center;
}

/* Business type row */
.inp-biz-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
    justify-content: center;
}

.inp-biz-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}

.inp-biz-btn:hover {
    background: var(--surface2);
    color: var(--text);
}

.inp-biz-btn.active {
    background: var(--red-dim);
    border-color: var(--red);
    color: var(--text);
}

/* Input tabs */
.inp-tabs {
    display: flex;
    max-width: fit-content;
    margin: 0 auto 16px;
    background: #e5e3de;
    border-radius: 50px;
    padding: 5px;
}

.inp-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 24px;
    border: none;
    background: none;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all .2s;
}

.inp-tab.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* GitHub input in dark context */
.input-screen .github-wrap {
    margin: 0 auto 14px;
    max-width: 500px;
}

.input-screen .github-input {
    background: var(--surface);
    border: 1.5px solid var(--border);
    color: var(--text);
    max-width: 500px;
    margin: 0 auto;
}

.input-screen .github-input::placeholder {
    color: var(--muted);
}

.input-screen .github-input:focus {
    border-color: var(--red);
}

.input-screen .github-btn {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
}

.input-screen .github-btn:hover {
    background: var(--surface2);
    border-color: var(--border2);
}

.input-screen .github-btn:hover {
    background: var(--border2);
    color: var(--text);
}

/* Upload zone */
.inp-upload-zone {
    border: 1.5px dashed var(--border2);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all .25s;
    position: relative;
    overflow: hidden;
    margin: 0 auto 14px;
    background: var(--surface);
    max-width: 500px;
}

.inp-upload-zone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(232, 50, 31, .06) 0%, transparent 70%);
    pointer-events: none;
}

.inp-upload-zone:hover,
.inp-upload-zone.drag {
    border-color: var(--red);
    background: rgba(232, 50, 31, .05);
}

.inp-upload-zone input[type=file] {
    display: none;
}

.inp-upload-ico {
    width: 64px;
    height: 64px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--muted2);
    transition: all .2s;
}

.inp-upload-zone:hover .inp-upload-ico {
    border-color: var(--red);
    color: var(--red);
    transform: scale(1.08) rotate(-4deg);
}

.inp-upload-title {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.inp-upload-hint {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px;
}

.inp-chip-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.inp-chip {
    font-family: var(--mono);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
}

/* Stack bar in dark context */
.input-screen .stack-bar {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    margin: 0 auto 12px;
    max-width: 500px;
}

/* File row in dark context */
.input-screen .file-row {
    background: var(--surface);
    border-color: var(--border);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.input-screen .file-name,
.input-screen .file-count {
    color: var(--text);
}

.input-screen .rm-btn {
    background: var(--surface);
    border-color: var(--border2);
    color: var(--muted2);
}

/* Scan button - full width, prominent */
.inp-scan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 500px;
    margin: 24px auto 0;
    padding: 16px;
    background: var(--red);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    letter-spacing: -.3px;
    box-shadow: 0 4px 14px rgba(232, 50, 31, .2);
}

.inp-scan-btn svg {
    display: none;
}

.inp-scan-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--muted);
}

.inp-scan-btn:not(:disabled):hover {
    background: #d42d1c;
    box-shadow: 0 8px 36px rgba(232, 50, 31, .35);
    transform: translateY(-1px);
}


.inp-foot {
    text-align: center;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    margin-top: 28px;
    letter-spacing: .5px;
}

/* ── DASH SCREEN ────────────────────────── */
.dash-screen .dash-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    height: 100vh;
    overflow: hidden;
}

.dash-screen .dash-sidebar {
    height: 100vh;
    overflow-y: auto;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px;
    width: 280px;
    min-width: 280px;
    box-sizing: border-box;
}

.side-top-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
}

.logo-stack .nav-logo {
    margin: 0 !important;
}

.logo-stack .back-btn {
    align-self: flex-start;
    margin-top: 4px;
}

.side-scan-btn {
    width: 100% !important;
    margin: 32px 0 16px !important;
    height: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: var(--text) !important;
    color: var(--bg) !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.side-scan-btn:hover {
    opacity: 0.9;
    transform: none !important;
}

.dash-sidebar-top {
    flex: 1;
}

.dash-screen .dash-main {
    min-height: calc(100vh - 160px);
    overflow-y: auto;
    padding: 28px;
    background: var(--surface2);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.biz-wrap {
    margin-bottom: 24px;
    padding: 0 4px;
}

/* Mini upload zone in sidebar */
.dash-upload-zone-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 80px;
    padding: 10px;
    background: none;
    border: 1.5px dashed var(--border2);
    border-radius: 10px;
    color: var(--muted2);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    cursor: pointer;
    transition: all .2s;
    opacity: 0.5;
    box-sizing: border-box;
    margin-top: 8px;
}

.dash-upload-zone-mini:hover {
    border-color: var(--red);
    color: var(--text);
    background: rgba(232, 50, 31, .03);
    opacity: 1;
}

.dash-upload-zone-mini svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.dash-upload-zone-mini:hover {
    border-color: var(--red);
    color: var(--text);
    background: rgba(232, 50, 31, .04);
}

/* Card animations on dash entry */
@keyframes dashCardIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dash-screen.slide-in .dash-card,
.dash-screen.slide-in .vibe-panel,
.dash-screen.slide-in .score-card {
    animation: none !important;
}

.dash-screen.slide-in .dash-sidebar {
    animation: none !important;
}

.dash-screen.slide-in .dash-grid-top> :nth-child(1) {
    animation-delay: .1s;
}

.dash-screen.slide-in .dash-grid-top> :nth-child(2) {
    animation-delay: .18s;
}

.dash-screen.slide-in .vibe-panel {
    animation-delay: .26s;
}

.dash-screen.slide-in .score-card {
    animation-delay: .32s;
}

.dash-screen.slide-in .dash-col-left .dash-card {
    animation-delay: .36s;
}

.dash-screen.slide-in .dash-col-right .dash-card {
    animation-delay: .42s;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 700px) {
    .inp-biz-row {
        gap: 6px;
    }

    .inp-biz-btn {
        font-size: 12px;
        padding: 8px 12px;
    }

    .inp-title {
        font-size: 28px;
    }

    .input-screen-inner {
        padding: 24px 18px 48px;
    }

    .dash-screen .dash-layout {
        grid-template-columns: 1fr;
    }

    .dash-screen .dash-sidebar {
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .dash-screen .dash-main {
        height: auto;
        overflow: visible;
    }
}

/* ═══ AUTH MODAL ═════════════════════════════ */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 18, 8, 0.4);
    
}

.auth-content {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
    padding: 40px;
    transform: scale(0.95) translateY(10px);
    transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #e5e7eb;
}

.auth-title, .auth-logo, .auth-sub, .auth-divider, .auth-footer {
    color: #0f172a !important;
}

.auth-sub, .auth-divider {
    color: #64748b !important;
}

.auth-close {
    background: #f1f5f9;
    color: #64748b;
}

.auth-close:hover {
    background: #e2e8f0;
}

.auth-modal.show .auth-content {
    transform: scale(1) translateY(0);
}

.auth-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.auth-close:hover {
    background: #eee;
}

.auth-hdr {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--text);
}

.auth-title {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: var(--text);
}

.auth-sub {
    font-size: 14px;
    color: var(--muted);
}

.auth-google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    padding: 12px;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    color: var(--text);
}

.auth-google-btn:hover {
    background: #fafafa;
    border-color: var(--border2);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--muted2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    padding: 0 16px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-input-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.auth-input-group input {
    background: var(--surface2);
    border: 1.5px solid var(--border);
    padding: 12px 16px;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    transition: all .2s;
    color: var(--text);
}

.auth-input-group input:focus {
    outline: none;
    border-color: var(--red);
    background: var(--surface);
}

/* Fix browser autofill background */
.auth-input-group input:-webkit-autofill,
.auth-input-group input:-webkit-autofill:hover,
.auth-input-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #F1F5F9 inset !important;
    -webkit-text-fill-color: var(--text) !important;
    transition: background-color 5000s ease-in-out 0s;
}

#authError {
    padding: 12px 16px !important;
    border-radius: 12px !important;
    margin-bottom: 24px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    animation: authFadeIn 0.3s ease-out;
}

#authError:has(b) {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    color: #64748B !important;
}

#authError:not(:has(b)) {
    background: #FEF2F2 !important;
    border: 1px solid #FEE2E2 !important;
    color: #DC2626 !important;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-submit-btn {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    margin-top: 8px;
}

.auth-submit-btn:hover {
    background: #d42d1c;
    transform: translateY(-1px);
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

.auth-footer a {
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
}
/* --- Premium Feature & Coverage Sections --- */
.section {
    padding: 120px 24px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.section-eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    margin-bottom: 20px;
    text-align: center;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(34px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text);
    text-align: center;
    margin-bottom: 32px;
}

.section-sub {
    font-size: 19px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 80px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feat-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 48px 40px;
    border-radius: 28px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
}

.feat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 62, 62, 0.03), transparent 70%);
    pointer-events: none;
}

.feat-card:hover {
    background: var(--surface3);
    border-color: var(--border2);
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.feat-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface3);
    border-radius: 18px;
    border: 1px solid var(--border);
    margin-bottom: 8px;
}

.feat-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--text);
}

.feat-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.feat-tag {
    position: absolute;
    top: 28px;
    right: 28px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--red);
    background: var(--red-dim);
    padding: 5px 12px;
    border-radius: 100px;
}

/* COVERAGE REFINEMENT */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.coverage-tier {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 36px;
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: all 0.3s ease;
}

.coverage-tier:hover {
    border-color: var(--border2);
    background: var(--surface3);
}

.tier-label {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: 100px;
    width: fit-content;
}

.tier-label.p0 { background: rgba(255, 62, 62, 0.1); color: var(--red); border: 1px solid rgba(255, 62, 62, 0.2); }
.tier-label.p1 { background: rgba(255, 184, 0, 0.1); color: var(--yellow); border: 1px solid rgba(255, 184, 0, 0.2); }
.tier-label.p2 { background: rgba(0, 242, 148, 0.1); color: var(--green); border: 1px solid rgba(0, 242, 148, 0.2); }

.coverage-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.coverage-list li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coverage-list li strong {
    color: var(--text);
    font-weight: 700;
    font-size: 17px;
}

/* FAQ PREMIUM */
.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--surface2) !important;
    border: 1px solid var(--border) !important;
    border-radius: 24px !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

.faq-item:hover {
    border-color: var(--border2) !important;
    background: var(--surface3) !important;
}

.faq-q {
    padding: 28px 40px !important;
    font-size: 18px !important;
    letter-spacing: -0.3px;
    background: none !important;
    border: none !important;
    color: var(--text) !important;
    font-family: var(--sans) !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.faq-a {
    padding: 0 40px 40px !important;
    font-size: 16px !important;
    color: var(--text-secondary) !important;
    line-height: 1.7 !important;
    display: none;
}

.faq-item.open .faq-a {
    display: block !important;
}

/* --- Step & Problem Cards --- */
.steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 64px;
}

.step-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 40px 32px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: var(--surface3);
    border-color: var(--border2);
    transform: translateY(-5px);
}

.step-num {
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 900;
    color: var(--red);
    opacity: 0.1;
    position: absolute;
    top: 20px;
    right: 32px;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.step-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.problem-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.problem-card:hover { border-color: var(--border2); }

.problem-icon {
    margin-bottom: 8px;
}

.problem-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.problem-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.icon-anim-pulse { animation: pulse 2s infinite ease-in-out; }

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.icon-anim-float { animation: float 3s infinite ease-in-out; }

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.icon-anim-spin-slow { animation: spin-slow 12s linear infinite; }
