/* ================================================
   ATLAS STORM REPORT - MARKETING FUNNEL STYLES
   ================================================ */

:root {
    --atlas-navy: #0A1628;
    --atlas-navy-2: #0F1F38;
    --atlas-navy-3: #152B4A;
    --atlas-dark: #060D18;
    --atlas-darker: #030609;
    --atlas-blue: #2F7FFF;
    --atlas-blue-hover: #4A92FF;
    --atlas-blue-glow: rgba(47, 127, 255, 0.4);
    --atlas-blue-soft: rgba(47, 127, 255, 0.12);
    --atlas-border: rgba(255, 255, 255, 0.08);
    --atlas-border-strong: rgba(255, 255, 255, 0.14);
    --text-primary: #FFFFFF;
    --text-secondary: #C5CFDD;
    --text-muted: #7A8699;
    --success: #34D399;
    --warning: #FBBF24;
    --danger: #F87171;
    --orange: #FB923C;
}

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

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--atlas-darker);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    background-image:
        radial-gradient(ellipse at top, rgba(47, 127, 255, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(47, 127, 255, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--atlas-darker) 0%, #000204 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden { display: none !important; }

/* ---------- HEADER ---------- */
.header {
    background: rgba(6, 13, 24, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--atlas-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    height: 38px;
    width: auto;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--atlas-border-strong);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}
.header-phone:hover {
    background: var(--atlas-blue-soft);
    border-color: var(--atlas-blue);
    color: var(--atlas-blue);
}

/* ---------- STEP CONTAINERS ---------- */
.step {
    display: none;
    min-height: calc(100vh - 140px);
    padding: 40px 0 80px;
}
.step.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   STEP 1: HERO
   =================================================== */
.hero {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0;
}
.license-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 211, 153, 0.1);
    color: var(--success);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(52, 211, 153, 0.2);
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 20px;
}
.accent { color: var(--atlas-blue); }
.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Input card */
.input-card {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(15, 31, 56, 0.9) 100%);
    border: 1px solid var(--atlas-border-strong);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 640px;
    margin: 0 auto;
}
.input-card label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-align: left;
}
.input-row {
    display: flex;
    gap: 10px;
}
.autocomplete-wrapper {
    flex: 1;
    position: relative;
}
.autocomplete-wrapper #address-input {
    width: 100%;
}
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #0d1b2e;
    border: 1px solid var(--atlas-border-strong);
    border-radius: 12px;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.autocomplete-dropdown.hidden {
    display: none;
}
.autocomplete-item {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.15s;
    text-align: left;
}
.autocomplete-item:last-child {
    border-bottom: none;
}
.autocomplete-item:hover,
.autocomplete-item.active {
    background: rgba(47, 127, 255, 0.15);
    color: var(--text-primary);
}
.autocomplete-item strong {
    color: var(--text-primary);
    font-weight: 600;
}
#address-input {
    background: rgba(6, 13, 24, 0.8);
    border: 2px solid var(--atlas-border-strong);
    border-radius: 12px;
    padding: 16px 18px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s;
}
#address-input:focus {
    outline: none;
    border-color: var(--atlas-blue);
    box-shadow: 0 0 0 3px var(--atlas-blue-soft);
}
#address-input::placeholder {
    color: var(--text-muted);
}

.btn-primary {
    background: var(--atlas-blue);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(47, 127, 255, 0.35);
}
.btn-primary:hover {
    background: var(--atlas-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(47, 127, 255, 0.5);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.input-error {
    color: var(--danger);
    font-size: 13px;
    margin-top: 12px;
    text-align: left;
}

.trust-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 18px;
    flex-wrap: wrap;
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
    font-size: 12px;
    font-weight: 600;
}

/* Social proof */
.social-proof {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
    padding: 28px;
    background: rgba(10, 22, 40, 0.5);
    border: 1px solid var(--atlas-border);
    border-radius: 20px;
    flex-wrap: wrap;
}
.sp-stat { text-align: center; }
.sp-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--atlas-blue);
    letter-spacing: -0.5px;
}
.sp-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 4px;
}
.sp-divider {
    width: 1px;
    background: var(--atlas-border-strong);
}

/* ===================================================
   STEP 2: SCAN ANIMATION
   =================================================== */
.scan-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}
.scan-animation {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 40px;
}
.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--atlas-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: radar 2s infinite ease-out;
    opacity: 0;
}
.radar-circle.delay-1 { animation-delay: 0.6s; }
.radar-circle.delay-2 { animation-delay: 1.2s; }
@keyframes radar {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}
.radar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--atlas-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 60px rgba(47, 127, 255, 0.8);
}
.scan-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
}

.scan-steps {
    width: 100%;
    text-align: left;
}
.scan-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--atlas-border);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}
.scan-step:last-child { border-bottom: none; }
.scan-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--atlas-border-strong);
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s;
}
.scan-step.active {
    color: var(--atlas-blue);
}
.scan-step.active .scan-check {
    border-color: var(--atlas-blue);
    animation: pulse 1s infinite;
}
.scan-step.done {
    color: var(--success);
}
.scan-step.done .scan-check {
    background: var(--success);
    border-color: var(--success);
}
.scan-step.done .scan-check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(47, 127, 255, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(47, 127, 255, 0); }
}

/* ===================================================
   STEP 3: REPORT
   =================================================== */
.report-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 30px;
    border-bottom: 1px solid var(--atlas-border);
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.report-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.report-addr-text {
    font-size: 18px;
    font-weight: 700;
}
.report-date { font-size: 14px; color: var(--text-secondary); }

/* Hero Finding - THE MAIN SALES CARD */
.hero-finding {
    background: linear-gradient(135deg, rgba(47, 127, 255, 0.2) 0%, rgba(47, 127, 255, 0.05) 100%);
    border: 1px solid var(--atlas-blue);
    border-radius: 20px;
    padding: 36px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.hero-finding.no-damage {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.15) 0%, rgba(52, 211, 153, 0.05) 100%);
    border-color: var(--success);
}
.hero-finding::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--atlas-blue-glow) 0%, transparent 70%);
    opacity: 0.3;
}
.hf-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(47, 127, 255, 0.2);
    color: var(--atlas-blue);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.no-damage .hf-label {
    background: rgba(52, 211, 153, 0.2);
    color: var(--success);
}
.hf-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 16px;
    position: relative;
}
.hf-date {
    color: var(--atlas-blue);
    display: block;
    font-size: clamp(34px, 5vw, 48px);
    margin-top: 8px;
}
.hf-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.65;
    position: relative;
}
.hf-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
    margin-top: 28px;
    position: relative;
}
.hf-stat {
    background: rgba(6, 13, 24, 0.6);
    border: 1px solid var(--atlas-border-strong);
    border-radius: 12px;
    padding: 16px;
}
.hf-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--atlas-blue);
    line-height: 1;
}
.hf-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 6px;
}

/* Most-likely damage banner */
.most-likely-banner {
    background: linear-gradient(135deg, rgba(47, 127, 255, 0.18) 0%, rgba(47, 127, 255, 0.06) 100%);
    border: 1px solid rgba(47, 127, 255, 0.4);
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
.most-likely-banner::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(47, 127, 255, 0.25) 0%, transparent 70%);
    pointer-events: none;
}
.mlb-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(47, 127, 255, 0.2);
    color: var(--atlas-blue);
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.mlb-statement {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.4;
}
.mlb-date {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    color: #fff;
    margin-bottom: 14px;
    position: relative;
}
.mlb-detail {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Two-card latest event grid */
.latest-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.latest-event-card {
    background: rgba(6, 13, 24, 0.7);
    border: 1px solid var(--atlas-border-strong);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.latest-event-card.no-event {
    opacity: 0.55;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
}
.lec-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.lec-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.lec-badge.hail {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}
.lec-badge.wind {
    background: rgba(47, 127, 255, 0.15);
    color: var(--atlas-blue);
    border: 1px solid rgba(47, 127, 255, 0.25);
}
.lec-claim {
    font-size: 11px;
    font-weight: 600;
    color: var(--success);
}
.lec-claim.expired {
    color: var(--warning);
}
.lec-none {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}
.lec-date-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.lec-date {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}
.lec-stats {
    display: flex;
    gap: 0;
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid var(--atlas-border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: auto;
}
.lec-stat {
    flex: 1;
    padding: 14px 16px;
    text-align: center;
}
.lec-stat-divider {
    width: 1px;
    background: var(--atlas-border);
    flex-shrink: 0;
}
.lec-stat-value {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 900;
    color: var(--atlas-blue);
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 4px;
}
.lec-stat-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px;
}
.lec-stat-sub {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Primary Event Card (new focused design) */
.pe-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.pe-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.pe-badge.hail {
    background: rgba(251, 191, 36, 0.18);
    color: #FBBF24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}
.pe-badge.wind {
    background: rgba(47, 127, 255, 0.18);
    color: var(--atlas-blue);
    border: 1px solid rgba(47, 127, 255, 0.3);
}
.pe-badge.tornado {
    background: rgba(248, 113, 113, 0.18);
    color: var(--danger);
    border: 1px solid rgba(248, 113, 113, 0.3);
}
.pe-claim-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 6px;
}
.pe-claim-badge.expired {
    color: var(--warning);
}
.pe-date-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.pe-date {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    color: #fff;
    margin-bottom: 28px;
    position: relative;
}
.pe-metrics {
    display: flex;
    gap: 0;
    background: rgba(6, 13, 24, 0.7);
    border: 1px solid var(--atlas-border-strong);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}
.pe-metric {
    flex: 1;
    padding: 20px 22px;
    text-align: center;
}
.pe-metric-divider {
    width: 1px;
    background: var(--atlas-border-strong);
    flex-shrink: 0;
}
.pe-metric-value {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 900;
    color: var(--atlas-blue);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}
.pe-metric-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.pe-metric-sub {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}
.pe-impact {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    padding: 18px 20px;
    background: rgba(47, 127, 255, 0.06);
    border-left: 3px solid var(--atlas-blue);
    border-radius: 0 10px 10px 0;
}
.pe-impact strong {
    color: var(--text-primary);
}

/* Event context strip */
.event-context {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 20px;
    margin-bottom: 32px;
    background: rgba(10, 22, 40, 0.5);
    border: 1px solid var(--atlas-border);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-muted);
}
.event-context:empty { display: none; }
.ec-stat strong { color: var(--text-secondary); }
.ec-dot {
    color: var(--atlas-border-strong);
    font-size: 16px;
}

/* Risk Card */
.risk-card {
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid var(--atlas-border-strong);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 36px;
}
.risk-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.risk-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--atlas-blue-soft);
    color: var(--atlas-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.risk-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.risk-message {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}
.risk-message strong { color: var(--text-primary); }

/* Sections */
.report-section {
    margin-bottom: 36px;
}
.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}
.section-sub {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

/* Timeline Chart */
.timeline-chart {
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid var(--atlas-border-strong);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 12px;
    height: 240px;
}
.tl-year {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    max-width: 120px;
}
.tl-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 170px;
    width: 100%;
    justify-content: center;
}
.tl-bar {
    width: 18px;
    border-radius: 4px 4px 0 0;
    position: relative;
    min-height: 2px;
    transition: all 0.4s ease-out;
}
.tl-bar.hail { background: linear-gradient(180deg, var(--warning), #D97706); }
.tl-bar.wind { background: linear-gradient(180deg, var(--atlas-blue), #1D4ED8); }
.tl-bar:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}
.tl-bar-label {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
}
.tl-year-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}
.tl-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}
.tl-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tl-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}
.tl-legend-dot.hail { background: var(--warning); }
.tl-legend-dot.wind { background: var(--atlas-blue); }

/* Events List */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.event-card {
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid var(--atlas-border-strong);
    border-radius: 12px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    transition: all 0.2s;
}
.event-card:hover {
    border-color: var(--atlas-blue);
    background: rgba(47, 127, 255, 0.05);
}
.event-type-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.event-type-icon.hail { background: rgba(251, 191, 36, 0.15); color: var(--warning); }
.event-type-icon.wind { background: rgba(47, 127, 255, 0.15); color: var(--atlas-blue); }
.event-type-icon.tornado { background: rgba(248, 113, 113, 0.15); color: var(--danger); }
.event-main {
    min-width: 0;
}
.event-date {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}
.event-detail {
    font-size: 13px;
    color: var(--text-secondary);
}
.event-magnitude {
    font-size: 20px;
    font-weight: 800;
    color: var(--atlas-blue);
    text-align: right;
}
.event-magnitude-unit {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

/* Educational Section */
.edu-section {
    background: rgba(10, 22, 40, 0.4);
    border: 1px solid var(--atlas-border);
    border-radius: 20px;
    padding: 32px;
}
.edu-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.edu-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.edu-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--atlas-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}
.edu-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}
.edu-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--atlas-blue) 0%, #1D4ED8 100%);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    margin: 48px 0 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(47, 127, 255, 0.4);
}
.cta-card::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}
.cta-card::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}
.cta-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 12px;
    position: relative;
}
.cta-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    position: relative;
}
.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.btn-cta-primary, .btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
    font-family: inherit;
    border: none;
    cursor: pointer;
}
.btn-cta-primary {
    background: white;
    color: var(--atlas-navy);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}
.cta-actions-centered {
    justify-content: center;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    flex-wrap: wrap;
    font-weight: 500;
    position: relative;
}

/* No-cost callout banner */
.no-cost-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(47, 127, 255, 0.07);
    border: 1px solid rgba(47, 127, 255, 0.2);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 16px;
}
.ncb-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(47, 127, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--atlas-blue);
}
.ncb-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.ncb-text strong {
    color: #fff;
    display: block;
    margin-bottom: 3px;
    font-size: 15px;
}

/* Disclosure */
.disclosure {
    background: rgba(6, 13, 24, 0.6);
    border: 1px solid var(--atlas-border);
    border-radius: 12px;
    padding: 20px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}
.disclosure p { margin-bottom: 8px; }
.disclosure p:last-child { margin-bottom: 0; }
.disclosure-lic {
    color: var(--atlas-blue);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Restart */
.restart-wrap {
    text-align: center;
    margin-top: 32px;
}
.btn-restart {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--atlas-border-strong);
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.btn-restart:hover {
    color: var(--text-primary);
    border-color: var(--atlas-border-strong);
    background: rgba(255, 255, 255, 0.03);
}

/* Footer */
.footer {
    background: rgba(6, 13, 24, 0.8);
    border-top: 1px solid var(--atlas-border);
    padding: 40px 0;
    margin-top: 60px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}
.footer-logo { height: 36px; margin-bottom: 12px; }
.footer-text { color: var(--text-muted); font-size: 13px; max-width: 400px; }
.footer-meta { text-align: right; font-size: 12px; color: var(--text-muted); }
.footer-meta a { color: var(--atlas-blue); text-decoration: none; font-weight: 600; }
.footer-meta div { margin-bottom: 4px; }

/* ================================================
   LEAD CAPTURE FORM
   ================================================ */
.lead-form-section {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(15, 31, 56, 0.95) 100%);
    border: 1px solid var(--atlas-border-strong);
    border-radius: 24px;
    padding: 40px 36px;
    margin: 48px 0 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lf-header {
    text-align: center;
    margin-bottom: 32px;
}

.lf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(47, 127, 255, 0.15);
    color: var(--atlas-blue);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(47, 127, 255, 0.25);
}

.lf-title {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.lf-sub {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.lf-step-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 18px;
}

/* Claim status grid */
.claim-status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.claim-status-btn {
    background: rgba(6, 13, 24, 0.6);
    border: 1px solid var(--atlas-border-strong);
    border-radius: 12px;
    padding: 18px 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 0.1px;
    line-height: 1.4;
}

.claim-status-btn:hover {
    border-color: var(--atlas-blue);
    background: rgba(47, 127, 255, 0.08);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(47, 127, 255, 0.15);
}

.claim-status-btn:active {
    transform: scale(0.98);
    background: rgba(47, 127, 255, 0.14);
}

/* Contact fields */
.lf-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.lf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lf-input {
    background: rgba(6, 13, 24, 0.8);
    border: 2px solid var(--atlas-border-strong);
    border-radius: 12px;
    padding: 15px 18px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    width: 100%;
    transition: all 0.2s;
}

.lf-input:focus {
    outline: none;
    border-color: var(--atlas-blue);
    box-shadow: 0 0 0 3px var(--atlas-blue-soft);
}

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

/* TCPA Consent */
.tcpa-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    cursor: pointer;
}

.tcpa-checkbox {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--atlas-blue);
    cursor: pointer;
}

.tcpa-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Submit button */
.btn-lead-submit {
    width: 100%;
    background: var(--atlas-blue);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(47, 127, 255, 0.35);
    margin-bottom: 12px;
}

.btn-lead-submit:hover:not(:disabled) {
    background: var(--atlas-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(47, 127, 255, 0.5);
}

.btn-lead-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.lf-spinner {
    color: white;
    flex-shrink: 0;
}

.lf-error {
    color: var(--danger);
    font-size: 13px;
    text-align: center;
    padding: 8px 0;
}

/* Success state */
.lf-success-content {
    text-align: center;
    padding: 24px 0 8px;
}

.lf-success-icon {
    width: 64px;
    height: 64px;
    background: rgba(52, 211, 153, 0.15);
    border: 2px solid var(--success);
    border-radius: 50%;
    color: var(--success);
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.lf-success-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--success);
}

.lf-success-msg {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 420px;
    margin: 0 auto;
}

/* ================================================
   GATED CONTENT — BLUR + OVERLAY (B VARIANT)
   ================================================ */

/* The blurred data layer */
.report-gated-content {
    transition: filter 0.6s ease;
}
.report-gated-content.blurred {
    /* Blur suave: el usuario distingue formas y números aproximados,
       lo justo para sentir curiosidad y desbloquear con sus datos. */
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
}

/* Full-screen overlay backdrop */
.report-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* Overlay más translúcido para que se vea el reporte por detrás
       y el blur de fondo más suave (refuerza la sensación de "casi listo"). */
    background: rgba(3, 6, 9, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: fadeIn 0.4s ease-out;
}
.report-gate-overlay.hidden {
    display: none !important;
}

/* Modal card */
.gate-modal {
    background: linear-gradient(160deg, #0d1b2e 0%, #0f2040 100%);
    border: 1px solid var(--atlas-border-strong);
    border-radius: 24px;
    padding: 0;
    max-width: 540px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(47, 127, 255, 0.18);
    animation: modalSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(32px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Lock icon + headline at top of modal */
.gate-modal-header {
    text-align: center;
    padding: 36px 36px 28px;
    border-bottom: 1px solid var(--atlas-border);
}
.gate-lock-icon {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 14px;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(47, 127, 255, 0.5));
}
.gate-headline {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #fff;
}
.gate-subheadline {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Override lead-form-section inside the modal */
.gate-modal .lead-form-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 28px 36px 36px;
    margin: 0;
    box-shadow: none;
}

/* ================================================
   UNLOCK TOAST
   ================================================ */
.unlock-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, #059669, #34D399);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 999px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    box-shadow: 0 8px 30px rgba(52, 211, 153, 0.45);
    white-space: nowrap;
}
.unlock-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- MOBILE ---------- */
@media (max-width: 640px) {
    .input-row { flex-direction: column; }
    .btn-primary { width: 100%; justify-content: center; }
    .phone-text { display: none; }
    .header-phone { padding: 10px; }
    .social-proof { gap: 16px; padding: 20px; }
    .sp-divider { display: none; }
    .most-likely-banner { padding: 22px 20px; }
    .mlb-date { font-size: 28px; letter-spacing: -1px; }
    .latest-events-grid { grid-template-columns: 1fr; }
    .lec-date { font-size: 22px; }
    .pe-metrics { flex-direction: column; }
    .pe-metric-divider { width: auto; height: 1px; }
    .pe-metric { text-align: left; padding: 16px 18px; }
    .pe-date { font-size: 28px; letter-spacing: -1px; }
    .event-context { flex-direction: column; gap: 6px; text-align: center; }
    .ec-dot { display: none; }
    .cta-card { padding: 32px 20px; }
    .btn-cta-primary, .btn-cta-secondary { width: 100%; justify-content: center; }
    .footer-inner { flex-direction: column; }
    .footer-meta { text-align: left; }
    .lead-form-section { padding: 28px 20px; }
    .claim-status-grid { grid-template-columns: 1fr; }
    .lf-row { grid-template-columns: 1fr; }
}

/* ================================================
   STORM MAP
   ================================================ */
.storm-map-section {
    margin: 0 0 20px 0;
}

.storm-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.storm-map-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.storm-map-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--atlas-blue);
    background: var(--atlas-blue-soft);
    border: 1px solid rgba(47, 127, 255, 0.25);
    border-radius: 4px;
    padding: 2px 7px;
}

.storm-map-container {
    height: 310px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--atlas-border-strong);
    background: var(--atlas-navy-2);
}

.storm-map-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 9px;
    flex-wrap: wrap;
}

.storm-map-legend span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--text-muted);
}

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

.sml-note {
    margin-left: auto;
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.6;
    font-style: italic;
}

/* Leaflet overrides for dark theme */
.storm-map-container .leaflet-control-zoom a {
    background: var(--atlas-navy-2) !important;
    color: var(--text-secondary) !important;
    border-color: var(--atlas-border-strong) !important;
}
.storm-map-container .leaflet-control-zoom a:hover {
    background: var(--atlas-navy-3) !important;
}
.storm-map-container .leaflet-popup-content-wrapper {
    background: var(--atlas-navy-2);
    color: var(--text-primary);
    border: 1px solid var(--atlas-border-strong);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
}
.storm-map-container .leaflet-popup-tip {
    background: var(--atlas-navy-2);
}
.storm-map-container .leaflet-popup-close-button {
    color: var(--text-muted) !important;
}

/* Home pin marker */
.map-home-pin-wrap {
    position: relative;
    width: 28px;
    height: 34px;
}
.map-home-pin-circle {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: #2F7FFF;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(47,127,255,0.6);
}
.map-home-pin-tail {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #2F7FFF;
}
