/* =========================================
   VARIABLES & RESET
========================================= */
:root {
    /* Color Palette */
    --color-bg-dark: #0f0a18;
    --color-bg-light: #1a1127;
    --color-primary: #8a2be2; /* Deep purple */
    --color-accent: #d4af37;  /* Gold */
    --color-accent-hover: #f1c40f;
    --color-text: #eaeaea;
    --color-text-muted: #a095ad;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
    font-weight: 600;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* =========================================
   UTILITY CLASSES & BUTTONS
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-full {
    width: 100%;
}

.btn-gold {
    background: var(--color-accent);
    color: #000;
    border: 2px solid var(--color-accent);
}

.btn-gold:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text-muted);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* =========================================
   NAVIGATION
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(15, 10, 24, 0.9);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 1px;
}

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

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.btn-nav {
    border: 1px solid var(--color-accent);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: var(--color-accent) !important;
}

.btn-nav:hover {
    background: var(--color-accent);
    color: #000 !important;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.glow-bg {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138,43,226,0.15) 0%, rgba(15,10,24,0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-accent);
}

.title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.trust-badges span {
    color: var(--color-accent);
    letter-spacing: 3px;
}

/* CSS Book Layout (Mockup) */
.book-container {
    perspective: 1000px;
    width: 300px;
    margin: 0 auto;
}

.book-mockup {
    position: relative;
    width: 300px;
    height: 450px;
    transform-style: preserve-3d;
    transform: rotateY(-20deg);
    transition: transform 0.5s ease;
}

.book-mockup:hover {
    transform: rotateY(0deg);
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a1542 0%, #150a21 100%);
    border: 1px solid #3a2552;
    border-radius: 2px 8px 8px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 4px 0 10px rgba(0,0,0,0.5);
    z-index: 2;
}

.book-spine {
    position: absolute;
    width: 40px;
    height: 100%;
    background: #1c0e2b;
    transform: rotateY(-90deg) translateZ(19px) translateX(20px);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
    border-radius: 2px 0 0 2px;
}

.mockup-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    text-align: center;
    color: var(--color-accent);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.book-shadow {
    width: 320px;
    height: 20px;
    background: rgba(0,0,0,0.5);
    margin-top: 20px;
    border-radius: 50%;
    filter: blur(10px);
    transform: rotateY(-20deg) scale(0.9);
}

/* =========================================
   SYNOPSIS SECTION
========================================= */
.synopsis {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--color-bg-dark), var(--color-bg-light));
}

.synopsis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.aesthetic-img {
    width: 100%;
    border-radius: 8px;
    filter: grayscale(80%) contrast(1.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: var(--transition-fast);
}

.aesthetic-img:hover {
    filter: grayscale(0%) contrast(1.1);
}

.section-tag {
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.synopsis-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================
   EXCERPT SECTION
========================================= */
.excerpt {
    position: relative;
    padding: 10rem 0;
    background: url('https://images.unsplash.com/photo-1478720568477-152d9b164e26?auto=format&fit=crop&q=80&w=1920') center/cover fixed;
    text-align: center;
}

.excerpt-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 10, 24, 0.85); /* Dark overlay */
}

.poem-card {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: 12px;
}

.quote-icon {
    font-family: var(--font-serif);
    font-size: 6rem;
    color: var(--color-accent);
    line-height: 1;
    opacity: 0.3;
    margin-bottom: -2rem;
}

.poem-body {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.8;
    color: #fff;
    font-style: italic;
    margin-bottom: 2rem;
}

.poem-author {
    color: var(--color-accent);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =========================================
   PURCHASE SECTION
========================================= */
.purchase {
    padding: 8rem 0;
    background-color: var(--color-bg-dark);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-header p {
    color: var(--color-text-muted);
    margin-top: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    background: var(--color-bg-light);
    border-radius: 8px;
    padding: 3rem 2rem;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: var(--transition-fast);
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.price-card.premium {
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 0 1px var(--color-accent);
}

.popular-badge {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-accent);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-family: var(--font-serif);
    color: #fff;
    margin-top: 1rem;
}

.currency {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
}

.card-body p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    text-align: center;
}

.card-body ul {
    list-style: none;
    margin-bottom: 2.5rem;
}

.card-body li {
    margin-bottom: 0.8rem;
    color: var(--color-text);
}

.glow-btn {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* =========================================
   FOOTER
========================================= */
.footer {
    padding: 4rem 0 2rem;
    background: #08050d;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer .brand h2 {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer .brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.legal p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* =========================================
   ANIMATIONS (AOS Style via JS)
========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-up.visible, .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-quote { border-left: none; padding-left: 0; }
    .hero-ctas, .trust-badges { justify-content: center; }
    .synopsis-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
