/* ============================================================
   FIROZ SHAH TUGHLAQ — THE OVERLOOKED TYRANT
   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 — Deep Teal, Antique Bronze & Ochre */
    --saffron: #C8700A;
    --saffron-dark: #A05808;
    --saffron-light: #E08828;
    --gold: #B08830;
    --gold-light: #CCA848;
    --gold-dark: #806420;

    /* Accent Colors — Tughlaq Dark Majesty */
    --crimson: #6A1020;
    --crimson-deep: #3D0A10;
    --crimson-light: #8E2030;
    --blood: #4C0010;
    --temple-stone: #967848;
    --sacred-green: #1A4A20;
    --khaki: #7A6445;
    --teal-dark: #0A2A30;
    --teal: #1A4850;

    /* Neutrals */
    --bg-primary: #060810;
    --bg-secondary: #0C0E18;
    --bg-tertiary: #141622;
    --bg-card: #10121E;
    --bg-card-hover: #181A28;
    --bg-overlay: rgba(6, 8, 16, 0.88);

    --text-primary: #EAE6E0;
    --text-secondary: #9A9288;
    --text-muted: #625E58;
    --text-accent: var(--saffron);

    --border-subtle: rgba(176, 136, 48, 0.12);
    --border-medium: rgba(176, 136, 48, 0.25);
    --border-accent: rgba(200, 112, 10, 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(200, 112, 10, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(200, 112, 10, 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);
}

/* Buttons are <a> tags — override global anchor color */
a.btn,
a.btn:hover,
a.btn:visited,
a.btn:focus {
    text-decoration: none;
    color: #fff;
}

ul,
ol {
    list-style: none;
}

/* Selection */
::selection {
    background: rgba(200, 112, 10, 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(6, 8, 16, 0.80);
    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(6, 8, 16, 0.97);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--space-5);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
    max-width: 200px;
}

.nav-logo-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.2px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-logo-text .highlight {
    color: var(--saffron);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: flex-end;
    overflow: hidden;
}

.nav-link {
    padding: var(--space-2) var(--space-2);
    font-size: 0.73rem;
    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(200, 112, 10, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    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: var(--space-1) var(--space-3);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--gold);
    font-weight: 600;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.lang-btn:hover {
    background: rgba(176, 136, 48, 0.1);
    border-color: var(--gold);
    color: var(--gold-light);
}

.lang-icon {
    font-size: 0.9rem;
}

/* 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;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-overlay.active {
    opacity: 1;
}

/* ============================================================
   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(6, 8, 16, 0.20) 0%,
            rgba(6, 8, 16, 0.55) 40%,
            rgba(6, 8, 16, 0.97) 100%);
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(200, 112, 10, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(106, 16, 32, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(176, 136, 48, 0.04) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 950px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: rgba(200, 112, 10, 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(200, 112, 10, 0.35);
}

.hero-title .accent-crimson {
    color: var(--crimson-light);
    text-shadow: 0 0 40px rgba(142, 32, 48, 0.35);
}

.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;
    color: #fff;
}

.btn-primary {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(200, 112, 10, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 112, 10, 0.45);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
    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(200, 112, 10, 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(200, 112, 10, 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(300px, 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-left: var(--space-8);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--saffron), var(--gold-dark), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-10);
    opacity: 0;
    transform: translateX(-20px);
    transition: all var(--transition-slow);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-8) - 5px);
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--saffron);
    border: 2px solid var(--bg-primary);
    box-shadow: 0 0 12px rgba(200, 112, 10, 0.5);
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-2);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.timeline-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================================
   Content Blocks
   ============================================================ */
.content-block {
    font-size: var(--text-base);
    line-height: 1.8;
}

.content-block h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    margin-top: var(--space-12);
}

.content-block h2:first-child {
    margin-top: 0;
}

.content-block h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    margin-top: var(--space-8);
    color: var(--gold-light);
}

.content-block p {
    margin-bottom: var(--space-5);
    color: var(--text-secondary);
}

.content-block strong {
    color: var(--text-primary);
    font-weight: 600;
}

.content-block em {
    color: var(--gold-light);
    font-style: italic;
}

.content-block ul,
.content-block ol {
    margin-bottom: var(--space-6);
    padding-left: var(--space-6);
}

.content-block ul li {
    list-style: disc;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    line-height: 1.7;
}

.content-block ol li {
    list-style: decimal;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    line-height: 1.7;
}

.content-block a:not(.btn) {
    color: var(--saffron);
    text-decoration: underline;
    text-decoration-color: rgba(200, 112, 10, 0.3);
}

.content-block a:not(.btn):hover {
    color: var(--gold-light);
    text-decoration-color: var(--gold-light);
}

/* ============================================================
   Blockquote
   ============================================================ */
.blockquote {
    padding: var(--space-8) var(--space-10);
    border-left: 4px solid var(--saffron);
    background: var(--bg-card);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
    position: relative;
}

.blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: var(--space-6);
    font-size: 5rem;
    color: rgba(200, 112, 10, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.blockquote-source {
    display: block;
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-style: normal;
}

.blockquote-source a {
    color: var(--saffron);
}

/* ============================================================
   Info Boxes
   ============================================================ */
.info-box {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid;
    margin: var(--space-8) 0;
}

.info-box-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    margin-bottom: var(--space-3);
    font-size: var(--text-base);
}

.info-box.warning {
    background: rgba(106, 16, 32, 0.1);
    border-color: rgba(106, 16, 32, 0.3);
}

.info-box.warning .info-box-title {
    color: #D0504A;
}

.info-box.info {
    background: rgba(26, 72, 80, 0.15);
    border-color: rgba(26, 72, 80, 0.4);
}

.info-box.info .info-box-title {
    color: var(--gold-light);
}

.info-box.neutral {
    background: rgba(200, 112, 10, 0.06);
    border-color: var(--border-accent);
}

.info-box.neutral .info-box-title {
    color: var(--saffron);
}

/* ============================================================
   Comparison
   ============================================================ */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.comparison-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid;
}

.comparison-card.myth {
    border-color: rgba(106, 32, 32, 0.3);
}

.comparison-card.reality {
    border-color: rgba(26, 72, 80, 0.4);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
}

.comparison-card.myth .comparison-header {
    background: rgba(106, 16, 32, 0.15);
}

.comparison-card.reality .comparison-header {
    background: rgba(26, 72, 80, 0.15);
}

.comparison-icon {
    font-size: var(--text-2xl);
}

.comparison-label {
    font-weight: 700;
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-card.myth .comparison-label {
    color: #D0504A;
}

.comparison-card.reality .comparison-label {
    color: var(--gold-light);
}

/* ============================================================
   Page Header (inner pages)
   ============================================================ */
.page-header {
    position: relative;
    padding: calc(var(--nav-height) + var(--space-16)) var(--space-6) var(--space-16);
    overflow: hidden;
    background: var(--bg-secondary);
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(6, 8, 16, 0.5) 0%,
            rgba(6, 8, 16, 0.85) 100%);
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header-badge {
    display: inline-flex;
    padding: var(--space-1) var(--space-4);
    background: rgba(200, 112, 10, 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-4);
}

.page-header-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.page-header-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.8;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    font-size: var(--text-sm);
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--saffron);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-secondary);
}

/* ============================================================
   Source List
   ============================================================ */
.source-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.source-item {
    display: flex;
    gap: var(--space-4);
    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-icon {
    font-size: var(--text-2xl);
    flex-shrink: 0;
}

.source-info {
    flex: 1;
}

.source-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-1);
    color: var(--text-primary);
}

.source-author {
    font-size: var(--text-sm);
    color: var(--saffron);
    margin-bottom: var(--space-3);
    font-weight: 600;
}

.source-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.source-info a {
    font-size: var(--text-sm);
    font-weight: 600;
}

/* ============================================================
   Reading Progress Bar
   ============================================================ */
.journey-progress {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(200, 112, 10, 0.1);
    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;
}

/* ============================================================
   Founder Card
   ============================================================ */
.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-medium);
    border-radius: var(--radius-xl);
}

.founder-photo {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.founder-info h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-1);
    margin-top: 0;
}

.founder-title {
    font-size: var(--text-sm);
    color: var(--saffron);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-4);
}

.founder-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.founder-info a:not(.btn) {
    font-weight: 600;
    color: var(--saffron);
}

/* ============================================================
   Next Chapter / Navigation
   ============================================================ */
.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-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
    font-family: var(--font-mono);
}

.next-chapter-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.next-chapter-title a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.next-chapter-title a:hover {
    color: var(--saffron);
}

/* ============================================================
   Tabs
   ============================================================ */
.tabs {
    margin: var(--space-8) 0;
}

.tab-buttons {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-8);
    overflow-x: auto;
}

.tab-btn {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    font-family: var(--font-body);
}

.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;
}

/* ============================================================
   Image Modal / Lightbox
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

.modal-close {
    position: fixed;
    top: var(--space-6);
    right: var(--space-6);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    font-size: var(--text-2xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10000;
}

.modal-close:hover {
    background: var(--crimson);
    border-color: var(--crimson-light);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-16) var(--space-6) var(--space-10);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.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-xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
    max-width: 320px;
}

.footer-section h4 {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--saffron);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer-bottom .disclaimer {
    margin-top: var(--space-3);
    font-size: var(--text-xs);
    color: var(--text-muted);
    opacity: 0.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ============================================================
   Utility Classes
   ============================================================ */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--text-primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-saffron {
    color: var(--saffron) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.text-crimson {
    color: var(--crimson-light) !important;
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.7s ease;
}

.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;
    }
}

/* ============================================================
   Responsive — Tablet
   ============================================================ */
@media (max-width: 1100px) {
    .card-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .comparison {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-subtle);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: var(--space-6);
        gap: var(--space-1);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: var(--space-3) var(--space-4);
        font-size: 0.9rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-overlay {
        display: block;
    }

    .hero-title {
        font-size: var(--text-5xl);
    }

    .section-title {
        font-size: var(--text-4xl);
    }

    .page-header-title {
        font-size: var(--text-4xl);
    }

    .founder-card {
        flex-direction: column;
    }

    .founder-photo {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 640px) {
    :root {
        --nav-height: 64px;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .page-header-title {
        font-size: var(--text-3xl);
    }

    .card-grid,
    .card-grid-3,
    .card-grid-2 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .blockquote {
        padding: var(--space-6);
    }

    .btn-lg {
        padding: var(--space-4) var(--space-8);
        font-size: var(--text-base);
    }

    .section {
        padding: var(--space-16) var(--space-4);
    }

    .nav-logo-text {
        font-size: 0.62rem;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-logo {
        max-width: 170px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: var(--text-3xl);
    }
}