/* ============================================
   CSS Custom Properties - DEEP BLUE THEME
   ============================================ */
:root {
    /* Colors - Deep Blue Vivid Palette */
    --color-primary: #00D4FF;
    --color-primary-dark: #0099CC;
    --color-primary-light: #66E5FF;

    --color-secondary: #FF00FF;
    --color-tertiary: #00FF88;
    --color-accent: #FF3366;
    --color-gold: #FFD700;

    --color-dark: #020817;
    --color-dark-lighter: #0A1628;
    --color-dark-card: #0D1D33;
    --color-dark-surface: #132240;

    --color-light: #F0F8FF;
    --color-light-dim: #94A3B8;
    --color-gray: #64748B;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Layout */
    --max-width: 1400px;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);

    /* 3D Effects */
    --glow-primary: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.3);
    --glow-secondary: 0 0 30px rgba(255, 0, 255, 0.5), 0 0 60px rgba(255, 0, 255, 0.3);
    --glow-accent: 0 0 30px rgba(255, 51, 102, 0.5);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-dark);
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-light);
    background: linear-gradient(135deg, var(--color-dark) 0%, #041230 50%, var(--color-dark) 100%);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    cursor: none;
}

a, button, .btn, input, select, textarea, [role="button"] {
    cursor: none;
}

::selection {
    background: var(--color-primary);
    color: var(--color-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

a:hover {
    color: var(--color-primary-light);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* ============================================
   3D Background Effects
   ============================================ */
.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.12) 0%, transparent 70%);
    top: 50%;
    right: -150px;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
}







/* ============================================
   Utility Classes
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    overflow-x: hidden;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    position: relative;
    padding-left: 60px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-light);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 212, 255, 0.2);
}

/* ============================================
   Header & Navigation - 3D Enhanced
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-slow);
    perspective: 1000px;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2, 8, 23, 0.98), rgba(2, 8, 23, 0.9));
    backdrop-filter: blur(20px);
    opacity: 1;
    transition: opacity var(--transition-slow);
}

.header-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--color-secondary),
        var(--color-primary),
        var(--color-tertiary),
        var(--color-primary),
        var(--color-secondary),
        transparent
    );
    opacity: 0.8;
    animation: headerGlow 4s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}



.header.scrolled::before {
    background: rgba(2, 8, 23, 0.98);
    backdrop-filter: blur(30px);
}

.header.scrolled .header-glow {
    opacity: 1;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* 3D Logo */
.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-light);
    letter-spacing: 0.05em;
    transition: all var(--transition-slow);
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-slow);
}

.logo-text {
    display: inline-block;
    transition: all var(--transition-slow);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-accent {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-primary), 0 0 40px var(--color-secondary);
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px var(--color-primary), 0 0 40px var(--color-secondary);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 40px var(--color-primary), 0 0 80px var(--color-secondary);
    }
}

.nav-logo:hover {
    color: var(--color-primary);
    transform: translateZ(15px) scale(1.02);
}

.nav-logo:hover .logo-text {
    text-shadow: 0 5px 30px rgba(0, 212, 255, 0.6);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

/* 3D Nav Links */
.nav-link {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-light-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all var(--transition-slow);
    position: relative;
    padding: var(--space-sm) var(--space-md);
    transform-style: preserve-3d;
    perspective: 500px;
}

.nav-link-text {
    display: inline-block;
    transition: all var(--transition-slow);
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 255, 0.1));
    border-radius: 8px;
    opacity: 0;
    transform: translateZ(-10px) scale(0.9);
    transition: all var(--transition-slow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: all var(--transition-slow);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

.nav-link:hover {
    color: var(--color-light);
}

.nav-link:hover .nav-link-text {
    transform: translateY(-3px) translateZ(10px);
    text-shadow: 0 4px 20px rgba(0, 212, 255, 0.5);
}

.nav-link:hover::before {
    opacity: 1;
    transform: translateZ(0) scale(1);
}

.nav-link:hover::after {
    width: 80%;
}

/* CTA Nav Link */
.nav-link-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-dark) !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(255, 0, 255, 0.2);
    transform-style: preserve-3d;
    animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(255, 0, 255, 0.2); }
    50% { box-shadow: 0 4px 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(255, 0, 255, 0.4); }
}

.nav-link-cta .nav-link-text {
    color: var(--color-dark);
    font-weight: 600;
}

.nav-link-cta::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    transform: translateY(-4px) translateZ(15px) scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.6), 0 0 80px rgba(255, 0, 255, 0.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: background-color var(--transition-fast);
    box-shadow: 0 0 10px var(--color-primary);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: transform var(--transition-base);
    box-shadow: 0 0 10px var(--color-primary);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   Buttons - 3D Enhanced
   ============================================ */
.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    border-radius: 8px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-dark);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: var(--color-dark);
    transform: translateY(-4px) translateZ(10px);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-light);
    border: 2px solid rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4), inset 0 0 40px rgba(0, 212, 255, 0.1);
    transform: translateY(-4px);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid rgba(0, 212, 255, 0.3);
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.7rem;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(0, 212, 255, 0.1);
    color: var(--color-primary-light);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.btn-full {
    width: 100%;
}

.btn-amazon {
    background: linear-gradient(135deg, #FF9900, #FF6600);
    color: #111;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 153, 0, 0.4);
}

.btn-amazon:hover {
    background: linear-gradient(135deg, #FFB84D, #FF9900);
    color: #111;
    transform: translateY(-4px) translateZ(10px);
    box-shadow: 0 15px 40px rgba(255, 153, 0, 0.5);
}

/* ============================================
   Hero Section - Full Cinematic 3D
   ============================================ */
.hero {
    min-height: 100vh;
    padding-bottom: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
    perspective: 1000px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(2, 8, 23, 0.9) 0%, var(--color-dark) 70%);
    pointer-events: none;
}



.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Floating particles in hero */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, var(--color-primary), transparent),
        radial-gradient(2px 2px at 40% 70%, var(--color-secondary), transparent),
        radial-gradient(2px 2px at 60% 20%, var(--color-tertiary), transparent),
        radial-gradient(2px 2px at 80% 60%, var(--color-primary), transparent),
        radial-gradient(1px 1px at 10% 50%, var(--color-light), transparent),
        radial-gradient(1px 1px at 90% 40%, var(--color-light), transparent),
        radial-gradient(1px 1px at 50% 80%, var(--color-secondary), transparent);
    background-size: 250px 250px;
    animation: particleFloat 30s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-250px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 8rem var(--space-lg) 2rem;
    transform-style: preserve-3d;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-light);
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    background: rgba(0, 212, 255, 0.08);
    text-shadow: 0 0 30px var(--color-primary);
    z-index: 1;
    overflow: visible;
}

.hero-tagline::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-tertiary), var(--color-primary));
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorder 4s linear infinite;
    z-index: -1;
}

.hero-tagline::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 55px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-tertiary));
    background-size: 200% 200%;
    filter: blur(20px);
    opacity: 0.6;
    z-index: -2;
    animation: pulseGlow 2s ease-in-out infinite, rotateBorder 4s linear infinite;
}

@keyframes rotateBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-logo {
    max-width: 220px;
    height: auto;
    margin: 2.5rem 0;
    border-radius: 12px;
    mask-image: radial-gradient(ellipse at center, black 50%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 75%);
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.03); }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 9vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--color-light);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: heroTextReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    text-shadow:
        0 0 40px rgba(0, 212, 255, 0.5),
        0 0 80px rgba(255, 0, 255, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 300;
    color: var(--color-light-dim);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-primary);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
    text-shadow: 0 0 20px var(--color-primary);
}

.scroll-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary), transparent);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--color-light), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes heroTextReveal {
    from {
        opacity: 0;
        transform: translateY(60px) rotateX(20deg);
        letter-spacing: 0.05em;
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
        letter-spacing: normal;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollDown {
    0% { top: -50%; }
    100% { top: 100%; }
}

/* ============================================
   Books Section - 3D Cinematic Cards
   ============================================ */
.books {
    padding: var(--space-2xl) 0;
    background: transparent;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.books::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--color-dark), transparent);
    pointer-events: none;
}

.books .container {
    position: relative;
    z-index: 1;
}

.books .section-label {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.books .section-label.visible {
    opacity: 1;
    transform: translateX(0);
}

.books h2 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.2s;
}

.books h2.visible {
    opacity: 1;
    transform: translateY(0);
}

.books-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    overflow: hidden;
}

.book-card {
    display: grid;
    grid-template-columns: 450px 1fr;
    min-height: 600px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(60px) rotateX(5deg);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    max-width: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-dark-card), var(--color-dark-surface));
    border: 1px solid rgba(0, 212, 255, 0.1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
}

.book-card.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

.book-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 212, 255, 0.2),
        0 0 0 1px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.book-card:nth-child(even) {
    direction: rtl;
}

.book-card:nth-child(even) > * {
    direction: ltr;
}

/* Alternate glow colors */
.book-card:nth-child(1):hover { box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 212, 255, 0.3); }
.book-card:nth-child(2):hover { box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 0, 255, 0.3); }
.book-card:nth-child(3):hover { box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 255, 136, 0.3); }
.book-card:nth-child(4):hover { box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 51, 102, 0.3); }
.book-card:nth-child(5):hover { box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.3); }

.book-cover {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-dark-lighter), var(--color-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 0 0 20px;
}

.book-card:nth-child(even) .book-cover {
    border-radius: 0 20px 20px 0;
}

.book-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 212, 255, 0.1) 100%);
    pointer-events: none;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-slow);
    filter: saturate(1.1);
}

.book-card:hover .cover-image {
    transform: scale(1.05);
    filter: saturate(1.2) brightness(1.05);
}

.book-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
    background: transparent;
    position: relative;
}

.book-info::before {
    content: '';
    position: absolute;
    top: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-tertiary));
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.book-genre {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-top: 1.5rem;
    margin-bottom: var(--space-md);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.book-info h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-light);
    margin-bottom: var(--space-md);
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.2);
}

.book-info > p {
    font-size: 1rem;
    color: var(--color-light-dim);
    margin-bottom: var(--space-lg);
    line-height: 1.9;
    max-width: 500px;
}

.book-quote {
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 255, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    margin-bottom: var(--space-lg);
    max-width: 450px;
    backdrop-filter: blur(10px);
}

.book-quote blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--color-light);
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.book-quote cite {
    font-size: 0.85rem;
    color: var(--color-primary-light);
    font-style: normal;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.book-card.academic .book-genre {
    color: var(--color-gold);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.book-card.academic .book-info::before {
    background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
}

/* ============================================
   Articles Section - 3D Cards
   ============================================ */
.articles {
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, transparent, var(--color-dark-lighter), transparent);
    position: relative;
    z-index: 2;
    text-align: center;
    position: relative;
}

.articles::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.articles .section-label {
    padding-left: 0;
}

.articles .section-label::before {
    display: none;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    text-align: left;
}

.article-card {
    position: relative;
    z-index: 2;
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--color-dark-card), var(--color-dark-surface));
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    transition: all var(--transition-slow);
    position: relative;
    transform-style: preserve-3d;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    transition: height var(--transition-slow);
    border-radius: 4px;
    box-shadow: 0 0 20px var(--color-primary);
}

.article-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 212, 255, 0.03));
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.article-card:hover::before {
    height: 100%;
}

.article-card:hover::after {
    opacity: 1;
}

.article-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-10px) translateZ(20px) rotateX(2deg);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 212, 255, 0.15);
}

.article-year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.article-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-light);
    line-height: 1.4;
    margin-bottom: var(--space-sm);
}

.article-publication {
    font-size: 0.85rem;
    color: var(--color-gray);
    font-style: italic;
}

/* ============================================
   About Section - 3D Enhanced
   ============================================ */
.about {
    padding: var(--space-2xl) 0;
    background: transparent;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 100% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 0% 50%, rgba(255, 0, 255, 0.05) 0%, transparent 60%);
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

.image-frame {
    position: relative;
    transition: transform var(--transition-slow);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    right: calc(var(--space-lg) * -1);
    bottom: calc(var(--space-lg) * -1);
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    transition: all var(--transition-slow);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.about-image:hover .image-frame::before {
    top: var(--space-md);
    left: var(--space-md);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.5), 0 0 100px rgba(255, 0, 255, 0.3);
}

.about-image:hover .image-frame {
    transform: translateZ(20px) rotateY(-5deg);
}

.author-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: all var(--transition-slow);
}

.about-image:hover .author-photo {
    filter: brightness(1.1) saturate(1.1);
}

.about-text .section-label {
    padding-left: 0;
}

.about-text .section-label::before {
    display: none;
}

.about-text h2 {
    margin-bottom: var(--space-xs);
}

.about-text .location {
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.about-text p {
    color: var(--color-light-dim);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    line-height: 1.8;
}

.about-credentials {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.credential {
    display: flex;
    flex-direction: column;
    position: relative;
}

.credential-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.credential-label {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-top: var(--space-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   Speaking Section - 3D Dramatic
   ============================================ */
.speaking {
    padding: var(--space-2xl) 0;
    background: transparent;
    text-align: center;
    position: relative;
}

.speaking::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.speaking .container {
    position: relative;
    z-index: 1;
}

.speaking .section-label {
    padding-left: 0;
}

.speaking .section-label::before {
    display: none;
}

.section-intro {
    color: var(--color-light-dim);
    max-width: 550px;
    margin: 0 auto var(--space-2xl);
    font-size: 0.95rem;
    line-height: 1.8;
}

.speaking-topics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.topic-card {
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(135deg, var(--color-dark-card), var(--color-dark-surface));
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-tertiary));
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
    box-shadow: 0 0 20px var(--color-primary);
}

.topic-card:hover::before {
    transform: translateX(0);
}

.topic-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-15px) translateZ(30px) rotateX(5deg);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 212, 255, 0.2);
}

.topic-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--space-md);
    color: var(--color-primary);
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
    transition: all var(--transition-slow);
}

.topic-card:hover .topic-icon {
    transform: scale(1.2) rotateY(180deg);
    filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.8));
}

.topic-icon svg {
    width: 100%;
    height: 100%;
}

.topic-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: var(--space-sm);
}

.topic-card p {
    font-size: 0.85rem;
    color: var(--color-gray);
    line-height: 1.7;
}

.speaking-cta {
    padding: var(--space-2xl);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(255, 0, 255, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.speaking-cta p {
    color: var(--color-light);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

/* ============================================
   Contact Section - 3D Enhanced
   ============================================ */
.contact {
    background: linear-gradient(180deg, transparent, var(--color-dark-lighter));
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
}

.contact-info .section-label {
    padding-left: 0;
}

.contact-info .section-label::before {
    display: none;
}

.contact-info > p {
    color: var(--color-light-dim);
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
    text-align: left;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--color-dark-card), var(--color-dark-surface));
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    color: var(--color-light);
    transition: all var(--transition-slow);
    transform-style: preserve-3d;
}

.contact-method:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(15px) translateZ(10px);
    color: var(--color-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.2);
}

.contact-icon {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    transition: all var(--transition-slow);
}

.contact-method:hover .contact-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.7rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 0.9rem;
    color: var(--color-light);
}

.contact-form-wrapper {
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--color-dark-card), var(--color-dark-surface));
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-light);
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* ============================================
   Footer - 3D Enhanced
   ============================================ */
.footer {
    padding: var(--space-2xl) 0 var(--space-xl);
    background: linear-gradient(180deg, var(--color-dark-lighter) 0%, var(--color-dark) 100%);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        var(--color-secondary),
        var(--color-primary),
        var(--color-tertiary),
        var(--color-primary),
        var(--color-secondary),
        transparent
    );
    animation: footerGlow 4s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}

/* Footer Brand */
.footer-brand {
    transform-style: preserve-3d;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-light);
    display: inline-block;
    margin-bottom: var(--space-sm);
    transition: all var(--transition-base);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.footer-logo:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--color-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.footer-mission {
    font-size: 0.9rem;
    color: var(--color-light-dim);
    line-height: 1.8;
    max-width: 350px;
}

/* Footer Columns */
.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.footer-column .footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-column .footer-nav a {
    font-size: 0.85rem;
    color: var(--color-light-dim);
    text-transform: none;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    position: relative;
    display: inline-block;
}

.footer-column .footer-nav a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: translateX(5px);
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-light-dim);
    transition: all var(--transition-base);
}

a.footer-contact-item:hover {
    color: var(--color-primary);
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 255, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    font-size: 0.9rem;
    color: var(--color-primary);
    transition: all var(--transition-base);
}

a.footer-contact-item:hover .footer-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-dark);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
    transform: scale(1.1) rotate(10deg);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--color-gray);
}

.footer-decoration {
    display: flex;
    gap: var(--space-sm);
}

.footer-decoration span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: decorationPulse 2s ease-in-out infinite;
}

.footer-decoration span:nth-child(1) {
    background: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary);
    animation-delay: 0s;
}

.footer-decoration span:nth-child(2) {
    background: var(--color-secondary);
    box-shadow: 0 0 15px var(--color-secondary);
    animation-delay: 0.3s;
}

.footer-decoration span:nth-child(3) {
    background: var(--color-tertiary);
    box-shadow: 0 0 15px var(--color-tertiary);
    animation-delay: 0.6s;
}

@keyframes decorationPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.4); opacity: 1; }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .book-card {
        grid-template-columns: 350px 1fr;
        min-height: 500px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-image {
        max-width: 280px;
        margin: 0 auto;
    }

    .speaking-topics {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-lg);
        background: linear-gradient(135deg, var(--color-dark), var(--color-dark-lighter));
        transition: right var(--transition-slow);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }

    .hero-content {
        padding: 6rem var(--space-md) 2rem;
    }

    .hero-tagline {
        white-space: normal;
        font-size: clamp(0.85rem, 3.5vw, 1.2rem);
        padding: 1rem 1.5rem;
        letter-spacing: 0.08em;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 15vw, 5rem);
    }

    .book-card {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 0;
        border-radius: 16px;
    }

    .book-card:nth-child(even) {
        direction: ltr;
    }

    .book-cover {
        width: 100%;
        max-width: 100%;
        margin: 0;
        position: relative;
        z-index: 1;
        display: flex;
        justify-content: center;
        padding: var(--space-lg);
        background: var(--color-dark-lighter);
        border-radius: 16px 16px 0 0;
    }

    .book-card:nth-child(even) .book-cover {
        border-radius: 16px 16px 0 0;
    }

    .cover-image {
        max-height: 300px;
        max-width: 200px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .book-info {
        padding: var(--space-xl) var(--space-lg);
        text-align: center;
        position: relative;
        z-index: 0;
    }

    .book-info::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .about .container {
        padding: var(--space-xl) var(--space-lg);
    }

    .about-credentials {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-xl);
    }

    .credential-number {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-mission {
        max-width: 100%;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column .footer-nav {
        align-items: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .nav-menu.active .nav-link-cta {
        background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    }
}