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

:root {
    --primary-color: #1a2332;
    --secondary-color: #2d3e50;
    --accent-color: #d4a574;
    --text-color: #2c3e50;
    --text-light: #5a6c7d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e1e8ed;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
    font-family: 'Crimson Pro', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: var(--spacing-xl) 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 35, 50, 0.2);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 35, 50, 0.15);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: var(--spacing-xl) 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
}

.hero-text h1 {
    margin-bottom: 0.5rem;
}

.hero-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.author-byline {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.formats-available {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* What Happens After Section */
.what-happens-after {
    background: var(--bg-white);
}

.what-happens-after h2 {
    margin-bottom: 2rem;
}

.intro-text {
    max-width: 800px;
    margin: 0 0 3rem;
}

.lead {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.question-list {
    list-style: none;
    max-width: 700px;
    margin: 2rem auto;
}

.question-list li {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.question-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.framework-note {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
}

/* What This Book Does Section */
.what-book-does {
    background: var(--bg-light);
}

.what-book-does .intro {
    max-width: 800px;
    margin: 0 0 1rem;
    font-size: 1.15rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: white;
    padding: 1.75rem;
    border-left: 3px solid var(--accent-color);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-left-color: var(--primary-color);
    padding-left: 2rem;
}

.benefit-item p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
}

/* Who This Is For Section */
.who-for {
    background: var(--bg-white);
}

.who-for h2 {
    margin-bottom: 1.5rem;
}

.who-for .intro {
    max-width: 700px;
    margin: 0 0 2rem;
    font-size: 1.15rem;
}

.audience-list {
    list-style: none;
    max-width: 800px;
    margin: 2rem auto;
}

.audience-list li {
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
    border-left: 4px solid var(--primary-color);
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
}

.audience-list li:before {
    content: "✓";
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.audience-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.comparison {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
}

/* FAQ Section */
.faq {
    background: var(--bg-light);
}

.faq h2 {
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 900px;
}

.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

/* Reviews Section */
.reviews {
    background: var(--primary-color);
    color: white;
}

.reviews h2 {
    text-align: center;
    color: white;
}

.rating {
    text-align: center;
    margin-bottom: 3rem;
}

.stars {
    font-size: 2rem;
    color: var(--accent-color);
    letter-spacing: 0.25rem;
}

.rating-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.quote {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.5;
}

.attribution {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 0;
}

/* About the Author Section */
.about-author {
    background: var(--bg-light);
}

.about-author h2 {
    margin-bottom: 3rem;
}

.author-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    max-width: 900px;
    align-items: start;
}

.author-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.author-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Formats Section */
.formats {
    background: var(--bg-white);
    text-align: center;
}

.format-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.format {
    padding: 1rem 2rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.format:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.availability {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.formats .cta-buttons {
    justify-content: center;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.tagline {
    font-size: 1.5rem;
    max-width: 900px;
    margin: 2rem auto;
    line-height: 1.6;
}

.closing {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.final-cta .cta-buttons {
    justify-content: center;
}

.final-cta .btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.final-cta .btn-primary:hover {
    background: #c69563;
    border-color: #c69563;
}

.final-cta .btn-secondary {
    border-color: white;
    color: white;
}

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

/* Footer */
footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0;
    text-align: center;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

    .hero-image {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .hero-image img {
        max-width: 350px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .audience-list li:before {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        display: inline-flex;
        margin-right: 1rem;
        vertical-align: middle;
    }

    .author-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .author-image {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-xl: 3rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-image img {
        max-width: 280px;
    }

    .format-options {
        flex-direction: column;
        align-items: center;
    }

    .format {
        width: 100%;
        max-width: 300px;
    }
}
