:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --bg-card: #1f1f1f;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --accent-red: #ff4444;
    --accent-green: #00ff88;
    --accent-blue: #4488ff;
    --accent-orange: #ff8844;
    --danger: #ff3333;
    --warning: #ffaa33;
    --success: #33ff88;
    --gradient-danger: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    --gradient-success: linear-gradient(135deg, #00ff88 0%, #00cc44 100%);
    --gradient-primary: linear-gradient(135deg, #4488ff 0%, #2244cc 100%);
    --shadow-glow: 0 0 30px rgba(255, 68, 68, 0.3);
    --shadow-success: 0 0 30px rgba(0, 255, 136, 0.3);
    --shadow-primary: 0 0 30px rgba(68, 136, 255, 0.3);
}

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

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

/* Noise overlay for gritty texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 68, 68, 0.2);
    padding: 2rem 0 1rem;
    text-align: center;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 2rem;
    opacity: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #ff4444 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    opacity: 0;
}

/* Panel System */
.panel-container {
    min-height: 80vh;
    position: relative;
    margin: 4rem 0;
    padding-top: 200px; /* Account for fixed header height */
}

.panel {
    display: none;
    padding: 2rem 0 4rem; /* Reduced top padding since header is now fixed */
}

.panel.active {
    display: block;
}

.panel-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    text-align: center;
}

.panel-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    text-align: center;
}

.panel-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
}

.highlight-red {
    color: var(--accent-red);
    font-weight: 700;
}

.highlight-green {
    color: var(--accent-green);
    font-weight: 700;
}

.highlight-blue {
    color: var(--accent-blue);
    font-weight: 700;
}

/* Reality Grid (Panel 1) */
.reality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.reality-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.reality-card.danger {
    border-left-color: var(--danger);
    box-shadow: 0 4px 20px rgba(255, 51, 51, 0.1);
}

.reality-card.warning {
    border-left-color: var(--warning);
    box-shadow: 0 4px 20px rgba(255, 170, 51, 0.1);
}

.reality-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.reality-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.reality-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.source {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.brutal-quote {
    margin: 4rem 0;
    text-align: center;
}

.brutal-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent-red);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.brutal-quote cite {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: normal;
}

/* Rescue Stats (Panel 2) */
.rescue-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.stat-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--accent-red);
    opacity: 0;
    transform: scale(0.9);
}

.stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.rescue-process {
    margin: 4rem 0;
}

.rescue-process h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-green);
}

.process-steps {
    display: grid;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-green);
    opacity: 0;
    transform: translateX(-30px);
}

.step-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-green);
    min-width: 60px;
}

.step-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
}

/* Cost Breakdown (Panel 3) */
.cost-breakdown {
    display: grid;
    gap: 3rem;
    margin: 3rem 0;
}

.cost-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-red);
    opacity: 0;
    transform: translateY(30px);
}

.cost-category h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-red);
}

.cost-items {
    display: grid;
    gap: 1rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 68, 68, 0.05);
    border-radius: 8px;
}

.cost-desc {
    color: var(--text-secondary);
}

.cost-amount {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--accent-red);
}

.reality-quote {
    margin: 4rem 0;
    text-align: center;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--accent-red);
}

.reality-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.reality-quote cite {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: normal;
}

/* Comparison Table (Panel 4) */
.comparison-table {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    margin: 3rem 0;
    opacity: 0;
    transform: translateY(30px);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--bg-secondary);
    padding: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-blue);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comp-label {
    padding: 1.5rem;
    font-weight: 600;
    background: rgba(68, 136, 255, 0.1);
    color: var(--accent-blue);
}

.comp-bad, .comp-good {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comp-bad {
    background: rgba(255, 68, 68, 0.05);
    color: var(--text-secondary);
}

.comp-good {
    background: rgba(0, 255, 136, 0.05);
    color: var(--text-secondary);
}

.comp-bad .icon {
    color: var(--accent-red);
}

.comp-good .icon {
    color: var(--accent-green);
}

.expertise-highlight {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--accent-blue);
    margin: 3rem 0;
    text-align: center;
}

.expertise-highlight h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

/* Success Stories (Panel 5) */
.success-stories {
    display: grid;
    gap: 3rem;
    margin: 3rem 0;
}

.story-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-green);
    opacity: 0;
    transform: translateY(30px);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.story-icon {
    font-size: 2rem;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-green);
}

.story-problem, .story-solution, .story-result {
    margin-bottom: 1.5rem;
}

.story-problem h4 {
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.story-solution h4 {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.story-result h4 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.testimonial {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--accent-green);
    text-align: center;
    margin: 3rem 0;
}

.testimonial blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.testimonial cite {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: normal;
}

/* Final Panel (Panel 6) */
.urgency-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.urgency-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--accent-red);
    opacity: 0;
    transform: scale(0.9);
}

.urgency-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.urgency-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.rescue-offer {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 2px solid var(--accent-green);
    margin: 3rem 0;
    text-align: center;
}

.rescue-offer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.assessment-includes {
    text-align: left;
    margin: 2rem 0;
}

.assessment-includes h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.assessment-includes ul {
    list-style: none;
    padding: 0;
}

.assessment-includes li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.cta-section {
    text-align: center;
    margin: 4rem 0;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-danger);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-glow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 68, 68, 0.4);
}

.cta-button.emergency {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: var(--shadow-glow); }
    50% { box-shadow: 0 0 50px rgba(255, 68, 68, 0.6); }
    100% { box-shadow: var(--shadow-glow); }
}

.cta-subtext {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.contact-info {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.contact-info p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.final-message {
    text-align: center;
    margin: 3rem 0;
    font-size: 1.2rem;
}

.final-message p {
    margin: 1rem 0;
}

/* Navigation */
.panel-nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(31, 31, 31, 0.9);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 68, 68, 0.3);
    z-index: 100;
}

.nav-btn {
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--accent-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.nav-dots {
    display: flex;
    gap: 1rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

.nav-dot:hover {
    background: var(--accent-red);
    transform: scale(1.2);
}

.panel-counter {
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    header {
        padding: 1.5rem 0 0.75rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .panel-container {
        padding-top: 160px; /* Reduced for mobile */
    }
    
    .panel-nav {
        bottom: 1rem;
        padding: 0.75rem 1.5rem;
        gap: 1rem;
    }
    
    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .reality-grid {
        grid-template-columns: 1fr;
    }
    
    .rescue-stats {
        grid-template-columns: 1fr;
    }
    
    .urgency-stats {
        grid-template-columns: 1fr;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .comp-label {
        background: var(--bg-secondary);
        font-weight: 700;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
}
