/* BridgeBanks360 - Dynamic Landing Page CSS */

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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-dark: #f9fafb;
    --text-muted: #9ca3af;
    --bg-light: #1f2937;
    --bg-white: #111827;
    --bg-dark: #0f172a;
    --border: #374151;
    --shadow: rgba(0, 0, 0, 0.3);
    --card-bg: #1e293b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Pulse Ticker */
.pulse-ticker {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    animation: scroll-left 40s linear infinite;
    white-space: nowrap;
}

.pulse-item {
    padding: 0 40px;
    font-size: 14px;
    font-weight: 500;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Hero Section - Wealth Clock */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    animation: fade-in-up 0.8s ease-out;
}

.hero-subtitle {
    font-size: 24px;
    opacity: 0.9;
    margin-bottom: 48px;
    animation: fade-in-up 0.8s ease-out 0.2s both;
}

/* ============================================ */
/* SECTION 1 & 2: SIDE BY SIDE LAYOUT (70-30) */
/* ============================================ */

.combined-wealth-section {
    padding: 60px 0;
}


.combined-wealth-section .container {
    max-width: 100% !important;
    padding: 0 20px;
}

.wealth-journey-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Equal 50-50 split */
    gap: 40px;
    align-items: flex-start;
    position: relative;
}

/* Visual divider between sections - centered in 40px gap */
.wealth-journey-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;  /* Exactly centered */
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-1px);  /* Shift left by half width to center the line itself */
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(212, 175, 55, 0.4) 10%,
        rgba(212, 175, 55, 0.7) 50%,
        rgba(212, 175, 55, 0.4) 90%,
        transparent
    );
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* LEFT: Calculator Section - Unified Card Design */
.calculator-section {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* RIGHT: Wealth Clock Section - Unified Card Design */
.wealth-clock-section {
    position: sticky;
    top: 100px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.clock-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: white;
}

.clock-subtitle {
    font-size: 14px;
    text-align: center;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.8);
}

.wealth-clock-container {
    /* No extra styling needed */
}

.clock-comparison-vertical {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.clock-card-vertical {
    background: rgba(15, 23, 42, 0.4);
    color: white;
    border-radius: 12px;
    padding: 20px;
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.clock-card-vertical:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.clock-card-vertical.winner {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.clock-card-vertical.loser {
    border: 2px solid rgba(239, 68, 68, 0.5);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
}

.clock-card-vertical.flip-down {
    animation: flipDown 0.8s ease-in-out;
}

.clock-card-vertical.flip-up {
    animation: flipUp 0.8s ease-in-out;
}

.clock-card-vertical .clock-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.clock-card-vertical h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 12px 0;
}

.clock-card-vertical .clock-value {
    font-size: 26px;
    font-weight: 800;
    margin: 6px 0;
    font-variant-numeric: tabular-nums;
}

.clock-card-vertical .clock-return {
    font-size: 16px;
    font-weight: 700;
    margin-top: 4px;
}

.clock-card-vertical.left-card .clock-return {
    color: #10b981;
}

.clock-card-vertical.right-card .clock-return {
    color: var(--danger);
}

.clock-vs-vertical {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    opacity: 0.6;
    padding: 8px 0;
    color: white;
}

.clock-loss {
    text-align: center;
    font-size: 15px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.3) 100%);
    border-radius: 12px;
    margin-bottom: 12px;
    color: white;
    border: 2px solid rgba(239, 68, 68, 0.4);
}

.clock-loss span {
    color: #fbbf24;
    font-weight: 800;
    display: block;
    font-size: 18px;
    margin-top: 4px;
}

.clock-note {
    text-align: center;
    opacity: 0.7;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Stack vertically on narrow screens */
@media (max-width: 1024px) {
    .wealth-journey-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Hide divider on mobile */
    .wealth-journey-wrapper::before {
        display: none;
    }
    
    .wealth-clock-section {
        position: static;
    }
    
    .calculator-section,
    .wealth-clock-section {
        width: 100%;
        max-width: 100%;
        padding: 30px;
    }
}

.wealth-clock-container {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 24px;
    max-width: 420px;
    margin: 0 auto;
    animation: fade-in-up 0.8s ease-out 0.4s both;
}

.clock-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
}

.clock-card {
    flex: 1;
    background: white;
    color: var(--text-dark);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px var(--shadow);
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
}

.clock-card:hover {
    transform: translateY(-8px);
}

.clock-card.winner {
    border: 3px solid var(--success);
}

.clock-card.loser {
    border: 3px solid var(--danger);
}

.clock-card.flip-down {
    animation: flipDown 0.8s ease-in-out;
}

.clock-card.flip-up {
    animation: flipUp 0.8s ease-in-out;
}

@keyframes flipDown {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

@keyframes flipUp {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(-90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

.clock-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.clock-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.clock-value {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.clock-return {
    font-size: 20px;
    font-weight: 700;
}

.clock-card.nifty .clock-return {
    color: var(--success);
}

.clock-card.savings .clock-return {
    color: var(--danger);
}

.clock-vs {
    font-size: 32px;
    font-weight: 700;
    opacity: 0.7;
}

.clock-loss {
    text-align: center;
    font-size: 24px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    margin-bottom: 16px;
}

.clock-loss span {
    color: var(--danger);
    font-weight: 800;
}

.clock-note {
    text-align: center;
    opacity: 0.8;
    font-size: 14px;
}

/* Removed conflicting calculator-section rules - now defined in combined section */

.section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.retirement-section .section-title {
    color: white;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 48px;
}

.calculator-inputs {
    margin-bottom: 24px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.input-slider {
    display: flex;
    align-items: center;
    gap: 16px;
}

.input-slider input[type="range"] {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: var(--border);
    outline: none;
    -webkit-appearance: none;
}

.input-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #c9a040 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.4);
}

.input-slider input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #c9a040 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.4);
}

.slider-value {
    font-weight: 600;
    color: #d4af37;
    min-width: 100px;
}

.input-with-prefix {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    transition: border-color 0.3s ease;
}

.input-with-prefix:focus-within {
    border-color: var(--primary);
}

.input-with-prefix .prefix,
.input-with-prefix .suffix {
    font-weight: 600;
    color: var(--text-muted);
}

.input-with-prefix input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    padding: 0 8px;
    outline: none;
    color: white;
}

.calculate-btn,
.cta-btn,
.hero-cta-btn,
.final-cta-btn {
    width: 100%;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    background: linear-gradient(135deg, #d4af37 0%, #c9a040 50%, #d4af37 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.calculate-btn:hover,
.cta-btn:hover,
.hero-cta-btn:hover,
.final-cta-btn:hover {
    background: linear-gradient(135deg, #c9a040 0%, #b8941d 50%, #c9a040 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(212, 175, 55, 0.5);
}

/* Calculator Results */
.calculator-results {
    animation: fade-in-up 0.5s ease-out;
}

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

.result-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.result-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

.scenario-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border);
}

.tab-btn {
    flex: 1;
    padding: 16px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.scenario {
    display: none;
    animation: fade-in 0.3s ease-out;
}

.scenario.active {
    display: block;
}

.scenario-amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--success);
    text-align: center;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
}

.scenario-desc {
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.scenario-chart {
    margin: 32px 0;
}

.conversion-cta {
    margin-top: 48px;
    padding: 32px;
    background: var(--bg-light);
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
}

.cta-question {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

/* Retirement Section */
.retirement-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

.retirement-header {
    text-align: center;
    margin-bottom: 64px;
}

.retirement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 48px auto 0;
}

.stat-card {
    background: linear-gradient(135deg, #fbbf24 0%, #10b981 100%);
    color: #0f172a;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

.retirement-calculator {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 48px;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.calc-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.input-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

/* Retirement Results */
.retirement-results {
    margin-top: 48px;
    animation: fade-in-up 0.5s ease-out;
}

.result-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
}

.comparison-card {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 8px 24px var(--shadow);
}

.comparison-card.shortfall {
    border: 3px solid var(--danger);
}

.comparison-card.target {
    border: 3px solid var(--success);
}

.comparison-card h4 {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.big-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.comparison-card.shortfall .big-number {
    color: var(--danger);
}

.comparison-card.target .big-number {
    color: var(--success);
}

.track-status,
.need-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.comparison-arrow {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-muted);
}

.retirement-gap {
    margin-bottom: 32px;
}

.gap-alert {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger);
    border-radius: 12px;
}

.gap-icon {
    font-size: 32px;
}

.gap-content strong {
    font-size: 20px;
    color: var(--danger);
}

.gap-content p {
    margin-top: 8px;
    color: var(--text-muted);
}

.retirement-action {
    text-align: center;
}

/* Financial Aquarium */
.aquarium-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.aquarium-section .section-title,
.aquarium-section .section-subtitle {
    color: white;
}

.aquarium-container {
    max-width: 900px;
    margin: 0 auto;
}

.aquarium-tank {
    background: linear-gradient(to bottom, #4fc3f7 0%, #0277bd 100%);
    border-radius: 24px;
    height: 500px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 32px;
}

.water-level {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to bottom, rgba(79, 195, 247, 0.3) 0%, rgba(2, 119, 189, 0.8) 100%);
    animation: water-wave 3s ease-in-out infinite;
}

@keyframes water-wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fish-container,
.leak-container,
.rock-container {
    position: relative;
    height: 100%;
}

.aquarium-legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.legend-icon {
    font-size: 24px;
}

.aquarium-cta {
    text-align: center;
}

.aquarium-cta p {
    font-size: 20px;
    margin-bottom: 16px;
}

/* Wealth Accelerator */
.accelerator-section {
    background: var(--bg-light);
}

.accelerator-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.dynamic-headline {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    transition: all 0.5s ease;
}

.dynamic-subheadline {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 48px;
    transition: all 0.5s ease;
}

.retirement-slider-widget {
    background: white;
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px var(--shadow);
}

.retirement-slider-widget label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.slider-container {
    margin-bottom: 16px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.slider-output {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 24px;
}

/* Connect Section */
.connect-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.connect-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.connect-card h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.connect-card > p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-item p {
    opacity: 0.9;
}

.trust-line {
    margin-top: 24px;
    font-size: 14px;
    opacity: 0.8;
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

/* ==================== INTERACTIVE REPORT PREVIEW (COMPACT) ==================== */

.report-preview-section {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.report-preview-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.15), transparent);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: bgPulse 10s ease-in-out infinite;
}

.report-preview-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139,92,246,0.1), transparent);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: bgPulse 12s ease-in-out infinite reverse;
}

@keyframes bgPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.report-preview-section .container {
    position: relative;
    z-index: 1;
}

.report-preview-section .section-title {
    color: white;
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.report-preview-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 18px;
    margin-bottom: 48px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step span {
    font-weight: 700;
    margin-right: 4px;
}

.step.active {
    background: rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.8);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    }
    50% { 
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.7);
    }
}

.step.completed {
    background: rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.8);
    color: white;
}

.step.completed::after {
    content: ' ✓';
    font-size: 16px;
    margin-left: 4px;
}

/* Compact Q&A Container */
.compact-qa-container {
    max-width: 700px;
    margin: 0 auto 48px;
    min-height: 280px;
}

.qa-card {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    animation: slideIn 0.4s ease;
}

.qa-card.active {
    display: block;
}

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

.qa-card h3 {
    color: white;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.emoji-hint {
    font-size: 28px;
    margin-left: 8px;
}

/* Quick Options */
.quick-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.quick-btn:hover {
    background: rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.7);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.quick-btn:active {
    transform: translateX(8px) scale(0.98);
}

.btn-emoji {
    font-size: 32px;
    flex-shrink: 0;
}

.btn-label {
    font-size: 16px;
    font-weight: 500;
}

/* Income Picker */
.income-picker {
    text-align: center;
}

.income-picker input[type="range"] {
    width: 100%;
    height: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    margin-bottom: 24px;
    cursor: pointer;
}

.income-picker input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
    transition: transform 0.2s;
}

.income-picker input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.income-display {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 32px;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.8);
}

.rupee {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.6);
}

.continue-btn {
    padding: 14px 48px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Zone Picker */
.zone-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.zone-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 180px;
}

.zone-btn:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.zone-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.zone-btn.survival {
    border-color: #ef4444;
}

.zone-btn.survival:hover {
    background: rgba(239, 68, 68, 0.2);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.zone-btn.builder {
    border-color: #f59e0b;
}

.zone-btn.builder:hover {
    background: rgba(245, 158, 11, 0.2);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.zone-btn.power {
    border-color: #10b981;
}

.zone-btn.power:hover {
    background: rgba(16, 185, 129, 0.2);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.zone-icon {
    font-size: 56px;
}

.zone-name {
    color: white;
    font-size: 28px;
    font-weight: 700;
}

.zone-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

/* Goal Grid */
.goal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.goal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 180px;
}

.goal-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.goal-btn:active {
    transform: scale(1.02) rotate(0deg);
}

.goal-icon {
    font-size: 64px;
}

.goal-text {
    color: white;
    font-size: 22px;
    font-weight: 700;
}

/* AI Scanner Animation with 5 Sections */
.ai-scanner {
    display: none;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    border: 2px solid rgba(0, 255, 0, 0.2);
}

.ai-scanner.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.scanner-title {
    color: #00ff00;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    font-family: 'Courier New', monospace;
}

/* Progress Bar */
.scanner-progress {
    margin-bottom: 24px;
}

.progress-bar-outer {
    position: relative;
    width: 100%;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px solid rgba(0, 255, 0, 0.3);
    overflow: visible;
}

.progress-bar-inner {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #00cc00);
    border-radius: 14px;
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

/* 5 Report Sections Grid */
.report-sections-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.report-section {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.report-section.scanning {
    border-color: rgba(0, 255, 0, 0.6);
    background: rgba(0, 255, 0, 0.05);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.report-section.completed {
    border-color: rgba(16, 185, 129, 0.8);
    background: rgba(16, 185, 129, 0.1);
}

/* Matrix Overlay Effect */
.matrix-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, rgba(0, 255, 0, 0.1) 0px, transparent 1px, transparent 10px),
        repeating-linear-gradient(90deg, rgba(0, 255, 0, 0.1) 0px, transparent 1px, transparent 10px);
    opacity: 0;
    animation: matrixScan 1.5s ease-in-out;
    pointer-events: none;
}

.report-section.scanning .matrix-overlay {
    opacity: 1;
}

@keyframes matrixScan {
    0% { opacity: 0; transform: translateY(-100%); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(100%); }
}

.section-icon {
    font-size: 28px;
    z-index: 2;
}

.section-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    z-index: 2;
}

.section-status {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    font-family: 'Courier New', monospace;
    z-index: 2;
}

.report-section.scanning .section-status {
    color: #00ff00;
    animation: blink 0.5s infinite;
}

.report-section.completed .section-status {
    color: #10b981;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Analysis Feed */
.analysis-feed {
    margin-bottom: 24px;
    min-height: 100px;
}

.feed-msg {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    margin: 8px 0;
    opacity: 0;
    transform: translateX(-20px);
}

.feed-msg.active {
    animation: feedAppear 0.5s ease forwards;
}

@keyframes feedAppear {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Critical Leaks Alert (Shows at 90%) */
.leaks-alert {
    display: none;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.15));
    border: 2px solid rgba(239, 68, 68, 0.6);
    border-radius: 16px;
    padding: 24px;
    animation: alertPulse 1.5s ease-in-out infinite;
}

.leaks-alert.active {
    display: block;
}

@keyframes alertPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
        border-color: rgba(239, 68, 68, 0.6);
    }
    50% { 
        box-shadow: 0 0 40px rgba(239, 68, 68, 0.8);
        border-color: rgba(239, 68, 68, 1);
    }
}

.alert-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.alert-content {
    text-align: center;
}

.alert-title {
    color: #ef4444;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.alert-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 20px;
}

.leak-count {
    color: #ef4444;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.leak-preview {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.leak-item {
    color: white;
    font-size: 14px;
    margin: 10px 0;
    padding-left: 8px;
    border-left: 3px solid #ef4444;
}

.alert-action {
    color: #10b981;
    font-size: 16px;
    line-height: 1.6;
    padding: 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(16, 185, 129, 0.4);
}

.alert-action strong {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Old scanner overlay - hide */
.scan-overlay {
    display: none !important;
}

.scan-status {
    position: relative;
    z-index: 2;
}

.scan-msg {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    margin: 12px 0;
    opacity: 0;
    animation: scanAppear 0.5s ease forwards;
}

.scan-msg:nth-child(1) { animation-delay: 0.3s; }
.scan-msg:nth-child(2) { animation-delay: 0.9s; }
.scan-msg:nth-child(3) { animation-delay: 1.5s; }
.scan-msg:nth-child(4) { animation-delay: 2.1s; color: #10b981; }

@keyframes scanAppear {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Big Reveal */
.big-reveal {
    display: none;
    text-align: center;
}

.big-reveal.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

.reveal-header {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.age-swap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.age-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

.age-box.optimized {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.1);
}

.age-tag {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-num {
    color: white;
    font-size: 56px;
    font-weight: 800;
}

.age-num.glow {
    color: #10b981;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
    animation: ageGlow 2s ease-in-out infinite;
}

@keyframes ageGlow {
    0%, 100% { transform: scale(1); text-shadow: 0 0 30px rgba(16, 185, 129, 0.8); }
    50% { transform: scale(1.05); text-shadow: 0 0 40px rgba(16, 185, 129, 1); }
}

.swap-arrow {
    color: white;
    font-size: 32px;
    opacity: 0.6;
}

.reveal-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 32px;
}

.reveal-tagline strong {
    color: #10b981;
    font-weight: 800;
}

.big-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    animation: ctaPulse 2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.big-cta:hover {
    transform: scale(1.05);
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 10px 50px rgba(16, 185, 129, 0.7); }
}

.cta-icon {
    font-size: 24px;
}

/* Mini Report Preview - Compact Horizontal */
.mini-report-preview {
    max-width: 700px;
    margin: 0 auto;
}

.preview-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.preview-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.preview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 0 0 auto;
    width: 120px;
    min-height: 100px;
}

.preview-card.locked {
    opacity: 0.4;
    filter: grayscale(1) blur(2px);
    transform: scale(0.95);
}

.preview-card.locked:hover {
    opacity: 0.5;
    transform: scale(0.97);
}

.preview-card.unlocked {
    opacity: 1;
    filter: grayscale(0) blur(0);
    border-color: rgba(16, 185, 129, 0.7);
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    animation: cardUnlock 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(1);
}

.preview-card.unlocked:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

@keyframes cardUnlock {
    0% { 
        transform: scale(0.8) rotateZ(-5deg);
        opacity: 0.5;
    }
    60% { 
        transform: scale(1.1) rotateZ(5deg);
    }
    100% { 
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
    }
}

.card-icon {
    font-size: 32px;
    transition: transform 0.3s ease;
}

.preview-card.unlocked .card-icon {
    animation: iconPop 0.5s ease 0.3s;
}

@keyframes iconPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.card-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.card-lock {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.preview-card.unlocked .card-lock {
    font-size: 20px;
    color: #10b981;
    animation: checkBounce 0.5s ease 0.4s;
}

@keyframes checkBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .progress-steps {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .step {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .compact-qa-container {
        padding: 0 16px;
    }
    
    .qa-card {
        padding: 24px 20px;
    }
    
    .qa-card h3 {
        font-size: 20px;
    }
    
    .zone-picker {
        grid-template-columns: 1fr;
    }
    
    .goal-grid {
        grid-template-columns: 1fr;
    }
    
    .age-swap {
        flex-direction: column;
        gap: 16px;
    }
    
    .swap-arrow {
        transform: rotate(90deg);
    }
    
    .preview-grid {
        flex-wrap: wrap;
    }
    
    .preview-card {
        width: 100px;
        min-height: 90px;
        padding: 12px 8px;
    }
    
    .card-icon {
        font-size: 28px;
    }
    
    .card-title {
        font-size: 11px;
    }
    
    /* AI Scanner Mobile */
    .report-sections-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .section-icon {
        font-size: 24px;
    }
    
    .section-name {
        font-size: 10px;
    }
    
    .leak-item {
        font-size: 12px;
    }
}

/* ==================== EXISTING STYLES ==================== */

    .section-title {
        font-size: 28px;
    }

    .clock-comparison {
        flex-direction: column;
    }

    .clock-vs {
        transform: rotate(90deg);
    }

    .calculator-card,
    .retirement-calculator {
        padding: 24px;
    }

    .result-comparison {
        flex-direction: column;
    }

    .comparison-arrow {
        transform: rotate(90deg);
    }

    .dynamic-headline {
        font-size: 32px;
    }
}

/* ============= CHAOS TO ZEN SECTION STYLES ============= */

/* Chaos Section Container */
.chaos-zen-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

#chaos-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    z-index: 10;
}

#chaos-container.fade-out {
    opacity: 0;
    transform: scale(1.1);
    filter: blur(10px);
}

.ticker-wrapper {
    display: flex;
    height: 100%;
    width: 110%;
    margin-left: -5%;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.ticker-column-container {
    width: 25%;
    overflow: hidden;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker-column {
    display: flex;
    flex-direction: column;
    animation: chaosScroll linear infinite;
}

#col-1 {
    animation-duration: 15s;
}

#col-2 {
    animation-duration: 10s;
    animation-direction: reverse;
}

#col-3 {
    animation-duration: 18s;
}

#col-4 {
    animation-duration: 12s;
    animation-direction: reverse;
}

@keyframes chaosScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.ticker-item {
    padding: 25px 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.stress-red {
    color: #ff4d4d;
}

.chaos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, transparent 0%, rgba(15, 12, 41, 0.9) 90%);
    text-align: center;
    padding: 20px;
    z-index: 15;
}

.chaos-overlay h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.sub-chaos {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Benefits Links - Animated Hyperlinks */
.benefits-links {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 0 5%;
}

.benefits-links.visible {
    opacity: 1;
}

.benefit-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-50px);
    animation-fill-mode: forwards;
    text-align: center;
    padding: 0 10px;
}

.benefit-link.slide-in {
    animation: slideInFromLeft 0.6s ease forwards;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.benefit-link:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

#zen-trigger {
    padding: 20px 50px;
    background: white;
    color: #0f172a;
    border: 2px solid white;
    font-weight: 900;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    letter-spacing: 2px;
}

#zen-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.95);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chaos-overlay h1 {
        font-size: 2.2rem;
    }

    .sub-chaos {
        font-size: 1rem;
    }

    #zen-trigger {
        padding: 16px 35px;
        font-size: 1rem;
    }

    .benefits-links {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 20px;
    }

    .benefit-link {
        font-size: 0.95rem;
        white-space: normal;
        text-align: center;
        margin: 5px 10px;
    }

    .zen-header h2 {
        font-size: 2rem;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pillar-card {
        padding: 30px 20px;
    }
}

/* ============= OLD INTERACTIVE REPORT STYLES (REMOVED) ============= */

/* Basic Utility Classes */
.hidden {
    display: none;
}

/* App Flow Container */
.app-flow-container {
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.app-flow-container.pushed-back {
    transform: scale(0.9) translateY(-20px);
    opacity: 0.3;
}

/* Insight Pop-up */
#insight-popup {
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

#insight-popup.insight-hidden {
    opacity: 0;
    pointer-events: none;
}

#insight-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.insight-content {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.5);
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
}

.insight-icon {
    font-size: 24px;
}

#insight-text {
    color: white;
    margin: 0;
}

/* Flow Card */
.flow-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.quiz-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    width: 100%;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: white;
    text-align: left;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    font-weight: 500;
}

.option-btn:hover {
    border-color: rgba(99, 102, 241, 0.7);
    background: rgba(99, 102, 241, 0.15);
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* Scanner Section */
#scanner-section,
#result-section {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scan-window {
    height: 280px;
    background: #000;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: inset 0 0 40px rgba(99, 102, 241, 0.2);
}

.transaction-list {
    position: absolute;
    width: 100%;
    animation: scrollTx 4s linear infinite;
}

@keyframes scrollTx {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.tx-item {
    padding: 16px 20px;
    border-bottom: 1px solid #1a1a1a;
    font-size: 12px;
    color: #555;
    font-family: 'Courier New', monospace;
}

.zoom-bar {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 60px;
    margin-top: -30px;
    background: rgba(99, 102, 241, 0.2);
    border-top: 2px solid rgba(99, 102, 241, 0.8);
    border-bottom: 2px solid rgba(99, 102, 241, 0.8);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.lens-label {
    color: rgba(99, 102, 241, 1);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.scan-status {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

#scan-msg {
    font-size: 14px;
    margin-bottom: 12px;
}

.mini-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

#mini-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(99, 102, 241, 1), rgba(139, 92, 246, 1));
    animation: progressGrow 4s ease-in-out infinite;
}

@keyframes progressGrow {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Result Section */
.result-title {
    color: white;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
}

.math-formula {
    text-align: center;
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.freedom-banner {
    display: flex;
    justify-content: space-around;
    margin: 32px 0;
    text-align: center;
    gap: 24px;
}

.freedom-banner .stat {
    flex: 1;
}

.freedom-banner span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    font-weight: 600;
}

.freedom-banner h3 {
    font-size: 36px;
    margin: 8px 0;
    font-weight: 800;
}

.red {
    color: #ff4d4d;
}

.green {
    color: #00ffaa;
}

.graph-container {
    height: 240px;
    margin: 32px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
}

.controls {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.toggle-btn {
    flex: 1;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.toggle-btn.active {
    border-color: rgba(99, 102, 241, 0.8);
    color: white;
    background: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.2);
}

.cta-primary {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 1), rgba(139, 92, 246, 1));
    border: none;
    font-weight: 800;
    border-radius: 14px;
    cursor: pointer;
    font-size: 17px;
    color: white;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

/* PDF Preview Overlay */
#pdf-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 200;
    pointer-events: none;
}

.hidden-overlay {
    pointer-events: none;
}

.hidden-overlay .pdf-modal-content {
    transform: translateY(100%);
    opacity: 0;
}

.pdf-modal-content {
    width: 90%;
    max-width: 550px;
    height: 85vh;
    background: #e0e5ec;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    color: #333;
}

#pdf-preview-overlay:not(.hidden-overlay) .pdf-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 2px solid #ccc;
    font-size: 10px;
    font-weight: bold;
    color: #666;
    letter-spacing: 1.5px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}

.pdf-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    color: rgba(99, 102, 241, 1);
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
}

.pdf-close-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.6);
    transform: rotate(90deg) scale(1.1);
}

#pdf-dynamic-container {
    position: relative;
    height: calc(100% - 80px);
    padding: 24px;
    overflow: hidden;
}

.report-item-pop {
    position: absolute;
    left: 24px;
    right: 24px;
    padding: 16px;
    background: white;
    border-left: 4px solid rgba(99, 102, 241, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    opacity: 0;
    animation: popInOut 2s ease-in-out forwards;
    border-radius: 8px;
}

@keyframes popInOut {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    20% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.pdf-cta-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 48px 32px;
    background: linear-gradient(to top, rgba(13, 17, 23, 1) 60%, rgba(13, 17, 23, 0));
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.pdf-cta-layer h2 {
    margin: 0;
    color: rgba(99, 102, 241, 1);
    font-size: 24px;
    font-weight: 800;
}

.pdf-cta-layer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cta-final {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 1), rgba(139, 92, 246, 1));
    color: white;
    border: none;
    font-weight: 800;
    border-radius: 14px;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
}

.cta-final:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 45px rgba(99, 102, 241, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .app-flow-container {
        max-width: 100%;
        padding: 0 16px;
    }

    .flow-card {
        padding: 28px 20px;
    }

    .quiz-title {
        font-size: 22px;
    }

    .scan-window {
        height: 220px;
    }

    .result-title {
        font-size: 26px;
    }

    .freedom-banner {
        flex-direction: column;
        gap: 16px;
    }

    .graph-container {
        height: 200px;
        padding: 16px;
    }

    .controls {
        flex-direction: column;
    }

    .pdf-modal-content {
        width: 100%;
        max-width: 100%;
    }
}
