/* ============================================================
   MUHAMMAD BIN TUGHLAQ: THE UNTOLD HISTORY
   Design System & Global Styles
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
    /* Primary Colors */
    --saffron: #FF9933;
    --saffron-dark: #E07A1F;
    --saffron-light: #FFB366;
    --gold: #D4A843;
    --gold-light: #F0D68A;
    --gold-dark: #A67C2E;

    /* Accent Colors */
    --crimson: #8B1A1A;
    --crimson-deep: #5C0E0E;
    --crimson-light: #C0392B;
    --blood: #6B0000;
    --temple-stone: #C4A265;
    --sacred-green: #1B5E20;

    /* Neutrals */
    --bg-primary: #0A0A0F;
    --bg-secondary: #111118;
    --bg-tertiary: #1A1A24;
    --bg-card: #16161F;
    --bg-card-hover: #1E1E2A;
    --bg-overlay: rgba(10, 10, 15, 0.85);

    --text-primary: #E8E6E3;
    --text-secondary: #A09B94;
    --text-muted: #6B6660;
    --text-accent: var(--saffron);

    --border-subtle: rgba(212, 168, 67, 0.12);
    --border-medium: rgba(212, 168, 67, 0.25);
    --border-accent: rgba(255, 153, 51, 0.4);

    /* Typography */
    --font-display: 'Cinzel', 'Georgia', serif;
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 30px rgba(255, 153, 51, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(255, 153, 51, 0.25);

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-very-slow: 800ms ease;

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 900px;
    --max-width-wide: 1400px;
    --nav-height: 72px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--saffron);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

ul,
ol {
    list-style: none;
}

/* Selection */
::selection {
    background: rgba(255, 153, 51, 0.3);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.site-nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--space-6);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-icon {
    font-size: var(--text-2xl);
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
}

.nav-logo-text .highlight {
    color: var(--saffron);
}

.nav-logo-text .logo-line2 {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.nav-link {
    padding: var(--space-2) var(--space-3);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--saffron);
    background: rgba(255, 153, 51, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--saffron);
    border-radius: var(--radius-full);
}

/* Language switch */
.lang-switch {
    flex-shrink: 0;
    margin-left: var(--space-2);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 6px 12px;
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    color: var(--saffron);
    font-size: var(--text-xs);
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.lang-btn:hover {
    background: rgba(255, 153, 51, 0.2);
    color: var(--saffron-light);
}

.lang-icon { font-size: 1rem; }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 1001;
    flex-shrink: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
}
.mobile-overlay.active { display: block; }

/* ============================================================
   Journey Progress
   ============================================================ */
.journey-progress {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.05);
    z-index: 999;
}

.journey-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--saffron), var(--gold), var(--crimson-light));
    transition: width 0.1s linear;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-20) var(--space-6);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 15, 0.3) 0%,
            rgba(10, 10, 15, 0.6) 40%,
            rgba(10, 10, 15, 0.95) 100%);
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 153, 51, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 26, 26, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(212, 168, 67, 0.04) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-8);
    animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-7xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title .line { display: block; }

.hero-title .accent {
    color: var(--saffron);
    text-shadow: 0 0 40px rgba(255, 153, 51, 0.3);
}

.hero-title .accent-crimson {
    color: var(--crimson-light);
    text-shadow: 0 0 40px rgba(192, 57, 43, 0.3);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-10);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--text-xs);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s ease infinite;
}

.hero-scroll-indicator .arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-base);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 153, 51, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 153, 51, 0.4);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: rgba(212, 168, 67, 0.1);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

/* ============================================================
   Sections
   ============================================================ */
.section {
    padding: var(--space-24) var(--space-6);
    position: relative;
}

.section-dark { background: var(--bg-secondary); }
.section-darker { background: var(--bg-tertiary); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.container-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
}

.container-wide {
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-4);
    background: rgba(255, 153, 51, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-4);
    font-family: var(--font-mono);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.section-title .accent { color: var(--saffron); }

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-subtle);
}

.card-image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-4);
}

.card-image-placeholder .placeholder-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-2);
}

.card-image-placeholder .placeholder-text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    font-style: italic;
}

.card-body { padding: var(--space-6); }

.card-tag {
    display: inline-flex;
    padding: var(--space-1) var(--space-3);
    background: rgba(255, 153, 51, 0.1);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-3);
    font-weight: 600;
}

.card-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.card-text {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--saffron);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.card-link:hover {
    gap: var(--space-3);
    color: var(--gold-light);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-6);
}

.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(480px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ============================================================
   Statistics / Counters
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
}

.stat-card {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--saffron), var(--gold), var(--crimson-light));
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-accent);
}

.stat-icon { font-size: var(--text-4xl); margin-bottom: var(--space-3); }

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 900;
    color: var(--saffron);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-source {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-2);
    font-style: italic;
}

/* ============================================================
   Timeline
   ============================================================ */
.timeline {
    position: relative;
    padding: var(--space-8) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            var(--gold-dark),
            var(--saffron),
            var(--crimson),
            var(--gold-dark),
            transparent);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: var(--space-6);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: var(--space-12);
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: var(--space-12);
}

.timeline-dot {
    position: absolute;
    top: var(--space-8);
    width: 16px;
    height: 16px;
    background: var(--saffron);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--saffron);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--saffron);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
}

.timeline-tag {
    display: inline-flex;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.timeline-tag.atrocity { background: rgba(139,26,26,0.3); color: #ff8888; }
.timeline-tag.policy { background: rgba(212,168,67,0.2); color: var(--gold-light); }
.timeline-tag.economic { background: rgba(27,94,32,0.2); color: #88dd88; }

/* ============================================================
   Page Header (sub-pages)
   ============================================================ */
.page-header {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--space-16);
    margin-top: var(--nav-height);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 15, 0.4) 0%,
            rgba(10, 10, 15, 0.7) 50%,
            rgba(10, 10, 15, 0.97) 100%);
    z-index: 1;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.page-header .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 var(--space-6);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--saffron); }
.breadcrumb .separator { opacity: 0.4; }
.breadcrumb .current { color: var(--text-secondary); }

.page-header-badge {
    display: inline-flex;
    padding: var(--space-1) var(--space-4);
    background: rgba(255, 153, 51, 0.15);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-mono);
    margin-bottom: var(--space-4);
}

.page-header-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-4);
}

.page-header-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.8;
}

.text-saffron { color: var(--saffron); }
.text-crimson { color: var(--crimson-light); }
.text-gold { color: var(--gold); }

/* ============================================================
   Content Blocks (text-heavy pages)
   ============================================================ */
.content-block {
    line-height: 1.9;
}

.content-block h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    margin-top: var(--space-12);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-subtle);
}

.content-block h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.content-block h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gold);
    margin-bottom: var(--space-4);
    margin-top: var(--space-8);
}

.content-block p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
}

.content-block ul, .content-block ol {
    list-style: none;
    margin-bottom: var(--space-6);
    padding-left: 0;
}

.content-block li {
    color: var(--text-secondary);
    padding: var(--space-3) 0 var(--space-3) var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    line-height: 1.7;
}

.content-block li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--saffron);
    font-size: 0.8em;
    top: var(--space-3);
}

.content-block li:last-child { border-bottom: none; }
.content-block strong { color: var(--text-primary); }

/* ============================================================
   Blockquote
   ============================================================ */
.blockquote {
    position: relative;
    padding: var(--space-8) var(--space-8) var(--space-8) var(--space-12);
    background: var(--bg-card);
    border-left: 4px solid var(--saffron);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: var(--space-8) 0;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
}

.blockquote::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    font-size: 4rem;
    color: var(--saffron);
    opacity: 0.5;
    font-family: var(--font-display);
    line-height: 1;
}

.blockquote-source {
    display: block;
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-style: normal;
}

/* ============================================================
   Info Boxes
   ============================================================ */
.info-box {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
    border: 1px solid var(--border-subtle);
}

.info-box.warning {
    background: rgba(139, 26, 26, 0.1);
    border-color: rgba(139, 26, 26, 0.3);
}

.info-box.neutral {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.info-box.info {
    background: rgba(212, 168, 67, 0.08);
    border-color: rgba(212, 168, 67, 0.25);
}

.info-box-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
}

/* ============================================================
   Comparison Layout
   ============================================================ */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.comparison-card {
    padding: var(--space-8);
    border-radius: var(--radius-lg);
}

.comparison-card.myth {
    background: rgba(27, 94, 32, 0.1);
    border: 1px solid rgba(27, 94, 32, 0.3);
}

.comparison-card.reality {
    background: rgba(139, 26, 26, 0.1);
    border: 1px solid rgba(139, 26, 26, 0.3);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.comparison-icon { font-size: var(--text-3xl); }

.comparison-label {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: 1px;
}

/* ============================================================
   Source List
   ============================================================ */
.source-list { display: flex; flex-direction: column; gap: var(--space-4); }

.source-item {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.source-item:hover {
    border-color: var(--border-medium);
    background: var(--bg-card-hover);
}

.source-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--saffron);
    opacity: 0.5;
    flex-shrink: 0;
    min-width: 40px;
}

.source-details h4 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.source-details p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: var(--space-3);
}

.source-type {
    display: inline-flex;
    padding: 2px 10px;
    background: rgba(255, 153, 51, 0.1);
    color: var(--saffron);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   Portrait / Founder Card
   ============================================================ */
.portrait-section {
    display: flex;
    gap: var(--space-10);
    align-items: flex-start;
    margin: var(--space-8) 0;
}

.portrait-image {
    width: 280px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-medium);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.founder-card {
    display: flex;
    gap: var(--space-8);
    align-items: flex-start;
    padding: var(--space-8);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.founder-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--saffron);
    flex-shrink: 0;
}

.founder-info h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.founder-title {
    color: var(--saffron);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-4);
}

.founder-info p {
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

/* ============================================================
   Tabs
   ============================================================ */
.tabs { margin: var(--space-8) 0; }

.tab-list {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

.tab-btn {
    padding: var(--space-3) var(--space-5);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text-muted);
    transition: all var(--transition-fast);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tab-btn:hover { color: var(--text-secondary); }

.tab-btn.active {
    color: var(--saffron);
    border-bottom-color: var(--saffron);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================================
   Next Chapter Nav
   ============================================================ */
.next-chapter {
    padding: var(--space-12) var(--space-6);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.next-chapter-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-4);
}

.next-chapter-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
}

.next-chapter-title a { color: var(--text-primary); }
.next-chapter-title a:hover { color: var(--saffron); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: var(--space-16) var(--space-6) var(--space-8);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.8;
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-4);
}

.footer-section a {
    display: block;
    color: var(--text-muted);
    font-size: var(--text-sm);
    padding: var(--space-1) 0;
    transition: color var(--transition-fast);
}

.footer-section a:hover { color: var(--saffron); }

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-8);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer-bottom .disclaimer {
    margin-top: var(--space-4);
    font-size: var(--text-xs);
    opacity: 0.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ============================================================
   Modal / Lightbox
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
    line-height: 1;
}

.modal-content img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

/* ============================================================
   Reveal Animations
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all var(--transition-slow);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all var(--transition-slow);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================================
   Utilities
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* ============================================================
   Responsive — Tablet
   ============================================================ */
@media (max-width: 1024px) {
    :root { --nav-height: 72px; }

    .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-8); }

    .card-grid-3 { grid-template-columns: repeat(2, 1fr); }

    .comparison { grid-template-columns: 1fr; }

    .portrait-section { flex-direction: column; }
    .portrait-image { width: 100%; max-width: 400px; }

    .nav-link { padding: var(--space-2) var(--space-2); font-size: 0.72rem; }
}

/* ============================================================
   Responsive — Mobile
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --text-7xl: 2.8rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-6);
        gap: var(--space-2);
        overflow-y: auto;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform var(--transition-base);
    }

    .nav-links.active { transform: translateX(0); }

    .nav-link {
        width: 100%;
        font-size: var(--text-base);
        padding: var(--space-4) var(--space-4);
        border-radius: var(--radius-md);
    }

    .mobile-menu-btn { display: flex; }

    .section { padding: var(--space-16) var(--space-4); }

    .card-grid { grid-template-columns: 1fr; }
    .card-grid-2 { grid-template-columns: 1fr; }
    .card-grid-3 { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; left: 0 !important; padding-left: var(--space-12) !important; padding-right: var(--space-4) !important; text-align: left !important; }
    .timeline-dot { left: 12px !important; right: auto !important; }

    .footer-top { grid-template-columns: 1fr; }

    .founder-card { flex-direction: column; align-items: center; text-align: center; }
    .founder-photo { width: 120px; height: 120px; }

    .portrait-section { flex-direction: column; }
    .portrait-image { width: 100%; }

    .page-header { min-height: 280px; }
    .page-header-title { font-size: var(--text-4xl); }

    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: var(--text-base); }

    .source-item { flex-direction: column; }

    .comparison { grid-template-columns: 1fr; }

    .lang-switch { margin-left: var(--space-1); }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: center; }
    .blockquote { padding: var(--space-6) var(--space-4) var(--space-6) var(--space-8); }
    .nav-logo-text { font-size: 0.78rem; }
}
