/* ─── LeadIdeal v4 Design System (2026) ─── */

:root {
    /* Colors - Deep Premium Palette */
    --bg-primary: #020617;
    --bg-secondary: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.4);
    --bg-surface: #020617;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.4);
    --accent-dim: rgba(16, 185, 129, 0.1);

    --border: rgba(255, 255, 255, 0.08);
    --border-active: rgba(16, 185, 129, 0.3);

    --radius: 12px;
    --radius-lg: 24px;

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-blur: blur(16px);

    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Utility */
.desktop-only { display: none; }
@media (min-width: 1024px) { .desktop-only { display: initial; } }
.mobile-only { display: initial; }
@media (min-width: 1024px) { .mobile-only { display: none; } }

/* ─── Navigation ─── */
.v4-nav {
    padding: 24px 0;
    position: relative;
    z-index: 1000;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    background: linear-gradient(135deg, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-left: auto;
    margin-right: 48px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide on mobile to keep nav clean */
    }
}

/* ─── Hero Section ─── */
.v4-hero {
    padding: 120px 0 160px;
    position: relative;
    min-height: 90vh;
    min-height: 90svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent !important; /* Force transparency for video visibility */
}

.hero-video-bg, .hero-img-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.6; 
    background: var(--bg-primary); 
    transition: opacity 0.5s ease;
}

.hero-img-bg {
    display: none; /* Hidden by default, shown on mobile */
}

@media (max-width: 700px) {
    .hero-video-bg {
        display: none;
    }
    .hero-img-bg {
        display: block;
        opacity: 0.5; /* Slightly dimmer for readability */
    }
}

.v4-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(2, 6, 23, 0.4) 0%, var(--bg-primary) 100%);
}

@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(to bottom, 
            rgba(2, 6, 23, 0.4) 0%, 
            rgba(2, 6, 23, 0.7) 50%, 
            var(--bg-primary) 100%
        );
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--border-active);
    margin-bottom: 32px;
}

.hero-headline {
    font-size: clamp(1.8rem, 5.5vw, 4.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 auto 32px;
    letter-spacing: -0.04em;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-line {
    display: block;
    white-space: nowrap;
}

/* Staggered green word reveal for "for you" — starts white, transitions to green */
.hero-reveal-word {
    display: inline-block;
    color: #fff;
    animation: heroWordGreen 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroWordGreen {
    0% {
        color: #fff;
        text-shadow: none;
    }
    50% {
        color: #34d399;
        text-shadow: 0 0 24px rgba(16, 185, 129, 0.6);
    }
    100% {
        color: #10b981;
        text-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: clamp(1.4rem, 8.5vw, 1.8rem);
    }
}

.hero-sub {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: #cbd5e1;
    max-width: 48rem; /* Increased to accommodate 2-row desktop layout */
    margin: 0 auto 48px;
    line-height: 1.6;
    opacity: 0.8;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.btn-hero-main {
    padding: 24px 56px;
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--accent);
    color: #020617;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px -5px rgba(16, 185, 129, 0.4);
}

.btn-hero-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px -5px rgba(16, 185, 129, 0.6);
}

.hero-trust-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-trust-row i {
    color: var(--accent);
    width: 18px;
    height: 18px;
}

/* Glow Blobs */
.glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.glow-1 { top: -200px; right: -200px; }
.glow-2 { bottom: -200px; left: -200px; }

/* ─── Bento Proof ─── */
.v4-proof {
    padding: 100px 0;
}

.section-header { margin-bottom: 64px; }
.section-title { font-size: 2.8rem; margin-bottom: 16px; }
.section-sub { font-size: 1.1rem; color: var(--text-secondary); }

.proof-interactive-wrap {
    clear: both;
    position: relative;
    z-index: 10;
}

.proof-interactive-header {
    margin-bottom: 48px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 24px;
}

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

.bento-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    transition: all var(--transition);
}

.bento-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-active);
    box-shadow: var(--shadow-card);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
}

.card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.card-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 8px;
}

.card-value .small {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.accent-card {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid var(--border-active);
}

.accent-card .card-value {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* ─── Warming Proof Section ─── */
.warming-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 48px;
}

.warming-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 480px; /* Normalized Senior UX Height */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.warming-card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.warming-card-label i,
.warming-card-label svg { width: 16px; height: 16px; color: var(--accent); }

.live-status {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border-active);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--accent);
    margin-left: auto;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: status-pulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes status-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

/* Email Mockup */
.email-mockup {
    background: #0c0f1a;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.email-mockup-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.email-dot { width: 8px; height: 8px; border-radius: 50%; }
.email-dot.red { background: #ff5f57; }
.email-dot.yellow { background: #febc2e; }
.email-dot.green { background: #28c840; }

.email-mockup-title {
    margin-left: 10px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.email-thread { 
    padding: 12px; 
    flex: 1;
    overflow-y: auto;
    min-height: 0; /* Enable internal scrolling in flex container */
}

/* Custom Scrollbar for Premium Feel */
.email-thread::-webkit-scrollbar,
.waveform-transcript::-webkit-scrollbar {
    width: 6px;
}
.email-thread::-webkit-scrollbar-thumb,
.waveform-transcript::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}
.email-thread::-webkit-scrollbar-track,
.waveform-transcript::-webkit-scrollbar-track {
    background: transparent;
}

.email-msg {
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 0.82rem;
    line-height: 1.55;
}

.email-msg:last-child { margin-bottom: 0; }

.email-sent {
    background: rgba(255,255,255,0.03);
    border-left: 3px solid var(--accent);
}

.email-reply {
    background: rgba(16, 185, 129, 0.06);
    border-left: 3px solid #22d3ee;
}

.email-msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.email-from {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--text-primary);
}

.email-time {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.email-subject {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.email-body {
    color: var(--text-secondary);
}

.email-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.email-status i, .email-status svg { width: 13px; height: 13px; }

.email-status-reply { color: #22d3ee; }

/* Waveform Player */
.waveform-player {
    background: #0c0f1a;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.waveform-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.waveform-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}
.waveform-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}
.waveform-play-btn i, .waveform-play-btn svg { width: 20px; height: 20px; }

.waveform-caller {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.waveform-duration {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.waveform-canvas-wrap {
    position: relative;
    width: 100%;
    height: 60px;
    margin-bottom: 16px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}

#waveform-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.waveform-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    pointer-events: none;
    transition: width 0.1s linear;
}

.waveform-transcript {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    min-height: 0; /* Enable internal scrolling in flex container */
}

.transcript-line {
    font-size: 0.85rem;
    line-height: 1.6;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    opacity: 0.25;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left;
}

.transcript-line.is-active {
    opacity: 1;
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--text-primary);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.transcript-agent.is-active { border-left: 3px solid var(--accent); }
.transcript-user.is-active { border-left: 3px solid #22d3ee; }

.transcript-role {
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-right: 8px;
}

.transcript-user .transcript-role { color: #22d3ee; }

.waveform-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-style: italic;
}
.waveform-note i, .waveform-note svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Warming Metrics Strip */
.warming-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.warming-metric {
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.warming-metric-value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.warming-metric-unit {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.warming-metric-label {
    width: 100%;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 4px;
}

.warming-metric-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .warming-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .warming-card { padding: 20px; }
    .email-msg { font-size: 0.78rem; padding: 12px; }
    .waveform-player { padding: 16px; }
    .warming-metrics { gap: 24px; }
    .warming-metric-value { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .warming-card { padding: 16px; }
    .email-msg { font-size: 0.74rem; padding: 10px; }
    .email-from { font-size: 0.72rem; }
    .waveform-play-btn { width: 40px; height: 40px; }
    .warming-metrics { gap: 16px; flex-wrap: wrap; }
    .warming-metric-value { font-size: 1.8rem; }
    .warming-metric-divider { height: 36px; }
    .transcript-line { font-size: 0.72rem; }
}

/* Warming Breakdown Strip */
.warming-breakdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.warming-breakdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.warming-breakdown-item i,
.warming-breakdown-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.warming-breakdown-item strong { color: var(--text-primary); }

@media (max-width: 480px) {
    .warming-breakdown { gap: 10px 20px; }
    .warming-breakdown-item { font-size: 0.78rem; }
}

/* Scrollbar for transcript */
.waveform-transcript::-webkit-scrollbar { width: 3px; }
.waveform-transcript::-webkit-scrollbar-track { background: transparent; }
.waveform-transcript::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

/* ─── Proof Card (v3-style) ─── */
.proof-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.proof-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

.proof-card-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.08em;
    border: 1px solid var(--border-active);
    margin-bottom: 32px;
    display: inline-block; /* Ensure margin-bottom works on span */
}

.proof-card-niche {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.proof-card-niche i {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.proof-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}

.proof-metric {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
}

.proof-metric-highlight {
    flex: 1;
    background: var(--accent-dim);
    border: 1px solid var(--border-active);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
}

.proof-metric-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.proof-metric-highlight .proof-metric-value {
    color: var(--accent);
}

.proof-metric-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.proof-metric-label i {
    width: 14px;
    height: 14px;
}

.proof-metric-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
}

.proof-metric-arrow i {
    width: 18px;
    height: 18px;
}

@media (max-width: 700px) {
    .proof-metrics {
        flex-wrap: wrap;
    }

    .proof-metric-arrow {
        display: none;
    }

    .proof-metric,
    .proof-metric-highlight {
        min-width: 40%;
    }

    .proof-card {
        padding: 24px;
    }

    .proof-card-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

.proof-csv-preview {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.proof-csv-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 100px;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.proof-csv-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 100px;
    gap: 12px;
    font-size: 0.9rem;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    align-items: center;
    transition: background 0.3s ease;
}

.proof-csv-row:hover {
    color: var(--text-primary);
}

.text-right { text-align: right; }
.text-accent { color: var(--accent); }

.proof-csv-blur {
    filter: blur(3px);
    opacity: 0.5;
    user-select: none;
}

.proof-csv-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    pointer-events: none;
}

.proof-csv-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4px;
}

/* ─── Preview Email Opt-in ─── */
.preview-email-opt {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.preview-email-opt label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.preview-email-opt label i {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.preview-email-opt input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.preview-email-opt input:focus {
    border-color: var(--accent);
    outline: none;
}
/* ─── Truth Filter ─── */
.v4-icp {
    padding: 80px 0;
}

.truth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 768px) {
    .truth-grid { grid-template-columns: 1fr; }
}

.truth-card {
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.built-for { border-color: var(--accent-dim); }

.truth-card h3 {
    font-size: 1.5rem;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.truth-card ul {
    list-style: none;
}

.truth-card li {
    padding: 12px 0;
    font-size: 1.05rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.truth-card li:last-child { border-bottom: none; }

/* ─── Pricing ─── */
.v4-pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

.v4-price-card {
    position: relative;
    padding: 64px 40px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.v4-price-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-active);
}

.active-card {
    border: 1.5px solid var(--accent);
    box-shadow: 0 30px 60px -12px rgba(16, 185, 129, 0.15);
    background: rgba(16, 185, 129, 0.03);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #020617;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-header { margin-bottom: 40px; }
.price-val { font-family: var(--font-heading); font-size: 5rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.price-label { font-size: 1.25rem; font-weight: 700; color: var(--text-secondary); }

.price-list { list-style: none; text-align: left; margin: 0 0 48px; }
.price-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.v4-guarantee-seal {
    margin-top: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.seal-icon { font-size: 2rem; color: var(--accent); }
.seal-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ─── Other Packages ─── */
.v4-other-packages {
    margin-top: 40px;
    text-align: center;
}

.other-packages-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.other-packages-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.other-package-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 28px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--transition);
}

.other-package-link:hover {
    border-color: var(--border-active);
    transform: translateY(-2px);
}

.other-package-link .pkg-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.other-package-link .pkg-detail {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
/* ─── Animations ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-headline { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.2s; }
.hero-cta-group { animation-delay: 0.3s; }

/* ─── Modal (v4 Premium) ─── */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-container {
    width: 100%;
    max-width: 500px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); }
.modal-close, .modal-back {
    background: none; border: none; color: var(--text-muted); cursor: pointer;
    transition: color var(--transition);
}
.modal-close:hover { color: var(--text-primary); }

.modal-body { padding: 32px; }

.order-summary {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.order-desc { font-size: 0.85rem; color: var(--text-muted); }
.order-price { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--accent); }

/* Form Styles */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    background: rgba(255, 255, 255, 0.06);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.full-width { width: 100%; }

.checkout-step { display: none; }
.checkout-step.active { display: block; }

.secure-line { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.secure-line i { color: var(--accent); }

/* ─── Navigation Extensions ─── */
.btn-nav-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-nav-secondary:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-nav-secondary i {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
/* ─── Upsells & Package Chips ─── */
.v4-upsells {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.upsell-text {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.package-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.package-chip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition);
    min-width: 160px;
}

.package-chip:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: scale(1.05);
}

.chip-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
}

.chip-val {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* ─── Footer Refinement ─── */
.v4-footer {
    padding: 80px 0 40px;
    background: linear-gradient(to bottom, transparent, rgba(2, 6, 23, 0.8));
    border-top: 1px solid var(--border);
    margin-top: 120px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

@media (max-width: 600px) {
    .footer-flex { flex-direction: column; text-align: center; }
}

.footer-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* ─── Bento: Sample & Proof Styling ─── */
.bento-header { margin-bottom: 24px; }
.bento-header .badge {
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 800;
}

.proof-metrics {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.metric, .metric-highlight {
    flex: 1;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.metric-highlight {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.metric .val, .metric-highlight .val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.metric .lab, .metric-highlight .lab {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.csv-preview {
    background: #020617;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.csv-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.5fr;
    gap: 8px;
    font-size: 0.75rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.csv-row.head {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.65rem;
}

.csv-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, #020617, transparent);
}

.btn-outline-sm {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition);
}

.btn-outline-sm:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent);
}

/* ─── Sample Preview Section ─── */
.v4-preview {
    padding: 100px 0;
}

.preview-gate {
    max-width: 720px;
    margin: 0 auto;
}

.preview-form-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.preview-form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}
@media (max-width: 700px) {
    .preview-form-row { flex-direction: column; align-items: stretch; }
        .preview-form-row .form-group {
            margin-bottom: 0;
        }
}

.btn-preview-submit {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    background: var(--accent);
    color: #020617;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all var(--transition);
    height: fit-content;
}

.btn-preview-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.4);
}

.preview-industry-badge {
    background: var(--accent-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dataset-preview-wrapper {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.dataset-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
    font-size: 0.9rem;
}

.dataset-table th {
    background: #f9fafb;
    color: #4b5563;
    font-weight: 700;
    text-align: left;
    padding: 16px 20px;
    border-bottom: 2px solid #e5e7eb;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.dataset-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f3f4f6;
    color: #111827;
    white-space: nowrap;
}

.dataset-table tr:hover {
    background: #f0fdf4;
}

.dataset-table td.email-cell {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #10b981;
}

.preview-footer {
    margin-top: 40px;
}

.preview-expand {
    text-align: center;
    margin-bottom: 32px;
}

.preview-cta {
    text-align: center;
    padding: 48px 0 0;
    border-top: 1px solid var(--border);
}

.preview-cta p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

/* ─── Scroll Reveal ─── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Button Links (a tags styled as buttons) ─── */
a.btn-hero-main {
    text-decoration: none;
    display: inline-flex;
}

a.package-chip {
    text-decoration: none;
}

/* ─── Footer Additions ─── */
.footer-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-attribution {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-attribution a {
    color: var(--accent);
    text-decoration: none;
}

.footer-attribution a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE: Tablet (max-width: 768px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Nav */
    .v4-nav {
        padding: 16px 0;
    }

    .nav-flex {
        gap: 12px;
    }

    .logo-img {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .btn-nav-secondary {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Hero */
    .v4-hero {
        padding: 88px 0 64px;
        min-height: 100svh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.44;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.3) 0%, rgba(2, 6, 23, 0.7) 50%, rgba(2, 6, 23, 0.95) 100%);
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
        margin: 0 auto 20px;
        display: inline-flex;
    }

    .hero-headline {
        margin-bottom: 16px;
        font-size: clamp(1.8rem, 10vw, 2.4rem);
        line-height: 1.2;
    }

    .hero-line {
        white-space: normal;
        display: inline;
    }

    .hero-sub {
        font-size: 1rem;
        margin: 0 auto 24px;
        max-width: 90%;
        line-height: 1.5;
    }

    .btn-hero-main {
        padding: 18px 32px;
        font-size: 0.95rem;
        width: 100%;
        margin-bottom: 24px;
    }

    .hero-trust-row {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 0;
    }

    @media (min-width: 480px) {
        .hero-trust-row {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    .hero-trust-row span {
        justify-content: center;
        padding: 10px 12px;
        background: rgba(15, 23, 42, 0.55);
        border: 1px solid var(--border);
        border-radius: var(--radius);
    }

    .hero-cta-group {
        padding: 0;
        width: 100%;
        max-width: 34rem;
        margin: 0 auto;
    }

    .glow-blob {
        width: 300px;
        height: 300px;
    }

    /* Proof Card */
    .v4-proof {
        padding: 64px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-sub {
        font-size: 0.95rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Truth Filter */
    .v4-icp {
        padding: 48px 0;
    }

    .truth-card {
        padding: 32px 24px;
    }

    .truth-card h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .truth-card li {
        font-size: 0.95rem;
        padding: 10px 0;
    }

    /* Preview */
    .v4-preview {
        padding: 64px 0;
    }

    /* Pricing */
    .v4-pricing {
        padding: 64px 0;
    }

    .v4-price-card {
        padding: 40px 28px;
    }

    .price-val {
        font-size: 3.5rem;
    }

    .price-label {
        font-size: 1.05rem;
    }

    .price-list li {
        font-size: 0.95rem;
    }

    /* Other packages */
    .other-packages-row {
        flex-direction: column;
        align-items: center;
    }

    .other-package-link {
        width: 100%;
        max-width: 280px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Preview + cards */
    .preview-email-opt {
        align-items: stretch;
        gap: 10px;
    }

    .preview-email-opt label {
        white-space: normal;
        line-height: 1.4;
    }

    /* Footer */
    .v4-footer {
        padding: 48px 0 32px;
        margin-top: 64px;
    }

    .footer-links {
        gap: 16px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    /* Lead cards */
    .lead-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE: Small mobile (max-width: 480px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Nav */
    .nav-flex {
        align-items: flex-start;
        gap: 10px;
    }

    .nav-right {
        width: auto;
        flex-shrink: 0;
    }

    .logo-text {
        font-size: 1rem;
    }

    .btn-nav-secondary span,
    .btn-nav-secondary {
        font-size: 0.75rem;
        padding: 6px 12px;
        gap: 6px;
    }

    /* Hero */
    .v4-hero {
        padding: 56px 0 72px;
        min-height: 100svh;
    }

    .hero-video-bg {
        width: auto;
        min-width: 100%;
        height: 100%;
        object-position: 62% center;
        opacity: 0.34;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .hero-sub {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    .btn-hero-main {
        padding: 16px 28px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .hero-trust-row {
        grid-template-columns: 1fr;
        font-size: 0.8rem;
    }

    .hero-trust-row span {
        min-height: 44px;
    }

    /* Proof */
    .proof-card {
        padding: 20px 16px;
    }

    .proof-card-header {
        align-items: stretch;
    }

    .proof-card-badge,
    .proof-card-niche {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .proof-metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .proof-metric,
    .proof-metric-highlight {
        min-width: 0;
        width: 100%;
    }

    .proof-metric-arrow {
        display: none;
    }

    .proof-metric-value {
        font-size: 1.6rem;
    }

    .proof-metric,
    .proof-metric-highlight {
        padding: 14px 10px;
    }

    .proof-csv-preview {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .proof-csv-header,
    .proof-csv-row {
        min-width: 420px;
    }

    .proof-csv-header {
        font-size: 0.6rem;
    }

    .proof-csv-row {
        font-size: 0.75rem;
        padding: 8px 0;
    }

    /* Truth */
    .truth-card {
        padding: 24px 20px;
    }

    .truth-card h3 {
        font-size: 1.1rem;
        gap: 10px;
    }

    .truth-card li {
        font-size: 0.9rem;
    }

        /* Preview form */
        .preview-form-row {
            gap: 12px;
        }
    
        .btn-preview-submit {
            width: 100%;
            justify-content: center;
        }
    
        .preview-email-opt {
            flex-direction: column;
            gap: 8px;
        }
    
        .preview-email-opt label {
            font-size: 0.75rem;
        }
    
        .preview-results-header {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }
    
        /* Pricing */
        .v4-price-card {
            padding: 32px 20px;
        }
    
        .price-val {
            font-size: 3rem;
        }
    
        .price-header {
            margin-bottom: 28px;
        }
    
        .price-list {
            margin-bottom: 32px;
        }
    
        .price-list li {
            font-size: 0.9rem;
            gap: 10px;
            padding: 12px 0;
        }
    
        .v4-guarantee-seal {
            flex-direction: column;
            text-align: center;
            gap: 12px;
            padding: 20px 16px;
        }
    
        /* Footer */
        .footer-flex {
            gap: 20px;
        }
    
        .footer-links {
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
        }
    
        .footer-links a {
            font-size: 0.8rem;
        }
    
        .footer-info p {
            font-size: 0.8rem;
        }
    
        /* Modal */
        .modal-overlay {
            padding: 12px;
        }
    
        .modal-container {
            max-width: 100%;
        }
    
        .modal-body {
            padding: 20px;
        }
    
        .modal-header {
            padding: 16px 20px;
        }
    
        /* Lead Cards */
        .lead-card {
            padding: 16px;
        }
    
        .lead-avatar {
            width: 36px;
            height: 36px;
            font-size: 0.7rem;
        }
    
        .lead-name {
            font-size: 0.9rem;
        }
    
        .lead-detail {
            font-size: 0.8rem;
        }
    
        /* Section spacing */
        .v4-proof {
            padding: 48px 0;
        }
    
        .v4-icp {
            padding: 40px 0;
        }
    
        .v4-preview {
            padding: 48px 0;
        }
    
        .v4-pricing {
            padding: 48px 0;
        }
        }
    
        @media (max-width: 900px) and (orientation: portrait) {
            .v4-hero {
                padding-top: 64px;
                padding-bottom: 72px;
                min-height: 100svh;
            }
    
            .hero-headline {
                font-size: clamp(1.8rem, 7.5vw, 2.6rem);
                line-height: 1.1;
                max-width: 18ch;
                margin-left: auto;
                margin-right: auto;
            }
    
            .hero-sub {
                max-width: 40rem;
                font-size: clamp(1rem, 3.4vw, 1.08rem);
            }
    
            .hero-video-bg {
                width: auto;
                min-width: 100%;
                height: 100%;
                object-position: 64% center;
                opacity: 0.3;
            }

        .proof-card,
        .v4-price-card,
        .truth-card,
        .niche-landing-card {
            border-radius: 20px;
        }
    
        .niche-packs-landing-grid {
            grid-template-columns: 1fr;
            max-width: 440px;
            gap: 16px;
        }
    
        .faq-list {
            margin-top: 28px;
        }
        }
    
        /* ══════════════════════════════════════════════════════════
       Touch & Interaction: Mobile UX
       ══════════════════════════════════════════════════════════ */
        @media (hover: none) and (pointer: coarse) {
    
            /* Remove hover transforms on touch devices (prevents sticky hover) */
            .bento-card:hover,
            .lead-card:hover,
            .other-package-link:hover,
            .btn-nav-secondary:hover {
                transform: none;
            }
    
            /* Larger tap targets */
            .btn-hero-main {
                min-height: 52px;
            }
    
            .btn-preview-submit {
                min-height: 48px;
            }
    
            .btn-outline-sm {
                min-height: 44px;
                padding: 12px 20px;
            }
    
            .form-group input,
            .form-group select,
            .form-group textarea {
                min-height: 48px;
                font-size: 16px;
                /* prevents iOS zoom */
            }
    
            .checkbox-label input[type="checkbox"] {
                width: 22px;
                height: 22px;
            }
    
            .footer-links a {
                padding: 8px 4px;
            }
        }
    
        /* ══════════════════════════════════════════════════════════
       Order Status Pages (pending + success)
       ══════════════════════════════════════════════════════════ */
        .order-page {
            padding: 80px 0 120px;
        }
    
        .order-page .container {
            max-width: 640px;
            text-align: center;
        }
    
        .order-hero {
            margin-bottom: 32px;
        }
    
        .order-icon {
            width: 80px;
            height: 80px;
            background: var(--accent-dim);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
        }
    
        .order-icon i {
            width: 40px;
            height: 40px;
            color: var(--accent);
        }
    
        .order-title {
            font-size: 2.2rem;
            margin-bottom: 16px;
        }
    
        .order-subtitle {
            color: var(--text-secondary);
            font-size: 1.1rem;
            line-height: 1.6;
            max-width: 480px;
            margin: 0 auto;
        }
    
        .order-detail-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius-lg);
            padding: 32px;
            text-align: left;
            margin-bottom: 32px;
        }
    
        .order-detail-row {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
        }
    
        .order-detail-row:last-child {
            border-bottom: none;
        }
    
        .order-detail-label {
            color: var(--text-muted);
        }
    
        .order-detail-value {
            font-weight: 600;
        }
    
        .order-detail-accent {
            color: var(--accent);
            font-weight: 700;
        }
    
        .order-info-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 24px;
            margin-bottom: 32px;
        }
    
        .order-info-card h3 {
            font-size: 1rem;
            margin-bottom: 12px;
        }
    
        .order-info-card h3 i {
            width: 16px;
            height: 16px;
            color: var(--accent);
            vertical-align: middle;
        }
    
        .order-info-card ol,
        .order-info-card ul {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.8;
            padding-left: 20px;
            text-align: left;
        }
    
        .order-csv-card {
            background: rgba(16, 185, 129, 0.05);
            border: 1px solid var(--border-active);
            border-radius: var(--radius);
            padding: 24px;
            margin-bottom: 32px;
            text-align: left;
        }
    
        .order-csv-card h3 {
            font-size: 1rem;
            margin-bottom: 12px;
        }
    
        .order-csv-card h3 i {
            width: 16px;
            height: 16px;
            color: var(--accent);
            vertical-align: middle;
        }
    
        .order-csv-card p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 16px;
        }
    
        .btn-download {
            display: none;
            padding: 12px 24px;
            background: var(--accent);
            color: #020617;
            font-weight: 700;
            border-radius: var(--radius);
            text-decoration: none;
            font-size: 0.9rem;
            align-items: center;
            gap: 8px;
        }
    
        .btn-download i {
            width: 14px;
            height: 14px;
            vertical-align: middle;
        }
    
        .order-bridge-link {
            justify-content: center;
        }
    
        .order-status-bridge-copy {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 16px;
            text-align: left;
        }
    
        .order-support {
            color: var(--text-muted);
            font-size: 0.85rem;
        }
    
        .order-support a {
            color: var(--accent);
        }
    
        .order-info-card a {
            color: var(--accent);
        }
    
        .order-footer {
            margin-top: 0;
        }
    
        /* ══════════════════════════════════════════════════════════
       NICHE PACKS — Landing page cards
       ══════════════════════════════════════════════════════════ */
        .v4-niche-packs {
            padding: 80px 0;
        }
    
        .niche-packs-landing-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            max-width: 720px;
            margin: 40px auto 0;
        }
    
        .niche-landing-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            padding: 32px 24px;
            border-radius: var(--radius-lg, 16px);
            border: 1px solid var(--border);
            background: var(--bg-card);
            text-decoration: none;
            color: inherit;
            transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
        }
    
        .niche-landing-card:hover {
            border-color: var(--accent);
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(16, 185, 129, 0.12);
        }
    
        .niche-landing-icon {
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--accent-dim);
            border-radius: 14px;
            flex-shrink: 0;
        }
        .niche-landing-icon i,
        .niche-landing-icon svg {
            width: 28px;
            height: 28px;
            color: var(--accent);
        }
    
        .niche-landing-name {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-primary);
            margin: 0;
        }
    
        .niche-landing-desc {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.5;
            margin: 0;
        }
    
        .niche-landing-price {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--accent);
        }
    
        .niche-landing-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-top: 4px;
            transition: all 0.2s;
        }
        
        .niche-landing-card:hover .niche-landing-cta {
            gap: 12px;
            text-shadow: 0 0 10px var(--accent-glow);
        }
    
        .niche-landing-badge {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 600;
            color: var(--accent);
            background: rgba(16, 185, 129, 0.1);
            padding: 4px 12px;
            border-radius: 999px;
        }
    
        /* ══════════════════════════════════════════════════════════
       PROOF CTA (after proof card)
       ══════════════════════════════════════════════════════════ */
        .proof-cta {
            margin-top: 32px;
        }
    
        /* ══════════════════════════════════════════════════════════
       FAQ SECTION
       ══════════════════════════════════════════════════════════ */
        .v4-faq {
            padding: 80px 0;
        }
    
        .faq-list {
            max-width: 740px;
            margin: 40px auto 0;
        }
    
        .faq-item {
            border-bottom: 1px solid var(--border);
        }
    
        .faq-item:first-child {
            border-top: 1px solid var(--border);
        }
    
        .faq-question {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 0;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            cursor: pointer;
            list-style: none;
        }
    
        .faq-question::-webkit-details-marker {
            display: none;
        }
    
        .faq-question::after {
            content: '+';
            font-size: 1.4rem;
            font-weight: 300;
            color: var(--text-muted);
            transition: transform 0.2s;
            flex-shrink: 0;
            margin-left: 16px;
        }
    
        .faq-item[open] .faq-question::after {
            content: '−';
        }
    
        .faq-answer {
            padding: 0 0 20px;
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.7;
        }
    
        /* Order pages responsive */
        @media (max-width: 768px) {
            .order-page {
                padding: 60px 0 80px;
            }
    
            .order-title {
                font-size: 1.8rem;
            }
    
            .order-subtitle {
                font-size: 1rem;
            }
    
            .order-detail-card {
                padding: 24px 20px;
            }
    
            .order-info-card {
                padding: 20px;
            }
    
            .order-csv-card {
                padding: 20px;
            }
    
            .order-icon {
                width: 64px;
                height: 64px;
            }
    
            .order-icon i {
                width: 32px;
                height: 32px;
            }
        }
    
        @media (max-width: 480px) {
            .order-page {
                padding: 40px 0 60px;
            }
    
            .order-title {
                font-size: 1.5rem;
            }
    
            .order-subtitle {
                font-size: 0.9rem;
            }
    
            .order-detail-card {
                padding: 20px 16px;
                border-radius: var(--radius);
            }
    
            .order-detail-row {
                font-size: 0.9rem;
                padding: 10px 0;
            }
    
            .order-info-card {
                padding: 16px;
            }
    
            .order-info-card ol,
            .order-info-card ul {
                font-size: 0.85rem;
                line-height: 1.7;
                padding-left: 16px;
            }
    
            .order-csv-card {
                padding: 16px;
            }
    
            .order-csv-card p {
                font-size: 0.85rem;
            }
    
            .btn-download {
                padding: 14px 20px;
                width: 100%;
                text-align: center;
                justify-content: center;
            }
    
            .order-support {
                font-size: 0.8rem;
            }
    
            .order-icon {
                width: 56px;
                height: 56px;
                margin-bottom: 16px;
            }
    
            .order-icon i {
                width: 28px;
                height: 28px;
            }
        }
    
        /* ══════════════════════════════════════════════════════════
       RESPONSIVE: Niche Packs + FAQ
       ══════════════════════════════════════════════════════════ */
        @media (max-width: 768px) {
            .niche-packs-landing-grid {
                grid-template-columns: 1fr;
                max-width: 400px;
            }
    
            .v4-niche-packs {
                padding: 60px 0;
            }
    
            .v4-faq {
                padding: 60px 0;
            }
    
            .faq-question {
                font-size: 0.9rem;
                padding: 16px 0;
            }
    
            .faq-answer {
                font-size: 0.85rem;
            }
        }
    
        @media (max-width: 480px) {
            .niche-landing-card {
                padding: 24px 16px;
            }
    
            .niche-landing-icon {
                width: 48px;
                height: 48px;
                border-radius: 12px;
            }
            .niche-landing-icon i,
            .niche-landing-icon svg {
                width: 24px;
                height: 24px;
            }
    
            .niche-landing-name {
                font-size: 1rem;
            }
    
            .niche-landing-price {
                font-size: 1.5rem;
            }
    
            .v4-niche-packs {
                padding: 40px 0;
            }
    
            .v4-faq {
                padding: 40px 0;
            }
    
            .faq-question {
                font-size: 0.85rem;
                padding: 14px 0;
            }
        }

/* ─── LIVE AGENTS & DISCLAIMERS ─── */

.hero-b2b-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid var(--border-active);
    white-space: nowrap;
}

.pricing-disclaimer {
    margin-top: 24px;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.card-b2b-tag {
    font-size: 0.65rem;
    color: var(--accent);
    text-transform: uppercase;
    vertical-align: middle;
}

/* Riley Live Console */
.riley-live-console {
    background: rgba(2, 6, 23, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    overflow: hidden;
    margin-top: 16px;
}

.console-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
}

.console-status.active { color: var(--accent); }
.status-dot { width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%; }
.active .status-dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.console-visual {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-container { position: relative; width: 80px; height: 80px; }
.pulse-ring {
    position: absolute;
    width: 100%; height: 100%;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: agent-pulse 2s infinite ease-out;
    opacity: 0;
}
.console-status.active ~ .console-visual .pulse-ring { animation-play-state: running; }
.pulse-avatar {
    position: absolute;
    inset: 4px;
    background: var(--accent);
    color: #020617;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.5rem;
}

.console-transcript {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
    height: 120px;
    overflow-y: auto;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
}

.transcript-line { padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.transcript-line strong { color: var(--accent); margin-right: 4px; }
.transcript-placeholder { font-style: italic; opacity: 0.5; text-align: center; }

.console-controls { display: flex; justify-content: center; }
.btn-console-main, .btn-console-stop {
    border: none; border-radius: 12px;
    padding: 14px 28px; font-weight: 800; font-size: 0.9rem;
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    transition: all var(--transition);
}
.btn-console-main { background: var(--accent); color: #020617; }
.btn-console-stop { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }

/* Alex Widget */
.alex-v4-widget { position: fixed; bottom: 32px; right: 32px; z-index: 1000; }
.alex-fab {
    width: 60px; height: 60px;
    background: var(--accent);
    color: #020617;
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    transition: all var(--transition);
    position: relative;
}
.alex-fab:hover { transform: scale(1.1); }
.alex-fab.active { background: #ef4444; color: white; box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4); }

.alex-tooltip {
    position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
    background: var(--bg-card); padding: 8px 16px; border-radius: 8px;
    font-size: 0.75rem; font-weight: 700; color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.alex-fab:hover .alex-tooltip { opacity: 1; }

.alex-active-panel {
    position: absolute; bottom: 80px; right: 0;
    width: 320px; background: var(--glass-bg);
    backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border);
    border-radius: var(--radius); overflow: hidden;
    opacity: 0; transform: translateY(20px); pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.alex-active-panel.open { opacity: 1; transform: translateY(0); pointer-events: all; }

.alex-panel-header {
    padding: 20px; background: rgba(255,255,255,0.03);
    display: flex; align-items: center; gap: 12px;
}
.alex-avatar {
    width: 40px; height: 40px; background: var(--accent); color: #020617;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem;
}
.alex-info { display: flex; flex-direction: column; }
.alex-info strong { font-size: 0.95rem; }
.alex-info span { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; }
.alex-close { margin-left: auto; background: transparent; border: none; color: var(--text-muted); cursor: pointer; }

.alex-panel-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.alex-transcript {
    height: 180px; overflow-y: auto; font-size: 0.8rem; line-height: 1.6;
    display: flex; flex-direction: column-reverse; gap: 8px;
}
.alex-visual { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; position: relative; }
.alex-pulse {
    position: absolute; left: 0; top: 0; height: 100%; width: 30%;
    background: var(--accent); box-shadow: 0 0 10px var(--accent);
    animation: alex-bar 1.5s infinite linear;
}

@keyframes agent-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

@keyframes alex-bar {
    0% { left: -30%; }
    100% { left: 130%; }
}

@media (max-width: 600px) {
    .alex-active-panel { width: calc(100vw - 48px); right: -16px; }
    .hero-trust-row { flex-wrap: wrap; }
}
