/* ── Reset & Variables ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Light theme */
    --bg: #f8f9fb;
    --bg-card: #ffffff;
    --bg-card-rgb: 255, 255, 255;
    --bg-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --accent: #2563eb;
    --accent-light: #dbeafe;
    --accent-glow: rgba(37, 99, 235, 0.15);
    --success: #059669;
    --success-bg: #ecfdf5;
    --warning: #d97706;
    --warning-bg: #fffbeb;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --skeleton: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

[data-theme="dark"] {
    --bg: #0f172a;
    --bg-card: #1e293b;
    --bg-card-rgb: 30, 41, 59;
    --text: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #334155;
    --accent: #3b82f6;
    --accent-light: #1e3a5f;
    --accent-glow: rgba(59, 130, 246, 0.2);
    --success-bg: #064e3b;
    --warning-bg: #451a03;
    --danger-bg: #450a0a;
    --skeleton: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ── Header ────────────────────────────────────────────── */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

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

.header__logo .logo-bg { color: var(--accent); }
.header__title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.header__tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    border-left: 1px solid var(--border);
    padding-left: 12px;
    margin-left: 4px;
}

.btn-icon {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
}
.btn-icon:hover { background: var(--accent-light); color: var(--accent); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
    background: var(--bg-hero);
    background-size: 200% 200%;
    animation: heroGradient 12s ease-in-out infinite;
    padding: 80px 32px 100px;
    min-height: calc(100vh - 57px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero.is-hidden {
    opacity: 0;
    max-height: 0;
    min-height: 0;
    padding: 0 32px;
    overflow: hidden;
    pointer-events: none;
}

@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero__content {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Radial glow behind search */
.hero__content::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero__headline {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__headline-light {
    font-weight: 300;
    opacity: 0.9;
}

.hero__sub {
    font-size: 1.15rem;
    color: #94a3b8;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Trust indicators */
.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    font-size: 0.82rem;
    color: #64748b;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero__trust-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.search-container { position: relative; max-width: 560px; margin: 0 auto; }

.search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: box-shadow 0.3s ease;
}
.search-box:focus-within {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
}

.search-icon { color: #94a3b8; flex-shrink: 0; }

#search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-family: var(--font);
    padding: 14px 12px;
    background: transparent;
    color: #1e293b;
    letter-spacing: 0.02em;
}
#search-input::placeholder { color: #cbd5e1; }

.search-btn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.search-btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.search-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.autocomplete {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 50;
    overflow: hidden;
}
.autocomplete.active { display: block; }

.autocomplete__item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1e293b;
    transition: background 0.15s;
}
.autocomplete__item:hover { background: #f1f5f9; }
.autocomplete__item-pc { font-weight: 600; font-family: monospace; font-size: 1rem; }
.autocomplete__item-area { font-size: 0.85rem; color: #64748b; }

.hero__examples {
    margin-top: 24px;
    font-size: 0.85rem;
    color: #64748b;
}

.example-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #94a3b8;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: monospace;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin: 0 4px;
}
.example-btn:hover { background: rgba(255,255,255,0.2); color: #e2e8f0; }

/* ── Country Selector ─────────────────────────────────── */
.country-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.country-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: #94a3b8;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.country-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #e2e8f0;
}

.country-btn--active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(1.05);
}

.country-flag {
    display: inline-block;
    width: 20px;
    height: 10px;
    border-radius: 2px;
    vertical-align: middle;
    overflow: hidden;
    flex-shrink: 0;
}

/* ── Dashboard ────────────────────────────────────────── */
.dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 32px 60px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.dashboard.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.dashboard__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-back {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    cursor: pointer;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
}
.btn-back:hover { background: var(--accent-light); color: var(--accent); }

.dashboard__title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    flex: 1;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 6px;
    display: inline-block;
}

.loading-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}
.loading-indicator.hidden { display: none; }

.loading-dots::after {
    content: '';
    animation: pulsingDots 1.4s steps(4, end) infinite;
}
@keyframes pulsingDots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--accent-light);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Cards ─────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    position: relative;
}

/* Top accent border */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    width: 0;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.card--loaded::before {
    width: 100%;
}

.card--loading .card__skeleton {
    height: 200px;
    background: var(--skeleton);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
    margin: 24px 28px;
}

/* Multi-line skeleton */
.card--loading .card__skeleton-lines {
    padding: 24px 28px;
}
.card__skeleton-line {
    height: 12px;
    background: var(--skeleton);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
    margin-bottom: 12px;
}
.card__skeleton-line:nth-child(1) { width: 40%; height: 10px; margin-bottom: 16px; }
.card__skeleton-line:nth-child(2) { width: 60%; height: 28px; margin-bottom: 20px; }
.card__skeleton-line:nth-child(3) { width: 100%; }
.card__skeleton-line:nth-child(4) { width: 85%; }
.card__skeleton-line:nth-child(5) { width: 70%; }

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.card--loaded {
    animation: cardFadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Staggered animation delays */
.dashboard__grid .card:nth-child(1).card--loaded { animation-delay: 0ms; }
.dashboard__grid .card:nth-child(2).card--loaded { animation-delay: 50ms; }
.dashboard__grid .card:nth-child(3).card--loaded { animation-delay: 100ms; }
.dashboard__grid .card:nth-child(4).card--loaded { animation-delay: 150ms; }
.dashboard__grid .card:nth-child(5).card--loaded { animation-delay: 200ms; }
.dashboard__grid .card:nth-child(6).card--loaded { animation-delay: 250ms; }
.dashboard__grid .card:nth-child(7).card--loaded { animation-delay: 300ms; }
.dashboard__grid .card:nth-child(8).card--loaded { animation-delay: 350ms; }
.dashboard__grid .card:nth-child(9).card--loaded { animation-delay: 400ms; }
.dashboard__grid .card:nth-child(10).card--loaded { animation-delay: 450ms; }

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.card__header {
    padding: 24px 28px 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card__header h3 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.card__metric {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.card__body { padding: 6px 28px 24px; }

/* Score badges */
.score-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}
.score-badge--good { background: var(--success-bg); color: var(--success); }
.score-badge--moderate { background: var(--warning-bg); color: var(--warning); }
.score-badge--poor { background: var(--danger-bg); color: var(--danger); }

/* Stat rows */
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.stat-row:last-child { border-bottom: none; }
.stat-row__label { color: var(--text-secondary); }
.stat-row__value { font-weight: 600; }

/* Progress bars */
.progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
}
.progress-bar__fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
}

/* ── Verdict Card ─────────────────────────────────────── */
.card--verdict {
    margin-bottom: 24px;
}

.card--verdict.card--loading .card__skeleton { height: 300px; }

.verdict-content {
    padding: 32px;
}

.verdict-top {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 28px;
}

.verdict-score-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-shrink: 0;
    position: relative;
}
.verdict-score-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 5px solid var(--border);
}
.verdict-score-ring__value {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #1e293b;
}
.verdict-score-ring__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
    margin-top: 4px;
}

.verdict-main { flex: 1; }
.verdict-label {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.verdict-summary {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.verdict-confidence {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.verdict-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.verdict-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.risk-item, .opportunity-item {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    font-size: 0.88rem;
}
.risk-item { background: var(--danger-bg); }
.risk-item__title { font-weight: 600; color: var(--danger); }
.risk-item__detail { color: var(--text-secondary); margin-top: 2px; }
.risk-item--medium { background: var(--warning-bg); }
.risk-item--medium .risk-item__title { color: var(--warning); }

.opportunity-item { background: var(--success-bg); }
.opportunity-item__title { font-weight: 600; color: var(--success); }
.opportunity-item__detail { color: var(--text-secondary); margin-top: 2px; }

.verdict-outlook {
    margin-top: 24px;
    padding: 20px;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
}
.verdict-outlook h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 600;
}
.verdict-outlook p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Verdict color coding */
.verdict--strong_buy .verdict-label { color: #059669; }
.verdict--strong_buy .verdict-score-ring { background: #ecfdf5; }
.verdict--strong_buy .verdict-score-ring::before { border-color: #059669; }
.verdict--buy .verdict-label { color: #059669; }
.verdict--buy .verdict-score-ring { background: #ecfdf5; }
.verdict--buy .verdict-score-ring::before { border-color: #059669; }
.verdict--watch .verdict-label { color: #d97706; }
.verdict--watch .verdict-score-ring { background: #fffbeb; }
.verdict--watch .verdict-score-ring::before { border-color: #d97706; }
.verdict--caution .verdict-label { color: #ea580c; }
.verdict--caution .verdict-score-ring { background: #fff7ed; }
.verdict--caution .verdict-score-ring::before { border-color: #ea580c; }
.verdict--avoid .verdict-label { color: #dc2626; }
.verdict--avoid .verdict-score-ring { background: #fef2f2; }
.verdict--avoid .verdict-score-ring::before { border-color: #dc2626; }

/* ── Map Card ─────────────────────────────────────────── */
.card--map { min-height: 350px; }
.card--map.card--loading .card__skeleton { height: 350px; }
#map-container { height: 350px; width: 100%; }

/* ── Dashboard Grid ───────────────────────────────────── */
.dashboard__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card--map { grid-column: 1 / 3; }

/* ── Chart containers ─────────────────────────────────── */
.chart-container {
    position: relative;
    height: 180px;
    margin-top: 8px;
}

/* ── Lists in cards ───────────────────────────────────── */
.item-list { list-style: none; }
.item-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
}
.item-list__item:last-child { border-bottom: none; }

/* Tags */
.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.tag--outstanding { background: #ecfdf5; color: #059669; }
.tag--good { background: #eff6ff; color: #2563eb; }
.tag--ri { background: #fffbeb; color: #d97706; }
.tag--inadequate { background: #fef2f2; color: #dc2626; }
.tag--approved { background: #ecfdf5; color: #059669; }
.tag--pending { background: #fffbeb; color: #d97706; }
.tag--refused { background: #fef2f2; color: #dc2626; }
.tag--active { background: #ecfdf5; color: #059669; }
.tag--dissolved { background: #fef2f2; color: #dc2626; }

/* Transport mode badges */
.mode-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
}
.mode-badge--tube { background: #dc2626; color: white; }
.mode-badge--bus { background: #d97706; color: white; }
.mode-badge--rail { background: #2563eb; color: white; }
.mode-badge--dlr { background: #059669; color: white; }
.mode-badge--overground { background: #ea580c; color: white; }
.mode-badge--default { background: #64748b; color: white; }

/* ── Waitlist Section ─────────────────────────────────── */
.waitlist-section {
    margin-top: 40px;
    padding: 48px 40px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    text-align: center;
}

.waitlist-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.waitlist-section p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.waitlist-form {
    display: flex;
    gap: 8px;
    max-width: 440px;
    margin: 0 auto;
}

.waitlist-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    background: var(--bg-card);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}
.waitlist-form input[type="email"]:focus { border-color: var(--accent); }

.waitlist-form button {
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.waitlist-form button:hover { background: #1d4ed8; }

.waitlist-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--success);
    font-weight: 600;
    font-size: 1rem;
    animation: cardFadeIn 0.4s ease;
}

.waitlist-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 8px;
}

/* ── Premium Section ──────────────────────────────────── */
.premium-section {
    margin-top: 40px;
}

.premium-section__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.premium-section__header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.premium-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card--premium {
    border-style: dashed;
    border-color: rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.card--premium:hover {
    border-color: rgba(37, 99, 235, 0.5);
}

.card__preview {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

.card__lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bg-card-rgb), 0.7);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.card__lock-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: 12px;
    opacity: 0.8;
}

.card__lock-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 4px;
}

.card__lock-label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.btn-unlock {
    padding: 8px 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 20px;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.btn-unlock:hover { background: #1d4ed8; transform: scale(1.05); }

/* Premium email form */
.premium-section__sub {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 20px;
    max-width: 520px;
}

.premium-email-form {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    max-width: 460px;
}
.premium-email-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.95rem;
    background: var(--card);
    color: var(--text);
    transition: border-color 0.2s;
}
.premium-email-form input:focus {
    outline: none;
    border-color: var(--accent);
}
.premium-email-form button {
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}
.premium-email-form button:hover { background: #1d4ed8; transform: translateY(-1px); }
.premium-email-form button:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* ── Dashboard Footer ────────────────────────────────── */
.dashboard__footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

/* ── Error state ──────────────────────────────────────── */
.card--error {
    border-color: var(--danger);
}
.card__error-msg {
    padding: 24px;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1200px) {
    .dashboard__grid { grid-template-columns: repeat(2, 1fr); }
    .card--map { grid-column: 1 / 3; }
    .premium-section__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { padding: 48px 20px 64px; }
    .hero__headline { font-size: 2rem; }
    .hero__trust { flex-direction: column; gap: 8px; }
    .dashboard { padding: 16px; }
    .dashboard__grid { grid-template-columns: 1fr; }
    .card--map { grid-column: 1; }
    .verdict-top { flex-direction: column; align-items: center; text-align: center; }
    .verdict-sections { grid-template-columns: 1fr; }
    .header { padding: 12px 16px; }
    .header__tagline { display: none; }
    .premium-section__grid { grid-template-columns: 1fr; }
    .waitlist-form { flex-direction: column; }
    .country-selector { flex-wrap: wrap; }
}

/* ── Reduced Motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .hero { animation: none; }
    .card--loaded { animation: none; }
    .card--loading .card__skeleton { animation: none; }
    .card__skeleton-line { animation: none; }
    .spinner { animation: none; }
    .dashboard { transition: none; }
    .hero.is-hidden { transition: none; }
}
