:root {
    --bg-deep: #0a0a0f;
    --bg-surface: #12121a;
    --text-primary: #e8e4dc;
    --text-muted: #9a968e;
    --text-dim: #5a5750;
    --accent-gold: #c9a962;
    --accent-gold-dim: rgba(201, 169, 98, 0.3);
    --glow-soft: rgba(201, 169, 98, 0.08);
    --glow-medium: rgba(201, 169, 98, 0.15);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Spectral', Georgia, serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 18px;
    font-weight: 300;
    overflow-x: hidden;
}

/* Luminous background effect */
.luminous-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, var(--glow-medium) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 100%, var(--glow-soft) 0%, transparent 40%),
        radial-gradient(ellipse 50% 30% at 80% 80%, var(--glow-soft) 0%, transparent 35%);
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, var(--bg-deep) 0%, transparent 100%);
}

.logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

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

.nav-links a {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.nav-links .nav-cta {
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold-dim);
    padding: 0.4rem 1rem;
    transition: all 0.3s ease;
}

.nav-links .nav-cta:hover {
    background: var(--accent-gold);
    color: var(--bg-deep);
}

.nav-links .nav-cta.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(600px, 100vw);
    height: min(600px, 100vw);
    background: radial-gradient(circle, var(--glow-medium) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeUp 1.5s ease-out;
}

.hero h1 span {
    display: block;
    color: var(--accent-gold);
    font-style: italic;
    font-size: 0.5em;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 500px;
    margin: 0 auto 3rem;
    animation: fadeUp 1.5s ease-out 0.3s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeUp 1.5s ease-out 0.6s backwards;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-gold-dim), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections */
section {
    padding: 8rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.section-label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: block;
}

h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.2;
}

h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin: 3rem 0 1.5rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Epigraph/Quote */
.epigraph {
    border-left: 1px solid var(--accent-gold-dim);
    padding: 1.5rem 0 1.5rem 2rem;
    margin: 3rem 0;
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.9;
}

.epigraph cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-dim);
    font-style: normal;
}

/* Opening Statement */
.opening-statement {
    font-style: italic;
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.9;
}

/* Audience List */
.audience-list {
    margin: 2rem 0 2.5rem 0;
    padding: 0;
    list-style: none;
}

.audience-list li {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.85;
    padding-left: 1.5rem;
    position: relative;
}

.audience-list li::before {
    content: '◇';
    position: absolute;
    left: 0;
    color: var(--accent-gold-dim);
    font-size: 0.7rem;
}

/* Journey List */
.journey-list {
    margin: 2rem 0 0 0;
    padding: 0;
    list-style: none;
}

.journey-list li {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.85;
    padding-left: 1.5rem;
    position: relative;
}

.journey-list li::before {
    content: '◇';
    position: absolute;
    left: 0;
    color: var(--accent-gold-dim);
    font-size: 0.7rem;
}

.journey-list li strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Footer */
footer {
    text-align: center;
    padding: 6rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer .closing-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto 1rem;
}

footer cite {
    font-size: 0.9rem;
    color: var(--text-dim);
}

footer .copyright {
    margin-top: 4rem;
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

/* Book Purchase Section */
.book-section {
    padding: 8rem 2rem;
    max-width: 1100px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-surface) 20%, var(--bg-surface) 80%, transparent 100%);
}

.book-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.book-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
    position: sticky;
    top: 8rem;
}

.book-cover {
    position: relative;
    width: 220px;
    height: 320px;
    transform-style: preserve-3d;
    transform: rotateY(-15deg);
    transition: transform 0.5s ease;
}

.book-cover:hover {
    transform: rotateY(-5deg);
}

.book-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a1a24 0%, #0f0f15 100%);
    border: 1px solid var(--accent-gold-dim);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    box-shadow:
        0 0 60px rgba(201, 169, 98, 0.1),
        inset 0 0 80px rgba(201, 169, 98, 0.03);
}

.book-front::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--accent-gold-dim);
    opacity: 0.3;
    pointer-events: none;
}

.book-spine {
    position: absolute;
    left: -30px;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, #0a0a0f 0%, #1a1a24 100%);
    transform: rotateY(90deg);
    transform-origin: right;
    border-left: 1px solid var(--accent-gold-dim);
}

.book-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.book-front h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.book-front p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.book-author {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--text-dim);
}

.book-info h2 {
    margin-bottom: 1.5rem;
}

.book-info > p {
    margin-bottom: 1.5rem;
}

.book-features {
    list-style: none;
    margin: 0 0 2.5rem 0;
    padding: 0;
}

.book-features li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    color: var(--text-muted);
    position: relative;
    font-size: 0.95rem;
}

.book-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-gold-dim);
    font-size: 0.7rem;
}

.purchase-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 540px;
}

.purchase-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.8rem 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.purchase-option:hover {
    border-color: var(--accent-gold-dim);
    background: rgba(201, 169, 98, 0.03);
}

.purchase-option.featured {
    border-color: var(--accent-gold-dim);
    background: linear-gradient(180deg, rgba(201, 169, 98, 0.08) 0%, rgba(201, 169, 98, 0.02) 100%);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--bg-deep);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    font-weight: 500;
}

.option-header {
    margin-bottom: 0.8rem;
}

.option-icon {
    display: block;
    font-size: 1.2rem;
    color: var(--accent-gold-dim);
    margin-bottom: 0.8rem;
}

.purchase-option h5 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-primary);
}

.option-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    min-height: 2.5rem;
}

.purchase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #a8883d 100%);
    color: var(--bg-deep);
    text-decoration: none;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.purchase-btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-gold-dim);
    color: var(--accent-gold);
}

.purchase-btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--bg-deep);
}

.purchase-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(201, 169, 98, 0.3);
}

.purchase-btn:hover::before {
    left: 100%;
}

.btn-text {
    border-right: 1px solid rgba(10, 10, 15, 0.2);
    padding-right: 1rem;
}

.purchase-btn-secondary .btn-text {
    border-right-color: var(--accent-gold-dim);
}

.purchase-btn-secondary:hover .btn-text {
    border-right-color: rgba(10, 10, 15, 0.2);
}

.btn-price {
    font-weight: 600;
}

.shipping-note {
    margin-top: 0.8rem;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-style: italic;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
    .purchase-options {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .purchase-option.featured {
        order: -1;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 5rem 1.5rem;
    }

    .epigraph {
        padding-left: 1.5rem;
    }

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

    .book-visual {
        position: static;
    }

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

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

    .book-spine {
        display: none;
    }
}
