/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2c3e50;
    --accent-color: #4a4a4a;
    --text-color: #2b2b2b;
    --text-light: #666;
    --bg-color: #fafafa;
    --white: #ffffff;
}

body {
    font-family: 'Baskerville', 'Libre Baskerville', 'Garamond', 'Georgia', serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--bg-color);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Main Content */
.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    flex: 1;
    padding: 3rem 0;
}

/* Book Cover */
.book-cover {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Book Info */
.book-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Section Header */
.section-header {
    margin-bottom: 1rem;
}

.section-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.metadata {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.4rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.description {
    margin: 0;
}

.description p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    text-align: left;
}

.description p:last-child {
    margin-bottom: 0;
}

.description .opening {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Section Dividers */
.section-divider {
    border: none;
    border-top: 1px solid #d0d0d0;
    margin: 1.75rem 0;
}

/* Author Section */
.author-section {
    margin: 0;
    padding: 0;
}

.author-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin-top: 1rem;
    color: var(--text-color);
}

.author-bio strong {
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* Coming Soon Announcement */
.coming-soon-announcement {
    background: #fcfcfc;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 3rem 2.5rem;
    text-align: center;
}

.announcement-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
}

.announcement-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0 0 0.75rem 0;
}

.announcement-text:last-child {
    margin-bottom: 0;
}

/* Legacy release-date style (kept for compatibility) */
.release-date {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
    padding: 0.75rem 1.25rem;
    border: 1px solid #d0d0d0;
    text-align: left;
    display: inline-block;
    width: fit-content;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Launched Content */
#launched-content {
    margin: 0;
}

/* Download Section (hidden for now) */
.download-section {
    margin-bottom: 2rem;
}

/* Download Cards Grid */
.download-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.download-cards-row2 {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1.5rem;
}

.download-card {
    background: #fcfcfc;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.03em;
    margin: 0;
}

.card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
    flex: 1;
}

/* Amazon Section */
.amazon-section {
    padding-top: 0;
    text-align: center;
}

.amazon-section .section-label {
    margin-top: 0.5rem;
}

.amazon-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 1rem auto 1.5rem auto;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2px;
    border: 1px solid var(--primary-color);
    transition: all 0.2s ease;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: #f8f8f8;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .book-cover {
        order: 1;
    }

    .book-info {
        order: 2;
    }

    .release-date {
        width: 100%;
    }

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

@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }

    .content {
        gap: 2rem;
        padding: 1rem 0;
    }

    .description .opening {
        font-size: 1.1rem;
    }

    .description p {
        font-size: 1rem;
    }

    .release-date {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    .coming-soon-announcement {
        padding: 2rem 1.5rem;
    }

    .announcement-title {
        font-size: 0.85rem;
    }

    .announcement-text {
        font-size: 0.9rem;
    }

    .download-card {
        padding: 1.5rem 1.25rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-description {
        font-size: 0.9rem;
    }

    .btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.7rem 1.25rem;
    }

    .amazon-description {
        font-size: 0.9rem;
    }
}
