:root {
    --color-darkness: #1a1a2e;
    --color-shadow: #2d2d44;
    --color-transition: #4a4a68;
    --color-hope: #8b7355;
    --color-light: #d4b896;
    --color-radiance: #f4e6d4;
    --color-pure: #faf7f2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Newsreader', serif;
    background: linear-gradient(135deg, var(--color-darkness) 0%, var(--color-shadow) 50%, var(--color-transition) 100%);
    color: var(--color-pure);
    overflow-x: hidden;
}

/* Animated background gradient */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(212, 184, 150, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(139, 115, 85, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
    position: relative;
}

.hero-content {
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.book-cover-container {
    max-width: 400px;
    width: 90%;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.2s forwards;
}

.book-cover {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(212, 184, 150, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.book-cover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
                0 0 60px rgba(212, 184, 150, 0.3);
}

.hero-text {
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-pure) 0%, var(--color-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.5s forwards;
}

.subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--color-light);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.7s forwards;
}

.decorative-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-hope), transparent);
    margin: 2rem auto;
    opacity: 0;
    animation: expandLine 1.5s ease-out 0.9s forwards;
}

@keyframes expandLine {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 120px;
    }
}

/* Book Description Section */
.description-section {
    padding: 8rem 0;
    position: relative;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-hope);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    font-weight: 600;
}

.description-text {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    line-height: 1.8;
    color: var(--color-radiance);
    font-weight: 300;
    letter-spacing: 0.01em;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.description-text::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3em;
    line-height: 0.8;
    float: left;
    margin: 0.1em 0.1em 0 0;
    color: var(--color-light);
}

/* Journey Visual */
.journey-visual {
    margin: 6rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.journey-phase {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 2rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 184, 150, 0.1);
    transition: all 0.5s ease;
}

.journey-phase:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 184, 150, 0.3);
}

.phase-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.phase-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-light);
}

.phase-description {
    font-size: 0.95rem;
    color: var(--color-radiance);
    opacity: 0.8;
    line-height: 1.6;
}

/* Authors Section */
.authors-section {
    /* padding: 8rem 0; */
    background: linear-gradient(180deg, transparent 0%, rgba(139, 115, 85, 0.05) 50%, transparent 100%);
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.author-card {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.author-card:nth-child(1) {
    animation-delay: 0.2s;
}

.author-card:nth-child(2) {
    animation-delay: 0.4s;
}

.author-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-hope), var(--color-light));
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: var(--color-pure);
    /* border: 3px solid rgba(212, 184, 150, 0.3); */
    box-shadow: 0 10px 30px rgba(212, 184, 150, 0.2);
}

.author-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-light);
}

.author-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-radiance);
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    text-align: center;
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    color: var(--color-light);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.btn {
    font-family: 'Cormorant Garamond', serif;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-hope), var(--color-light));
    color: var(--color-darkness);
    font-weight: 600;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-light), var(--color-radiance));
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 184, 150, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-light);
    border: 2px solid var(--color-hope);
}

.btn-secondary:hover {
    background: var(--color-hope);
    color: var(--color-pure);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.3);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(212, 184, 150, 0.1);
    margin-top: 4rem;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--color-hope);
    opacity: 0.7;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-hope);
    border-radius: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards, float 2s ease-in-out infinite;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-light);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes fadeIn {
    to { opacity: 0.6; }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollDown {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .book-cover-container {
        max-width: 300px;
    }

    .journey-visual {
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}
