/* ===================================
   ACID TO ASSETS - RESPONSIVE STYLESHEET
   Author: Matthew A. Buckley
   =================================== */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --gold-rich: #C9A961;
    --gold-warm: #D4B86A;
    --gold-light: #E8D4A0;
    --gold-bright: #FFD966;
    --gold-amber: #F4A460;
    
    --bronze-deep: #6B4423;
    --brown-rich: #4A2E1A;
    --espresso-dark: #2D1810;
    
    --gray-pearl: #E8E8E8;
    --gray-silver: #C4C4C4;
    --gray-medium: #7D7D7D;
    --gray-warm: #8B8175;
    --white-soft: #F5F5F5;
    --white-pure: #FFFFFF;
    --black-charcoal: #1A1A1A;
    
    /* Typography - Responsive sizing */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Fluid Typography */
    --font-size-hero: clamp(2rem, 8vw, 5rem);
    --font-size-h1: clamp(2rem, 5vw, 3.5rem);
    --font-size-h2: clamp(1.75rem, 4vw, 2.5rem);
    --font-size-h3: clamp(1.25rem, 3vw, 1.75rem);
    --font-size-body: clamp(0.9rem, 2vw, 1rem);
    --font-size-small: clamp(0.85rem, 1.5vw, 0.95rem);
    
    /* Spacing - Responsive */
    --spacing-xs: clamp(0.5rem, 2vw, 0.75rem);
    --spacing-sm: clamp(1rem, 3vw, 1.5rem);
    --spacing-md: clamp(2rem, 5vw, 3rem);
    --spacing-lg: clamp(3rem, 7vw, 5rem);
    --spacing-xl: clamp(4rem, 10vw, 6rem);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    
    /* Container widths */
    --container-max: 1200px;
    --container-padding: clamp(1rem, 5vw, 2rem);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-body);
    line-height: 1.7;
    color: var(--brown-rich);
    background-color: var(--white-pure);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== UTILITY CLASSES ===== */
.desktop-only {
    display: inline;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--espresso-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--gold-rich);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold-warm);
}

/* ===== BUTTONS ===== */
.btn-cta,
.btn-hero,
.btn-secondary,
.btn-price {
    display: inline-block;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn-cta {
    background: var(--gold-rich);
    color: var(--white-pure);
}

.btn-cta:hover {
    background: var(--gold-warm);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

.btn-hero {
    background: var(--gold-rich);
    color: var(--white-pure);
    padding: clamp(1rem, 2.5vw, 1.25rem) clamp(2rem, 5vw, 3rem);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-top: var(--spacing-sm);
}

.btn-hero:hover {
    background: var(--gold-bright);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-rich);
    border: 2px solid var(--gold-rich);
}

.btn-secondary:hover {
    background: var(--gold-rich);
    color: var(--white-pure);
}

.btn-price {
    background: var(--gold-rich);
    color: var(--white-pure);
    width: 100%;
    margin-top: 1.5rem;
}

.btn-price:hover {
    background: var(--gold-bright);
    transform: scale(1.05);
}

.link-gold {
    color: var(--gold-rich);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-gold:hover {
    color: var(--gold-bright);
}

/* ===== HEADER / NAVIGATION ===== */
.main-header {
    background: var(--white-soft);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-rich) 0%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--gold-rich);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.nav-menu a {
    color: var(--espresso-dark);
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.nav-menu a:hover {
    color: var(--gold-rich);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--white-soft) 0%, var(--gray-pearl) 100%);
    padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: var(--font-size-hero);
    font-weight: 900;
    line-height: 0.95;
    background: linear-gradient(135deg, var(--bronze-deep) 0%, var(--gold-rich) 50%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gray-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hero-stats {
    display: flex;
    gap: clamp(1.5rem, 5vw, 3rem);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--gold-rich);
}

.stat-label {
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    color: var(--gray-medium);
}

.hero-book {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover-3d {
    /* Scale relative to container */
    width: 80%;  /* Takes 80% of the hero-book container width */
    max-width: 350px; /* But never exceeds 400px */
    height: auto;
    object-fit: contain;
    
    /* Visual effects */
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.book-cover-3d:hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .book-cover-3d {
        width: 70%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .book-cover-3d {
        width: 65%;
        max-width: 250px;
    }
}

.book-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--spacing-xl) 0;
    background: var(--white-pure);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--container-padding);
}

.section-title {
    font-family: var(--font-serif);
    font-size: var(--font-size-h2);
    color: var(--espresso-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--gray-medium);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-md);
    border-right: 1px solid var(--gray-pearl);
    transition: transform 0.3s ease;
}

.feature-card:last-child {
    border-right: none;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin: 0 auto 2rem;
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--bronze-deep);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: var(--font-size-body);
    color: var(--gray-medium);
    line-height: 1.7;
}

/* ===== STORY SECTION ===== */
.story-section {
    padding: var(--spacing-xl) 0;
    background: var(--white-soft);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.story-image {
    position: relative;
}

.author-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.story-content {
    padding: var(--spacing-md);
}

.story-label {
    display: inline-block;
    color: var(--gold-rich);
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.story-title {
    font-family: var(--font-serif);
    font-size: var(--font-size-h2);
    color: var(--espresso-dark);
    margin-bottom: 2rem;
}

.story-text {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--brown-rich);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-quote {
    background: var(--white-pure);
    border-left: 4px solid var(--gold-rich);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    border-radius: var(--radius-sm);
}

.story-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-style: italic;
    color: var(--bronze-deep);
    margin-bottom: 1rem;
}

.quote-author {
    font-size: var(--font-size-small);
    color: var(--gray-medium);
    font-weight: 600;
}

/* ===== AUTHOR SECTION ===== */
.author-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-pearl);
}

.author-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.author-image-wrapper {
    position: relative;
}

.author-photo {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white-pure);
    margin: 0 auto;
    display: block;
}

.author-content {
    padding: var(--spacing-md);
}

.author-heading {
    font-family: var(--font-serif);
    font-size: var(--font-size-h2);
    color: var(--espresso-dark);
    margin-bottom: 1.5rem;
}

.author-bio {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    color: var(--brown-rich);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: var(--white-pure);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.testimonial-card {
    background: var(--white-pure);
    border: 2px solid var(--gold-rich);
    border-radius: var(--radius-md);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--gold-bright);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: var(--font-size-body);
    color: var(--brown-rich);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--espresso-dark);
    font-size: var(--font-size-body);
}

.testimonial-author span {
    color: var(--gray-medium);
    font-size: var(--font-size-small);
}

/* ===== CTA / PRICING SECTION - COMPACT VERSION ===== */
.cta-section {
    padding: var(--spacing-lg) 0; /* Reduced from xl to lg */
    background: linear-gradient(135deg, var(--white-soft) 0%, var(--gold-light) 100%);
    text-align: center;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem); /* Reduced from 3rem */
    color: var(--espresso-dark);
    margin-bottom: 0.75rem; /* Reduced spacing */
}

.cta-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.05rem); /* Reduced from 1.2rem */
    color: var(--gray-medium);
    margin-bottom: 2rem; /* Reduced spacing */
}

/* ===== DESKTOP PRICING (Default) ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* Reduced from 2rem */
    max-width: 950px; /* Reduced from 1000px */
    margin: 0 auto;
    align-items: center;
}

.price-card {
    background: var(--white-pure);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem; /* Reduced from 3rem 2rem */
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Featured card styling - DESKTOP ONLY */
.price-card.featured {
    border: 3px solid var(--gold-rich);
    transform: scale(1.06); /* Reduced from 1.08 for more subtle effect */
    z-index: 2;
    box-shadow: 0 8px 40px rgba(201, 169, 97, 0.3);
}

.price-card.featured:hover {
    transform: scale(1.06) translateY(-5px);
    box-shadow: 0 12px 50px rgba(201, 169, 97, 0.4);
}

.featured-badge {
    position: absolute;
    top: -12px; /* Reduced from -15px */
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-rich);
    color: var(--white-pure);
    padding: 0.4rem 1.25rem; /* Reduced from 0.5rem 1.5rem */
    border-radius: var(--radius-full);
    font-size: 0.8rem; /* Reduced from 0.85rem */
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.price-format {
    font-family: var(--font-serif);
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: var(--bronze-deep);
    margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.price-amount {
    font-family: var(--font-serif);
    font-size: 2.5rem; /* Reduced from 3rem */
    color: var(--gold-rich);
    font-weight: 700;
    margin-bottom: 1.5rem; /* Reduced from 2rem */
}

.price-features {
    list-style: none;
    margin-bottom: 1.5rem; /* Reduced from 2rem */
    text-align: left;
    flex-grow: 1;
}

.price-features li {
    padding: 0.6rem 0; /* Reduced from 0.75rem */
    border-bottom: 1px solid var(--gray-pearl);
    color: var(--brown-rich);
    font-size: 0.9rem; /* Reduced from 0.95rem */
    line-height: 1.4;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li:before {
    content: "✓";
    color: var(--gold-rich);
    font-weight: bold;
    margin-right: 0.75rem; /* Reduced from 1rem */
}

.btn-price {
    background: var(--gold-rich);
    color: var(--white-pure);
    width: 100%;
    margin-top: auto; /* Pushes button to bottom */
    padding: 0.875rem 2rem; /* Slightly reduced */
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem; /* Slightly reduced */
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-price:hover {
    background: var(--gold-bright);
    transform: scale(1.05);
}

/* ===== TABLET PRICING (1024px and below) ===== */
@media (max-width: 1024px) {
    .cta-section {
        padding: var(--spacing-md) 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        gap: 2rem;
    }
    
    /* Remove featured scaling on tablet */
    .price-card {
        padding: 2.5rem 2rem;
    }
    
    .price-card.featured {
        transform: none;
        border: 3px solid var(--gold-rich);
        box-shadow: var(--shadow-md);
    }
    
    .price-card.featured:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }
    
    /* Reposition badge for stacked layout */
    .featured-badge {
        top: 1.5rem;
        right: 1.5rem;
        left: auto;
        transform: none;
    }
    
    /* Restore slightly larger sizing for tablet/mobile since it's stacked */
    .price-format {
        font-size: 1.4rem;
    }
    
    .price-amount {
        font-size: 2.75rem;
    }
    
    .price-features li {
        font-size: 0.95rem;
        padding: 0.7rem 0;
    }
}

/* ===== MOBILE PRICING (768px and below) ===== */
@media (max-width: 768px) {
    .cta-section {
        padding: var(--spacing-md) 0;
    }
    
    .pricing-grid {
        max-width: 400px;
        gap: 1.5rem;
    }
    
    .price-card {
        padding: 2rem 1.5rem;
    }
    
    /* All cards equal on mobile */
    .price-card.featured {
        transform: none;
        border: 2px solid var(--gold-rich);
    }
    
    .price-format {
        font-size: 1.35rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .featured-badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
}

/* ===== SMALL MOBILE (480px and below) ===== */
@media (max-width: 480px) {
    .pricing-grid {
        max-width: 100%;
        gap: 1.25rem;
    }
    
    .price-card {
        padding: 1.5rem 1rem;
    }
    
    .price-format {
        font-size: 1.25rem;
    }
    
    .price-amount {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
    
    .price-features li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }
    
    .featured-badge {
        font-size: 0.75rem;
        padding: 0.35rem 1rem;
    }
    
    .btn-price {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--espresso-dark);
    color: var(--white-pure);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 900;
    color: var(--gold-bright);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--gray-silver);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: var(--font-size-small);
}

.footer-text {
    color: var(--gray-silver);
    font-size: var(--font-size-small);
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--gold-bright);
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: var(--gray-silver);
    transition: color 0.3s ease;
    font-size: var(--font-size-small);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold-bright);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-pure);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold-rich);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-silver);
    font-size: var(--font-size-small);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--gray-silver);
}

.footer-legal a:hover {
    color: var(--gold-bright);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Tablets (1024px and below) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .hero-book {
        order: -1;
        max-width: 400px;
        margin: 0 auto var(--spacing-md);
    }
    
    .book-cover-3d {
        transform: perspective(1000px) rotateY(0deg);
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        border-right: none;
        border-bottom: 1px solid var(--gray-pearl);
        padding-bottom: var(--spacing-md);
    }
    
    .feature-card:last-child {
        border-bottom: none;
    }
    
    .story-grid,
    .author-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .story-image,
    .author-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .price-card.featured {
        transform: none;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--white-pure);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-wrapper.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.75rem;
        border-bottom: 1px solid var(--gray-pearl);
    }
    
    .btn-cta {
        width: 100%;
    }
    
    /* Overlay for mobile menu */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Sections */
    .hero-section,
    .features-section,
    .story-section,
    .author-section,
    .testimonials-section,
    .cta-section {
        padding: var(--spacing-lg) 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Mobile Phones (480px and below) */
@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }
    
    .section-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    
    .btn-hero {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat-item {
        align-items: center;
        text-align: center;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .story-quote {
        padding: 1rem;
    }
    
    .price-card {
        padding: 1.5rem 1rem;
    }
    
    .nav-wrapper {
        width: 85%;
    }
    
    .footer-grid {
        gap: var(--spacing-md);
    }
}

/* Extra Small Devices (375px and below) */
@media (max-width: 375px) {
    .logo-text {
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.25rem;
    }
    
    .hamburger-line {
        width: 22px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: var(--spacing-md) 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-book {
        order: 0;
        max-width: 250px;
    }
    
    .nav-wrapper {
        height: 100vh;
        overflow-y: auto;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .mobile-menu-toggle,
    .btn-cta,
    .btn-hero,
    .btn-secondary,
    .btn-price,
    .social-links {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .hero-section,
    .features-section,
    .story-section {
        page-break-inside: avoid;
    }
}

/* ===================================
   EMAIL SIGNUP SECTION - MAILCHIMP
   =================================== */

.email-signup-section {
    background: var(--white-soft); /* Soft cream background */
    padding: var(--spacing-xl) 0;
    border-top: 2px solid var(--gold-rich);
}

.email-signup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left side - Text content */
.email-signup-text {
    padding-right: 2rem;
}

.email-signup-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--espresso-dark);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--bronze-deep) 0%, var(--gold-rich) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.email-signup-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--brown-rich);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.email-signup-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.email-signup-benefits li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray-medium);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

.email-signup-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold-rich);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Right side - Form wrapper */
.email-signup-form-wrapper {
    background: var(--white-pure);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 2.5rem);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gold-rich);
    position: relative;
}

/* Form layout */
.email-signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Side-by-side name fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* Screen reader only labels */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Input fields styled like testimonial cards */
.form-input {
    padding: 1rem 1.5rem;
    border: 2px solid var(--gold-rich);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--espresso-dark);
    background: var(--white-pure);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--gray-medium);
}

.form-input:focus {
    border-color: var(--gold-bright);
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.2);
    transform: translateY(-2px);
}

.form-input:hover {
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.15);
}

/* Subscribe button - styled like other CTAs */
.btn-subscribe {
    padding: 1.125rem 2.5rem;
    background: var(--gold-rich);
    color: var(--white-pure);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-subscribe:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

.btn-subscribe:active {
    transform: translateY(0);
}

.btn-subscribe:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Privacy text */
.form-privacy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-medium);
    margin-top: 1rem;
    line-height: 1.5;
}

/* Error message */
.form-error,
.form-error-mailchimp {
    background: #fef2f2;
    border: 2px solid #d93025;
    border-radius: var(--radius-md);
    padding: 0.875rem 1.25rem;
    margin-bottom: 1rem;
    color: #d93025;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    animation: slideDown 0.3s ease;
}

.form-success-mailchimp {
    background: #f0f9ff;
    border: 2px solid var(--gold-rich);
    border-radius: var(--radius-md);
    padding: 0.875rem 1.25rem;
    margin-bottom: 1rem;
    color: var(--gold-rich);
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success message */
.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success svg {
    margin: 0 auto 1.5rem;
    display: block;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--gold-rich);
    margin-bottom: 0.75rem;
}

.form-success p {
    color: var(--brown-rich);
    font-size: 1rem;
    line-height: 1.6;
}

/* Loading state */
.btn-subscribe.loading {
    position: relative;
    color: transparent;
}

.btn-subscribe.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 3px solid var(--white-pure);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSIVE EMAIL SIGNUP ===== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .email-signup-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .email-signup-text {
        padding-right: 0;
        text-align: center;
    }
    
    .email-signup-benefits {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .email-signup-benefits li {
        text-align: left;
    }
    
    .email-signup-form-wrapper {
        max-width: 550px;
        margin: 0 auto;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .email-signup-section {
        padding: var(--spacing-lg) 0;
    }
    
    .email-signup-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .email-signup-benefits li {
        font-size: 0.95rem;
        padding: 0.6rem 0;
        padding-left: 1.75rem;
    }
    
    .btn-subscribe {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Small Mobile (600px and below) - Stack name fields */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
    .email-signup-form-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .form-input {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-subscribe {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .email-signup-benefits li {
        font-size: 0.9rem;
    }
}