/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Rich and Vibrant */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #3b82f6;
    
    /* Accent Colors */
    --accent-orange: #f59e0b;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --accent-red: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #8b5cf6 50%, #f59e0b 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #581c87 100%);
    --gradient-accent: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gray-900);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.brand-text {
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    transition: var(--transition-fast);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(55, 48, 163, 0.8) 50%, rgba(88, 28, 135, 0.9) 100%);
}

.animated-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-plane {
    position: absolute;
    font-size: 30px;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.plane-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.plane-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.plane-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.code-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.particle {
    position: absolute;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    animation: particle-float 8s linear infinite;
}

.particle:nth-child(1) { left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 40%; animation-delay: 1.6s; }
.particle:nth-child(3) { left: 60%; animation-delay: 3.2s; }
.particle:nth-child(4) { left: 80%; animation-delay: 4.8s; }
.particle:nth-child(5) { left: 90%; animation-delay: 6.4s; }

@keyframes particle-float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    opacity: 0.9;
    margin-top: 10px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-orange);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.stat-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    opacity: 0.5;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Key Insight Section */
.key-insight {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.insight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.insight-quote {
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -20px;
}

blockquote {
    font-size: 1.4rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 20px;
    padding-left: 30px;
}

cite {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.timeline-visual {
    display: flex;
    align-items: center;
    gap: 20px;
}

.timeline-point {
    text-align: center;
    position: relative;
}

.timeline-point.active .year {
    background: var(--gradient-primary);
    color: white;
}

.timeline-point.future .year {
    background: var(--gradient-accent);
    color: white;
}

.year {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.event {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.duration {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.timeline-line {
    width: 40px;
    height: 2px;
    background: var(--gray-300);
}

/* Problem Solution Section */
.problem-solution {
    padding: var(--section-padding);
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-600);
}

.crisis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.crisis-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid;
    transition: var(--transition-normal);
}

.crisis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.crisis-card.danger {
    border-top-color: var(--accent-red);
}

.crisis-card.warning {
    border-top-color: var(--accent-orange);
}

.crisis-card.critical {
    border-top-color: var(--accent-purple);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.danger .card-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
}

.warning .card-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
}

.critical .card-icon {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
}

.crisis-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.crisis-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.impact-level {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.impact-level.high {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
}

.impact-level.medium {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
}

.impact-level.critical {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
}

.solution-preview {
    background: var(--gradient-hero);
    color: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.solution-preview h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.solution-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.principle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.principle i {
    font-size: 1.2rem;
    color: var(--accent-orange);
}

/* Chapter Explorer */
.chapter-explorer {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.explorer-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.chapter-sidebar {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-100);
}

.sidebar-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.sidebar-header p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.chapter-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Chapter Section Accordion */
.chapter-section {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.section-header {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-fast);
}

.section-header:hover {
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
}

.section-header h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--gray-700);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header i {
    transition: transform var(--transition-fast);
}

.chapter-section.expanded .section-header i {
    transform: rotate(180deg);
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.chapter-section.expanded .section-content {
    max-height: 1000px;
}

.section-content .chapter-item {
    margin: 0;
    border-bottom: 1px solid var(--gray-100);
}

.section-content .chapter-item:last-child {
    border-bottom: none;
}

.chapter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    margin: 5px 0;
}

.chapter-item:hover {
    background: var(--gray-50);
}

.chapter-item.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: var(--primary-blue);
}

.chapter-number {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    flex-shrink: 0;
}

/* Colorful chapter number backgrounds */
.intro-bg { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.ch1-bg { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.ch2-bg { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.ch3-bg { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.ch4-bg { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.ch5-bg { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.ch6-bg { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }
.ch7-bg { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.ch8-bg { background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%); }
.ch9-bg { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.ch10-bg { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); }
.ch11-bg { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }
.ch12-bg { background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%); }
.ch13-bg { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.conclusion-bg { background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); }

.chapter-item.active .chapter-number {
    background: var(--gradient-primary);
    color: white;
}

.chapter-info h4 {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-900);
    margin-bottom: 3px;
    line-height: 1.3;
}

.chapter-info p {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.2;
}

.chapter-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.content-panel {
    display: none;
    padding: 40px;
}

.content-panel.active {
    display: block;
}

.content-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-100);
}

.content-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.content-meta {
    display: flex;
    gap: 20px;
}

.content-meta span {
    font-size: 0.9rem;
    color: var(--gray-500);
    padding: 5px 12px;
    background: var(--gray-100);
    border-radius: 20px;
}

.content-body .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 25px;
    line-height: 1.7;
}

.content-body p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.key-insight-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 2px solid var(--primary-blue);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.key-insight-box.final {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-color: var(--accent-orange);
}

.key-insight-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.key-insight-box.final h4 {
    color: var(--accent-orange);
}

.chapter-highlights {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

.chapter-highlights h4 {
    font-family: var(--font-heading);
    color: var(--gray-900);
    margin-bottom: 15px;
}

.chapter-highlights ul {
    list-style: none;
    padding: 0;
}

.chapter-highlights li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.chapter-highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.framework-diagram {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.framework-diagram h4 {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--gray-900);
    margin-bottom: 30px;
}

.loop-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step h5 {
    font-family: var(--font-heading);
    color: var(--gray-900);
    margin-bottom: 10px;
}

.arrow {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: bold;
}

.chapter-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.comparison-item {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 25px;
}

.comparison-item h5 {
    font-family: var(--font-heading);
    color: var(--gray-900);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.comparison-item ul {
    list-style: none;
    padding: 0;
}

.comparison-item li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.comparison-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.optimist-agenda {
    margin-top: 30px;
}

.optimist-agenda h4 {
    font-family: var(--font-heading);
    color: var(--gray-900);
    margin-bottom: 20px;
    text-align: center;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.agenda-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.agenda-item i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

/* Author Section */
.author-section {
    padding: var(--section-padding);
    background: white;
}

.author-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.author-visual {
    text-align: center;
}

.author-avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 20px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.avatar-placeholder {
    font-size: 4rem;
    color: white;
}

.author-credentials {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--gray-50);
    border-radius: 10px;
    font-size: 0.9rem;
}

.credential i {
    color: var(--primary-blue);
}

.author-info h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--gray-900);
    margin-bottom: 25px;
}

.author-bio {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.author-quote {
    background: var(--gray-50);
    border-left: 4px solid var(--primary-blue);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.author-quote blockquote {
    font-size: 1rem;
    font-style: italic;
    color: var(--gray-700);
    margin: 0;
    padding: 0;
}

.author-cta {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Contact CTA Section */
.contact-cta {
    padding: var(--section-padding);
    background: var(--gradient-hero);
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.benefit i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    font-family: var(--font-heading);
    margin-bottom: 25px;
    text-align: center;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.newsletter-form input,
.newsletter-form textarea {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
}

.newsletter-form input::placeholder,
.newsletter-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form textarea {
    resize: vertical;
    min-height: 100px;
}

.final-cta {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 40px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.social-proof p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

.brand-logo i {
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-brand p {
    line-height: 1.6;
}

.copyright {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.link-group h4 {
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 20px;
}

.link-group a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.link-group a:hover {
    color: var(--primary-blue-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .explorer-layout {
        grid-template-columns: 1fr;
    }
    
    .chapter-sidebar {
        position: static;
        order: 2;
    }
    
    .chapter-content {
        order: 1;
    }
    
    .author-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .insight-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-visual {
        flex-direction: column;
        gap: 15px;
    }
    
    .timeline-line {
        width: 2px;
        height: 30px;
    }
    
    .crisis-grid {
        grid-template-columns: 1fr;
    }
    
    .loop-steps {
        flex-direction: column;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .chapter-comparison {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .content-panel {
        padding: 25px;
    }
    
    .chapter-sidebar {
        padding: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Counter Animation */
.counter-animation {
    animation: countUp 2s ease-out;
}

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