:root {
    /* Color Palette */
    --primary-color: #2c7a7b;
    --primary-hover: #234e52;
    --bg-color: #f1f5f9;
    --surface-color: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-color: #cbd5e1;

    /* Evidence Coverage Level Colours */
    --risk-low: #059669;
    --risk-low-bg: #d1fae5;
    --risk-med: #d97706;
    --risk-med-bg: #fef3c7;
    --risk-high: #dc2626;
    --risk-high-bg: #fee2e2;

    /* Spacing & Border */
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --transition: all 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

/* Header */
.app-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.logo-img {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

.logo-link:hover .logo-img {
    transform: rotate(-8deg) scale(1.1);
}

.brand-name {
    font-weight: 800;
    font-size: 1.7rem;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
}

.brand-vendor {
    color: var(--text-main);
}

.brand-inspect {
    color: var(--primary-color);
}

.app-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.app-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* Utilities */
.card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
}

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

/* Typography */
h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    letter-spacing: -0.01em;
}

.text-primary {
    color: var(--primary-color);
}

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

/* Forms */
.form-group {
    margin-bottom: 1.75rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.required {
    color: var(--risk-high);
}

input[type="text"],
input[type="url"],
select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    background-color: #fff;
    transition: var(--transition);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* File Upload */
.file-upload-zone {
    border: 2px dashed #94a3b8;
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    background-color: #f8fafc;
    transition: var(--transition);
}

.file-upload-zone:hover {
    border-color: var(--primary-color);
    background-color: #eff6ff;
}

.file-upload-zone svg {
    color: #64748b;
    margin-bottom: 1rem;
}

.file-list {
    list-style: none;
    margin-top: 1rem;
}

.file-list li {
    font-size: 0.9rem;
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

/* Loading State & Scan UI */
.loader-container {
    padding: 1.5rem;
    max-width: 650px;
    margin: 0 auto;
}

.scan-target-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.scan-target-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #2dd4bf);
}

.scan-target-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.scan-vendor-name {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.scan-url-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: var(--primary-hover);
    font-weight: 500;
}

.scan-progress-box {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    background: white;
    box-shadow: var(--shadow-sm);
}

.spinner-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
}

.spinner {
    position: absolute;
    inset: 0;
    border: 4px solid #e2e8f0;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

.spinner-pulse {
    position: absolute;
    inset: -10px;
    background: rgba(44, 122, 123, 0.12);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
    border-radius: 999px;
    margin: 2.5rem 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #2dd4bf);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 999px;
}

.loading-steps {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.step {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.step::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
    color: var(--text-main);
    font-weight: 500;
}

.step.active::before {
    border-color: var(--primary-color);
    background: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 122, 123, 0.2);
}

.step.done {
    opacity: 1;
    color: var(--text-main);
}

.step.done::before {
    border-color: #10b981;
    background: #10b981;
}

/* ── Executive Intelligence Dashboard ───────────────────────────────── */
.exec-dashboard {
    display: grid;
    grid-template-columns: 220px 1px 1fr;
    margin-bottom: 2.5rem;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    color: var(--text-main);
    position: relative;
}

/* Ambient glow orbs */
.exec-dashboard::before,
.exec-dashboard::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.exec-dashboard::before {
    width: 260px; height: 260px;
    top: -80px; left: -60px;
    background: radial-gradient(circle, rgba(45,212,191,0.08) 0%, transparent 70%);
}
.exec-dashboard::after {
    width: 200px; height: 200px;
    bottom: -60px; right: 320px;
    background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, transparent 70%);
}

.exec-dash-panel {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* ── Score Panel ─────────────────────────────────────────── */
.exec-dash-score {
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.6rem;
    padding: 2.25rem 1.75rem;
}

.exec-score-eyebrow {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #0d9488;
    margin-bottom: 0.5rem;
}

/* Donut ring */
.dash-score-ring {
    position: relative;
    width: 118px;
    height: 118px;
    flex-shrink: 0;
    margin: 0 auto 0.75rem;
}
.dash-ring-svg {
    width: 118px;
    height: 118px;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 8px rgba(45,212,191,0.3));
}
.dash-ring-bg { fill: none; stroke: var(--bg-color); stroke-width: 9; }
.dash-ring-track { fill: none; stroke: var(--bg-color); stroke-width: 9; }
.dash-ring-fill {
    fill: none;
    stroke-width: 9;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.dash-ring-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.dash-score-num {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--text-main);
    display: block;
}
.dash-score-denom {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    margin-top: 0.1rem;
}

.dash-coverage-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.28rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.35);
    color: #2dd4bf;
    background: rgba(45, 212, 191, 0.1);
}
.dash-coverage-pill::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #2dd4bf;
    box-shadow: 0 0 6px #2dd4bf;
}

.dash-score-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    margin-top: 0.35rem;
}

/* ── Divider ─────────────────────────────────────────────── */
.exec-dash-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-color) 30%, var(--border-color) 70%, transparent);
    align-self: stretch;
    z-index: 1;
}

/* ── Metrics Panel ───────────────────────────────────────── */
.exec-dash-right-col {
    display: flex;
    flex-direction: column;
}

.exec-dash-hr {
    height: 1px;
    background: var(--border-color);
    margin: 0 2rem;
}

.exec-dash-metrics {
    justify-content: center;
    gap: 0;
    padding: 1.75rem 2rem 1.25rem;
}

.dash-panel-heading {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.15rem;
}

.dash-metric-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}
.dash-metric-row:last-child { border-bottom: none; }

.dash-metric-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.dash-metric-info { flex: 1; min-width: 0; }

.dash-metric-label {
    display: block;
    font-size: 0.63rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.12rem;
}

.dash-metric-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.18rem 0.55rem;
    border-radius: 5px;
    flex-shrink: 0;
    letter-spacing: 0.05em;
    white-space: nowrap;
    text-transform: uppercase;
}
.dash-chip-green { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.2); }
.dash-chip-amber { background: rgba(245,158,11,0.15);  color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }
.dash-chip-red   { background: rgba(239,68,68,0.15);   color: #f87171; border: 1px solid rgba(248,113,113,0.2); }
.dash-chip-teal  { background: rgba(45,212,191,0.12);  color: #2dd4bf; border: 1px solid rgba(45,212,191,0.18); }
.dash-chip-slate { background: rgba(148,163,184,0.12); color: #94a3b8; border: 1px solid rgba(148,163,184,0.18); }

/* ── Inspector Note Panel ────────────────────────────────── */
.exec-dash-note {
    background: transparent;
    border-left: none;
    gap: 0.65rem;
    justify-content: center;
    padding: 1.25rem 2rem 1.75rem;
}

.dash-note-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #0d9488;
    margin-bottom: 0.5rem;
}

.dash-note-body {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-main);
    border-left: 2px solid #0d9488;
    padding-left: 0.9rem;
    font-style: italic;
    margin: 0;
}

.dash-note-disclaimer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.63rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Base card */
.kpi-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}
.kpi-card:hover { box-shadow: var(--shadow-md); }

/* Score Hero */
.kpi-card--score {
    background: linear-gradient(135deg, #0f172a 0%, #1a2e44 100%);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}
.kpi-card--score::after {
    content: '';
    position: absolute;
    bottom: -30px; right: -30px;
    width: 110px; height: 110px;
    border-radius: 50%;
    background: rgba(44, 122, 123, 0.2);
    pointer-events: none;
}
.kpi-card--score .kpi-title {
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
}

/* Ring sits above the number */
.kpi-score-ring {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 0.5rem;
}
.kpi-ring-svg {
    width: 90px;
    height: 90px;
    transform: rotate(-90deg);
}
.kpi-ring-track { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 7; }
.kpi-ring-fill {
    fill: none;
    stroke: #2dd4bf;
    stroke-width: 7;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Number overlaid in center of ring */
.kpi-ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.kpi-score-number {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
}
.kpi-score-number span {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
}
.kpi-score-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.15rem;
    letter-spacing: 0.03em;
}

/* Coverage label under ring */
.kpi-coverage-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(45, 212, 191, 0.18);
    color: #2dd4bf;
    margin-top: 0.25rem;
}

.kpi-card--score .kpi-sub {
    color: rgba(255,255,255,0.38);
    font-size: 0.72rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 0.65rem;
    margin-top: 0.5rem;
    text-align: center;
    width: 100%;
}

/* Metric Cards */
.kpi-card--metric {
    border-top: 3px solid transparent;
    gap: 0.25rem;
}
.kpi-card--metric .kpi-icon {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0.65rem;
    flex-shrink: 0;
}

.kpi-card-high  { border-top-color: var(--risk-high);  }
.kpi-card-high  .kpi-icon { background: var(--risk-high-bg); color: var(--risk-high); }
.kpi-card-med   { border-top-color: var(--risk-med);   }
.kpi-card-med   .kpi-icon { background: var(--risk-med-bg);  color: var(--risk-med);  }
.kpi-card-low   { border-top-color: var(--risk-low);   }
.kpi-card-low   .kpi-icon { background: var(--risk-low-bg);  color: var(--risk-low);  }
.kpi-card-none  { border-top-color: var(--primary-color); }
.kpi-card-none  .kpi-icon { background: #f0fdfa; color: var(--primary-color); }

.kpi-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.kpi-value {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-main);
}

.kpi-sub {
    font-size: 0.73rem;
    color: #94a3b8;
    padding-top: 0.5rem;
    margin-top: 0.4rem;
    border-top: 1px solid #f1f5f9;
}

.kpi-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-top: 0.4rem;
    width: fit-content;
}
.pill-low  { background: var(--risk-low-bg);  color: #065f46; }
.pill-med  { background: var(--risk-med-bg);  color: #92400e; }
.pill-high { background: var(--risk-high-bg); color: #b91c1c; }

/* Report Grid — signals + chart stacked */
.report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.report-summary-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.chart-section {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.chart-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.chart-legend {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.legend-dot {
    width: 10px; height: 10px;
    border-radius: 3px;
    display: inline-block;
    margin-right: 4px;
}
.legend-dot--high  { background: rgba(16, 185, 129, 0.9); }
.legend-dot--med   { background: rgba(245, 158, 11, 0.9); }
.legend-dot--low   { background: rgba(220, 38, 38, 0.85); }

.chart-container {
    width: 100%;
    height: 380px;
    position: relative;
}

/* keep old .chart-container inside .chart-section from enforcing min-height via old rule */
.chart-section .chart-container {
    min-height: unset;
    border: none;
    padding: 0;
    box-shadow: none;
    background: transparent;
}

/* Report Styles */
.actions-bar {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.report-content {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3.5rem 4rem;
    font-size: 0.95rem;
}

.report-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
}

.report-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.report-title-section h1 {
    font-size: 2.25rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

/* Lists */
.highlights-list {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.highlights-list li {
    margin-bottom: 0.5rem;
}

/* Sections */
.detail-section-block {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.detail-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.detail-section-header h3 {
    margin: 0;
    font-size: 1.15rem;
}


.gap-box {
    background: #fef2f2;
    border-left: 3px solid var(--risk-high);
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    border-radius: 0 6px 6px 0;
}

.recommendation-box {
    background: #f0fdfa;
    border-left: 3px solid #0d9488;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    border-radius: 0 6px 6px 0;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Evidence Coverage Badges — per-point (Strong / Moderate / Limited) */
.badge-cov-strong {
    background: var(--risk-low-bg);
    color: #065f46;
}

.badge-cov-moderate {
    background: var(--risk-med-bg);
    color: #92400e;
}

.badge-cov-limited {
    background: var(--risk-high-bg);
    color: #b91c1c;
}

/* Overall score labels (Strong/Moderate/Developing/Minimal Coverage) */
.badge-cov-strong-coverage {
    background: var(--risk-low-bg);
    color: #065f46;
}

.badge-cov-moderate-coverage {
    background: var(--risk-med-bg);
    color: #92400e;
}

.badge-cov-developing-coverage {
    background: var(--risk-high-bg);
    color: #b91c1c;
}

.badge-cov-minimal-coverage {
    background: #991b1b;
    color: #fff;
}

/* Keep legacy risk badge names for backward compat */
.badge-risk-low {
    background: var(--risk-low-bg);
    color: #065f46;
}

.badge-risk-medium {
    background: var(--risk-med-bg);
    color: #92400e;
}

.badge-risk-high {
    background: var(--risk-high-bg);
    color: #b91c1c;
}

.badge-risk-critical {
    background: #991b1b;
    color: #fff;
}

.badge-conf-high {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: var(--text-main);
}

.badge-conf-mod {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: var(--text-muted);
}

.badge-conf-low {
    border: 1px dashed var(--risk-med);
    background: #fff;
    color: var(--risk-med);
}

.evidence-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-top: 1rem;
    table-layout: fixed;
}

.evidence-table th {
    text-align: left;
    padding: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-muted);
}

.evidence-table td {
    text-align: left;
    padding: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    word-break: break-word;
    overflow-wrap: break-word;
}
.evidence-table th:nth-child(1), .evidence-table td:nth-child(1) { width: 40%; }
.evidence-table th:nth-child(2), .evidence-table td:nth-child(2) { width: 45%; }
.evidence-table th:nth-child(3), .evidence-table td:nth-child(3) { width: 15%; }

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

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

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

/* Footer */
.app-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.app-footer strong {
    color: var(--text-main);
}

@media print {
    @page { margin: 1.5cm; size: A4; }

    /* Force browsers to print background colours & gradients */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body { background-color: white; }

    .app-container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Hide UI chrome */
    .app-header,
    .no-print,
    .actions-bar {
        display: none !important;
    }

    .report-content {
        box-shadow: none;
        padding: 0;
        border: none;
    }

    /* KPI grid: keep 4 columns on A4 landscape-ish, works fine */
    .kpi-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    /* Preserve the dark score card gradient */
    .kpi-card--score {
        background: linear-gradient(135deg, #0f172a 0%, #1a2e44 100%) !important;
        color: #fff !important;
    }
    .kpi-card--score .kpi-title { color: rgba(255,255,255,0.6) !important; }
    .kpi-card--score .kpi-sub   { color: rgba(255,255,255,0.38) !important; }

    /* Remove the destructive border override that wrecked metric card top-borders */
    .kpi-card {
        page-break-inside: avoid;
        break-inside: avoid;
        /* DO NOT override border here — let each card's own border-top color show */
    }

    /* Preserve coloured metric card tops */
    .kpi-card-high { border-top-color: var(--risk-high) !important; }
    .kpi-card-med  { border-top-color: var(--risk-med)  !important; }
    .kpi-card-low  { border-top-color: var(--risk-low)  !important; }
    .kpi-card-none { border-top-color: var(--primary-color) !important; }

    /* Preserve icon background colours */
    .kpi-card-high .kpi-icon { background: var(--risk-high-bg) !important; color: var(--risk-high) !important; }
    .kpi-card-med  .kpi-icon { background: var(--risk-med-bg)  !important; color: var(--risk-med)  !important; }
    .kpi-card-low  .kpi-icon { background: var(--risk-low-bg)  !important; color: var(--risk-low)  !important; }
    .kpi-card-none .kpi-icon { background: #f0fdfa !important; color: var(--primary-color) !important; }

    /* Coverage tag */
    .kpi-coverage-tag {
        background: rgba(45, 212, 191, 0.18) !important;
        color: #2dd4bf !important;
    }

    /* Report signals grid: stack for print */
    .report-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    /* Chart: keep it in flow, avoid page break inside */
    .chart-section {
        page-break-inside: avoid;
        break-inside: avoid;
        margin-top: 0;
    }
    .chart-container { height: 340px; }

    /* Inspection Point blocks */
    .detail-section-block {
        page-break-inside: avoid;
        break-inside: avoid;
        border-color: #e2e8f0;
        margin-bottom: 1.5rem;
    }

    /* Preserve gap & recommendation left-border colours */
    .gap-box { border-left-color: var(--risk-high) !important; background: #fef2f2 !important; }
    .recommendation-box { border-left-color: #0d9488 !important; background: #f0fdfa !important; }

    /* Evidence table */
    .evidence-table tr { page-break-inside: avoid; }
}

/* ── LANDING PAGE STYLES ── */
.navbar {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: none;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links a {
    margin-right: 1.5rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-color); }

.hero-section.split-hero {
    padding: 4rem 2rem 5rem;
    background: radial-gradient(circle at 70% 30%, rgba(45, 212, 191, 0.15) 0%, rgba(248, 250, 252, 0) 50%),
                radial-gradient(circle at 30% 70%, rgba(13, 148, 136, 0.1) 0%, rgba(248, 250, 252, 1) 50%);
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.hero-section.split-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.35;
    z-index: 0;
}

.hero-container {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: rgba(45, 212, 191, 0.12);
    color: #0f766e;
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 10px rgba(45, 212, 191, 0.1);
}

.hero-headline {
    font-size: 3.75rem;
    line-height: 1.05;
    font-weight: 900;
    background: linear-gradient(135deg, #0f172a 30%, #0d9488 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.25rem;
    letter-spacing: -0.04em;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2.25rem;
    max-width: 95%;
}

.pill-input-group {
    display: flex;
    background: #fff;
    padding: 0.5rem;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.pill-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    outline: none;
}
.pill-input-group input:focus { box-shadow: none; border: none; }

.pill-btn {
    border-radius: 999px;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    white-space: nowrap;
    background: var(--primary-color);
    color: white;
}

.hero-guarantee {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 1rem;
    margin-left: 1.5rem;
}

.hero-social-proof {
    margin-top: 3.5rem;
}
.hero-social-proof p { color: #64748b; font-size: 0.9rem; font-weight: 500; margin-bottom: 1rem; }
.logo-strip {
    display: flex;
    gap: 2rem;
    opacity: 0.5;
    flex-wrap: wrap;
}
.mock-logo { font-size: 1.25rem; font-weight: 700; color: #334155; }

/* Right Column Floating UI */
.hero-right {
    position: relative;
    min-height: 450px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-top: 0.5rem;
}

.floating-ui-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.ui-card {
    background: #fff;
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(13, 148, 136, 0.2);
    position: relative;
    overflow: hidden;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.main-report-card {
    width: 440px;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.m-header {
    background: #f8fafc;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.m-header h4 { font-size: 1.1rem; margin: 0; font-weight: 700; color: #0f172a;}
.m-header span { font-size: 0.85rem; color: #64748b; }

.m-body { padding: 1.5rem; position: relative; }
.blur-gradient {
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.float-kpi-card {
    width: 220px;
    left: -80px;
    top: 160px;
    padding: 1.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.kpi-score-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}
.kpi-score-ring .score-num { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.kpi-score-ring .score-max { font-size: 0.7rem; }
.kpi-info .lbl { font-size: 0.85rem; font-weight: 700; color: #475569; text-transform: uppercase; }

.float-security-card {
    width: 240px;
    right: -60px;
    bottom: 50px;
    padding: 1.2rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.sec-text strong { display: block; font-size: 0.95rem; color: #0f172a; }
.sec-text span { font-size: 0.8rem; color: #64748b; }

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes float-alt {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
    opacity: 0;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.float-anim { animation: float 6s ease-in-out infinite; }
.float-anim-alt { animation: float-alt 7s ease-in-out infinite; animation-delay: 1s; }

/* ── SAMPLE REPORT SECTION ── */
.sample-section {
    padding: 6rem 2rem;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.sample-container {
    max-width: 1080px;
    margin: 0 auto;
}

.sample-header {
    max-width: 650px;
    margin: 0 auto 4rem;
}

.sample-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.sample-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sample-benefits {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(44, 122, 123, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

/* Sample Teaser Card */
.sample-teaser-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #fff;
}

.sample-teaser-left {
    background: #f8fafc;
    border-right: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
}

.teaser-score-ring {
    position: relative;
    width: 110px;
    height: 110px;
}

.teaser-score-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.teaser-score-num {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.teaser-score-denom {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.teaser-vendor-info { text-align: center; }
.teaser-vendor-name { font-size: 1.15rem; font-weight: 700; color: var(--text-main); }
.teaser-vendor-url { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }

.sample-teaser-right {
    padding: 2.5rem;
}

.sample-teaser-right h3 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: var(--text-main);
}

.teaser-dim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 2rem;
}

.teaser-dim {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.teaser-dim-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-green { background: #10b981; }
.dot-amber { background: #f59e0b; }
.dot-red   { background: #ef4444; }

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Animated Mockup Window */
.report-anim-window {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    height: 450px;
}

.report-anim-window::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), #2dd4bf);
}

.r-head { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: center; }
.r-logo { width: 36px; height: 36px; border-radius: 6px; background: #e2e8f0; }
.r-title-bars { flex: 1; }
.r-bar { height: 10px; background: #e2e8f0; border-radius: 5px; margin-bottom: 8px; }
.r-bar-long { width: 70%; background: #cbd5e1; }
.r-bar-short { width: 40%; }
.w-short { width: 60% !important; }

.r-dashboard {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    margin-bottom: 2rem;
    background: #f8fafc;
}

.r-score-circle {
    width: 60px; height: 60px;
    border: 6px solid #2dd4bf;
    border-left-color: #e2e8f0;
    border-radius: 50%;
    position: relative;
    transform: rotate(-45deg);
}

.r-metrics { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.r-metric-row { height: 8px; background: #cbd5e1; border-radius: 4px; width: 100%; }

.r-inspection point {
    margin-bottom: 1.5rem;
}
.r-dim-header { height: 14px; width: 40%; background: #94a3b8; border-radius: 4px; margin-bottom: 1rem; }
.r-skel-line { height: 8px; width: 100%; background: #f1f5f9; border-radius: 4px; margin-bottom: 8px; }

.r-scanner-line {
    position: absolute;
    left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(45,212,191,0), rgba(45,212,191,0.1) 95%, rgba(45,212,191,0.5) 100%);
    top: -100px;
    animation: scanPulse 3s infinite ease-in-out;
    pointer-events: none;
}

@keyframes scanPulse {
    0% { top: -100px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-right { display: none; }
    .hero-guarantee { margin-left: 0; }
    .logo-strip { justify-content: center; }
    .sample-content { grid-template-columns: 1fr; gap: 3rem; }
    .report-anim-window { height: 350px; }
}

.features-section {
    padding: 5rem 2rem;
    background: #f8fafc;
}
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}
.section-header h2 { font-size: 2.5rem; font-weight: 700; color: #0f172a; letter-spacing: -0.02em; }
.section-header p { font-size: 1.1rem; color: #64748b; margin-top: 0.5rem; margin-bottom: 3rem; }
.text-center { text-align: center; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}
.feature-card .f-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; font-weight: 600; color: #0f172a; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: #64748b; line-height: 1.5; }

.sample-section {
    padding: 5rem 2rem 7rem;
    background: #fff;
}
.sample-report-mockup {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
    overflow: hidden;
}
.mockup-header {
    background: #f1f5f9;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}
.mockup-header h4 { margin:0; font-size: 1.25rem; font-weight: 700; color:#0f172a; }
.mockup-header span { font-size: 0.9rem; color:#64748b; }
.mockup-kpis {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    border-bottom: 1px dashed #cbd5e1;
}
.m-kpi {
    flex: 1;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}
.m-kpi .val { display:block; font-size: 2rem; font-weight: 800; color:#0f172a; margin-bottom: 0.25rem; }
.m-kpi .lbl { font-size: 0.8rem; text-transform:uppercase; font-weight:600; color:#94a3b8; letter-spacing:0.05em; }

.mockup-body { padding: 2rem; position: relative; }
.m-dim { margin-bottom: 1.5rem; }
.m-dim h5 { font-size: 1rem; font-weight: 600; color: #0f172a; margin-bottom: 0.5rem; border-left: 3px solid var(--primary-color); padding-left: 0.5rem; }
.m-dim p { font-size: 0.9rem; color: #475569; line-height: 1.5; }

.blur-wrapper {
    position: relative;
    padding-top: 1rem;
}
.blur-wrapper > .m-dim { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
.paywall-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}
.paywall-banner .lock-icon {
    width: 64px; height: 64px; background: #eff6ff; color: var(--primary-color);
    border-radius: 50%; display: flex; align-items:center; justify-content:center;
    margin: 0 auto 1.5rem;
}
.paywall-banner h3 { font-size: 1.3rem; font-weight:700; color:#0f172a; margin-bottom:0.5rem; margin-top:0; }
.paywall-banner p { font-size: 0.95rem; color:#475569; line-height:1.5; margin-bottom: 1.5rem; }
.secure-text { display:block; margin-top:0.75rem; font-size:0.75rem; color:#64748b; font-weight:500; }

/* Modal Styles */
.modal-overlay {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(15,23,42,0.6); backdrop-filter: blur(4px);
    z-index: 1000; display:flex; align-items:center; justify-content:center;
}
.modal-content {
    background: #fff; width: 90%; max-width: 500px;
    border-radius: 16px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    overflow: hidden;
}
.modal-header {
    padding: 1.5rem; border-bottom: 1px solid #e2e8f0;
    display:flex; justify-content:space-between; align-items:center;
}
.modal-header h3 { margin:0; font-size: 1.25rem; font-weight: 700; color:#0f172a; }
.btn-close { background:none; border:none; font-size:1.5rem; color:#94a3b8; cursor:pointer; }
.btn-close:hover { color:#0f172a; }
.modal-body { padding: 1.5rem; }
.mock-payment-box {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 1rem; margin-top: 1rem;
}
.hidden { display: none !important; }

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-headline { font-size: 2.5rem; margin-top:1rem; }
    .hero-input-group { flex-direction: column; }
    .hero-input-group button { width: 100%; }
}
