/* ============================================
   FROM EQUATIONS TO CAPITAL - FLAGSHIP v5
   Premium Academic Platform Styles
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Color System - Institutional Dark Theme */
    --bg-primary: #050608;
    --bg-secondary: #0a0c10;
    --bg-tertiary: #0f1218;
    --bg-card: #12151c;
    --bg-elevated: #181c26;
    
    /* Gold Spectrum */
    --gold-dark: #8b7355;
    --gold: #c9a962;
    --gold-bright: #d4b978;
    --gold-light: #e8d5a3;
    --gold-glow: rgba(201, 169, 98, 0.15);
    --gold-glow-strong: rgba(201, 169, 98, 0.3);
    
    /* Text Colors */
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #6e6e73;
    --text-inverse: #050608;
    
    /* Accent Colors */
    --accent-blue: #4a90d9;
    --accent-green: #34c759;
    --accent-red: #ff453a;
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.15);
    --border-gold: rgba(201, 169, 98, 0.3);
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Timing */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 0 40px rgba(201, 169, 98, 0.15);
}

/* ============================================
   BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

::selection {
    background: var(--gold);
    color: var(--text-inverse);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: rgba(201, 169, 98, 0.1);
    color: var(--gold-bright);
    padding: 0.125em 0.375em;
    border-radius: 4px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ============================================
   ANIMATED BACKGROUND CANVAS
   ============================================ */

#transformation-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    background: linear-gradient(to bottom, var(--bg-primary), transparent);
    transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
    padding: var(--space-md) 0;
    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    transition: transform 0.3s var(--ease-elastic);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-equation {
    color: var(--gold);
}

.logo-arrow {
    color: var(--text-tertiary);
    animation: arrowPulse 2s ease-in-out infinite;
}

.logo-capital {
    color: var(--gold-bright);
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(2px); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--text-primary);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gold);
    color: var(--text-inverse) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 0 0 0 var(--gold-glow);
}

.nav-cta:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--gold-glow-strong);
}

/* ============================================
   NAVIGATION - MEGA MENU SYSTEM
   ============================================ */

/* Logo Text */
.logo-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: var(--space-sm);
    letter-spacing: 0.02em;
    display: none;
}

@media (min-width: 1200px) {
    .logo-text {
        display: inline;
    }
}

/* Nav Pillars (Center Navigation) */
.nav-pillars {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--space-sm) var(--space-md);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-item.has-dropdown .nav-link::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.5;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
    color: var(--text-primary);
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
    opacity: 1;
    transform: rotate(180deg);
}

/* Nav Dropdown Panel */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: rgba(10, 12, 16, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: var(--space-lg);
    min-width: 240px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 1px rgba(201, 169, 98, 0.3);
    transition: all 0.25s var(--ease-out-expo);
    z-index: 1001;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Wide Dropdown Grid */
.dropdown-grid {
    display: grid;
    gap: var(--space-xl);
}

.dropdown-grid-4 {
    grid-template-columns: repeat(4, 200px);
    min-width: 880px;
}

.dropdown-grid-3 {
    grid-template-columns: repeat(3, 200px);
    min-width: 660px;
}

/* Compact Dropdown */
.dropdown-compact {
    min-width: 220px;
    padding: var(--space-md);
}

.dropdown-compact .dropdown-list {
    margin: 0;
}

/* Dropdown Sections */
.dropdown-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.dropdown-heading {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0 0 var(--space-xs) 0;
    letter-spacing: 0.02em;
}

.dropdown-subtitle {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin: 0 0 var(--space-sm) 0;
}

.dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-list li a {
    display: block;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all 0.15s ease;
}

.dropdown-list li a:hover {
    background: rgba(201, 169, 98, 0.1);
    color: var(--text-primary);
    padding-left: var(--space-md);
}

.dropdown-cta {
    color: var(--gold) !important;
    font-weight: 600;
}

.dropdown-cta:hover {
    background: rgba(201, 169, 98, 0.15) !important;
}

.dropdown-cta-btn {
    display: inline-block;
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--gold);
    color: var(--text-inverse) !important;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    transition: all 0.2s ease;
}

.dropdown-cta-btn:hover {
    background: var(--gold-bright);
    transform: translateY(-1px);
}

/* Auth Section */
.nav-auth {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-login {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--space-sm) var(--space-md);
    transition: color 0.2s ease;
}

.nav-login:hover {
    color: var(--text-primary);
}

/* Logged In/Out States */
.auth-logged-out,
.auth-logged-in {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-dashboard-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--space-sm) var(--space-md);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-dashboard-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-account-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-account-btn:hover {
    border-color: var(--gold-dim);
}

.nav-avatar {
    width: 32px;
    height: 32px;
    background: rgba(201, 169, 98, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
}

/* Account Dropdown */
.dropdown-account {
    right: 0;
    left: auto;
    width: 280px;
    padding: 0;
}

.dropdown-account-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-subtle);
}

.dropdown-account-avatar {
    width: 48px;
    height: 48px;
    background: rgba(201, 169, 98, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
}

.dropdown-account-info {
    display: flex;
    flex-direction: column;
}

.dropdown-account-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.dropdown-account-email {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.dropdown-account .dropdown-list {
    padding: var(--space-sm);
}

.dropdown-account .dropdown-list li a {
    padding: var(--space-sm) var(--space-md);
    border-radius: 6px;
}

.dropdown-account .dropdown-list li a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: var(--space-xs) 0;
}

.dropdown-signout {
    color: var(--text-tertiary) !important;
}

.dropdown-signout:hover {
    color: var(--text-primary) !important;
}

/* Nav Account Dropdown (logged-in state) */
.nav-account-dropdown {
    position: relative;
}

.account-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gold) 0%, #d4b76a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bg-primary);
}

.account-dropdown-menu {
    position: absolute;
    top: calc(100% + var(--space-sm));
    right: 0;
    min-width: 220px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    padding: var(--space-sm);
}

.account-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown-menu .dropdown-item {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all 0.15s ease;
}

.account-dropdown-menu .dropdown-item:hover {
    background: rgba(201, 169, 98, 0.1);
    color: var(--text-primary);
}

.account-dropdown-menu .logout-link {
    color: var(--text-muted);
}

.account-dropdown-menu .logout-link:hover {
    color: var(--gold);
}

/* Hide logged-out auth when logged in */
body.logged-in .auth-logged-out {
    display: none !important;
}

body:not(.logged-in) .nav-account-dropdown {
    display: none !important;
}

/* Mobile Toggle */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    transition: all 0.3s ease;
}

@media (max-width: 1100px) {
    .nav-pillars,
    .nav-auth {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-equations {
    position: absolute;
    width: 100%;
    height: 100%;
}

.eq {
    position: absolute;
    font-family: var(--font-mono);
    color: var(--gold);
    opacity: 0.08;
    animation: floatEquation 20s ease-in-out infinite;
    user-select: none;
    will-change: transform;
}

.eq-1 { top: 15%; left: 10%; font-size: 1.5rem; animation-delay: 0s; }
.eq-2 { top: 25%; right: 15%; font-size: 1.25rem; animation-delay: -3s; }
.eq-3 { top: 40%; left: 5%; font-size: 1rem; animation-delay: -6s; }
.eq-4 { top: 60%; right: 10%; font-size: 3rem; animation-delay: -9s; }
.eq-5 { bottom: 30%; left: 15%; font-size: 1.25rem; animation-delay: -12s; }
.eq-6 { bottom: 20%; right: 20%; font-size: 1.5rem; animation-delay: -15s; }
.eq-7 { top: 70%; left: 25%; font-size: 1.25rem; animation-delay: -4s; }
.eq-8 { top: 20%; left: 40%; font-size: 2rem; animation-delay: -7s; }
.eq-9 { bottom: 40%; right: 30%; font-size: 2.5rem; animation-delay: -10s; }
.eq-10 { top: 50%; right: 5%; font-size: 2rem; animation-delay: -13s; }

@keyframes floatEquation {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg); 
        opacity: 0.08;
    }
    25% { 
        transform: translateY(-20px) translateX(10px) rotate(5deg); 
        opacity: 0.12;
    }
    50% { 
        transform: translateY(-10px) translateX(-15px) rotate(-3deg); 
        opacity: 0.06;
    }
    75% { 
        transform: translateY(-30px) translateX(5px) rotate(2deg); 
        opacity: 0.1;
    }
}

.hero-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gold-glow);
    border: 1px solid var(--border-gold);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-bright);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.badge-icon {
    color: var(--gold);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s var(--ease-out-expo) both;
}

.title-line-1 {
    color: var(--text-primary);
    animation-delay: 0.3s;
}

.title-line-2 {
    color: var(--gold);
    animation-delay: 0.4s;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.5s both;
}

.hero-tagline-container {
    margin-bottom: var(--space-xl);
    min-height: 60px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s both;
}

.tagline-rotator {
    position: relative;
}

.tagline {
    display: none;
    align-items: center;
    gap: var(--space-md);
    font-size: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s var(--ease-out-expo);
}

.tagline.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.tagline code {
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
    padding: var(--space-sm) var(--space-md);
    border-radius: 6px;
}

.tagline-arrow {
    color: var(--gold);
    font-size: 1.25rem;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.tagline-result {
    color: var(--gold-bright);
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.7s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.8s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold);
    color: var(--text-inverse);
    box-shadow: 0 0 0 0 var(--gold-glow);
}

.btn-primary:hover {
    background: var(--gold-bright);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--gold-glow-strong);
}

.btn-primary .btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.btn-tertiary {
    background: transparent;
    color: var(--gold);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid transparent;
}

.btn-tertiary:hover {
    border-bottom-color: var(--gold);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.9s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 3D Book */
.hero-book {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
    animation: fadeIn 1s var(--ease-out-expo) 0.5s both;
}

.book-container {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease-out-expo);
}

.book-3d {
    position: relative;
    width: 300px;
    height: 420px;
    transform-style: preserve-3d;
    transform: rotateY(-25deg) rotateX(5deg);
    transition: transform 0.5s var(--ease-out-expo);
}

.hero-book:hover .book-3d {
    transform: rotateY(-15deg) rotateX(3deg);
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1628 0%, #0f2847 50%, #0a1628 100%);
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow-xl);
    transform: translateZ(25px);
    overflow: hidden;
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
    pointer-events: none;
}

.cover-content {
    position: relative;
    height: 100%;
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cover-symbols {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cover-symbol {
    position: absolute;
    font-family: var(--font-display);
    color: var(--gold);
    opacity: 0.15;
    animation: symbolFloat 8s ease-in-out infinite;
}

.cs-1 { top: 20%; left: 15%; font-size: 3rem; animation-delay: 0s; }
.cs-2 { top: 30%; right: 20%; font-size: 2.5rem; animation-delay: -2s; }
.cs-3 { bottom: 35%; left: 20%; font-size: 4rem; animation-delay: -4s; }
.cs-4 { bottom: 25%; right: 15%; font-size: 3rem; animation-delay: -6s; }

@keyframes symbolFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
    50% { transform: translateY(-10px) scale(1.05); opacity: 0.25; }
}

.cover-title {
    margin-top: auto;
    margin-bottom: var(--space-md);
}

.ct-line1, .ct-line2 {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.ct-line1 {
    font-size: 1rem;
    color: var(--gold-light);
}

.ct-line2 {
    font-size: 1.5rem;
    color: var(--gold);
}

.cover-subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.cover-volume {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    margin-bottom: var(--space-md);
}

.cover-author {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-light);
}

.book-spine {
    position: absolute;
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, #071120 0%, #0f2847 50%, #0a1628 100%);
    transform: translateX(-25px) rotateY(90deg);
    transform-origin: right center;
}

.book-pages {
    position: absolute;
    width: 48px;
    height: calc(100% - 10px);
    right: 0;
    top: 5px;
    background: linear-gradient(90deg, 
        #f5f5f0 0%, 
        #e8e8e3 10%, 
        #f0f0eb 20%,
        #e5e5e0 100%
    );
    transform: translateZ(-2px) translateX(24px);
    border-radius: 0 2px 2px 0;
}

.book-shadow {
    position: absolute;
    width: 280px;
    height: 40px;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(0,0,0,0.4) 0%, transparent 70%);
    filter: blur(20px);
}

.book-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-tertiary);
    font-size: 0.75rem;
    animation: fadeIn 1s var(--ease-out-expo) 1.2s both;
    z-index: 2;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
    stroke: var(--gold);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */

section {
    position: relative;
    z-index: 1;
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   TRANSFORMATION JOURNEY SECTION
   ============================================ */

.transformation {
    background: var(--bg-secondary);
}

.transformation-journey {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.journey-stage {
    flex: 1;
    max-width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-2xl);
    position: relative;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.journey-stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.journey-stage:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.journey-stage:hover::before {
    opacity: 1;
}

.stage-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.journey-stage:hover .stage-glow {
    opacity: 1;
}

.stage-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-lg);
    color: var(--gold);
}

.stage-icon svg {
    width: 100%;
    height: 100%;
}

.stage-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.stage-subtitle {
    font-size: 0.875rem;
    color: var(--gold);
    margin-bottom: var(--space-lg);
}

.stage-list {
    list-style: none;
}

.stage-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.stage-list li:last-child {
    border-bottom: none;
}

.stage-list code {
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
}

/* ============================================
   JOURNEY CONNECTORS - Premium Animated
   ============================================ */

.journey-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    position: relative;
    padding: 0 0.5rem;
}

/* Track - the pipeline */
.connector-track {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(201, 169, 98, 0.15) 10%, 
        rgba(201, 169, 98, 0.15) 90%, 
        transparent 100%
    );
    position: relative;
    overflow: visible;
    border-radius: 2px;
}

/* Animated pulses traveling through the connector */
.connector-pulse {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 6px;
    background: linear-gradient(90deg, 
        transparent,
        var(--gold-bright),
        var(--gold),
        var(--gold-bright),
        transparent
    );
    border-radius: 3px;
    box-shadow: 
        0 0 12px var(--gold),
        0 0 24px rgba(201, 169, 98, 0.5);
    animation: pulseFlow 2s ease-in-out infinite;
}

.connector-pulse.delay-1 {
    animation-delay: 0.66s;
}

.connector-pulse.delay-2 {
    animation-delay: 1.33s;
}

@keyframes pulseFlow {
    0% {
        left: -20px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: calc(100% + 20px);
        opacity: 0;
    }
}

/* Badge - the label with icon */
.connector-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(201, 169, 98, 0.25);
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.4s var(--ease-out-expo);
    cursor: default;
}

.connector-badge:hover {
    border-color: rgba(201, 169, 98, 0.5);
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-tertiary) 100%);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(201, 169, 98, 0.15);
    transform: translate(-50%, -50%) scale(1.05);
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.badge-icon svg {
    width: 100%;
    height: 100%;
}

.connector-badge:hover .badge-icon {
    transform: translateX(2px);
}

.badge-text {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.connector-badge:hover .badge-text {
    color: var(--gold-light);
}

/* Track endpoint glow dots */
.connector-track::before,
.connector-track::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
    opacity: 0.6;
}

.connector-track::before {
    left: -4px;
}

.connector-track::after {
    right: -4px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .connector-pulse {
        animation: none;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.7;
    }
    
    .connector-badge:hover {
        transform: translate(-50%, -50%);
    }
    
    .connector-badge:hover .badge-icon {
        transform: none;
    }
}

.transformation-cta {
    text-align: center;
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-subtle);
}

.transformation-cta p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

/* ============================================
   SKILLS TRANSLATION MATRIX
   ============================================ */

.skills-matrix {
    background: var(--bg-primary);
}

.matrix-container {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
}

.matrix-header {
    display: grid;
    grid-template-columns: 200px 60px 1fr 160px;
    background: var(--bg-elevated);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
}

.matrix-col-header {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
}

.matrix-arrow-header {
    text-align: center;
    color: var(--gold);
}

.matrix-row {
    display: grid;
    grid-template-columns: 200px 60px 1fr 160px;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
}

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

.matrix-row:hover {
    background: var(--bg-elevated);
}

.matrix-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.matrix-row:hover::before,
.matrix-row.expanded::before {
    opacity: 1;
}

.matrix-cell {
    padding: 0 var(--space-sm);
}

.cell-skill code {
    font-size: 0.9rem;
}

.cell-arrow {
    text-align: center;
}

.arrow-animate {
    color: var(--gold);
    font-size: 1.25rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.matrix-row:hover .arrow-animate {
    transform: translateX(4px);
    animation: arrowGlow 1s ease-in-out infinite;
}

@keyframes arrowGlow {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50% { text-shadow: 0 0 10px var(--gold); }
}

.cell-application span {
    color: var(--text-primary);
    font-weight: 500;
}

.career-tag {
    display: inline-block;
    background: var(--gold-glow);
    border: 1px solid var(--border-gold);
    color: var(--gold-bright);
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 100px;
}

/* Matrix Expand */
.matrix-expand {
    grid-column: 1 / -1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out-expo), padding 0.3s ease;
}

.matrix-row.expanded .matrix-expand {
    max-height: 400px;
    padding-top: var(--space-lg);
}

.expand-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: var(--space-lg);
}

.expand-content h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.expand-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.expand-code {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    overflow-x: auto;
}

.expand-code pre {
    margin: 0;
}

.expand-code code {
    background: none;
    padding: 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.expand-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.expand-link:hover {
    color: var(--gold-bright);
}

/* ============================================
   CURRICULUM / LEARNING PATH
   ============================================ */

.curriculum {
    background: var(--bg-secondary);
}

/* Volume Tabs */
.curriculum-volumes {
    margin-bottom: var(--space-3xl);
}

.volume-tabs {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.volume-tab {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 350px;
}

.volume-tab:hover {
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.volume-tab.active {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.volume-tab .tab-cover {
    width: 50px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.tab-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    text-align: left;
}

.tab-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.tab-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tab-chapters {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Volume Content */
.volume-content {
    display: none;
}

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

.volume-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-subtle);
}

.volume-heading {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.volume-desc {
    font-size: 1rem;
    color: var(--text-secondary);
}

.learning-path {
    max-width: 900px;
    margin: 0 auto;
}

.path-part {
    position: relative;
    margin-bottom: var(--space-3xl);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s var(--ease-out-expo) forwards;
}

.path-part:nth-child(1) { animation-delay: 0.1s; }
.path-part:nth-child(2) { animation-delay: 0.2s; }
.path-part:nth-child(3) { animation-delay: 0.3s; }
.path-part:nth-child(4) { animation-delay: 0.4s; }
.path-part:nth-child(5) { animation-delay: 0.5s; }
.path-part:nth-child(6) { animation-delay: 0.6s; }

.part-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.part-number {
    background: var(--gold);
    color: var(--text-inverse);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
}

.part-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.path-segment {
    position: relative;
    padding-left: var(--space-3xl);
}

.path-line {
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--border-medium));
}

.chapter-nodes {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.chapter-node {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    position: relative;
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
}

.chapter-node:hover {
    transform: translateX(8px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.node-marker {
    position: absolute;
    left: -54px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--bg-card);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    transition: all 0.3s ease;
}

.chapter-node:hover .node-marker {
    background: var(--gold);
    color: var(--text-inverse);
    transform: translateY(-50%) scale(1.1);
}

.node-content h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.node-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ============================================
   PREVIEW SECTION
   ============================================ */

.preview {
    background: var(--bg-primary);
}

.preview-carousel {
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
}

.preview-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.preview-card.active {
    grid-column: span 2;
    grid-row: span 2;
}

.preview-image {
    aspect-ratio: 16/10;
    background: var(--bg-secondary);
    overflow: hidden;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out-expo);
}

.preview-card:hover .preview-image img {
    transform: scale(1.05);
}

.preview-image.code-preview {
    padding: var(--space-md);
    overflow: auto;
    aspect-ratio: auto;
    min-height: 200px;
}

.preview-image.code-preview pre {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.5;
}

.preview-image.code-preview .comment { color: var(--text-tertiary); }
.preview-image.code-preview .keyword { color: #c792ea; }
.preview-image.code-preview .function { color: #82aaff; }
.preview-image.code-preview .string { color: #c3e88d; }
.preview-image.code-preview .number { color: #f78c6c; }

.preview-info {
    padding: var(--space-lg);
}

.preview-chapter {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

.preview-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.preview-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: none;
}

.preview-card.active .preview-description {
    display: block;
}

.preview-zoom {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    background: var(--bg-primary);
    border: 1px solid var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.preview-card:hover .preview-zoom {
    opacity: 1;
}

.preview-zoom svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.carousel-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--bg-elevated);
    border-color: var(--gold);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
    transition: stroke 0.3s ease;
}

.carousel-btn:hover svg {
    stroke: var(--gold);
}

.carousel-dots {
    display: flex;
    gap: var(--space-sm);
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--border-medium);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: var(--text-tertiary);
}

.dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

/* ============================================
   SOCIAL PROOF SECTION
   ============================================ */

.social-proof {
    background: var(--bg-secondary);
}

.proof-featured {
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    text-align: center;
}

.featured-quote {
    position: relative;
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    box-shadow: var(--shadow-gold);
}

.featured-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 40px;
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
}

.featured-quote p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.featured-quote cite {
    display: block;
    font-style: normal;
}

.featured-quote cite strong {
    display: block;
    font-size: 1.125rem;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.featured-quote cite span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.featured-quote cite .credentials {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: var(--space-xs);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.proof-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-xl);
    transition: all 0.3s var(--ease-out-expo);
}

.proof-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
}

.proof-quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.proof-author strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
}

.proof-author span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.institutional-logos {
    text-align: center;
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-subtle);
}

.logos-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: var(--space-xl);
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.logo-placeholder {
    padding: var(--space-md) var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   AUTHOR SECTION
   ============================================ */

.author {
    background: var(--bg-primary);
}

.author-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-4xl);
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.author-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
}

.image-frame:hover img {
    filter: grayscale(0%);
}

.image-border {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--gold);
    border-radius: 20px;
    opacity: 0.5;
    pointer-events: none;
}

.author-credentials-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.credential-badge {
    background: var(--gold);
    color: var(--text-inverse);
    font-size: 0.75rem;
    font-weight: 700;
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
}

.author-content .section-label {
    text-align: left;
}

.author-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.author-title {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: var(--space-xl);
}

.author-bio {
    margin-bottom: var(--space-xl);
}

.author-bio p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.author-focus {
    margin-bottom: var(--space-xl);
}

.author-focus h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.focus-tag {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.focus-tag:hover {
    border-color: var(--border-gold);
    color: var(--gold);
}

.author-vision h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.author-vision blockquote {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: var(--space-lg);
    border-left: 3px solid var(--gold);
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto var(--space-3xl);
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: var(--space-2xl);
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-medium);
}

.pricing-card.featured {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--text-inverse);
    font-size: 0.75rem;
    font-weight: 700;
    padding: var(--space-xs) var(--space-lg);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-tier {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-xs);
}

.pricing-price .currency {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: var(--space-sm);
}

.pricing-price .amount {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
    flex-shrink: 0;
}

.pricing-btn {
    width: 100%;
    text-align: center;
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.guarantee-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.guarantee-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--gold);
}

.guarantee-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.guarantee-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Pricing Unit Label */
.pricing-unit {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: var(--space-xs);
}

.pricing-savings {
    display: block;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: var(--space-sm);
}

/* Volume Preview Bar */
.volumes-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-xl) var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    margin-bottom: var(--space-3xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.volume-preview-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.volume-thumb {
    width: 50px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.volume-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
}

.volume-number {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.volume-tagline {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.volumes-plus {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 300;
}

/* Volume Selector in Single Volume Card */
.volume-selector {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
}

.selector-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.selector-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.volume-option {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-option:hover {
    border-color: var(--border-medium);
}

.volume-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-medium);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.volume-option input[type="radio"]:checked {
    border-color: var(--gold);
    background: var(--gold);
}

.volume-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--navy);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.option-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.option-subtitle {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* Set Includes (Complete Set visual) */
.set-includes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
}

.set-volume {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.set-thumb {
    width: 40px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.set-volume span {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.set-plus {
    font-size: 1.25rem;
    color: var(--gold);
    font-weight: 300;
}

/* Professional Card Specific */
.pricing-card.professional {
    border-color: rgba(212, 175, 55, 0.3);
}

.pricing-card.professional:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.pro-badge {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: var(--gold);
    border: 1px solid var(--gold);
}

.bundle-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.feature-highlight {
    color: var(--gold) !important;
    font-weight: 500;
}

.pro-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(212, 175, 55, 0.08);
    border-radius: 8px;
}

.pro-benefits span {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 500;
}

/* Secondary Pricing Row (Compact Cards) */
.pricing-secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.pricing-card-compact {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-xl);
    transition: all 0.3s ease;
}

.pricing-card-compact:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
}

.pricing-card-compact.institutional {
    border-color: rgba(212, 175, 55, 0.2);
}

.compact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.compact-tier {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.compact-price {
    text-align: right;
}

.compact-price .from-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.compact-price .currency {
    font-size: 1rem;
    color: var(--gold);
}

.compact-price .amount {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.compact-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.compact-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.compact-features li {
    position: relative;
    padding-left: var(--space-md);
    padding-top: var(--space-xs);
    padding-bottom: var(--space-xs);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.compact-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Interactive Companion Callout */
.companion-callout {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.companion-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.companion-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.companion-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold);
}

.companion-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.companion-badge {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.companion-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.companion-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
}

.feature-icon-wrap {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.feature-icon-wrap svg {
    width: 100%;
    height: 100%;
    stroke: var(--gold);
}

.companion-feature span:last-child {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.companion-statement {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold);
    margin: 0;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* Trust Bar */
.pricing-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    padding: var(--space-md) 0;
}

.pricing-trust-bar span {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.trust-divider {
    color: var(--gold);
    opacity: 0.5;
}

/* Responsive Pricing */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .pricing-secondary {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .volumes-preview {
        flex-direction: column;
        gap: var(--space-md);
        padding: var(--space-lg);
    }
    
    .volumes-plus {
        transform: rotate(90deg);
    }
    
    .companion-features {
        grid-template-columns: 1fr;
    }
    
    .pricing-trust-bar {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .trust-divider {
        display: none;
    }
}

/* ============================================
   PRODUCT LADDER RIBBON
   ============================================ */

.product-ladder {
    display: none;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.1) 0%, rgba(5, 6, 8, 0.95) 100%);
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
    padding: var(--space-sm) 0;
    position: relative;
    z-index: 90;
}

body.logged-in .product-ladder {
    display: block;
}

.product-ladder.dismissed {
    display: none !important;
}

.ladder-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.ladder-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.ladder-steps {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ladder-step {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ladder-step:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

.ladder-step.completed {
    color: var(--gold);
    background: rgba(201, 169, 98, 0.08);
}

.ladder-step.completed .step-check {
    display: inline;
    color: var(--gold);
    margin-left: var(--space-xs);
}

.ladder-step:not(.completed) .step-check {
    display: none;
}

.ladder-step.active {
    color: var(--text-primary);
    background: rgba(201, 169, 98, 0.15);
    border-color: rgba(201, 169, 98, 0.3);
}

.ladder-step.active .step-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, #d4b76a 100%);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: var(--space-xs);
}

.ladder-step:not(.active) .step-badge {
    display: none;
}

.step-icon {
    display: flex;
    align-items: center;
    opacity: 0.7;
}

.ladder-step:hover .step-icon,
.ladder-step.completed .step-icon,
.ladder-step.active .step-icon {
    opacity: 1;
}

.ladder-arrow {
    color: var(--text-muted);
    font-size: 0.7rem;
    opacity: 0.5;
}

.ladder-close {
    position: absolute;
    right: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: var(--space-xs);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.ladder-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .product-ladder {
        padding: var(--space-md) 0;
    }
    
    .ladder-content {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .ladder-steps {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ladder-arrow {
        display: none;
    }
    
    .ladder-close {
        position: static;
        transform: none;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
    max-width: 1000px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.footer-column a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: var(--space-xs) 0;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-column a.footer-signup {
    color: var(--gold);
    font-weight: 600;
}

.footer-column a.footer-signup:hover {
    color: var(--text-primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: var(--space-2xl);
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-book {
        display: none;
    }
    
    .transformation-journey {
        flex-direction: column;
        align-items: center;
    }
    
    .journey-connector {
        width: 60px;
        height: 100px;
        transform: rotate(90deg);
    }
    
    .connector-track {
        width: 100%;
        height: 4px;
    }
    
    .connector-badge {
        transform: translate(-50%, -50%) rotate(-90deg);
    }
    
    .connector-badge:hover {
        transform: translate(-50%, -50%) rotate(-90deg) scale(1.05);
    }
    
    .matrix-container {
        overflow-x: auto;
    }
    
    .matrix-header,
    .matrix-row {
        min-width: 700px;
    }
    
    .proof-grid {
        grid-template-columns: 1fr;
    }
    
    .author-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .author-image {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .author-content .section-label {
        text-align: center;
    }
    
    .author-vision blockquote {
        border-left: none;
        border-top: 3px solid var(--gold);
        padding-left: 0;
        padding-top: var(--space-lg);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .carousel-container {
        grid-template-columns: 1fr;
    }
    
    .preview-card.active {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    /* Curriculum Volume Tabs Mobile */
    .volume-tabs {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .volume-tab {
        max-width: 100%;
        padding: var(--space-md) var(--space-lg);
    }
    
    .volume-tab .tab-cover {
        width: 40px;
    }
    
    .tab-title {
        font-size: 1rem;
    }
    
    .volume-heading {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 3rem;
        --space-4xl: 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
/* ============================================
   INTERACTIVE DUAL BOOK DISPLAY
   ============================================ */

.hero-books {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.books-showcase {
    display: flex;
    gap: var(--space-2xl);
    justify-content: center;
    align-items: flex-start;
    perspective: 2000px;
}

.book-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-item:hover {
    transform: translateY(-10px);
}

.book-item:hover .book-3d {
    transform: rotateY(-15deg) rotateX(5deg);
}

.book-3d-wrapper {
    perspective: 1200px;
    perspective-origin: center center;
}

.book-item .book-3d {
    position: relative;
    width: 220px;
    height: 320px;
    transform-style: preserve-3d;
    transform: rotateY(-8deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-item .book-spine {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, #0d1b2a 0%, #1a365d 50%, #0d1b2a 100%);
    transform: rotateY(-90deg) translateX(-15px);
    transform-origin: left center;
    border-radius: 2px 0 0 2px;
}

.book-item .book-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--navy);
    border-radius: 0 4px 4px 0;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.1),
        0 20px 60px -20px rgba(0,0,0,0.6),
        inset 0 0 40px rgba(212,175,55,0.05);
    transform: translateZ(15px);
}

.book-item .book-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-item .book-pages-edge {
    position: absolute;
    right: 0;
    top: 5px;
    bottom: 5px;
    width: 28px;
    background: linear-gradient(90deg, 
        #f5f5f5 0%, 
        #e8e8e8 20%, 
        #f0f0f0 40%,
        #e5e5e5 60%,
        #f2f2f2 80%,
        #ebebeb 100%);
    transform: rotateY(90deg) translateX(14px);
    transform-origin: right center;
    border-radius: 0 2px 2px 0;
}

.book-info {
    text-align: center;
    max-width: 220px;
}

.book-volume-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.book-item .book-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.book-item .book-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.book-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold);
}

.price-format {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.btn-preview {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-preview:hover {
    background: var(--gold);
    color: var(--navy);
}

.btn-preview svg {
    width: 18px;
    height: 18px;
}

.books-bundle-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    margin-top: var(--space-md);
}

.bundle-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
    text-transform: uppercase;
}

.bundle-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.bundle-save {
    font-size: 0.875rem;
    color: #22c55e;
    font-weight: 500;
}

/* ============================================
   BOOK PREVIEW MODAL & PAGE FLIPPER
   ============================================ */

.book-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.book-preview-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--navy-deep);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: var(--space-2xl);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-preview-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--gold);
}

.modal-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
}

.modal-close:hover svg {
    stroke: var(--navy);
}

/* Flipbook Container */
.flipbook-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.flipbook {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 1.4;
    perspective: 2500px;
}

.flipbook-page {
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    transform-origin: left center;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.flipbook-page.flipped {
    transform: rotateY(-180deg);
}

.page-front,
.page-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    background: #fafafa;
    border-radius: 0 4px 4px 0;
    box-shadow: 
        2px 0 10px rgba(0,0,0,0.2),
        inset -2px 0 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.page-back {
    transform: rotateY(180deg);
}

.page-content {
    width: 100%;
    height: 100%;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    color: #1a1a1a;
    font-size: 0.75rem;
    line-height: 1.6;
    overflow: hidden;
}

.page-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.page-content h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.page-content p {
    font-size: 0.8rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: var(--space-sm);
}

.page-number {
    position: absolute;
    bottom: var(--space-md);
    font-size: 0.75rem;
    color: #666;
}

.page-front .page-number { right: var(--space-md); }
.page-back .page-number { left: var(--space-md); }

/* Left side (already flipped pages) */
.flipbook-left {
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, #e8e8e8 0%, #f5f5f5 100%);
    border-radius: 4px 0 0 4px;
    box-shadow: 
        -2px 0 10px rgba(0,0,0,0.1),
        inset 2px 0 5px rgba(0,0,0,0.05);
}

/* Flipbook Controls */
.flipbook-controls {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.flip-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flip-btn:hover:not(:disabled) {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.flip-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.flip-btn svg {
    width: 20px;
    height: 20px;
}

.page-indicator {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.preview-cta {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: var(--space-lg);
}

.preview-cta p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

/* Responsive for books */
@media (max-width: 768px) {
    .books-showcase {
        flex-direction: column;
        gap: var(--space-2xl);
    }
    
    .book-item .book-3d {
        width: 180px;
        height: 260px;
    }
    
    .flipbook {
        aspect-ratio: 1;
    }
    
    .flipbook-controls {
        gap: var(--space-md);
    }
    
    .flip-btn span {
        display: none;
    }
}

/* ============================================
   FLIPBOOK PAGE CONTENT STYLES
   ============================================ */

.flipbook {
    position: relative;
    width: 100%;
    max-width: 600px;
    min-height: 400px;
    margin: 0 auto;
}

.flipbook-page {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fefefe 0%, #f8f6f0 100%);
    border-radius: 4px;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.3),
        0 0 0 1px rgba(0,0,0,0.1),
        inset 0 0 80px rgba(0,0,0,0.03);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.flipbook-page.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.flipbook-page.flipped {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-40px) rotateY(-15deg);
}

.page-inner {
    height: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    color: #1a1a1a;
    overflow-y: auto;
}

/* Cover page */
.page-cover {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, #0a0f1c 0%, #12182b 100%);
    margin: -2.5rem;
    padding: 2.5rem;
    border-radius: 4px;
}

.cover-ornament {
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.6;
}

.cover-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    margin: 1rem 0 0.5rem;
    letter-spacing: 0.05em;
}

.cover-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #e0e0e0;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.cover-tagline {
    font-size: 0.9rem;
    color: #a0a0a0;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Frontmatter page */
.page-frontmatter {
    padding-top: 2rem;
}

.fm-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #0a0f1c;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.fm-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1rem auto 0;
}

.fm-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

/* Table of Contents */
.page-toc {
    padding-top: 1rem;
}

.toc-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #0a0f1c;
    margin-bottom: 1.5rem;
    text-align: center;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 0.95rem;
    color: #444;
    position: relative;
    padding-left: 1.5rem;
}

.toc-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Chapter content */
.page-chapter {
    height: 100%;
}

.chapter-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #0a0f1c;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.continued {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.chapter-content {
    font-size: 0.9rem;
    line-height: 1.75;
    color: #333;
    text-align: justify;
}

.chapter-content strong {
    font-weight: 600;
    color: #0a0f1c;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.chapter-content .equation {
    font-family: var(--font-mono);
    background: rgba(10, 15, 28, 0.05);
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    border-left: 3px solid var(--gold);
    font-size: 0.95rem;
    color: #0a0f1c;
    text-align: center;
}

.page-note {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0,0,0,0.1);
    font-size: 0.85rem;
    color: #666;
}

/* Page number */
.flipbook-page .page-number {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #999;
}

/* Modal visible state enhancement */
.modal-content.visible {
    transform: scale(1) translateY(0);
}

/* ============================================
   INSTITUTIONAL CREDIBILITY SECTION (Variant A)
   ============================================ */

.credibility-section {
    position: relative;
    padding: 3rem 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(201, 169, 98, 0.1);
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.credibility-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.credibility-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.credibility-subhead {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-style: italic;
    margin: 0;
}

/* Institution Grid */
.institution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.institution-category {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid rgba(201, 169, 98, 0.1);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.institution-category:hover {
    border-color: rgba(201, 169, 98, 0.3);
    background: rgba(201, 169, 98, 0.05);
}

.category-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(201, 169, 98, 0.15);
    font-weight: 600;
}

.institution-logos {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.institution-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    cursor: default;
}

.institution-name:hover {
    color: var(--text-primary);
}

/* Micro-proof line */
.micro-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: rgba(201, 169, 98, 0.08);
    border: 1px solid rgba(201, 169, 98, 0.15);
    border-radius: 4px;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.proof-stat {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.proof-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Disclaimer */
.credibility-disclaimer {
    text-align: center;
    font-size: 0.65rem;
    color: var(--text-tertiary);
    opacity: 0.6;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ============================================
   PROOF STACK - 3 Trust Tiles
   ============================================ */

.proof-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.proof-tile {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(201, 169, 98, 0.12);
    border-radius: 4px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.proof-tile:hover {
    border-color: rgba(201, 169, 98, 0.3);
    transform: translateY(-4px);
}

.proof-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    color: var(--gold);
    opacity: 0.8;
}

.proof-icon svg {
    width: 100%;
    height: 100%;
}

/* Testimonial Tile */
.proof-quote {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1.25rem;
    quotes: """ """ "'" "'";
}

.proof-quote::before {
    content: open-quote;
    color: var(--gold);
    font-size: 1.5rem;
    vertical-align: -0.2em;
    margin-right: 0.25rem;
}

.proof-quote::after {
    content: close-quote;
    color: var(--gold);
    font-size: 1.5rem;
    vertical-align: -0.2em;
    margin-left: 0.25rem;
}

.proof-attribution {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-style: normal;
}

.proof-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.proof-org {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Metric Tile */
.metric-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-detail {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin: 0;
}

/* Methodology Tile */
.methodology-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.methodology-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.methodology-list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.methodology-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 600;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .proof-tile {
        transition: none;
    }
    .proof-tile:hover {
        transform: none;
    }
    .institution-category {
        transition: none;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .institution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .proof-stack {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .credibility-section {
        padding: 2rem 1rem;
    }
    
    .institution-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .institution-category {
        padding: 1.25rem;
    }
    
    .institution-logos {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }
    
    .institution-name {
        font-size: 0.8rem;
    }
    
    .micro-proof {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 1rem;
    }
    
    .proof-tile {
        padding: 1.5rem;
    }
    
    .metric-value {
        font-size: 2.5rem;
    }
}

/* ============================================
   LEGACY: TRUSTED BY LOGOS SECTION (kept for reference)
   ============================================ */

.trusted-by-section {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 10;
    display: none; /* Hidden - using new credibility section */
}

.trusted-by-label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.logo-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.logo-carousel::before,
.logo-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-primary) 0%, transparent 100%);
}

.logo-track {
    display: flex;
    gap: 3rem;
    animation: scrollLogos 40s linear infinite;
    width: max-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

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

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.logo-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.logo-svg {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8) invert(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-item:hover .logo-svg {
    filter: grayscale(0%) brightness(1) invert(0);
    opacity: 1;
    transform: scale(1.1);
}

/* ============================================
   ENHANCED BOOK INTERACTIVITY
   ============================================ */

.books-showcase {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    perspective: 2000px;
}

.book-item {
    position: relative;
    cursor: pointer;
    transition: all 0.5s var(--ease-out-expo);
}

.book-item::before {
    content: 'Click to Preview';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.book-item:hover::before {
    opacity: 1;
}

.book-item:hover {
    transform: translateY(-10px);
}

.book-item:hover .book-3d {
    transform: rotateY(-25deg) rotateX(5deg);
    box-shadow: 
        20px 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(201, 169, 98, 0.2);
}

.book-item.selected {
    z-index: 100;
}

.book-item.selected .book-3d {
    transform: rotateY(0deg) scale(1.1);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(201, 169, 98, 0.3);
}

/* Book shine effect on hover */
.book-front::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.book-item:hover .book-front::after {
    left: 150%;
}

/* Volume label glow */
.book-volume-label {
    position: relative;
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold);
    padding: 0.25rem 0.75rem;
    background: rgba(201, 169, 98, 0.1);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 2px;
    margin-bottom: 0.5rem;
}

/* Book pages edge animation */
.book-pages-edge {
    position: absolute;
    right: -8px;
    top: 5px;
    bottom: 5px;
    width: 8px;
    background: repeating-linear-gradient(
        to bottom,
        #f0f0f0 0px,
        #f0f0f0 1px,
        #e0e0e0 1px,
        #e0e0e0 2px
    );
    border-radius: 0 2px 2px 0;
    transform: rotateY(-90deg);
    transform-origin: left;
    transition: width 0.3s ease;
}

.book-item:hover .book-pages-edge {
    width: 12px;
}

/* Preview button enhancement */
.btn-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-preview svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-preview:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

.btn-preview:hover svg {
    transform: translateX(3px);
}

/* Floating animation for books */
@keyframes floatBook {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.book-3d-wrapper {
    animation: floatBook 4s ease-in-out infinite;
}

.book-item:nth-child(2) .book-3d-wrapper {
    animation-delay: -2s;
}

/* Price tag styling */
.book-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-format {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Bundle CTA */
.books-bundle-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.1) 0%, rgba(201, 169, 98, 0.05) 100%);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 4px;
}

.bundle-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
    padding: 0.25rem 0.5rem;
    background: rgba(201, 169, 98, 0.15);
    border-radius: 2px;
}

.bundle-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.bundle-save {
    font-size: 0.8rem;
    color: var(--accent-green);
    font-weight: 600;
}

/* Mobile adjustments for trusted-by */
@media (max-width: 768px) {
    .trusted-by-section {
        bottom: 1rem;
    }
    
    .trusted-by-label {
        font-size: 0.65rem;
    }
    
    .logo-track {
        gap: 2rem;
    }
    
    .logo-text {
        font-size: 0.75rem;
    }
    
    .books-showcase {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}