/* ==========================================================================
   MOUNTEBANK MARRIAGES - OFFICIAL AUTHOR WEBSITE DESIGN SYSTEM
   Author: Reema Jilani (Reema Mahmood)
   Aesthetic: Midnight Amethyst • Luminous Butterfly • Luxury Literary Serif
   ========================================================================== */

/* --- ROOT DESIGN TOKENS --- */
:root {
    /* Color Palette */
    --bg-midnight: #0b0414;
    --bg-plum: #140824;
    --bg-obsidian: #1b0c32;
    --bg-card: rgba(26, 12, 48, 0.72);
    --bg-card-hover: rgba(38, 18, 70, 0.85);
    --bg-glass: rgba(18, 8, 34, 0.75);
    
    /* Violet / Ethereal Glow */
    --accent-violet: #a855f7;
    --accent-lavender: #c084fc;
    --accent-glow: #d8b4fe;
    --accent-magenta: #e879f9;
    --accent-soft: rgba(192, 132, 252, 0.15);
    --accent-border: rgba(192, 132, 252, 0.22);
    --accent-border-hover: rgba(192, 132, 252, 0.55);

    /* Champagne Gold Accents */
    --gold-primary: #fef08a;
    --gold-amber: #f59e0b;
    --gold-glow: #fbbf24;
    --gold-soft: rgba(251, 191, 36, 0.15);

    /* Text Colors */
    --text-pure: #ffffff;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Typography */
    --font-serif-luxury: 'Cinzel Decorative', Georgia, serif;
    --font-serif-literary: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Spacing & Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows & Glows */
    --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 45px rgba(168, 85, 247, 0.3);
    --shadow-gold: 0 0 35px rgba(245, 158, 11, 0.25);
}

/* --- RESET & GLOBAL STYLES --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-midnight);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    background-color: var(--bg-midnight);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

/* --- AMBIENT BACKGROUND & PARTICLES --- */
.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.ambient-glow {
    position: fixed;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
}

.glow-top-left {
    top: -150px;
    left: -150px;
    background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
}

.glow-bottom-right {
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle, var(--bg-obsidian) 0%, transparent 70%);
}

.glow-center-violet {
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
}

/* --- THEMED PAGE PRELOADER --- */
.site-preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #1b0a33 0%, #080210 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.8s ease;
}

.site-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    max-width: 580px;
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

/* --- CLEAN PRELOADER BUTTERFLY (Uses butterfly.png directly — no white line, no neon glow) --- */
.preloader-butterfly-wrapper {
    position: relative;
    width: 160px;
    height: 140px;
    margin: 0 auto 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-clean-butterfly {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: preloaderButterflyFloat 2.4s ease-in-out infinite;
}

.preloader-butterfly-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Gentle scaleX flap animation — simulates wings moving without splitting image */
    animation: preloaderWingFlap 0.5s ease-in-out infinite alternate;
    transform-origin: center center;
}

/* Gentle vertical float */
@keyframes preloaderButterflyFloat {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Subtle wing flap via scaleX (no white divider line, no glow) */
@keyframes preloaderWingFlap {
    0%   { transform: scaleX(1) scaleY(1); }
    100% { transform: scaleX(0.82) scaleY(1.04); }
}

.preloader-brand {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.preloader-title {
    font-family: var(--font-serif-luxury);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--text-pure);
    letter-spacing: 0.12em;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-lavender) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preloader-quote {
    font-family: var(--font-serif-literary);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.preloader-bar-container {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.75rem;
}

.preloader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-violet), var(--gold-primary), var(--accent-magenta));
    transition: width 0.15s ease;
    border-radius: 4px;
}

.preloader-counter {
    font-size: 0.85rem;
    color: var(--accent-lavender);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* --- SCROLLING BUTTERFLY (Uses butterfly.png — clean, no glow, no white line) --- */
.scrolling-butterfly-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 150;
    overflow: visible;
}

.butterfly-flight-body {
    position: absolute;
    width: 80px;
    height: 72px;
    transform: translate(-50%, -50%);
    will-change: transform, left, top;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.45));
    pointer-events: none;
}

.flying-butterfly-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Animate scaleX to simulate wing flap — clean, no glow, no white divider */
    animation: scrollButterflyWingFlap 0.4s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes scrollButterflyWingFlap {
    0%   { transform: scaleX(1) scaleY(1); }
    100% { transform: scaleX(0.78) scaleY(1.05); }
}

/* --- SITE HEADER & GLASS NAVIGATION --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    padding: 0.75rem 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--accent-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 1rem;
}

/* Brand Logo with User's Uploaded Butterfly */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-butterfly-icon {
    width: 38px;
    height: 38px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-butterfly-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--accent-lavender));
    animation: logoButterflyFlutter 2.5s ease-in-out infinite alternate;
}

@keyframes logoButterflyFlutter {
    0% { transform: translateY(0) rotate(0deg) scale(0.95); }
    50% { transform: translateY(-3px) rotate(4deg) scale(1.05); }
    100% { transform: translateY(0) rotate(-3deg) scale(1); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-text .author-name {
    font-family: var(--font-serif-luxury);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-pure);
    line-height: 1.2;
    white-space: nowrap;
}

.logo-text .author-tagline {
    font-size: 0.7rem;
    color: var(--accent-lavender);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.03em;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-violet), var(--gold-primary));
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Header Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.btn-header-cta {
    padding: 0.65rem 1.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-pure);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(245, 158, 11, 0.3));
    border: 1px solid var(--accent-border-hover);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.15);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-header-cta:hover {
    background: linear-gradient(135deg, var(--accent-violet), var(--gold-amber));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.4);
    color: #fff;
}

.btn-header-cta i {
    color: var(--gold-primary);
}

/* Mobile Toggle Menu Button (Explicit Menu with Icon) */
.nav-toggle-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    height: 38px;
    border-radius: 50px;
    background: rgba(168, 85, 247, 0.16);
    border: 1px solid var(--accent-border-hover);
    color: var(--text-pure);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition-fast);
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-toggle-btn:hover,
.nav-toggle-btn.active {
    background: rgba(192, 132, 252, 0.28);
    border-color: var(--accent-lavender);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.35);
    color: #ffffff;
}

.nav-toggle-icon {
    font-size: 0.95rem;
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

.nav-toggle-btn.active .nav-toggle-icon {
    transform: rotate(90deg);
}

.nav-toggle-label {
    letter-spacing: 0.05em;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.76rem;
}

/* --- MOBILE SIDEBAR DRAWER MENU --- */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -360px;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: #140824;
    background: linear-gradient(180deg, #1b0c32 0%, #10051e 100%);
    border-left: 1px solid var(--accent-border-hover);
    z-index: 999999;
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(192, 132, 252, 0.18);
}

.drawer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.drawer-butterfly-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--accent-lavender));
}

.drawer-title-wrap {
    display: flex;
    flex-direction: column;
}

.drawer-author-name {
    font-family: var(--font-serif-luxury);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-pure);
    line-height: 1.2;
}

.drawer-book-tagline {
    font-size: 0.68rem;
    color: var(--accent-lavender);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.drawer-close-btn:hover {
    background: rgba(192, 132, 252, 0.2);
    color: var(--text-pure);
    border-color: var(--accent-lavender);
    transform: rotate(90deg);
}

.drawer-nav-label {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.mobile-nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active-link {
    background: rgba(168, 85, 247, 0.18);
    border-color: var(--accent-border-hover);
    color: var(--gold-primary);
    transform: translateX(4px);
}

.mobile-nav-link i {
    color: var(--accent-lavender);
    width: 22px;
    font-size: 1.05rem;
    text-align: center;
}

.drawer-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-copyright {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    letter-spacing: 0.04em;
}

.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(6, 2, 14, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* --- BUTTONS & INTERACTIVE ELEMENTS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-violet) 0%, #9333ea 50%, var(--gold-amber) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.6), 0 0 20px rgba(245, 158, 11, 0.3);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--accent-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(192, 132, 252, 0.15);
    border-color: var(--accent-border-hover);
    color: var(--text-pure);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1.1rem 2.4rem;
    font-size: 1.05rem;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: 0.75s ease;
}

.btn:hover .btn-shine {
    left: 140%;
}

.w-full {
    width: 100%;
}

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

/* --- SECTION COMMON HEADINGS --- */
.section-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 6.5rem 2rem;
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 4.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 0.85rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.25);
    padding: 0.35rem 1rem;
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-serif-luxury);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-pure);
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.section-header-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-lavender), var(--gold-primary), transparent);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================================================
   SECTION 1: HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

/* Left Hero Copy */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid var(--accent-border);
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 1.75rem;
}

.hero-title-group {
    margin-bottom: 1.75rem;
}

.hero-title-prefix {
    font-family: var(--font-serif-luxury);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    letter-spacing: 0.35em;
    color: var(--text-pure);
    display: block;
    margin-bottom: 0.35rem;
}

.hero-title-main {
    font-family: var(--font-serif-literary);
    font-size: clamp(3.2rem, 7.5vw, 5.8rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 0.95;
    background: linear-gradient(135deg, #ffffff 20%, var(--accent-lavender) 65%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.85rem;
}

.hero-subtitle {
    font-family: var(--font-serif-literary);
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    color: var(--text-secondary);
}

.hero-quote-box {
    background: var(--bg-card);
    border-left: 3px solid var(--gold-amber);
    padding: 1.25rem 1.75rem;
    border-radius: 0 16px 16px 0;
    margin-bottom: 1.75rem;
    backdrop-filter: blur(12px);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-quote-box .quote-icon {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.hero-quote-text {
    font-family: var(--font-serif-literary);
    font-size: 1.05rem;
    color: var(--text-pure);
    line-height: 1.6;
}

.hero-synopsis-snippet {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.25rem;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold-primary);
    line-height: 1.2;
}

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

.trust-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.12);
}

/* Right Hero Visual: 3D Interactive Book Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-floating-butterfly {
    position: absolute;
    top: -40px;
    right: 20px;
    width: 95px;
    height: 95px;
    z-index: 10;
    filter: drop-shadow(0 0 20px var(--accent-magenta));
    animation: heroButterflyHover 4s ease-in-out infinite alternate;
}

.hero-floating-butterfly img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes heroButterflyHover {
    0% { transform: translateY(0) rotate(5deg) scale(0.95); }
    100% { transform: translateY(-20px) rotate(-8deg) scale(1.05); }
}

.book-3d-wrapper {
    position: relative;
    width: 340px;
    height: 500px;
    perspective: 1400px;
}

.book-ambient-glow {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, rgba(245, 158, 11, 0.15) 45%, transparent 75%);
    filter: blur(40px);
    z-index: 0;
}

.book-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-18deg) rotateX(10deg);
    transition: transform 0.15s ease-out;
    cursor: grab;
    z-index: 2;
}

.book-cover-front {
    position: absolute;
    inset: 0;
    border-radius: 6px 14px 14px 6px;
    overflow: hidden;
    box-shadow: 12px 18px 45px rgba(0, 0, 0, 0.7);
    background: #140824;
    transform: translateZ(14px);
}

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

.book-sheen {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.35) 0%, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.book-spine-crease {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 25px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.book-spine-side {
    position: absolute;
    left: -28px;
    top: 0;
    width: 28px;
    height: 100%;
    background: #0f051c;
    transform: rotateY(-90deg) translateZ(0);
    transform-origin: right center;
    border-radius: 4px 0 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset -3px 0 8px rgba(0, 0, 0, 0.8);
}

.book-spine-side .spine-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    white-space: nowrap;
}

.book-page-edges {
    position: absolute;
    right: -24px;
    top: 8px;
    bottom: 8px;
    width: 24px;
    background: repeating-linear-gradient(90deg, #eae5dc, #eae5dc 1px, #d8d2c6 2px);
    transform: rotateY(90deg);
    transform-origin: left center;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4);
}

.book-cast-shadow {
    position: absolute;
    bottom: -30px;
    left: 10%;
    width: 90%;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    filter: blur(20px);
    border-radius: 50%;
    transform: rotateX(80deg) translateZ(-50px);
}

/* Floating feature badges */
.floating-badge {
    position: absolute;
    background: var(--bg-glass);
    border: 1px solid var(--accent-border);
    backdrop-filter: blur(15px);
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-pure);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 10;
    animation: badgeFloat 3.5s ease-in-out infinite alternate;
}

.floating-badge i {
    color: var(--gold-primary);
}

.badge-top-right {
    top: 15px;
    right: -30px;
}

.badge-bottom-left {
    bottom: 30px;
    left: -35px;
    animation-delay: -1.7s;
}

@keyframes badgeFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* Scroll indicator */
.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin: 3rem auto 0;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.hero-scroll-indicator:hover {
    color: var(--accent-lavender);
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid currentColor;
    border-radius: 15px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    animation: mouseWheelSlide 1.6s infinite;
}

@keyframes mouseWheelSlide {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

.scroll-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-arrow {
    font-size: 0.8rem;
    animation: arrowBounce 1.5s infinite;
}

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

/* ==========================================================================
   SECTION 2: ABOUT THE BOOK
   ========================================================================== */
.about-book-section {
    background: linear-gradient(180deg, var(--bg-midnight) 0%, #120721 50%, var(--bg-midnight) 100%);
    position: relative;
    z-index: 2;
}

.about-book-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4.5rem;
    align-items: flex-start;
}

/* Book interactive 2-face flipper card */
.book-interactive-card {
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-subtle);
    margin-bottom: 2rem;
}

.book-flipper {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #140824;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.flip-face {
    position: absolute;
    inset: 0;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.96);
}

.flip-face.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.flip-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.face-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(11, 4, 20, 0.85);
    border: 1px solid var(--accent-border);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-primary);
    backdrop-filter: blur(8px);
}

.flip-controls {
    display: flex;
    gap: 1rem;
}

.btn-flip {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-border);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.btn-flip.active, .btn-flip:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: var(--accent-border-hover);
    color: var(--text-pure);
}

/* Specs Box */
.book-specs-card {
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
    border-radius: 20px;
    padding: 1.75rem;
    backdrop-filter: blur(12px);
}

.specs-title {
    font-size: 0.95rem;
    color: var(--gold-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-name {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

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

/* Synopsis details */
.synopsis-callout-card {
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.synopsis-badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.synopsis-headline {
    font-family: var(--font-serif-literary);
    font-size: 1.45rem;
    color: var(--text-pure);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.synopsis-body-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.synopsis-body-text:last-child {
    margin-bottom: 0;
}

/* 4 Pillars */
.story-pillars-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition-fast);
}

.pillar-card:hover {
    background: rgba(168, 85, 247, 0.08);
    border-color: var(--accent-border);
    transform: translateY(-3px);
}

.pillar-icon {
    width: 44px;
    height: 44px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid var(--accent-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.pillar-title {
    font-size: 1.05rem;
    color: var(--text-pure);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pillar-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-book-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* ==========================================================================
   SECTION 3: CORE THEMES & INSPIRATION
   ========================================================================== */
.themes-section {
    position: relative;
    z-index: 2;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    margin-bottom: 4.5rem;
}

.theme-card {
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.theme-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-border-hover);
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.2);
}

.theme-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(245, 158, 11, 0.15));
    border: 1px solid var(--accent-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.theme-step {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent-lavender);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.theme-card-title {
    font-family: var(--font-serif-literary);
    font-size: 1.35rem;
    color: var(--text-pure);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.theme-card-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.theme-card-highlight {
    font-family: var(--font-serif-literary);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--gold-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

/* Quote banner */
.quote-banner {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    padding: 3.5rem 3rem;
    text-align: center;
    border: 1px solid var(--accent-border);
    background: radial-gradient(circle at center, #260f47 0%, #0d051a 100%);
    box-shadow: var(--shadow-glow);
}

.quote-butterfly-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 15px var(--accent-magenta));
}

.quote-butterfly-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-quote-text {
    font-family: var(--font-serif-luxury);
    font-size: clamp(1.4rem, 3.2vw, 2.2rem);
    color: var(--text-pure);
    letter-spacing: 0.06em;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.banner-quote-author {
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    font-style: normal;
    font-weight: 700;
}

.banner-quote-author span {
    font-weight: 400;
    color: var(--text-muted);
}

/* ==========================================================================
   SECTION 4: ABOUT THE AUTHOR (WITH READ MORE TOGGLE)
   ========================================================================== */
.author-section {
    background: linear-gradient(180deg, var(--bg-midnight) 0%, #150926 50%, var(--bg-midnight) 100%);
    position: relative;
    z-index: 2;
}

.author-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4.5rem;
    align-items: center;
}

/* Luxury portrait frame */
.author-portrait-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.portrait-ambient-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(245, 158, 11, 0.15) 50%, transparent 75%);
    filter: blur(35px);
}

.portrait-frame {
    position: relative;
    width: 320px;
    aspect-ratio: 341 / 461;
    border-radius: 24px;
    padding: 12px;
    background: linear-gradient(145deg, rgba(216, 180, 254, 0.3), rgba(245, 158, 11, 0.2), rgba(168, 85, 247, 0.1));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.portrait-inner {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.author-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.portrait-frame:hover .author-img {
    transform: scale(1.04);
}

.portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 4, 20, 0.5) 0%, transparent 50%);
    pointer-events: none;
}

.frame-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid var(--gold-primary);
    pointer-events: none;
}

.frame-corner.top-left { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.frame-corner.top-right { top: 6px; right: 6px; border-left: none; border-bottom: none; }
.frame-corner.bottom-left { bottom: 6px; left: 6px; border-right: none; border-top: none; }
.frame-corner.bottom-right { bottom: 6px; right: 6px; border-left: none; border-top: none; }

.author-experience-badge {
    position: absolute;
    bottom: -15px;
    right: -20px;
    background: var(--bg-glass);
    border: 1px solid var(--gold-amber);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 0.6rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.author-experience-badge .badge-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--gold-primary);
    font-family: var(--font-serif-luxury);
}

.author-experience-badge .badge-txt {
    font-size: 0.72rem;
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 600;
}

/* Bio copy */
.author-intro-heading {
    margin-bottom: 1.75rem;
}

.author-alias {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--accent-lavender);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.author-name-large {
    font-family: var(--font-serif-literary);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text-pure);
    line-height: 1.2;
}

.author-story-body {
    margin-bottom: 1.5rem;
}

.author-p-lead {
    font-size: 1.12rem;
    color: var(--text-primary);
    line-height: 1.85;
    margin-bottom: 0;
}

.author-p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.author-p strong {
    color: var(--text-pure);
}

/* Collapsible extended bio */
.author-expanded-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.author-expanded-content.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1.5rem;
}

.author-personal-note {
    background: var(--bg-card);
    border-left: 3px solid var(--accent-violet);
    border-radius: 0 18px 18px 0;
    padding: 1.75rem;
    position: relative;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.note-quote-mark {
    position: absolute;
    top: -15px;
    left: 15px;
    font-family: var(--font-serif-literary);
    font-size: 4rem;
    color: rgba(168, 85, 247, 0.2);
    line-height: 1;
}

.note-text {
    font-family: var(--font-serif-literary);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-pure);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.author-signature-wrap {
    display: flex;
    flex-direction: column;
}

.author-signature {
    font-family: var(--font-serif-literary);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gold-primary);
    font-weight: 700;
}

.author-sig-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.author-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    margin-top: 1.5rem;
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more.active i {
    transform: rotate(180deg);
}

/* ==========================================================================
   SECTION 5: REVIEWS & READER ACCLAIM
   ========================================================================== */
.reviews-section {
    position: relative;
    z-index: 2;
}

.reviews-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars-row {
    color: var(--gold-amber);
    display: flex;
    gap: 4px;
    font-size: 1.2rem;
}

.stat-rating-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-pure);
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid var(--accent-border);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-primary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    transition: var(--transition-fast);
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.review-stars {
    color: var(--gold-amber);
    display: flex;
    gap: 3px;
    font-size: 0.95rem;
}

.verified-badge {
    font-size: 0.72rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.review-heading {
    font-family: var(--font-serif-literary);
    font-size: 1.15rem;
    color: var(--text-pure);
    margin-bottom: 0.85rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    flex: 1;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
}

.reviewer-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-violet), var(--gold-amber));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 0.95rem;
    color: var(--text-pure);
}

.reviewer-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SECTION 6: CLEAN & FOCUSED CTA (GET A BOOK)
   ========================================================================== */
.order-section {
    position: relative;
    z-index: 2;
}

.order-card-main {
    background: radial-gradient(circle at 50% 30%, #2b0f4d 0%, #10061e 100%);
    border: 1px solid var(--accent-border-hover);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.text-center-cta {
    text-align: center;
    padding: 5rem 3rem;
}

.cta-focused-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-book-visual {
    max-width: 320px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
    animation: orderBookFloat 4s ease-in-out infinite alternate;
}

.cta-book-img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes orderBookFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

.cta-content-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.order-tag {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.order-main-title {
    font-family: var(--font-serif-luxury);
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
    color: var(--text-pure);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.order-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 650px;
}

.cta-btn-wrapper {
    margin: 1.5rem 0 2.5rem;
}

.btn-get-book {
    padding: 1.25rem 3.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 35px rgba(168, 85, 247, 0.5), 0 0 25px rgba(245, 158, 11, 0.4);
}

.btn-get-book:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 45px rgba(168, 85, 247, 0.7), 0 0 35px rgba(245, 158, 11, 0.6);
}

.order-guarantees-row {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.guarantee-badge i {
    color: var(--gold-primary);
}

/* ==========================================================================
   SECTION 7: EXCERPT PREVIEW MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 2, 16, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: #17092c;
    border: 1px solid var(--accent-border-hover);
    border-radius: 28px;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-overlay.open .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 2rem 2.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-book-tag {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--gold-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 0.35rem;
}

.modal-title {
    font-family: var(--font-serif-literary);
    font-size: 1.6rem;
    color: var(--text-pure);
}

.modal-author {
    font-size: 0.85rem;
    color: var(--accent-lavender);
}

.modal-close-btn {
    font-size: 1.5rem;
    color: var(--text-muted);
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    background: radial-gradient(circle at top right, #1d0b38 0%, #120622 100%);
}

.excerpt-page-content {
    max-width: 600px;
    margin: 0 auto;
}

.excerpt-drop-cap {
    float: left;
    font-family: var(--font-serif-literary);
    font-size: 4rem;
    line-height: 0.8;
    color: var(--gold-primary);
    padding-right: 0.75rem;
    padding-top: 0.25rem;
}

.excerpt-para {
    font-family: var(--font-serif-literary);
    font-size: 1.08rem;
    line-height: 1.9;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

.excerpt-divider {
    text-align: center;
    margin: 2.5rem 0;
}

.excerpt-mini-butterfly {
    width: 50px;
    height: 50px;
    display: inline-block;
    filter: drop-shadow(0 0 10px var(--accent-lavender));
}

.excerpt-quote {
    font-family: var(--font-serif-literary);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--gold-primary);
    text-align: center;
    line-height: 1.7;
}

.modal-footer {
    padding: 1.5rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f051c;
}

.modal-footer-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-footer-actions {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
    background: #07020d;
    border-top: 1px solid var(--accent-border);
    position: relative;
    z-index: 2;
    padding-top: 5.5rem;
}

.footer-top-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-lavender), var(--gold-primary), transparent);
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem 4.5rem;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
    gap: 3.5rem;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.footer-butterfly-badge {
    width: 42px;
    height: 42px;
}

.footer-mini-butterfly {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--accent-lavender));
}

.footer-brand-title {
    font-family: var(--font-serif-luxury);
    font-size: 1.2rem;
    color: var(--text-pure);
    letter-spacing: 0.1em;
}

.footer-brand-subtitle {
    font-size: 0.75rem;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.footer-quote {
    font-family: var(--font-serif-literary);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.social-btn:hover {
    background: var(--accent-violet);
    border-color: var(--accent-lavender);
    color: #fff;
    transform: translateY(-3px);
}

.footer-col-title {
    font-family: var(--font-serif-literary);
    font-size: 1.15rem;
    color: var(--text-pure);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links-list li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.footer-links-list li a i {
    font-size: 0.7rem;
    color: var(--accent-lavender);
}

.footer-links-list li a:hover {
    color: var(--gold-primary);
    padding-left: 0.35rem;
}

.footer-book-card {
    display: flex;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--accent-border);
    border-radius: 16px;
    padding: 1.25rem;
}

.footer-book-thumb {
    width: 65px;
    height: 95px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.footer-book-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-book-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-book-meta strong {
    font-size: 0.95rem;
    color: var(--text-pure);
    margin-bottom: 0.2rem;
}

.footer-book-meta span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.edition-badge {
    color: var(--gold-primary) !important;
    font-weight: 600;
    margin-top: 0.25rem;
}

.footer-order-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-lavender);
    margin-top: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-order-link:hover {
    color: var(--gold-primary);
}

.footer-text-sm {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.input-with-btn {
    display: flex;
    position: relative;
}

.input-with-btn input {
    width: 100%;
    padding: 0.85rem 3rem 0.85rem 1.25rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--accent-border);
    color: #fff;
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.input-with-btn input:focus {
    border-color: var(--accent-lavender);
    background: rgba(255, 255, 255, 0.1);
}

.btn-newsletter-submit {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    width: 38px;
    border-radius: 50%;
    background: var(--accent-violet);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.btn-newsletter-submit:hover {
    background: var(--gold-amber);
}

.form-feedback-msg {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: block;
    color: #4ade80;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.75rem 0;
}

.footer-bottom-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.sep {
    margin: 0 0.5rem;
    opacity: 0.4;
}

.footer-legal-links a:hover {
    color: var(--gold-primary);
}

/* Floating back to top button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
    border-radius: 50%;
    color: var(--text-pure);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-fast);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--accent-violet);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-container {
        gap: 3rem;
    }
    
    .themes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .site-header {
        padding: 0.75rem 0;
    }

    .header-container {
        padding: 0 1.25rem;
        gap: 0.75rem;
    }

    .desktop-nav {
        display: none;
    }

    .nav-toggle-btn {
        display: flex;
    }

    .author-tagline {
        font-size: 0.65rem;
    }

    .btn-header-cta {
        padding: 0.5rem 1.1rem;
        font-size: 0.8rem;
    }

    .butterfly-flight-body {
        width: 65px;
        height: 58px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 1rem;
    }

    .hero-content {
        align-items: center;
    }

    .hero-synopsis-snippet {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-trust-row {
        justify-content: center;
    }

    .about-book-grid {
        grid-template-columns: 1fr;
    }

    .author-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-intro-heading {
        text-align: center;
    }

    .author-actions {
        justify-content: center;
    }

    .author-personal-note {
        border-left: none;
        border-top: 3px solid var(--accent-violet);
        border-radius: 0 0 18px 18px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .master-butterfly {
        width: 60px;
        height: 55px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.6rem 0;
        background: rgba(14, 6, 26, 0.88);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--accent-border);
    }

    .header-container {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .brand-logo {
        gap: 0.6rem;
    }

    .logo-butterfly-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .logo-text .author-name {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }

    /* Hide author tagline on mobile to keep header clean and prevent line wrap */
    .logo-text .author-tagline {
        display: none;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .btn-header-cta {
        padding: 0.45rem 0.85rem;
        font-size: 0.78rem;
        gap: 0.35rem;
    }

    .nav-toggle-btn {
        display: inline-flex;
        width: auto;
        height: 36px;
        padding: 0.4rem 0.75rem;
        gap: 0.35rem;
        font-size: 0.76rem;
    }

    .butterfly-flight-body {
        width: 52px;
        height: 46px;
    }

    .section-container {
        padding: 4.5rem 1.5rem;
    }

    .story-pillars-list {
        grid-template-columns: 1fr;
    }

    .themes-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .text-center-cta {
        padding: 3.5rem 1.5rem;
    }

    .cta-book-visual {
        max-width: 250px;
    }

    .btn-get-book {
        padding: 1.1rem 2.5rem;
        font-size: 1.1rem;
        width: 100%;
    }

    .modal-dialog {
        max-height: 92vh;
    }

    .modal-header, .modal-body, .modal-footer {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0.5rem 0;
    }

    .header-container {
        padding: 0 0.75rem;
        gap: 0.4rem;
    }

    .logo-butterfly-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .logo-text .author-name {
        font-size: 0.92rem;
        letter-spacing: 0.06em;
    }

    .btn-header-cta {
        padding: 0.4rem 0.7rem;
        font-size: 0.72rem;
        gap: 0.25rem;
    }

    .nav-toggle-btn {
        height: 34px;
        padding: 0.32rem 0.65rem;
        font-size: 0.72rem;
        gap: 0.3rem;
    }

    .butterfly-flight-body {
        width: 44px;
        height: 38px;
    }

    .hero-title-main {
        font-size: 2.8rem;
    }

    .book-3d-wrapper {
        width: 270px;
        height: 400px;
    }

    .btn {
        width: 100%;
    }

    .hero-trust-row {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-divider {
        display: none;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .author-portrait-wrapper .portrait-frame {
        width: 260px;
    }
}

@media (max-width: 360px) {
    .header-container {
        padding: 0 0.5rem;
    }

    .logo-text .author-name {
        font-size: 0.86rem;
    }

    .btn-header-cta {
        padding: 0.38rem 0.6rem;
        font-size: 0.7rem;
    }

    .butterfly-flight-body {
        width: 40px;
        height: 35px;
    }
}
