/* =========================================================
   VERIONTRUST — PREMIUM DARK LUXURY DESIGN SYSTEM v2
   Inspired by: Wiz.io · Linear · Vercel · Brex
   ========================================================= */

:root {
    --bg: #030508;
    --bg-2: #070a10;
    --bg-panel: rgba(10, 13, 22, 0.82);
    --bg-card: rgba(12, 15, 26, 0.9);
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hi: rgba(255, 255, 255, 0.06);

    /* Refined palette — cool, desaturated luxury */
    --blue: #4a90d9;
    --blue-dim: #2563a8;
    --ice: #a8c8f0;
    --silver: #c8d8e8;
    --violet: #7c6ef7;
    --rose: #e879aa;

    --text-1: #f0f4f8;
    --text-2: #8da0b8;
    --text-3: #4a5a72;

    --border: rgba(255, 255, 255, 0.055);
    --border-hi: rgba(255, 255, 255, 0.10);
    --border-glow: rgba(74, 144, 217, 0.18);

    --sev-crit: #f87171;
    --sev-high: #fb923c;
    --sev-med: #facc15;
    --sev-low: #4ade80;
    --sev-ok: #22c55e;

    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-1);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

/* =========================================================
   REUSABLE
   ========================================================= */
.glass-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--r-md);
}

.gradient-text,
.grad {
    background: linear-gradient(130deg, var(--ice) 0%, var(--blue) 60%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(3, 5, 8, 0.75);
    backdrop-filter: blur(28px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.nav-logo-wrap {
    width: 30px;
    height: 30px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 16px rgba(74, 144, 217, 0.28);
}

.nav-brand-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.nav-link {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-2);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: var(--r-sm);
    transition: color 0.18s;
    letter-spacing: 0.2px;
}

.nav-link:hover {
    color: var(--text-1);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Logo image sizes */
.nav-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 26px;
    width: auto;
    display: block;
    margin-bottom: 10px;
    opacity: 0.85;
}

.app-header-logo {
    height: 28px;
    width: auto;
    display: block;
}


.nav-btn-secondary {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    text-decoration: none;
    padding: 7px 16px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border-hi);
    background: var(--surface);
    transition: all 0.18s;
}

.nav-btn-secondary:hover {
    color: var(--text-1);
    border-color: rgba(255, 255, 255, 0.16);
}

.nav-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bg);
    background: var(--text-1);
    border: none;
    padding: 8px 18px;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: all 0.18s;
    letter-spacing: 0.2px;
}

.nav-btn-primary:hover {
    background: #fff;
    box-shadow: 0 4px 24px rgba(240, 244, 248, 0.18);
    transform: translateY(-1px);
}

/* =========================================================
   HERO
   ========================================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 0 0 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    opacity: 0.40;
    mix-blend-mode: screen;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
            rgba(3, 5, 8, 0.98) 0%,
            rgba(3, 5, 8, 0.90) 35%,
            rgba(3, 5, 8, 0.4) 75%,
            rgba(3, 5, 8, 0.15) 100%);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 144, 217, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 217, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent 70%);
}

/* Subtle ambient blobs */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(120px);
}

.orb-cyan {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.07) 0%, transparent 65%);
    top: -5%;
    left: -10%;
}

.orb-purple {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 110, 247, 0.06) 0%, transparent 65%);
    bottom: -15%;
    left: 20%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 48px 100px;
    animation: fadeUpIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeUpIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 32px;
}

.eyebrow-dot {
    width: 5px;
    height: 5px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--blue);
    animation: pulse 3s infinite;
}

@keyframes pulse {

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

    50% {
        opacity: 0.4;
        transform: scale(1.6);
    }
}

.hero-h1 {
    font-size: clamp(44px, 5.5vw, 82px);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: -1px;
    margin-bottom: 28px;
    color: var(--text-1);
    max-width: 720px;
}

.hero-gradient {
    background: linear-gradient(130deg, var(--silver) 0%, var(--blue) 40%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-2);
    max-width: 540px;
    margin-bottom: 52px;
    font-weight: 400;
    letter-spacing: 0.1px;
}

/* Scan Input */
.hero-scan-row {
    display: flex;
    gap: 10px;
    max-width: 580px;
    margin-bottom: 18px;
}

.hero-scan-input-wrap {
    flex: 1;
    position: relative;
}

.scan-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    pointer-events: none;
}

.hero-scan-input {
    width: 100%;
    background: rgba(8, 12, 22, 0.9);
    border: 1px solid var(--border-hi);
    padding: 17px 17px 17px 46px;
    border-radius: var(--r-md);
    color: var(--text-1);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
}

.hero-scan-input:focus {
    border-color: var(--blue);
    box-shadow:
        0 0 0 4px rgba(74, 144, 217, 0.1),
        0 0 15px rgba(74, 144, 217, 0.2),
        inset 0 0 0 1px rgba(74, 144, 217, 0.15);
    background: rgba(8, 12, 22, 1);
}

.hero-scan-input::placeholder {
    color: var(--text-3);
}

/* Radar Scan Animation for Input Wrap */
.hero-scan-input-wrap::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--r-md);
    padding: 1px;
    background: conic-gradient(from 0deg, transparent 0%, var(--blue) 5%, transparent 10%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    animation: rotateScan 4s linear infinite;
    display: none;
    /* Only show on focus container if desired, or always subtle */
}

.hero-scan-input-wrap:focus-within::before {
    display: block;
}

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

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

.hero-scan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 30px;
    background: var(--text-1);
    color: var(--bg);
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: var(--r-md);
    cursor: pointer;
    min-width: 164px;
    height: 54px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    animation: breathingGlow 3s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(240, 244, 248, 0.1);
}

.hero-scan-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: all 0.6s;
    pointer-events: none;
}

.hero-scan-btn:hover::before {
    left: 200%;
}

@keyframes breathingGlow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(240, 244, 248, 0.15), 0 0 0 0 rgba(240, 244, 248, 0.1);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(240, 244, 248, 0.35), 0 0 0 10px rgba(240, 244, 248, 0);
        transform: scale(1.02);
    }
}

.hero-scan-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(240, 244, 248, 0.2);
    animation: none;
    /* Stop breathing on hover */
}

.hero-disclaimer {
    font-size: 11px;
    color: var(--text-3);
    margin-bottom: 52px;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.disclaimer-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-2);
    font-weight: 500;
}

.dot-active {
    width: 6px;
    height: 6px;
    background: #00f2fe;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f2fe;
    animation: pulseActive 2s infinite;
}

@keyframes pulseActive {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }

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

.disclaimer-sep {
    color: var(--border);
    font-weight: 300;
}

/* Trust Row */
.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.trust-item svg {
    width: 12px;
    height: 12px;
    stroke: var(--sev-ok);
}

.trust-divider {
    width: 1px;
    height: 14px;
    background: var(--border);
}

/* Stats Bar — aligned with hero content */
.hero-stats-card {
    margin-top: 48px;
    padding: 16px 32px;
    background: rgba(8, 12, 22, 0.88);
    border: 1px solid var(--border-hi);
    border-radius: var(--r-md);
    backdrop-filter: blur(32px);
    animation: fadeUpIn 1.1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.stats-card-header {
    display: none;
}

.stats-card-live-dot {
    display: none;
}

.stats-card-items {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 0;
}

.stats-item {
    flex: 1;
    text-align: center;
}

.stats-val {
    font-size: 20px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.5px;
    color: var(--text-1);
}

.stats-key {
    font-size: 9px;
    color: var(--text-3);
    margin-top: 4px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.stats-sep {
    width: 1px;
    background: var(--border);
    margin: 0 6px;
}

.text-red-glow {
    color: var(--sev-crit);
}

.text-cyan-glow {
    color: var(--blue);
}

.stats-mini-chart {
    display: none;
}

.chart-bar {
    flex: 1;
    background: rgba(74, 144, 217, 0.2);
    border-radius: 2px 2px 0 0;
}

.chart-bar.active {
    background: var(--blue);
}

/* =========================================================
   CAPABILITIES
   ========================================================= */
.capabilities-strip {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 48px;
}

.section-header {
    max-width: 560px;
    margin-bottom: 72px;
}

.section-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 18px;
    display: block;
}

.section-title {
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text-1);
}

.section-sub {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.7;
    font-weight: 400;
}

.cap-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.cap-card {
    background: var(--bg-2);
    padding: 36px 32px;
    position: relative;
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(16px);
    cursor: pointer;
    z-index: 1;
}

.cap-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.25s, box-shadow 0.25s;
}

.cap-card:hover {
    background: rgba(12, 15, 26, 0.98);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.cap-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.cap-card:hover::after {
    opacity: 1;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.cap-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
}

.cap-icon svg {
    width: 20px;
    height: 20px;
}

.cap-icon.cyan {
    background: rgba(74, 144, 217, 0.08);
    color: var(--blue);
    border: 1px solid rgba(74, 144, 217, 0.15);
}

.cap-icon.purple {
    background: rgba(124, 110, 247, 0.08);
    color: var(--violet);
    border: 1px solid rgba(124, 110, 247, 0.15);
}

.cap-icon.pink {
    background: rgba(232, 121, 170, 0.08);
    color: var(--rose);
    border: 1px solid rgba(232, 121, 170, 0.15);
}

.cap-icon.yellow {
    background: rgba(250, 204, 21, 0.06);
    color: #e8c537;
    border: 1px solid rgba(250, 204, 21, 0.12);
}

.cap-icon.green {
    background: rgba(74, 222, 128, 0.06);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.12);
}

.cap-icon.orange {
    background: rgba(251, 146, 60, 0.07);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.12);
}

.cap-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 10px;
}

.cap-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.cap-card p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.7;
}

/* =========================================================
   SOCIAL PROOF
   ========================================================= */
.social-proof-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 48px;
}

.sp-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
}

.sp-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-3);
    flex-shrink: 0;
    white-space: nowrap;
}

.sp-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sp-logo-item {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(141, 160, 184, 0.28);
    transition: color 0.2s;
}

.sp-logo-item:hover {
    color: rgba(141, 160, 184, 0.5);
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
    padding: 100px 48px;
    border-top: 1px solid var(--border);
}

.cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.cta-text h2 {
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -1.2px;
    margin-bottom: 14px;
    max-width: 560px;
    line-height: 1.15;
    color: var(--text-1);
}

.cta-text p {
    font-size: 15px;
    color: var(--text-2);
    max-width: 440px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

.cta-primary-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    background: var(--text-1);
    color: var(--bg);
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.cta-primary-btn:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(240, 244, 248, 0.15);
}

.cta-secondary-btn {
    padding: 14px 24px;
    background: transparent;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border-hi);
    border-radius: var(--r-md);
    text-decoration: none;
    transition: all 0.18s;
    white-space: nowrap;
}

.cta-secondary-btn:hover {
    color: var(--text-1);
    border-color: rgba(255, 255, 255, 0.18);
}

/* =========================================================
   FOOTER
   ========================================================= */
.landing-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 60px 48px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.footer-tagline {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 12px;
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-title {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 4px;
}

.footer-links-group a {
    font-size: 13px;
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.18s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.3px;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot-sm {
    width: 5px;
    height: 5px;
    background: var(--sev-ok);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--sev-ok);
    animation: pulse 3.5s infinite;
}

/* =========================================================
   SCANNER APP
   ========================================================= */
.fullscreen-app {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: var(--bg);
    background-image:
        radial-gradient(ellipse at top right, rgba(74, 144, 217, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(124, 110, 247, 0.03) 0%, transparent 50%);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 60px;
    border-bottom: 1px solid var(--border);
    background: rgba(3, 5, 8, 0.9);
    backdrop-filter: blur(20px);
    z-index: 20;
    flex-shrink: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-1);
    text-decoration: none;
}

.back-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.back-btn svg:first-child {
    color: var(--text-3);
}

.brand-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

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

.header-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-2);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all 0.18s;
}

.header-link:hover {
    color: var(--text-1);
    border-color: var(--border-hi);
}

.header-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: var(--text-3);
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
    letter-spacing: 0.3px;
}

.status-dot {
    width: 5px;
    height: 5px;
    background: var(--sev-ok);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--sev-ok);
    animation: pulse 3s infinite;
}

.app-workspace {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 40px;
}

/* Initial Hero (App) */
.initial-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    animation: fadeUpIn 0.6s ease;
}

.hero-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-3);
    text-transform: uppercase;
    background: var(--surface);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    border: 1px solid var(--border-hi);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -2px;
    color: var(--text-1);
}

.hero-desc {
    font-size: 15px;
    color: var(--text-2);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.search-wrap-hero {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 520px;
    margin-bottom: 36px;
}

.search-wrap-hero input {
    flex: 1;
    background: rgba(8, 12, 22, 0.85);
    border: 1px solid var(--border-hi);
    padding: 15px 20px;
    border-radius: var(--r-md);
    color: var(--text-1);
    font-size: 15px;
    outline: none;
    transition: all 0.18s;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
}

.search-wrap-hero input:focus {
    border-color: var(--border-glow);
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.08);
}

.search-wrap-hero input::placeholder {
    color: var(--text-3);
}

.search-wrap-hero button {
    background: var(--text-1);
    color: var(--bg);
    border: none;
    padding: 0 28px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    min-width: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s;
}

.search-wrap-hero button:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(240, 244, 248, 0.12);
}

.btn-spinner,
.btn-spinner-app {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--bg);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.hero-features {
    display: flex;
    gap: 24px;
    justify-content: center;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    flex-wrap: wrap;
}

.feat {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--text-2);
    font-weight: 400;
}

.feat-icon {
    width: 13px;
    height: 13px;
    stroke: var(--blue);
}

/* Progress */
.center-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeUpIn 0.4s ease;
}

.loading-intro {
    text-align: center;
    max-width: 460px;
    margin: 0 auto 24px;
}

.loading-intro h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.loading-intro p {
    color: var(--blue);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.global-progress-wrap {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 1px;
    overflow: hidden;
    margin: 18px 0 10px;
}

.global-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--blue-dim), var(--blue));
    transition: width 0.5s ease;
}

.pulse-bar {
    animation: barPulse 1.4s infinite ease-in-out;
}

@keyframes barPulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.4
    }
}

.global-status {
    font-size: 11px;
    color: var(--text-3);
    margin-bottom: 6px;
    letter-spacing: 0.4px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
}

.percent-text {
    color: var(--blue);
}

.time-remaining {
    color: var(--text-3);
}

.asset-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 440px;
}

.asset-item {
    background: rgba(10, 13, 22, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.asset-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
}

.asset-icon svg {
    width: 14px;
    height: 14px;
    opacity: 0.8;
}

.asset-info {
    flex: 1;
}

.asset-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-1);
}

.asset-status {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-purple {
    color: var(--violet);
}

.bg-cyan {
    color: var(--blue);
}

.bg-gradient {
    color: #e8c537;
}

.bg-pink {
    color: var(--rose);
}

.bg-ai {
    color: #fb923c;
}

/* Results */
.results-layout {
    flex: 1;
    display: flex;
    gap: 18px;
    height: 100%;
    overflow: hidden;
    animation: fadeUpIn 0.45s ease;
}

.score-overall {
    width: 280px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}

.target-title {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.target-title .label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-3);
    display: block;
    margin-bottom: 8px;
}

.target-title .value {
    font-size: 14px;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    color: var(--blue);
    word-break: break-all;
}

.score-circle-wrap {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 40px auto;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(74, 144, 217, 0.05) 0%, transparent 70%);
    border: 2px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 60px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(74, 144, 217, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-circle-wrap::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(74, 144, 217, 0.1);
    mask-image: linear-gradient(to bottom, black, transparent);
    pointer-events: none;
}

.score-main {
    margin-bottom: 2px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.score-circle-wrap .score-hero {
    font-size: 84px;
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 1;
    background: linear-gradient(135deg, var(--text-1) 0%, var(--blue) 60%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(74, 144, 217, 0.2));
}

.score-circle-wrap .score-max {
    font-size: 22px;
    color: var(--text-3);
    font-weight: 400;
    margin-left: 2px;
}

.score-circle-wrap .score-desc {
    font-size: 9px;
    color: var(--text-3);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
}

/* Score color modifiers — override gradient */
.score-data .score-hero.score-red {
    background: none;
    -webkit-text-fill-color: #f87171;
    text-shadow: 0 0 40px rgba(248, 113, 113, 0.4);
}

.score-data .score-hero.score-yellow {
    background: none;
    -webkit-text-fill-color: #fb923c;
    text-shadow: 0 0 40px rgba(251, 146, 60, 0.35);
}

.score-data .score-hero.score-green {
    background: none;
    -webkit-text-fill-color: #4ade80;
    text-shadow: 0 0 40px rgba(74, 222, 128, 0.3);
}


.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    padding: 11px 16px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.18s;
    color: var(--text-1);
    width: 100%;
    border: none;
    cursor: pointer;
}

.action-btn.outline {
    background: var(--surface);
    border: 1px solid var(--border-hi);
}

.action-btn.outline:hover {
    background: var(--surface-hi);
}

.action-btn.text-only {
    background: transparent;
    color: var(--text-3);
    font-size: 12px;
}

.action-btn.text-only:hover {
    color: var(--text-1);
}

.lists-container {
    flex: 1;
    display: flex;
    gap: 16px;
    overflow: hidden;
}

.list-card {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.list-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.scrollable-y .custom-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
}

.scrollable-y .custom-list::-webkit-scrollbar {
    width: 2px;
}

.scrollable-y .custom-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}

.vuln-list-wrapper {
    position: relative;
    max-height: 250px;
    overflow: hidden;
    margin-bottom: 5px;
}

.vuln-veil-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(10, 15, 26, 0) 0%, rgba(10, 15, 26, 0.6) 50%, rgba(10, 15, 26, 1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
    pointer-events: none;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.custom-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
}

.badge {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    flex-shrink: 0;
}

.sev-crit {
    background: rgba(248, 113, 113, 0.12);
    color: var(--sev-crit);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.sev-high {
    background: rgba(251, 146, 60, 0.12);
    color: var(--sev-high);
    border: 1px solid rgba(251, 146, 60, 0.2);
}

.sev-med {
    background: rgba(250, 204, 21, 0.1);
    color: var(--sev-med);
    border: 1px solid rgba(250, 204, 21, 0.2);
}

.sev-low {
    background: rgba(74, 222, 128, 0.1);
    color: var(--sev-low);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.sev-ok {
    background: rgba(34, 197, 94, 0.1);
    color: var(--sev-ok);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.list-text {
    flex: 1;
    font-weight: 400;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-3);
    display: inline-block;
    margin-top: 9px;
    flex-shrink: 0;
}

.score-green {
    color: var(--sev-ok);
}

.score-yellow {
    color: var(--sev-med);
}

.score-red {
    color: var(--sev-crit);
}

.text-red {
    color: var(--sev-crit);
    font-weight: 600;
}

.text-orange {
    color: var(--sev-high);
    font-weight: 600;
}

.text-green {
    color: var(--sev-ok);
    font-weight: 600;
}

.text-muted {
    color: var(--text-3);
}

/* Intelligence Panel */
.intelligence-panel {
    width: 320px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}

.intelligence-panel .list-title {
    margin: 0 20px 0;
    padding: 20px 0 12px;
}

.intel-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    padding: 0 20px 20px;
}

.intel-grid::-webkit-scrollbar {
    width: 2px;
}

.intel-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}

.scrollable-inner {
    overflow-y: auto;
}

.intel-card {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 14px;
}

.intel-card h5 {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-3);
    margin-bottom: 10px;
}

.intel-data {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    gap: 10px;
}

.data-row span:first-child {
    color: var(--text-3);
    flex-shrink: 0;
}

.data-row span:last-child,
.data-row strong {
    color: var(--text-2);
    text-align: right;
    word-break: break-all;
}

.intel-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.intel-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
    border: 1px solid;
}

.intel-badge.port {
    color: var(--rose);
    background: rgba(232, 121, 170, 0.08);
    border-color: rgba(232, 121, 170, 0.2);
}

.intel-badge.tech {
    color: var(--violet);
    background: rgba(124, 110, 247, 0.08);
    border-color: rgba(124, 110, 247, 0.2);
}

.intel-subdomains {
    font-size: 10px;
    color: var(--text-3);
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 70px;
    overflow-y: auto;
}

/* Premium Card */
.premium-upgrade-card {
    margin: 14px 14px 0;
    border-radius: var(--r-md);
    background: rgba(74, 144, 217, 0.04);
    border: 1px solid rgba(74, 144, 217, 0.15);
    overflow: hidden;
}

.premium-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(74, 144, 217, 0.05);
    border-bottom: 1px solid rgba(74, 144, 217, 0.12);
}

.premium-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
}

.premium-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-1);
}

.premium-body {
    padding: 14px 16px;
}

.premium-body h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-1);
}

.premium-body p {
    font-size: 11px;
    color: var(--text-3);
    margin-bottom: 12px;
    line-height: 1.55;
}

.premium-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.premium-features li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: var(--text-2);
}

.premium-features li svg {
    stroke: var(--blue);
    flex-shrink: 0;
}

.buy-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    background: var(--text-1);
    color: var(--bg);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--r-sm);
    transition: all 0.18s;
}

.buy-now-btn:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(240, 244, 248, 0.12);
}

/* AI Briefing */
.ai-briefing-card {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(234, 179, 8, 0.2) !important;
}

.ai-title {
    color: #e8c537 !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
}

.ai-pulse {
    width: 6px;
    height: 6px;
    background: #e8c537;
    border-radius: 50%;
    box-shadow: 0 0 8px #e8c537;
    animation: pulse 1.8s infinite;
    flex-shrink: 0;
    display: inline-block;
}

.ai-narrative-text {
    font-size: 11px;
    color: var(--text-2);
    line-height: 1.65;
    white-space: pre-wrap;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--r-md);
    background: rgba(10, 13, 22, 0.97);
    border: 1px solid rgba(248, 113, 113, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    z-index: 9999;
    max-width: 340px;
    font-size: 13px;
    color: var(--text-2);
    animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.hiding {
    animation: toastOut 0.35s ease forwards;
}

.toast-icon {
    font-size: 16px;
    color: var(--sev-crit);
    flex-shrink: 0;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }

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

@keyframes toastOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* =========================================================
   PREMIUM LOCK CARD
   ========================================================= */
.premium-locked-card {
    position: relative;
    overflow: hidden;
}

.premium-lock-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 36px 28px;
    height: 100%;
    gap: 14px;
    background: rgba(8, 12, 22, 0.6);
    backdrop-filter: blur(4px);
    border-radius: var(--r-md);
}

.lock-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(124, 110, 247, 0.1);
    border: 1px solid rgba(124, 110, 247, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    margin-bottom: 4px;
}

.premium-lock-overlay h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-1);
    letter-spacing: -0.3px;
    margin: 0;
}

.premium-lock-overlay p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.65;
    max-width: 300px;
    margin: 0;
}

.lock-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #7c6ef7 0%, #4a90d9 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: var(--r-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.22s;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 20px rgba(124, 110, 247, 0.3);
}

.lock-cta-btn:hover {
    background: linear-gradient(135deg, #8b7cf6 0%, #5ba0e9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(124, 110, 247, 0.5);
}

.lock-price {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--r-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Premium PDF button glow */
.premium-pdf-btn {
    border-color: rgba(124, 110, 247, 0.4) !important;
    color: var(--violet) !important;
}

.premium-pdf-btn:hover {
    background: rgba(124, 110, 247, 0.08) !important;
    border-color: var(--violet) !important;
    box-shadow: 0 0 20px rgba(124, 110, 247, 0.2) !important;
}

/* =========================================================
   SCORE ALERT
   ========================================================= */
.score-alert {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.1px;
    display: none;
    text-align: left;
}

.score-alert.alert-critical {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.score-alert.alert-high {
    display: block;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.28);
    color: #fdba74;
}

.score-alert.alert-med {
    display: block;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.25);
    color: #fde047;
}

.score-alert.alert-low {
    display: block;
    background: rgba(74, 222, 128, 0.07);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: #86efac;
}

.risk-prob {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    margin: -10px 0 15px;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: flashRisk 2s infinite;
}

.risk-prob.crit {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.risk-prob.high {
    color: #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.2);
}

@keyframes flashRisk {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* =========================================================
   SCORE CTA BLOCK
   ========================================================= */
.score-cta-block {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-urgency-text {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.6;
    margin: 0;
}

.score-main-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 18px;
    background: linear-gradient(135deg, #7c6ef7 0%, #4a90d9 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--r-md);
    text-decoration: none;
    transition: all 0.22s;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 20px rgba(124, 110, 247, 0.3);
    line-height: 1.4;
}

.score-main-cta:hover {
    background: linear-gradient(135deg, #8b7cf6 0%, #5ba0e9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(124, 110, 247, 0.5);
}

.cta-sub-note {
    font-size: 10px;
    color: var(--text-3);
    text-align: center;
    letter-spacing: 0.3px;
    margin: 0;
}

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-section {
    padding: 100px 48px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.faq-inner {
    max-width: 800px;
    margin: 0 auto;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-2);
    border: 1px solid var(--border-hi);
    border-radius: var(--r-md);
    padding: 24px 32px;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
    background: rgba(12, 15, 26, 0.98);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-q {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-q::before {
    content: "Q.";
    color: var(--blue);
    font-weight: 800;
}

.faq-a {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    margin-left: 28px;
}

/* =========================================================
   MOBILE RESPONSIVE — UX OPTIMIZATION
   ========================================================= */

@media (max-width: 1024px) {
    .nav-inner {
        padding: 0 24px;
    }

    .hero-content {
        padding: 100px 24px 80px;
    }

    .hero-h1 {
        font-size: clamp(36px, 6vw, 54px);
    }

    .hero-stats-card {
        padding: 16px 20px;
        min-width: 220px;
    }

    .capabilities-strip {
        padding: 80px 24px;
    }

    .cap-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .cta-banner {
        padding: 80px 24px;
    }

    .footer-inner {
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        padding: 0 16px;
        gap: 12px;
        height: 60px;
        justify-content: space-between;
    }

    .nav-links {
        display: none;
    }

    .nav-brand {
        gap: 8px;
    }

    .nav-logo-img {
        height: 24px;
    }

    .nav-btn-primary {
        font-size: 10px;
        padding: 6px 12px;
        text-align: center;
        line-height: 1.2;
        white-space: nowrap;
        max-width: 160px;
    }

    .nav-btn-primary svg {
        display: none;
    }

    .hero-content {
        padding: 120px 20px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-h1 {
        font-size: 36px;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 36px;
    }

    .hero-scan-row {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }

    .hero-scan-btn {
        width: 100%;
        height: 54px;
    }

    .hero-trust-row {
        justify-content: center;
        gap: 16px;
    }

    .trust-divider {
        display: none;
    }

    .hero-stats-card {
        width: 100%;
        margin: 32px 0 0;
        padding: 16px;
        display: flex;
        align-items: center;
        border-radius: var(--r-md);
    }

    .stats-card-items {
        flex: 1;
        display: flex;
        justify-content: space-around;
        gap: 10px;
    }

    .stats-item {
        flex: 1;
    }

    .stats-val {
        font-size: 16px;
    }

    .cap-inner {
        grid-template-columns: 1fr;
    }

    .cap-card {
        padding: 24px 20px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .cta-actions {
        width: 100%;
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    /* Scanner App Mobile Resets */
    .app-workspace {
        padding: 16px;
        overflow-y: auto;
    }

    .initial-hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .search-wrap-hero {
        flex-direction: column;
        gap: 12px;
    }

    .search-wrap-hero button {
        width: 100%;
        height: 52px;
    }

    /* Results layout fix for mobile */
    .results-layout {
        flex-direction: column;
        height: auto;
        overflow: visible;
        gap: 24px;
    }

    .score-overall,
    .intelligence-panel,
    .lists-container {
        width: 100% !important;
        flex-shrink: 0;
    }

    .score-circle-wrap {
        width: 200px;
        height: 200px;
        margin: 24px auto;
    }

    .score-circle-wrap .score-hero {
        font-size: 64px;
    }

    .intel-grid {
        max-height: none;
        overflow: visible;
    }

    .lists-container {
        flex-direction: column;
    }

    .list-card {
        height: auto;
        max-height: none;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        padding: 0 16px;
        height: 64px;
    }

    .nav-brand-name {
        display: none;
    }

    .hero-h1 {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 26px;
    }

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

    .stats-val {
        font-size: 14px;
    }

    .stats-key {
        font-size: 8px;
    }
}

/* PayPal Integration Styling */
.paypal-container,
.paypal-container-sec {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 5px;
    min-height: 45px;
    position: relative;
    z-index: 10;
}

/* Fix for PayPal SDK disclaimer text visibility on dark theme */
.paypal-container div,
.paypal-container span,
.paypal-container p,
.paypal-container-sec div,
.paypal-container-sec span,
.paypal-container-sec p {
    color: var(--text-2) !important;
    font-size: 11px !important;

}

/* Strategic Scan Highlights */
.hero-scan-input-wrap {
    position: relative;
}

.cta-floating-badge {
    position: absolute;
    top: -14px;
    left: 12px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(74, 144, 217, 0.3);
    animation: badgeFloat 3s infinite ease-in-out;
    pointer-events: none;
    z-index: 5;
    white-space: nowrap;
}

@keyframes badgeFloat {

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

    50% {
        transform: translateY(-3px) rotate(1deg);
    }
}

.hero-scan-row {
    animation: rowEntrance 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes rowEntrance {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

/* =========================================================
   PAYMENT ROUTING & MERCADO PAGO STYLES
   ========================================================= */
#payment-methods-wrapper,
#payment-methods-secondary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}

.mp-checkout-btn {
    width: 100%;
    min-height: 54px;
    padding: 16px 24px;
    background: #009ee3;
    color: #ffffff;
    border: none;
    border-radius: var(--r-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 158, 227, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mp-checkout-btn:hover {
    background: #008ad0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 158, 227, 0.35);
}

.mp-checkout-btn:active {
    transform: translateY(0);
}

.mp-btn-sec {
    min-height: 46px;
    padding: 12px 20px;
    font-size: 14px;
    background: rgba(0, 158, 227, 0.1);
    border: 1px solid rgba(0, 158, 227, 0.3);
    color: #00bef0;
}

.mp-btn-sec:hover {
    background: rgba(0, 158, 227, 0.2);
}

.text-red {
    color: var(--sev-crit);
}

.text-orange {
    color: var(--sev-high);
}

.text-green {
    color: var(--sev-ok);
}

.paypal-button-tagline {
    display: none !important;
}