/* Past-to-Future Storybook Playbook */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Georgia&family=Poppins:wght@400;500;600;700&family=Tangerine:wght@400;700&family=Bangers&family=Permanent+Marker&family=Anton&display=swap');
@import url('https://fonts.cdnfonts.com/css/komika-title');

:root {
    /* Old World Theme (Pages 1-3) */
    --old-bg: #F5E6D3;
    --old-text: #2C2416;
    --old-gold: #C9A227;
    --old-gold-light: #D4B854;
    --old-brown: #704214;
    --old-sepia: #8B7355;
    --old-cream: #FAF3E8;
    
    /* Modern Theme (Pages 5-6) */
    --mc-blue: #0066CC;
    --mc-blue-dark: #004499;
    --mc-green: #2F5233;
    --mc-white: #FFFFFF;
    --mc-light: #F5F5F5;
    --mc-text: #333333;
    --mc-text-light: #666666;
    
    /* Shared */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(180deg, #0a1525 0%, #152035 50%, #0a1525 100%);
    min-height: 100vh;
    color: var(--old-text);
    overflow-x: hidden;
}

/* Snowfall Effect */
.snowfall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    animation: fall linear infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.falling-logo {
    position: absolute;
    top: -40px;
    animation: fall-logo linear infinite;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
}

@keyframes fall-logo {
    0% {
        transform: translateY(-40px) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

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

/* ========================================
   GIFT STAGE - Old World Welcome
   ======================================== */
.gift-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.gift-content {
    text-align: center;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(192, 192, 192, 0.2) 0%, transparent 40%),
        linear-gradient(135deg, #1a2a4a 0%, #2a3a5a 25%, #1a3050 50%, #0a2040 75%, #0a1830 100%);
    padding: 80px 50px;
    border-radius: 6px;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 320px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Shimmer effect - diagonal from upper left to bottom right */
.gift-content::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
    animation: shimmer-diagonal 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer-diagonal {
    0%, 100% { 
        top: -100%; 
        left: -100%; 
    }
    50% { 
        top: 150%; 
        left: 150%; 
    }
}

/* Elegant gold border frame */
.gift-content::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 
        inset 0 0 30px rgba(212, 175, 55, 0.1),
        0 0 20px rgba(212, 175, 55, 0.1);
    pointer-events: none;
}

.powered-by-logo {
    height: 12px;
    width: auto;
    max-width: 120px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    filter: brightness(0) invert(1);
    opacity: 1;
    z-index: 1;
}

.gift-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.gift-content .company-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #C0C0C0;
    font-style: italic;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.gift-illustration {
    width: 100%;
    max-width: 300px;
    height: 250px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lottie-circle-bg {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(20, 30, 50, 0.8) 0%, rgba(10, 20, 40, 0.9) 100%);
    border: 2px solid rgba(212, 175, 55, 0.6);
    box-shadow: 
        0 0 40px rgba(212, 175, 55, 0.4),
        0 0 80px rgba(212, 175, 55, 0.2),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.gift-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) saturate(1.1);
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.6);
    box-shadow: 
        0 0 40px rgba(212, 175, 55, 0.4),
        0 0 80px rgba(212, 175, 55, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(240,235,220,0.8) 100%);
}

.gift-illustration.opening img {
    animation: glow 1s ease-in-out;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.4), 0 0 80px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 60px rgba(212, 175, 55, 0.6), 0 0 120px rgba(212, 175, 55, 0.4); }
}

.unwrap-btn {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    padding: 16px 35px;
    background: linear-gradient(180deg, #D4AF37 0%, #B8960C 50%, #A68500 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 20px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 10;
}

.unwrap-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 162, 39, 0.4);
}

/* ========================================
   FLIPBOOK CONTAINER
   ======================================== */
.flipbook-stage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.flipbook-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#flipbook {
    width: 892px;
    height: 637px;
    max-width: 100%;
    background: transparent;
}

.page {
    background: var(--old-cream);
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    border-radius: 8px;
}

/* Subtle shadow around flipbook */
#flipbook {
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 0, 0, 0.2);
}

.page-inside-cover {
    background: linear-gradient(135deg, #1a120a 0%, #2a1f15 50%, #1a120a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.inside-cover-content {
    text-align: center;
    opacity: 0.6;
}

.inside-cover-illustration {
    width: 120px;
    height: auto;
    filter: brightness(0.8) sepia(0.3);
}

/* ========================================
   OLD WORLD THEME - Cover & Pages 1-3
   ======================================== */

/* Cover Page - Antique distressed leather book */
.cover {
    background-color: #1a120a;
    background-image: url('/static/images/textures/aged_distressed_leather_texture.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Spine shadow only */
.cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, transparent 100%);
    pointer-events: none;
}

/* Subtle vignette for depth */
.cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.cover-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    z-index: 1;
}

/* Embossed title plaque */
.cover-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78%;
    height: 50%;
    background: 
        linear-gradient(135deg, rgba(40, 35, 25, 0.9) 0%, rgba(25, 20, 15, 0.95) 50%, rgba(35, 30, 22, 0.9) 100%);
    border-radius: 3px;
    /* Embossed/beveled effect */
    box-shadow: 
        inset 2px 2px 4px rgba(80, 70, 50, 0.3),
        inset -2px -2px 4px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.5);
    /* Double gold border */
    border: 2px solid rgba(180, 145, 35, 0.5);
    outline: 1px solid rgba(140, 115, 30, 0.3);
    outline-offset: 3px;
    pointer-events: none;
}

/* Decorative corner accents on plaque */
.title-plaque {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78%;
    height: 50%;
    pointer-events: none;
    z-index: 1;
}

.title-plaque::before,
.title-plaque::after {
    content: '❧';
    position: absolute;
    font-size: 1rem;
    color: rgba(201, 162, 39, 0.6);
}

.title-plaque::before {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.title-plaque::after {
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
}

/* Elegant gold border frame */
.cover-content::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(201, 162, 39, 0.35);
    /* Corner decorations via box-shadow */
    box-shadow: 
        inset 8px 8px 0 -7px rgba(201, 162, 39, 0.4),
        inset -8px -8px 0 -7px rgba(201, 162, 39, 0.4),
        inset 8px -8px 0 -7px rgba(201, 162, 39, 0.4),
        inset -8px 8px 0 -7px rgba(201, 162, 39, 0.4);
    pointer-events: none;
}

.cover .wax-seal {
    display: none;
}

.cover-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    color: #C9A227;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    margin-top: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.cover-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 300;
    font-style: italic;
    color: #FAF3E8;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.35;
    position: relative;
    z-index: 2;
}

.cover-company {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 300;
    font-style: italic;
    color: #FAF3E8;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.cover-location {
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    color: #C9A227;
    font-style: italic;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 0;
}

/* Old World Pages - Aged paper background */
.page-old {
    background-color: #f5e6d3;
    background-image: url('/static/images/textures/aged_antique_paper_texture.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-old::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 230, 211, 0.3);
    z-index: 0;
}

.page-old .page-content {
    position: relative;
    z-index: 1;
    padding: 12px 16px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.page-old h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--old-brown);
    margin-bottom: 8px;
    text-align: center;
    border-bottom: 1px solid var(--old-gold);
    padding-bottom: 6px;
}

/* Testimonials page - center content vertically */
.page-testimonials {
    position: relative;
}

.page-testimonials .testimonials-vignette {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background-size: cover;
    background-position: center bottom;
    opacity: 0.5;
    filter: sepia(0.4) brightness(1.05);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,1) 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,1) 100%);
    pointer-events: none;
    z-index: 0;
}

.benchmarks-vignette {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background-size: cover;
    background-position: center bottom;
    opacity: 0.4;
    filter: sepia(0.5) brightness(1.1);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 20%, rgba(0,0,0,1) 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 20%, rgba(0,0,0,1) 100%);
    pointer-events: none;
    z-index: 0;
}

.page-testimonials .page-content {
    justify-content: flex-start;
    align-items: center;
    padding: 25px 16px 20px;
    position: relative;
    z-index: 1;
}

.page-testimonials .testimonials-wrapper {
    width: 100%;
}

.page-testimonials .testimonials-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.page-testimonials .testimonials-header h2 {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.page-testimonials .flourish-left,
.page-testimonials .flourish-right {
    color: var(--old-gold);
    font-size: 1.2rem;
}

.page-testimonials .flourish-right {
    transform: scaleX(-1);
}

.page-testimonials .testimonial-card {
    margin: 10px 0;
    padding: 18px 20px;
}

.page-testimonials .market-snapshot {
    margin-top: 18px;
    font-size: 0.9rem;
    text-align: center;
    color: var(--old-sepia);
}

.page-testimonials .testimonials-footer-flourish {
    text-align: center;
    color: var(--old-gold);
    font-size: 0.8rem;
    letter-spacing: 8px;
    margin-top: 15px;
    opacity: 0.7;
}

/* Opening page specific layout */
.page-opening .page-content {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 8px;
}

.page-opening .opening-header {
    flex-shrink: 0;
}

.page-opening .opening-header h2 {
    margin-bottom: 0;
}

.page-opening .opening-narrative {
    flex: 1;
    min-height: 0;
}

.page-opening .opening-narrative .drop-cap {
    margin: 0;
}

/* ========================================
   MAGAZINE SPREAD - Town Image + Narrative
   ======================================== */

/* Left page - Town Image */
.page-spread-left {
    background: var(--old-bg);
    position: relative;
    overflow: hidden;
}

.town-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    background-color: var(--old-bg);
}

/* Sepia filter overlay for old-timey look */
.town-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(139, 115, 85, 0.35) 0%,
        rgba(160, 130, 90, 0.25) 50%,
        rgba(139, 115, 85, 0.4) 100%
    );
    mix-blend-mode: multiply;
}

/* Fade effect toward the gutter (right edge) */
.town-image-fade {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 25%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(245, 235, 220, 0.1) 50%,
        rgba(245, 235, 220, 0.25) 100%
    );
}

/* Town image label */
.town-image-label {
    position: absolute;
    bottom: clamp(1rem, 5vw, 2rem);
    left: clamp(10px, 3vw, 20px);
    right: clamp(10px, 3vw, 20px);
    text-align: center;
    z-index: 5;
}

.town-image-label span {
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.85rem, 2.2vw, 1.1rem);
    font-style: italic;
    color: var(--old-gold);
    background: rgba(30, 25, 20, 0.6);
    padding: clamp(5px, 1.5vw, 8px) clamp(10px, 2.5vw, 16px);
    border-radius: 2px;
    letter-spacing: 1px;
}

/* Right page - Opening Narrative */
.page-spread-right .page-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 16px 16px;
    gap: 12px;
    overflow: hidden;
}

.page-spread-right .opening-narrative {
    flex: initial;
}

.page-spread-right .whats-inside-card {
    margin-top: 0;
    margin-inline: auto;
    width: 90%;
}

/* Story page vignette - different from testimonials */
.page-spread-right .story-vignette {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: url('/static/images/illustrations/snowy_path_to_warm_doorway.png') center bottom / cover no-repeat;
    opacity: 0.4;
    filter: sepia(0.5) brightness(1.05);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 35%, rgba(0,0,0,1) 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 35%, rgba(0,0,0,1) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Decorative logo banner/scroll */
.page-spread-right .logo-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(180deg, rgba(250, 243, 232, 0.95) 0%, rgba(245, 230, 211, 0.9) 100%);
    border: 1px solid var(--old-gold);
    border-radius: 6px / 18px;
    padding: clamp(10px, 2vw, 14px) clamp(20px, 5vw, 35px);
    margin-bottom: 12px;
    box-shadow: 
        inset 0 0 20px rgba(60, 40, 20, 0.2),
        0 3px 8px rgba(0, 0, 0, 0.15);
    position: relative;
}

.page-spread-right .logo-banner::before,
.page-spread-right .logo-banner::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--old-gold), transparent);
}

.page-spread-right .logo-banner::before {
    left: 8px;
}

.page-spread-right .logo-banner::after {
    right: 8px;
}

.page-spread-right .banner-flourish-left,
.page-spread-right .banner-flourish-right {
    color: var(--old-gold);
    font-size: 1.3rem;
    opacity: 0.7;
}

.page-spread-right .company-logo-featured {
    max-width: clamp(140px, 30vw, 200px);
    max-height: 60px;
    object-fit: contain;
    filter: sepia(0.7) saturate(0.9) brightness(0.95);
}

.page-spread-right .opening-header h2 {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-bottom: 10px;
}

.page-spread-right .intro-text {
    font-family: 'EB Garamond', serif;
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    font-style: italic;
    color: var(--old-sepia);
    margin-bottom: 8px;
    text-align: center;
}

.page-spread-right .intro-text strong {
    color: var(--old-brown);
    font-weight: 600;
}

.page-old p {
    font-family: 'Georgia', serif;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    line-height: 1.55;
    color: var(--old-text);
}

/* Drop cap for opening text */
.drop-cap::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 7vw, 3rem);
    float: left;
    line-height: 0.8;
    margin-right: 8px;
    margin-top: 4px;
    color: var(--old-brown);
    font-weight: 600;
}

/* Old World Lists */
.page-old ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 15px;
}

.page-old ul li {
    padding: 8px 0;
    position: relative;
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    color: var(--old-text);
}

.page-old ul li::before {
    content: "❧";
    color: var(--old-gold);
    position: absolute;
    left: -20px;
    font-size: 0.9rem;
}

/* Vintage testimonial cards */
.testimonial-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--old-sepia);
    padding: 15px;
    margin: 12px 0;
    font-style: italic;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--old-gold);
    position: absolute;
    top: 5px;
    left: 10px;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-card p {
    padding-left: 25px;
    font-size: 0.85rem !important;
}

.testimonial-author {
    font-style: normal;
    font-weight: 600;
    color: var(--old-brown);
    margin-top: 8px;
    font-size: 0.8rem;
    text-align: right;
}

/* Old World Benchmarks */
.benchmark-grid-old {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 12px 0;
}

.benchmark-item-old {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--old-sepia);
    padding: 18px 10px;
    text-align: center;
    aspect-ratio: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.benchmark-item-old .value {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--old-brown);
    display: block;
}

.benchmark-item-old .label {
    font-family: 'Georgia', serif;
    font-size: 0.7rem;
    color: var(--old-sepia);
    margin-top: 4px;
    display: block;
}

/* ========================================
   TRANSITION PAGE - The Turning Point
   ======================================== */
.page-transition {
    background: linear-gradient(135deg, 
        var(--old-bg) 0%, 
        #E8DED0 30%,
        #D0D8E8 60%,
        #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal divider */
.page-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        transparent 0%,
        transparent 45%,
        rgba(0, 102, 204, 0.03) 50%,
        rgba(0, 102, 204, 0.05) 100%);
}

.page-transition .page-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-transition h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--old-brown);
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-transition .transition-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--mc-blue);
    max-width: 280px;
    line-height: 1.7;
    padding: 15px 20px;
    border-left: 3px solid var(--mc-blue);
    background: rgba(255, 255, 255, 0.7);
    text-align: left;
}

/* ========================================
   COMIC PANEL SPREAD - Complete Image Display
   ======================================== */

/* LEFT PAGE - Sepia/Past (all square images) */
.page-transition-left {
    background: var(--old-bg);
    position: relative;
    overflow: hidden;
}

.comic-spread-left {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px 8px 8px 8px;
    box-sizing: border-box;
}

/* Shared comic bar container */
.comic-bar {
    background: var(--old-cream);
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comic-bar.top {
    margin: 4px 8px 8px 8px;
    flex-shrink: 0;
}

.comic-bar.bottom {
    padding: 12px 20px;
    margin: 8px 8px 4px 8px;
}

/* Top caption text - classic serif italic */
.caption-top {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.1;
    font-size: clamp(1rem, 3.5vw, 1.25rem);
    color: #121212;
    white-space: nowrap;
    text-align: center;
}

/* Bottom teaser text - serif italic with comic emphasis */
.teaser-bottom {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.2;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    color: #121212;
    text-align: center;
}

/* Emphasis word styled like comic graphics - yellow box */
.teaser-bottom .emph {
    font-family: 'Komika Title', sans-serif;
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.4em;
    background: #FFD93D;
    color: #1a1a1a;
    padding: 4px 12px;
    border: 3px solid #1a1a1a;
    border-radius: 4px;
    display: inline-block;
    transform: rotate(-2deg);
    box-shadow: 2px 2px 0 #1a1a1a;
    margin-left: 6px;
}

.comic-grid-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.comic-row {
    display: flex;
    gap: 4px;
}

/* Left page layout - image-driven sizing */
.comic-row-top {
    display: flex;
    gap: 4px;
    flex: 1;
    min-height: 0;
}

.comic-row-bottom {
    display: flex;
    flex: 1;
    min-height: 0;
}

.comic-panel {
    border: 3px solid #2C2416;
    overflow: hidden;
    background: var(--old-bg);
    position: relative;
}

.comic-grid-left .comic-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Left page panels - square images (1:1 aspect ratio) */
.panel-left-1,
.panel-left-2 {
    flex: 1;
    aspect-ratio: 1 / 1;
}

.panel-left-3 {
    width: 100%;
}

.panel-left-3 img {
    object-position: center 25%;
}

/* Year labels - comic box style with white background */
.year-label {
    font-family: 'Komika Title', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #FFFFFF;
    color: #1a1a1a;
    padding: 8px 16px;
    border: 3px solid #1a1a1a;
    border-radius: 4px;
    box-shadow: 3px 3px 0 #1a1a1a;
    position: absolute;
    z-index: 10;
}

.year-2025 {
    top: 50%;
    left: 12px;
    transform: translateY(-50%) rotate(-5deg);
}

.year-2026 {
    top: 12px;
    right: 12px;
    transform: rotate(8deg);
}

.comic-subtext-sepia {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--old-sepia);
    text-align: center;
    margin: 5px 0 0 0;
    flex-shrink: 0;
}

/* RIGHT PAGE - Color/Future */
.page-transition-right {
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.comic-spread-right {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 8px;
    box-sizing: border-box;
    position: relative;
}

.comic-headline-modern {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--mc-blue);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 5px 0;
    flex-shrink: 0;
}

.comic-grid-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-height: 0;
}

.comic-grid-right .comic-panel {
    border: 3px solid #222;
    background: #fff;
}

.comic-grid-right .comic-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Alternating layout rows - fill available space */
.comic-row-alt {
    display: flex;
    gap: 4px;
    flex: 1;
    min-height: 0;
}

.comic-row-alt .comic-panel {
    display: flex;
}

/* Portrait panels - taller than wide */
.panel-portrait {
    flex: 0.7;
    min-width: 0;
    aspect-ratio: 4 / 5;
}

/* Landscape panels - wider than tall */
.panel-landscape {
    flex: 1.3;
    min-width: 0;
    aspect-ratio: 16 / 9;
}

/* Stacked panels - two images vertically */
.panel-stacked {
    flex: 1.3;
    min-width: 0;
    display: flex !important;
    flex-direction: column;
    gap: 4px;
}

.panel-stacked img {
    flex: 1;
    min-height: 0;
    width: 100%;
    object-fit: cover;
    border: 2px solid #1a1a1a;
    border-radius: 2px;
}

/* Wide panel - full width */
.panel-wide {
    flex: 1;
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
}

.panel-wide img {
    object-position: center top;
}

/* ========================================
   MODERN THEME - Graphic Novel Style
   ======================================== */
.page-modern {
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

/* Halftone dot pattern overlay for comic feel */
.page-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 2px 2px, rgba(0, 102, 204, 0.03) 1px, transparent 1px);
    background-size: 8px 8px;
    pointer-events: none;
}

.page-modern .page-content {
    padding: 12px 16px;
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

/* Caption bar style header */
.page-modern h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    font-weight: 700;
    color: #FFFFFF;
    background: var(--mc-blue);
    padding: 6px 10px;
    margin: -12px -16px 12px -16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 0 var(--mc-blue-dark);
    flex-shrink: 0;
}

.page-modern p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.75rem, 2vw, 0.82rem);
    line-height: 1.5;
    color: var(--mc-text);
}

/* Graphic Novel Panel Grid */
.panel-grid {
    display: grid;
    gap: 10px;
    margin: 10px 0;
}

/* Comic-style panel with thick border */
.panel {
    background: #FFFFFF;
    border: 3px solid #1a1a1a;
    padding: 15px;
    position: relative;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

/* Speech bubble style header */
.panel h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    background: var(--mc-blue-dark);
    padding: 6px 12px;
    margin: -15px -15px 12px -15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel p {
    font-size: 0.8rem !important;
    color: var(--mc-text);
    line-height: 1.5;
}

/* Modern Metrics - Comic style */
.metric-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: #FFFFFF;
    border: 2px solid #1a1a1a;
    margin-bottom: 8px;
}

.metric-icon {
    width: 35px;
    height: 35px;
    background: var(--mc-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: 2px solid #1a1a1a;
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--mc-green);
}

.metric-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    color: var(--mc-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-arrow {
    color: var(--mc-green);
    font-size: 1.3rem;
    font-weight: bold;
}

/* Modern CTAs - Action panel style */
.cta-section {
    margin-top: 15px;
    padding: 15px;
    background: #1a1a1a;
    border: 3px solid #1a1a1a;
}

.cta-section::before {
    content: 'TAKE ACTION';
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
}

.cta-btn {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 20px;
    margin: 8px 0;
    text-decoration: none;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.cta-btn.primary {
    background: var(--mc-blue);
    color: white;
    border: 2px solid white;
}

.cta-btn.primary:hover {
    background: var(--mc-blue-dark);
    transform: scale(1.02);
}

.cta-btn.secondary {
    background: white;
    color: var(--mc-blue);
    border: 2px solid var(--mc-blue);
}

.cta-btn.secondary:hover {
    background: var(--mc-light);
}

.cta-btn.tertiary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

/* Modern Logo Footer */
.logo-footer-modern {
    height: 35px;
    width: auto;
    margin-top: 20px;
    opacity: 0.9;
}

/* Disclaimer */
.disclaimer {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 15px;
    font-style: italic;
    text-align: center;
}

/* What's Inside Card - Old World Style */
.whats-inside-card {
    padding: 15px 18px 18px;
    background: rgba(245, 240, 230, 0.95);
    border-left: 3px solid var(--old-gold);
    border-radius: 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.whats-inside-card::before,
.whats-inside-card::after {
    content: '✦';
    position: absolute;
    font-size: 0.7rem;
    color: rgba(180, 150, 100, 0.5);
}

.whats-inside-card::before {
    top: 8px;
    left: 12px;
}

.whats-inside-card::after {
    top: 8px;
    right: 12px;
}

.whats-inside-title {
    font-family: 'Tangerine', cursive;
    font-size: 1.8rem;
    text-align: center;
    color: var(--old-gold);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.whats-inside-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.whats-inside-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.whats-inside-icon {
    color: var(--old-gold);
    font-size: 0.6rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.whats-inside-text {
    font-family: 'EB Garamond', serif;
    font-size: 0.9rem;
    color: var(--old-sepia);
    line-height: 1.3;
}

/* Company Logo on Cover Page */
.cover-logo-container {
    text-align: center;
    margin-top: -40px;
    margin-bottom: -15px;
    padding: 12px 20px;
    background: rgba(20, 15, 10, 0.85);
    border-radius: 6px;
    border: 1px solid rgba(180, 150, 100, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cover-logo {
    max-width: 180px;
    max-height: 70px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.05);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav-hint {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
    padding: 0 10px;
}

.prev-hint, .next-hint {
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.prev-hint:hover, .next-hint:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ========================================
   BACK COVER - Leather Style
   ======================================== */
.back-cover {
    background-color: #1a120a;
    background-image: url('/static/images/textures/aged_distressed_leather_texture.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.back-cover::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(270deg, rgba(0,0,0,0.4) 0%, transparent 100%);
    pointer-events: none;
}

.back-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.back-cover-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px;
    z-index: 1;
}

.back-cover-content::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(201, 162, 39, 0.35);
    box-shadow: 
        inset 8px 8px 0 -7px rgba(201, 162, 39, 0.4),
        inset -8px -8px 0 -7px rgba(201, 162, 39, 0.4),
        inset 8px -8px 0 -7px rgba(201, 162, 39, 0.4),
        inset -8px 8px 0 -7px rgba(201, 162, 39, 0.4);
    pointer-events: none;
}

.publisher-credit {
    text-align: center;
    margin-bottom: 0;
    background: linear-gradient(145deg, rgba(30, 20, 10, 0.94) 0%, rgba(20, 15, 8, 0.96) 100%);
    padding: 20px 40px;
    border-radius: 6px;
    border: 2px solid rgba(201, 162, 39, 0.5);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    position: relative;
}

.publisher-credit::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 3px;
    pointer-events: none;
}

.publisher-line {
    font-family: 'Playfair Display', serif;
    font-size: 0.65rem;
    color: rgba(201, 162, 39, 0.9);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.publisher-logo {
    max-width: 160px;
    max-height: 40px;
    object-fit: contain;
    filter: brightness(1.1);
    margin-bottom: 8px;
}

.publisher-tagline {
    font-family: 'Georgia', serif;
    font-size: 0.75rem;
    color: rgba(245, 230, 211, 0.85);
    font-style: italic;
    margin-bottom: 10px;
}

.publisher-flourish {
    font-size: 1rem;
    color: rgba(201, 162, 39, 0.5);
    margin-bottom: 10px;
}

.publisher-year {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(201, 162, 39, 0.9);
    letter-spacing: 3px;
    margin: 0;
}

.expiration-notice {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    font-family: 'Georgia', serif;
    font-size: 0.65rem;
    color: rgba(201, 162, 39, 0.5);
    font-style: italic;
    text-align: center;
}

/* ========================================
   NAVIGATION CONTROLS
   ======================================== */
.nav-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding: 0 20px;
    gap: 15px;
    width: 100%;
    max-width: 892px;
    position: relative;
    z-index: 100;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #3D2817 0%, #2F1F12 50%, #241810 100%);
    border: 1px solid rgba(201, 162, 39, 0.4);
    color: #F5E6D3;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
    background: linear-gradient(180deg, #4A3020 0%, #3D2817 50%, #2F1F12 100%);
    border-color: rgba(201, 162, 39, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.nav-icon {
    font-size: 1.1rem;
    color: #C9A227;
}

.nav-text {
    color: #F5E6D3;
}

.nav-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.page-indicator {
    font-family: 'Georgia', serif;
    background: rgba(30, 25, 20, 0.8);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: #C9A227;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.nav-btn-small {
    background: transparent;
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: rgba(201, 162, 39, 0.7);
    padding: 6px 14px;
    border-radius: 15px;
    cursor: pointer;
    font-family: 'Georgia', serif;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.nav-btn-small:hover {
    border-color: rgba(201, 162, 39, 0.6);
    color: #C9A227;
    background: rgba(201, 162, 39, 0.1);
}

/* Comic-mode nav buttons (activated on pages 6+) */
.nav-controls.comic-mode .nav-btn {
    background: linear-gradient(180deg, #FFD93D 0%, #F5C800 100%);
    border: 3px solid #1a1a1a;
    color: #1a1a1a;
    font-family: 'Bangers', 'Poppins', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 #1a1a1a;
}

.nav-controls.comic-mode .nav-btn:hover {
    background: linear-gradient(180deg, #FFE066 0%, #FFD93D 100%);
    border-color: #1a1a1a;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #1a1a1a;
}

.nav-controls.comic-mode .nav-icon {
    color: #1a1a1a;
}

.nav-controls.comic-mode .nav-text {
    color: #1a1a1a;
}

.nav-controls.comic-mode .page-indicator {
    background: #0066CC;
    border: 2px solid #1a1a1a;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    box-shadow: 3px 3px 0 #1a1a1a;
}

.nav-controls.comic-mode .nav-btn-small {
    background: transparent;
    border: 2px solid #0066CC;
    color: #0066CC;
    font-family: 'Poppins', sans-serif;
}

.nav-controls.comic-mode .nav-btn-small:hover {
    background: #0066CC;
    color: #FFFFFF;
}

/* Leather-mode nav buttons (activated on page 10 - back cover) */
.nav-controls.leather-mode .nav-btn {
    background: linear-gradient(180deg, #8B7355 0%, #6B5344 100%);
    border: 2px solid #2C2416;
    color: #F5E6D3;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    box-shadow: 3px 3px 0 rgba(44, 36, 22, 0.5);
}

.nav-controls.leather-mode .nav-btn:hover {
    background: linear-gradient(180deg, #9B8365 0%, #7B6354 100%);
    border-color: #2C2416;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 rgba(44, 36, 22, 0.5);
}

.nav-controls.leather-mode .nav-icon {
    color: #C9A227;
}

.nav-controls.leather-mode .nav-text {
    color: #F5E6D3;
}

.nav-controls.leather-mode .page-indicator {
    background: rgba(30, 25, 20, 0.9);
    border: 1px solid #C9A227;
    color: #C9A227;
    font-family: 'Georgia', serif;
}

.nav-controls.leather-mode .nav-btn-small {
    background: transparent;
    border: 1px solid #C9A227;
    color: #C9A227;
    font-family: 'Georgia', serif;
}

.nav-controls.leather-mode .nav-btn-small:hover {
    background: rgba(201, 162, 39, 0.2);
    color: #C9A227;
}

/* Hide old nav-hint */
.nav-hint {
    display: none;
}

/* ========================================
   COMIC-STYLE BUTTONS (Modern Pages)
   ======================================== */
.comic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Bangers', 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    padding: 10px 18px;
    text-decoration: none;
    text-transform: uppercase;
    border: 3px solid #1a1a1a;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    box-shadow: 4px 4px 0 #1a1a1a;
}

.comic-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #1a1a1a;
}

.comic-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #1a1a1a;
}

.comic-btn.gold {
    background: linear-gradient(180deg, #EECB75 0%, #D4AF37 100%);
    color: #1a1a1a;
}

.comic-btn.teal {
    background: linear-gradient(180deg, #00B8A9 0%, #00A79D 100%);
    color: #FFFFFF;
}

.comic-btn.blue {
    background: linear-gradient(180deg, #0E6AF4 0%, #0382E5 100%);
    color: #FFFFFF;
}

.comic-btn.dark {
    background: linear-gradient(180deg, #333 0%, #1a1a1a 100%);
    color: #FFFFFF;
}

.comic-btn .btn-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.comic-btn .pdf-icon {
    font-size: 1.1rem;
}

/* ========================================
   PAGE 8: YOUR NEXT CHAPTER - Enhanced
   ======================================== */
.page-next-chapter .page-content {
    gap: 8px;
}

.page-next-chapter .panel {
    padding: 10px 12px;
    margin: 0;
}

.page-next-chapter .panel h3 {
    margin: -10px -12px 8px -12px;
    padding: 5px 10px;
    font-size: 0.75rem;
}

.page-next-chapter .panel p {
    font-size: 0.75rem !important;
    line-height: 1.4;
}

/* Quick Win Panel */
.quick-win-panel {
    flex-shrink: 0;
}

/* Bootcamp Panel */
.bootcamp-panel {
    background: #E6F3FC !important;
    border-color: #0382E5 !important;
}

.bootcamp-panel h3 {
    background: #00A79D !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    font-size: 0.7rem !important;
    display: inline-block;
}

.bootcamp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.bootcamp-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.bootcamp-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bootcamp-badge {
    font-family: 'Poppins', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: #00A79D;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bootcamp-panel .comic-btn {
    margin-top: 8px;
    font-size: 0.8rem;
    padding: 6px 14px;
}

/* Pulse Teaser */
.pulse-teaser {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #EECB75;
    border-radius: 6px;
    margin-top: auto;
}

.pulse-video-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #EECB75;
    box-shadow: 0 0 15px rgba(238, 203, 117, 0.4);
}

.pulse-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pulse-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pulse-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: #EECB75;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-style: italic;
    color: #FFFFFF;
}

/* ========================================
   PAGE 9: CTA PAGE - Enhanced
   ======================================== */
.page-ctas .page-content {
    justify-content: flex-start;
    gap: 10px;
}

.page-ctas .cta-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-style: italic;
    color: #0382E5;
    margin-top: -8px;
    margin-bottom: 8px;
}

/* Year-End Offer Card */
.year-end-offer {
    background: linear-gradient(135deg, #0382E5 0%, #0E6AF4 100%);
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    position: relative;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #FF4757;
    color: #FFFFFF;
    font-family: 'Bangers', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 4px 10px;
    border: 2px solid #1a1a1a;
    border-radius: 3px;
    transform: rotate(3deg);
    box-shadow: 2px 2px 0 #1a1a1a;
}

.year-end-offer h3 {
    font-family: 'Bangers', sans-serif;
    font-size: 1.4rem;
    color: #FFFFFF;
    letter-spacing: 2px;
    margin: 0 0 5px 0;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.offer-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #EECB75;
    margin: 0 0 3px 0;
}

.offer-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 10px 0;
}

.year-end-offer .hero-cta {
    width: 100%;
    font-size: 1rem;
    padding: 12px 20px;
}

/* Secondary CTAs */
.secondary-ctas {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.secondary-ctas .comic-btn {
    width: 100%;
    font-size: 0.8rem;
    padding: 10px 15px;
}

.secondary-ctas .comic-btn.dark {
    background: linear-gradient(180deg, #444 0%, #222 100%);
    border-color: #EECB75;
}

.secondary-ctas .comic-btn.dark:hover {
    background: linear-gradient(180deg, #555 0%, #333 100%);
}

.page-ctas .disclaimer {
    color: var(--mc-text-light);
    margin-top: auto;
    padding-top: 5px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 850px) {
    #flipbook {
        width: 95vw;
        height: 60vw;
    }
    
    .cover-main-title {
        font-size: 1.4rem;
    }
    
    .page-old .page-content,
    .page-modern .page-content {
        padding: 20px;
    }
    
    .page-old h2,
    .page-modern h2 {
        font-size: 1.2rem;
    }
    
    .benchmark-grid-old {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gift-content {
        padding: 40px 30px;
    }
    
    .gift-content h1 {
        font-size: 1.6rem;
    }
    
    .nav-hint {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .prev-hint, .next-hint {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}
