/* ============================================================
   EXPOSED — Design System
   Premium dark theme, inspired by EasyStreet's aesthetic.
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- Design Tokens --- */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --bg-terminal: #0d0d14;
    --bg-input: #111118;

    /* Accents */
    --accent: #6c5ce7;
    --accent-bright: #a29bfe;
    --cyan: #00cec9;
    --green: #00b894;
    --red: #ff4757;
    --orange: #fdcb6e;
    --yellow: #ffeaa7;

    /* Severity colors */
    --sev-critical: #ff4757;
    --sev-high: #ff6b6b;
    --sev-medium: #fdcb6e;
    --sev-low: #74b9ff;
    --sev-info: #636e72;

    /* Text */
    --text-primary: #e8e8f0;
    --text-secondary: #a0a0b8;
    --text-muted: #606078;

    /* Borders */
    --border: #1e1e2e;
    --border-accent: #2d2d44;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --section-padding: 80px 0;
    --max-width: 1100px;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
    --gradient-card: linear-gradient(145deg, rgba(108, 92, 231, 0.08), rgba(0, 206, 201, 0.04));
    --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(108, 92, 231, 0.15) 0%, transparent 60%);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-bright); }

/* --- Utility --- */
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.85);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.nav.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.95);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--gradient-hero);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    color: #fff;
}

.logo-text {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
    background: var(--gradient-hero) !important;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Mobile nav */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    transition: all 0.3s;
}

.nav-overlay.open { opacity: 1; visibility: visible; }

.nav-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 999;
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: right 0.3s;
}

.nav-drawer.open { right: 0; }

.nav-drawer a {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

/* --- Hero --- */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    pointer-events: none;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-bright);
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Domain input bar */
.scan-bar {
    display: flex;
    max-width: 520px;
    margin: 0 auto 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s;
}

.scan-bar:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.scan-bar input {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--mono);
    font-size: 0.95rem;
    outline: none;
}

.scan-bar input::placeholder {
    color: var(--text-muted);
}

.scan-bar button {
    padding: 16px 28px;
    background: var(--gradient-hero);
    border: none;
    color: #fff;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.scan-bar button:hover { opacity: 0.9; }
.scan-bar button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hero-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Hero stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: var(--mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-bright);
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-accent);
}

/* --- Sections --- */
section {
    padding: var(--section-padding);
}

section h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 12px;
}

.section-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* --- What It Checks (Feature Grid) --- */
.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.check-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s ease;
}

.check-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.check-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.check-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.check-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.check-count {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--cyan);
    background: rgba(0, 206, 201, 0.1);
    padding: 3px 10px;
    border-radius: 100px;
    margin-top: 12px;
}

/* --- Sample Report --- */
.sample-report {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.sample-header {
    padding: 20px 24px;
    background: var(--bg-terminal);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sample-dots {
    display: flex;
    gap: 6px;
}

.sample-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sample-dots .red { background: #ff5f57; }
.sample-dots .yellow { background: #febc2e; }
.sample-dots .green { background: #28c840; }

.sample-title {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sample-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sample-badge.example {
    background: rgba(253, 203, 110, 0.15);
    color: var(--orange);
    border: 1px solid rgba(253, 203, 110, 0.2);
}

.sample-body {
    padding: 24px;
}

.sample-score {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.score-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--sev-high);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sev-high);
    flex-shrink: 0;
}

.score-detail h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sev-high);
    margin-bottom: 4px;
}

.score-detail p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.severity-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.sev-pill {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
}

.sev-pill.critical { background: rgba(255, 71, 87, 0.15); color: var(--sev-critical); }
.sev-pill.high { background: rgba(255, 107, 107, 0.15); color: var(--sev-high); }
.sev-pill.medium { background: rgba(253, 203, 110, 0.15); color: var(--sev-medium); }
.sev-pill.low { background: rgba(116, 185, 255, 0.15); color: var(--sev-low); }

/* Sample findings */
.sample-finding {
    background: var(--bg-terminal);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 10px;
}

.sample-finding:last-child { margin-bottom: 0; }

.finding-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.finding-sev {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.finding-sev.critical { background: var(--sev-critical); color: #fff; }
.finding-sev.high { background: var(--sev-high); color: #fff; }
.finding-sev.medium { background: var(--sev-medium); color: #000; }

.finding-title {
    font-size: 0.85rem;
    font-weight: 600;
}

.finding-evidence {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(0,0,0,0.3);
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
    overflow-x: auto;
}

/* --- How It Works --- */
.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 560px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.step-connector {
    width: 2px;
    height: 40px;
    background: var(--border-accent);
    margin-left: 23px;
}

/* --- FAQ --- */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-bright);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand span {
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.82rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-secondary); }

.footer-legal {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* --- Success Page --- */
.status-container {
    max-width: 600px;
    margin: 160px auto 80px;
    padding: 0 24px;
    text-align: center;
}

.status-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
}

.status-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.status-card h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.status-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: var(--bg-terminal);
    border-radius: 100px;
    margin: 28px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-hero);
    border-radius: 100px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-bar.indeterminate {
    width: 30%;
    animation: indeterminate 1.5s ease-in-out infinite;
}

@keyframes indeterminate {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

.status-steps {
    text-align: left;
    margin: 24px 0;
}

.status-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.status-step.active { color: var(--accent-bright); }
.status-step.done { color: var(--green); }

.status-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-accent);
    flex-shrink: 0;
}

.status-step.active .status-step-dot {
    background: var(--accent-bright);
    animation: pulse 1.5s infinite;
}

.status-step.done .status-step-dot { background: var(--green); }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient-hero);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    text-decoration: none;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.btn-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* --- Report Page --- */
.report-container {
    max-width: 900px;
    margin: 120px auto 80px;
    padding: 0 24px;
}

.report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.report-domain {
    font-family: var(--mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cyan);
}

.report-timestamp {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.report-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    align-items: center;
}

.report-score-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 2.2rem;
    font-weight: 900;
}

.report-score-ring.good { border: 4px solid var(--green); color: var(--green); }
.report-score-ring.warning { border: 4px solid var(--orange); color: var(--orange); }
.report-score-ring.danger { border: 4px solid var(--sev-critical); color: var(--sev-critical); }

.report-summary-text h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.report-summary-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Findings table */
.findings-section { margin-bottom: 40px; }

.findings-section h3 {
    font-size: 1.05rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.finding-row {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}

.finding-row:hover { border-color: var(--border-accent); }

.finding-row-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.finding-row-category {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--mono);
}

.finding-row-evidence {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    background: var(--bg-terminal);
    padding: 10px 14px;
    border-radius: 6px;
    margin-top: 10px;
    white-space: pre-wrap;
    word-break: break-all;
}

.finding-row-fix {
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(0, 184, 148, 0.05);
    border: 1px solid rgba(0, 184, 148, 0.15);
    border-radius: 6px;
    font-size: 0.82rem;
    color: var(--green);
}

.finding-row-fix strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Receipt */
.report-receipt {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.report-receipt div {
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.report-receipt div:last-child { border-bottom: none; }

.report-receipt .receipt-label { color: var(--text-secondary); }

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Error / Validation Messages --- */
.error-msg {
    color: var(--sev-critical);
    font-size: 0.82rem;
    margin-top: 8px;
    display: none;
}

.error-msg.show { display: block; }

/* --- Loading Spinner --- */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Legal Pages --- */
.legal-container {
    max-width: 700px;
    margin: 140px auto 80px;
    padding: 0 24px;
}

.legal-container h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.legal-container .legal-updated {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.legal-container h2 {
    font-size: 1.1rem;
    text-align: left;
    margin: 28px 0 12px;
}

.legal-container p, .legal-container li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-container ul {
    padding-left: 20px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .hero { padding: 130px 0 60px; }
    .hero-stats { gap: 16px; }
    .stat-divider { display: none; }
    .scan-bar {
        flex-direction: column;
        border-radius: var(--radius-sm);
    }
    .scan-bar button {
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }
    .check-grid { grid-template-columns: 1fr; }
    .report-summary { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}
