/* ==========================================================================
   Vidrohi Aryan - Reform Constitution: The Truth About Presidential Power
   Author Website Stylesheet
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Presidential & Constitutional Palette */
    --color-navy-deep: #050e1a;
    --color-navy-dark: #08162b;
    --color-navy-card: #0d223f;
    --color-navy-border: #1b3a66;
    --color-navy-hover: #1e457a;
    
    --color-crimson: #b22222;
    --color-crimson-bright: #dc2626;
    --color-crimson-dark: #7f1d1d;
    --color-crimson-glow: rgba(220, 38, 38, 0.35);

    --color-gold: #d4af37;
    --color-gold-light: #f3df8a;
    --color-gold-dark: #aa8210;
    --color-gold-glow: rgba(212, 175, 55, 0.3);

    --color-parchment: #f7f3e8;
    --color-parchment-card: #ffffff;
    --color-parchment-border: #e6dcbe;
    --color-parchment-text: #1a2536;
    --color-parchment-muted: #576579;

    --color-white: #ffffff;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-700: #334155;
    --color-gray-900: #0f172a;

    /* Typography */
    --font-heading: 'Cinzel', Georgia, serif;
    --font-editorial: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.35);
    --shadow-glow-gold: 0 0 25px rgba(212, 175, 55, 0.35);
    --shadow-glow-crimson: 0 0 25px rgba(178, 34, 34, 0.35);

    /* Layout Constraints */
    --container-max-width: 1240px;
    --header-height: 84px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body.site-body {
    font-family: var(--font-body);
    color: var(--color-gray-300);
    background-color: var(--color-navy-deep);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body.site-body.is-loading {
    overflow: hidden;
}

/* ==========================================================================
   PAGE LOADER
   ========================================================================== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 40%, #0d223f 0%, #061224 55%, #030811 100%);
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
}

.loader-seal {
    position: relative;
    width: 118px;
    height: 118px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: var(--color-gold);
    border-right-color: rgba(212, 175, 55, 0.25);
    animation: loaderSpin 1.4s linear infinite;
}

.loader-orbit-delay {
    inset: 10px;
    border-top-color: var(--color-crimson-bright);
    border-right-color: rgba(220, 38, 38, 0.2);
    animation-duration: 2s;
    animation-direction: reverse;
}

.loader-crest {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(145deg, #16365f 0%, #08162b 100%);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
    animation: loaderPulse 1.8s ease-in-out infinite;
}

.loader-brand {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--color-white);
    margin-bottom: 6px;
}

.loader-sub {
    font-family: var(--font-editorial);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-gold);
    margin-bottom: 26px;
}

.loader-bar {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 18px;
}

.loader-bar-fill {
    display: block;
    width: 18%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-crimson), var(--color-gold), var(--color-crimson));
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loaderBar 1.6s ease-in-out infinite, loaderShimmer 1.2s linear infinite;
}

.loader-stars {
    color: var(--color-gold);
    letter-spacing: 8px;
    font-size: 0.85rem;
    animation: twinkleStar 1.6s ease-in-out infinite alternate;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 18px rgba(212, 175, 55, 0.3); }
    50% { transform: scale(1.06); box-shadow: 0 0 32px rgba(212, 175, 55, 0.55); }
}

@keyframes loaderBar {
    0% { width: 12%; }
    50% { width: 72%; }
    100% { width: 28%; }
}

@keyframes loaderShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* --- Global Container --- */
.section-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Section Headings */
.section-heading {
    margin-bottom: 56px;
    position: relative;
}

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

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    color: var(--color-parchment-text);
    margin-bottom: 14px;
}

.section-heading.light-theme .section-title {
    color: var(--color-white);
}

.title-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 12px auto 18px;
    max-width: 220px;
}

.title-ornament.ornament-left {
    justify-content: flex-start;
    margin: 12px 0 18px;
}

.ornament-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.ornament-star {
    color: var(--color-gold);
    font-size: 0.9rem;
}

.section-subtitle {
    font-family: var(--font-editorial);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-parchment-muted);
    max-width: 680px;
    margin: 0 auto;
}

.section-heading.light-theme .section-subtitle {
    color: var(--color-gray-400);
}

/* --- Common Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-crimson) 0%, #991b1b 100%);
    color: var(--color-white);
    box-shadow: 0 4px 16px var(--color-crimson-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-crimson-bright) 0%, var(--color-crimson) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--color-crimson-glow);
    color: var(--color-white);
}

.btn-secondary {
    background: rgba(13, 34, 63, 0.85);
    color: var(--color-parchment);
    border: 1px solid var(--color-gold);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--color-navy-card);
    border-color: var(--color-gold-light);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--color-navy-dark);
    border: 2px solid var(--color-navy-dark);
}

.btn-outline:hover {
    background: var(--color-navy-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-gold);
    border: 1.5px solid var(--color-gold);
}

.btn-outline-light:hover {
    background: var(--color-gold);
    color: var(--color-navy-deep);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Subtle Pulse Glow Animation */
.pulse-hover {
    animation: gentlePulse 3s infinite ease-in-out;
}

@keyframes gentlePulse {
    0%, 100% {
        box-shadow: 0 4px 16px var(--color-crimson-glow);
    }
    50% {
        box-shadow: 0 4px 28px rgba(220, 38, 38, 0.6);
    }
}

/* ==========================================================================
   HEADER COMPONENT
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(6, 18, 36, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all var(--transition-normal);
}

.main-header.scrolled {
    height: 72px;
    background: rgba(5, 14, 26, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.header-top-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--color-crimson) 0%, var(--color-gold) 50%, var(--color-crimson) 100%);
    width: 100%;
}

.header-container {
    max-width: var(--container-max-width);
    height: calc(100% - 3px);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--color-white);
}

.brand-crest {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-navy-card) 0%, #16365f 100%);
    border: 1.5px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.brand-crest i {
    color: var(--color-gold);
    font-size: 1.1rem;
}

.crest-stars {
    display: flex;
    gap: 2px;
    position: absolute;
    bottom: 4px;
}

.crest-stars i {
    font-size: 0.42rem;
    color: var(--color-gold-light);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-white);
}

.brand-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--color-gold);
    text-transform: uppercase;
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-gray-300);
    letter-spacing: 0.03em;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-fast);
}

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

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header-cta {
    padding: 10px 22px;
    font-size: 0.88rem;
}

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

.hamburger-bar {
    width: 100%;
    height: 2.5px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--color-navy-deep);
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
    transition: right var(--transition-smooth);
}

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

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.drawer-close {
    width: 36px;
    height: 36px;
    background: var(--color-navy-card);
    border: 1px solid var(--color-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-gray-200);
    display: block;
    padding: 8px 0;
}

.mobile-nav-link:hover {
    color: var(--color-gold);
}

.drawer-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.drawer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-navy-card);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 100px;
    background: radial-gradient(ellipse at 70% 30%, #16365f 0%, #08162b 50%, #040a14 100%);
    overflow: hidden;
    min-height: 94vh;
    display: flex;
    align-items: center;
    z-index: 1;
}

/* Dynamic American Flag SVG Ribbon Background */
.flag-ribbon-decor {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.55;
}

.waving-flag-svg {
    width: 100%;
    height: 100%;
    transform: scale(1.05);
}

.floating-flag-stars {
    position: absolute;
    top: 25%;
    left: 8%;
}

.star-item {
    position: absolute;
    color: var(--color-gold-light);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 6px rgba(243, 223, 138, 0.8));
    animation: twinkleStar 4s infinite ease-in-out alternate;
}

.star-item.s1 { top: 20px; left: 30px; font-size: 1rem; animation-delay: 0.2s; }
.star-item.s2 { top: 60px; left: 90px; font-size: 1.4rem; animation-delay: 0.7s; }
.star-item.s3 { top: 110px; left: 40px; font-size: 0.9rem; animation-delay: 1.3s; }
.star-item.s4 { top: 80px; left: 150px; font-size: 1.1rem; animation-delay: 1.8s; }
.star-item.s5 { top: 140px; left: 110px; font-size: 0.8rem; animation-delay: 2.3s; }

@keyframes twinkleStar {
    0% { opacity: 0.3; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1.15); }
}

/* We The People Watermark */
.we-the-people-watermark {
    position: absolute;
    top: 18%;
    left: 4%;
    font-family: var(--font-editorial);
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-style: italic;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.035);
    user-select: none;
    pointer-events: none;
    z-index: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.hero-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(13, 34, 63, 0.9);
    border: 1px solid var(--color-gold);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 22px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.badge-stars {
    color: var(--color-gold);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.badge-text {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-parchment);
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.title-subhead {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.title-main {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.8vw, 3.8rem);
    font-weight: 900;
    letter-spacing: 0.03em;
    color: var(--color-white);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.title-highlight {
    font-family: var(--font-editorial);
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-style: italic;
    color: #fca5a5;
    margin-top: 6px;
    letter-spacing: 0.02em;
}

.hero-quote-callout {
    position: relative;
    padding: 16px 22px;
    background: rgba(13, 34, 63, 0.6);
    border-left: 4px solid var(--color-crimson);
    border-radius: 0 8px 8px 0;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.callout-question {
    font-family: var(--font-editorial);
    font-size: 1.22rem;
    font-style: italic;
    color: var(--color-parchment);
    line-height: 1.45;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-gray-300);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 620px;
}

.hero-description strong {
    color: var(--color-white);
}

/* Author Pill */
.author-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(15, 39, 72, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 8px 18px;
    border-radius: 40px;
    margin-bottom: 32px;
}

.author-pill-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.author-pill-info {
    display: flex;
    flex-direction: column;
}

.pill-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray-400);
}

.pill-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-white);
    letter-spacing: 0.04em;
}

.pill-tag {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--color-crimson);
    color: var(--color-white);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

/* Hero CTA Row */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

/* Hero Trust Highlights */
.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 100%;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--color-gray-400);
    font-weight: 600;
}

.trust-item i {
    color: var(--color-gold);
    font-size: 0.95rem;
}

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

.book-mockup-stage {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.book-mockup-wrapper {
    position: relative;
    perspective: 1200px;
    transform-style: preserve-3d;
    cursor: grab;
}

.hero-book-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.65));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.book-ambient-shadow {
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 80%;
    height: 35px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 75%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* Floating Badges in Hero */
.floating-badge {
    position: absolute;
    z-index: 5;
}

.floating-badge.top-right {
    top: -15px;
    right: -10px;
}

.badge-ring {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1b3860 0%, #0b1a30 100%);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), var(--shadow-glow-gold);
    animation: floatSlow 5s ease-in-out infinite alternate;
}

.badge-ring-text {
    font-size: 0.55rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.08em;
    padding: 0 4px;
    margin-bottom: 2px;
}

.badge-ring i {
    font-size: 1.4rem;
}

.floating-review-tag {
    position: absolute;
    z-index: 5;
    background: rgba(8, 22, 43, 0.95);
    border: 1px solid var(--color-gold);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 250px;
    backdrop-filter: blur(10px);
}

.floating-review-tag.bottom-left {
    bottom: 20px;
    left: -25px;
    animation: floatSlow 6s ease-in-out infinite alternate-reverse;
}

.stars-gold {
    color: var(--color-gold);
    font-size: 0.8rem;
    margin-bottom: 6px;
    display: flex;
    gap: 3px;
}

.tag-quote {
    font-family: var(--font-editorial);
    font-size: 0.88rem;
    font-style: italic;
    color: var(--color-parchment);
    line-height: 1.35;
    margin-bottom: 6px;
}

.tag-source {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-gold-light);
    text-transform: uppercase;
}

@keyframes floatSlow {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-14px) rotate(2deg); }
}

/* ==========================================================================
   SEAMLESS PAPER EDGE SHAPE DIVIDERS (FOCUSED FIX)
   ========================================================================== */
.about-book-section,
.about-author-section,
.get-book-section {
    position: relative;
    background-color: var(--color-parchment) !important;
    overflow: visible !important;
    z-index: 5;
}

.section-paper-edge {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 20;
    line-height: 0;
    overflow: hidden;
}

/* Sits precisely on the top border of the parchment section */
.section-paper-edge.paper-edge-top {
    top: -50px;
}

/* Sits precisely on the bottom border of the parchment section */
.section-paper-edge.paper-edge-bottom {
    bottom: -50px;
}

.section-paper-edge .paper-edge-img {
    width: 100%;
    height: 60px;
    object-fit: fill;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}

/* ==========================================================================
   SECTION 2: ABOUT THE BOOK
   ========================================================================== */
.about-book-section {
    padding: 100px 0 110px;
    color: var(--color-parchment-text);
}

.about-book-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 55px;
    align-items: center;
}

/* 3D Book Display Card & Flipper */
.book-display-card {
    background: var(--color-parchment-card);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(26, 37, 54, 0.12);
    border: 1px solid var(--color-parchment-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cover-toggle-controls {
    display: flex;
    background: var(--color-gray-100);
    padding: 5px;
    border-radius: 30px;
    margin-bottom: 24px;
    border: 1px solid var(--color-gray-200);
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 25px;
    border: none;
    background: transparent;
    color: var(--color-gray-700);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.toggle-btn.active {
    background: var(--color-navy-dark);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

/* 3D Flip Mechanics */
.book-card-flipper {
    position: relative;
    width: 320px;
    max-width: 100%;
    aspect-ratio: 2 / 3;
    perspective: 1200px;
    margin-bottom: 24px;
    cursor: pointer;
}

.book-card-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.book-card-face.face-front {
    transform: rotateY(0deg);
}

.book-card-face.face-back {
    transform: rotateY(180deg);
}

.book-card-flipper.flipped .face-front {
    transform: rotateY(-180deg);
}

.book-card-flipper.flipped .face-back {
    transform: rotateY(0deg);
}

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

.face-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(6, 18, 36, 0.95) 0%, rgba(6, 18, 36, 0) 100%);
    padding: 20px 16px 10px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
}

.caption-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-gold);
}

.caption-sub {
    font-size: 0.72rem;
    color: var(--color-gray-300);
}

/* Book Meta Strip */
.book-meta-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    padding-top: 18px;
    border-top: 1px solid var(--color-parchment-border);
}

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

.meta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-parchment-muted);
}

.meta-val {
    font-size: 0.88rem;
    color: var(--color-parchment-text);
}

/* Parchment Narrative Text Card */
.parchment-text-card {
    position: relative;
    padding-left: 10px;
}

.parchment-watermark {
    position: absolute;
    top: -25px;
    right: 0;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.08);
    pointer-events: none;
    user-select: none;
}

.narrative-heading {
    font-size: 1.8rem;
    color: var(--color-navy-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.narrative-lead {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--color-parchment-text);
    margin-bottom: 22px;
}

.highlight-quote-box {
    position: relative;
    background: #ffffff;
    border-left: 4px solid var(--color-crimson);
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
    margin: 28px 0;
    box-shadow: 0 8px 24px rgba(26, 37, 54, 0.08);
}

.quote-symbol {
    color: var(--color-gold);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.quote-core {
    font-family: var(--font-editorial);
    font-size: 1.32rem;
    font-style: italic;
    color: var(--color-navy-deep);
    line-height: 1.45;
    margin-bottom: 8px;
}

.quote-context {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-crimson);
}

.narrative-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-parchment-muted);
    margin-bottom: 18px;
}

/* Pillars Preview Row */
.pillars-preview-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0 36px;
}

.pillar-mini-card {
    background: #ffffff;
    padding: 20px 16px;
    border-radius: 10px;
    border: 1px solid var(--color-parchment-border);
    transition: all var(--transition-normal);
}

.pillar-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--color-gold);
}

.pillar-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(10, 34, 64, 0.08);
    color: var(--color-navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.pillar-mini-card h4 {
    font-size: 0.95rem;
    color: var(--color-navy-dark);
    margin-bottom: 6px;
}

.pillar-mini-card p {
    font-size: 0.82rem;
    color: var(--color-parchment-muted);
    line-height: 1.5;
}

.narrative-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   SECTION 3: KEY DISCOVERIES (INSIDE YOU'LL DISCOVER - 100% VISIBLE & ROBUST)
   ========================================================================== */
.discoveries-section {
    display: block;
    padding: 110px 0 120px;
    background: radial-gradient(circle at 50% 20%, #0d223f 0%, #061224 70%, #030811 100%);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.discoveries-bg-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(20, 59, 109, 0.3) 0%, rgba(6, 18, 36, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.discoveries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 2;
}

.discovery-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(13, 34, 63, 0.9) 0%, rgba(8, 22, 43, 0.96) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 34px 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.discovery-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), var(--shadow-glow-gold);
}

.discovery-card.highlight-card {
    border-color: rgba(220, 38, 38, 0.45);
    background: linear-gradient(145deg, rgba(30, 15, 25, 0.92) 0%, rgba(13, 34, 63, 0.96) 100%);
}

.discovery-card.highlight-card:hover {
    border-color: var(--color-crimson-bright);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), var(--shadow-glow-crimson);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 22px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.12);
}

.discovery-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 22px;
    transition: transform var(--transition-fast);
}

.discovery-card:hover .discovery-icon {
    transform: scale(1.1);
    background: var(--color-gold);
    color: var(--color-navy-deep);
}

.highlight-card .discovery-icon {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.4);
    color: #fca5a5;
}

.highlight-card:hover .discovery-icon {
    background: var(--color-crimson);
    color: var(--color-white);
}

.discovery-title {
    font-size: 1.22rem;
    color: var(--color-white);
    margin-bottom: 14px;
    line-height: 1.35;
}

.discovery-text {
    font-size: 0.93rem;
    color: var(--color-gray-300);
    line-height: 1.65;
}

.card-bottom-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-crimson));
    transition: width var(--transition-normal);
}

.discovery-card:hover .card-bottom-accent {
    width: 100%;
}

/* Wide Pillar 7 Card */
.discovery-card.card-wide {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(16, 44, 80, 0.95) 0%, rgba(9, 23, 44, 0.98) 100%);
    border: 1.5px solid var(--color-gold);
    padding: 40px;
}

.card-wide-content {
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
    width: 100%;
}

.card-wide .discovery-icon {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    font-size: 1.8rem;
    margin-bottom: 0;
}

.card-wide .wide-info {
    flex: 1;
}

.card-wide .discovery-title {
    font-size: 1.45rem;
    color: var(--color-gold-light);
    margin-bottom: 8px;
}

.card-wide .discovery-text {
    font-size: 1.02rem;
    color: var(--color-gray-200);
}

.card-wide .wide-cta {
    flex-shrink: 0;
}

/* ==========================================================================
   SECTION 4: ABOUT THE AUTHOR
   ========================================================================== */
.about-author-section {
    padding: 100px 0 110px;
    color: var(--color-parchment-text);
}

.author-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

/* Author Profile Card */
.author-card-wrap {
    background: var(--color-parchment-card);
    border: 1px solid var(--color-parchment-border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(26, 37, 54, 0.12);
    position: relative;
}

.author-avatar-frame {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
}

.author-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-navy-card) 0%, var(--color-navy-dark) 100%);
    border: 3px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--color-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.author-badge-seal {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-crimson);
    border: 2px solid var(--color-white);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.author-name {
    font-size: 1.85rem;
    color: var(--color-navy-dark);
    margin-bottom: 8px;
}

.author-role {
    font-size: 0.92rem;
    color: var(--color-crimson);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.author-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: var(--color-gray-100);
    padding: 16px 10px;
    border-radius: 12px;
    margin-bottom: 28px;
    border: 1px solid var(--color-gray-200);
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-navy-dark);
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-parchment-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.author-social-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.social-block-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-parchment-muted);
}

.author-social-icons {
    display: flex;
    gap: 12px;
}

.author-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-navy-dark);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all var(--transition-normal);
}

.author-social-btn:hover {
    background: var(--color-crimson);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-crimson);
}

/* Author Story Content */
.author-story-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.author-highlight-statement {
    background: #ffffff;
    border-left: 4px solid var(--color-gold-dark);
    padding: 18px 22px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.author-highlight-statement p {
    font-family: var(--font-editorial);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-navy-dark);
    line-height: 1.55;
}

.author-story-body p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--color-parchment-text);
}

.author-creed-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--color-parchment-card);
    border: 1px solid var(--color-parchment-border);
    padding: 22px 24px;
    border-radius: 12px;
    margin: 8px 0;
}

.creed-icon {
    font-size: 1.6rem;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.creed-text h4 {
    font-size: 1rem;
    color: var(--color-navy-dark);
    margin-bottom: 4px;
}

.creed-text p {
    font-family: var(--font-editorial);
    font-size: 0.98rem;
    font-style: italic;
    color: var(--color-parchment-muted);
    line-height: 1.5;
}

.author-action-row {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* ==========================================================================
   SECTION 5: OUR REVIEWS & PRAISE
   ========================================================================== */
.reviews-section {
    padding: 110px 0 120px;
    background: radial-gradient(ellipse at 50% 0%, #0c203b 0%, #061224 80%);
    position: relative;
    z-index: 2;
}

/* Featured Editorial Quote Banner */
.featured-review-banner {
    background: linear-gradient(135deg, rgba(13, 34, 63, 0.95) 0%, rgba(8, 22, 43, 0.98) 100%);
    border: 1.5px solid var(--color-gold);
    border-radius: 16px;
    padding: 40px 48px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.banner-stars {
    color: var(--color-gold);
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.banner-quote {
    font-family: var(--font-editorial);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-style: italic;
    color: var(--color-parchment);
    line-height: 1.65;
    max-width: 900px;
    margin: 0 auto 20px;
}

.banner-quote em {
    color: #fca5a5;
}

.banner-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-author strong {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.05rem;
    letter-spacing: 0.05em;
}

.banner-author span {
    font-size: 0.78rem;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 45px;
}

.review-card {
    background: rgba(13, 34, 63, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

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

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

.review-text {
    font-family: var(--font-editorial);
    font-size: 1.02rem;
    font-style: italic;
    color: var(--color-gray-200);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-navy-dark);
    border: 1.5px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.88rem;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info strong {
    font-size: 0.95rem;
    color: var(--color-white);
}

.user-info span {
    font-size: 0.75rem;
    color: var(--color-gray-400);
}

.review-cta-box {
    background: rgba(13, 34, 63, 0.6);
    border: 1px dashed rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.review-cta-box p {
    font-size: 0.95rem;
    color: var(--color-parchment);
}

/* ==========================================================================
   SECTION 6: GET A BOOK (EDITIONS & ORDER)
   ========================================================================== */
.get-book-section {
    padding: 100px 0 110px;
    color: var(--color-parchment-text);
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 50px;
}

.pricing-card {
    background: var(--color-parchment-card);
    border: 1px solid var(--color-parchment-border);
    border-radius: 16px;
    padding: 38px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 12px 30px rgba(26, 37, 54, 0.08);
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(26, 37, 54, 0.16);
}

.pricing-card.featured-edition {
    background: #ffffff;
    border: 2px solid var(--color-gold);
    box-shadow: 0 20px 50px rgba(26, 37, 54, 0.18);
    transform: scale(1.03);
}

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

.popular-ribbon {
    position: absolute;
    top: 14px;
    right: 18px;
    background: var(--color-crimson);
    color: var(--color-white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 20px;
}

.edition-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-crimson);
    margin-bottom: 12px;
}

.edition-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(10, 34, 64, 0.08);
    color: var(--color-navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.featured-edition .edition-icon {
    background: var(--color-navy-dark);
    color: var(--color-gold);
}

.edition-title {
    font-size: 1.55rem;
    color: var(--color-navy-dark);
    margin-bottom: 8px;
}

.edition-desc {
    font-size: 0.88rem;
    color: var(--color-parchment-muted);
    line-height: 1.55;
    margin-bottom: 24px;
}

.edition-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex: 1;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--color-parchment-text);
}

.feat-item i {
    color: #16a34a;
    font-size: 0.85rem;
}

/* Order Guarantee Strip */
.order-guarantee-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: #ffffff;
    border: 1px solid var(--color-parchment-border);
    border-radius: 12px;
    padding: 24px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.guarantee-item i {
    font-size: 1.8rem;
    color: var(--color-gold-dark);
    flex-shrink: 0;
}

.guarantee-item div {
    display: flex;
    flex-direction: column;
}

.guarantee-item strong {
    font-size: 0.95rem;
    color: var(--color-navy-dark);
}

.guarantee-item span {
    font-size: 0.8rem;
    color: var(--color-parchment-muted);
}

/* ==========================================================================
   SECTION 7: CONTACT US
   ========================================================================== */
.contact-section {
    padding: 110px 0 120px;
    background: radial-gradient(ellipse at 50% 30%, #0c203b 0%, #061224 85%);
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info-card {
    background: rgba(13, 34, 63, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

.contact-info-header {
    margin-bottom: 28px;
}

.crest-mini {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.contact-info-header h3 {
    font-size: 1.6rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.contact-info-header p {
    font-size: 0.95rem;
    color: var(--color-gray-400);
    line-height: 1.6;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.channel-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.channel-detail {
    display: flex;
    flex-direction: column;
}

.channel-detail strong {
    font-size: 0.95rem;
    color: var(--color-white);
}

.channel-detail span {
    font-size: 0.82rem;
    color: var(--color-gray-400);
}

.contact-social-section h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 14px;
}

.social-pills-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    color: var(--color-gray-200);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.social-pill:hover {
    background: var(--color-gold);
    color: var(--color-navy-deep);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

/* Contact Form Card */
.contact-form-card {
    background: rgba(13, 34, 63, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 40px 36px;
    backdrop-filter: blur(10px);
}

.author-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gray-200);
    letter-spacing: 0.02em;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    background: rgba(6, 18, 36, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--color-white);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
    background: rgba(6, 18, 36, 0.95);
}

.form-control::placeholder {
    color: var(--color-gray-400);
    opacity: 0.7;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    margin-top: 8px;
}

.form-status-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-status-alert.success {
    background: rgba(22, 163, 74, 0.2);
    border: 1px solid #16a34a;
    color: #4ade80;
}

/* ==========================================================================
   FOOTER COMPONENT
   ========================================================================== */
.main-footer {
    background-color: var(--color-navy-deep);
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    z-index: 2;
}

.flag-accent-bar {
    display: flex;
    height: 8px;
    width: 100%;
}

.flag-stripe {
    height: 100%;
}

.flag-stripe.red {
    flex: 2;
    background: var(--color-crimson);
}

.flag-stripe.white {
    flex: 1;
    background: #ffffff;
}

.flag-stripe.blue {
    flex: 3;
    background: #0a2240;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-stars-strip {
    color: var(--color-gold);
    font-size: 0.6rem;
    letter-spacing: 4px;
}

.footer-content-wrapper {
    padding-top: 60px;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--color-white);
}

.footer-logo-sub {
    font-size: 0.72rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-motto {
    font-family: var(--font-editorial);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-gray-400);
    line-height: 1.6;
}

.book-spec-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--color-gray-400);
}

.book-spec-mini i {
    color: var(--color-gold);
}

.footer-col-title {
    font-size: 1.05rem;
    color: var(--color-white);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list a {
    font-size: 0.88rem;
    color: var(--color-gray-400);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav-list a i {
    font-size: 0.65rem;
    color: var(--color-gold);
}

.footer-nav-list a:hover {
    color: var(--color-gold);
    transform: translateX(4px);
}

.newsletter-desc {
    font-size: 0.88rem;
    color: var(--color-gray-400);
    line-height: 1.55;
    margin-bottom: 16px;
}

.newsletter-input-group {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.newsletter-input {
    flex: 1;
    padding: 12px 14px;
    background: rgba(6, 18, 36, 0.9);
    border: none;
    color: var(--color-white);
    font-size: 0.88rem;
}

.newsletter-input:focus {
    outline: none;
}

.btn-newsletter {
    border-radius: 0;
    padding: 10px 18px;
    font-size: 0.85rem;
}

.newsletter-status {
    font-size: 0.8rem;
    margin-top: 8px;
}

.social-desc {
    font-size: 0.88rem;
    color: var(--color-gray-400);
    margin-bottom: 16px;
}

.social-links-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: rgba(13, 34, 63, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    color: var(--color-gray-300);
    transition: all var(--transition-normal);
}

.social-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-navy-dark);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.social-name {
    font-size: 0.88rem;
    font-weight: 600;
}

.social-link-btn:hover {
    background: var(--color-gold);
    color: var(--color-navy-deep);
    border-color: var(--color-gold);
    transform: translateX(4px);
}

.social-link-btn:hover .social-icon-box {
    background: var(--color-navy-deep);
    color: var(--color-gold);
}

/* Footer Bottom Legal */
.footer-bottom {
    background: #030811;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.footer-bottom-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.copyright-text {
    font-size: 0.82rem;
    color: var(--color-gray-400);
}

.copyright-text strong {
    color: var(--color-gold);
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: var(--color-gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
}

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

/* ==========================================================================
   MODALS COMPONENT
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 10, 20, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 20px;
}

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

.modal-dialog {
    background: linear-gradient(145deg, #0d223f 0%, #08162b 100%);
    border: 1.5px solid var(--color-gold);
    border-radius: 16px;
    width: 100%;
    max-width: 540px;
    padding: 36px 32px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(30px) scale(0.95);
    transition: all var(--transition-normal);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-dialog.modal-dialog-lg {
    max-width: 720px;
}

.modal-backdrop.active .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--color-crimson);
    border-color: var(--color-crimson);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-crest {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 14px;
}

.modal-badge-tag {
    display: inline-block;
    background: var(--color-crimson);
    color: var(--color-white);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 1.55rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.88rem;
    color: var(--color-gray-400);
}

.order-options-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.order-option-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--color-white);
    transition: all var(--transition-normal);
}

.order-option-card:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--color-gold);
    transform: translateX(4px);
}

.option-icon {
    font-size: 1.8rem;
    color: var(--color-gold);
    width: 36px;
    text-align: center;
}

.option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.option-name {
    font-weight: 700;
    font-size: 0.98rem;
}

.option-meta {
    font-size: 0.78rem;
    color: var(--color-gray-400);
}

.option-badge {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Excerpt Modal Body */
.excerpt-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--color-gray-300);
}

.parchment-quote-box {
    background: rgba(247, 243, 232, 0.08);
    border-left: 3px solid var(--color-gold);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
}

.quote-text {
    font-family: var(--font-editorial);
    font-size: 1.18rem;
    font-style: italic;
    color: var(--color-gold-light);
    margin-bottom: 6px;
}

.quote-author {
    font-size: 0.82rem;
    color: var(--color-gray-400);
    text-transform: uppercase;
}

.modal-cta-row {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet & Smaller Desktop (Max 1024px) */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

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

    .hero-description {
        margin: 0 auto 28px;
    }

    .hero-quote-callout {
        border-left: none;
        border-top: 4px solid var(--color-crimson);
        border-radius: 8px;
    }

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

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

    .discoveries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .discovery-card.card-wide {
        grid-column: span 2;
    }

    .card-wide-content {
        flex-direction: column;
        text-align: center;
    }

    .author-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

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

    .pricing-cards-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured-edition {
        transform: none;
    }

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

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Mobile Devices (Max 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 72px;
    }

    .desktop-nav {
        display: none;
    }

    .btn-header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-section {
        padding-top: calc(var(--header-height) + 25px);
        padding-bottom: 70px;
    }

    .title-main {
        font-size: 2.2rem;
    }

    .section-paper-edge.paper-edge-top {
        top: -30px;
    }

    .section-paper-edge.paper-edge-bottom {
        bottom: -30px;
    }

    .section-paper-edge .paper-edge-img {
        height: 38px;
    }

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

    .discovery-card.card-wide {
        grid-column: span 1;
    }

    .pillars-preview-row {
        grid-template-columns: 1fr;
    }

    .order-guarantee-strip {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .book-card-flipper {
        width: 260px;
    }

    .featured-review-banner {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   SCROLL REVEALS & EXTRA MOTION
   ========================================================================== */
.will-reveal.is-revealed {
    opacity: 1;
    transform: none;
}

.section-kicker {
    position: relative;
}

.section-kicker i {
    animation: kickerGlow 2.4s ease-in-out infinite;
}

.ornament-star {
    display: inline-block;
    animation: starSpin 6s linear infinite;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewX(-20deg);
    transition: none;
}

.btn:hover::before {
    animation: btnShine 0.7s ease forwards;
}

.author-badge-seal {
    animation: sealBounce 2.8s ease-in-out infinite;
}

.waving-flag-svg {
    animation: flagDrift 12s ease-in-out infinite alternate;
}

@keyframes kickerGlow {
    0%, 100% { filter: drop-shadow(0 0 0 transparent); }
    50% { filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.7)); }
}

@keyframes starSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes btnShine {
    0% { left: -120%; }
    100% { left: 140%; }
}

@keyframes sealBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes flagDrift {
    0% { transform: scale(1.05) translateX(0); }
    100% { transform: scale(1.08) translateX(-18px); }
}

@media (prefers-reduced-motion: reduce) {
    .will-reveal {
        opacity: 1;
    }

    .page-loader,
    .loader-orbit,
    .loader-crest,
    .loader-bar-fill,
    .loader-stars,
    .section-kicker i,
    .ornament-star,
    .author-badge-seal,
    .waving-flag-svg,
    .pulse-hover,
    .star-item,
    .badge-ring,
    .floating-review-tag {
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}
