:root {
    --bg-paper: #fdfbf7;
    --text-ink: #2d3436;
    --accent: #d63031;
    --accent-light: #fab1a0;
    --gray: #636e72;
    --font-serif: 'Libre Baskerville', serif;
    --font-sans: 'Source Sans Pro', sans-serif;
}

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

body {
    background-color: var(--bg-paper);
    color: var(--text-ink);
    font-family: var(--font-sans);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    line-height: 1.2;
    color: #000;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.narrow {
    max-width: 800px;
}

/* Header */
.header {
    padding: 4rem 0 6rem;
    overflow: hidden;
}

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

.badge {
    background: #ffeaa7;
    padding: 0.25rem 0.75rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.cta-group {
    margin-bottom: 3rem;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.2s;
    box-shadow: 0 4px 14px rgba(214, 48, 49, 0.4);
}

.btn-buy:hover {
    transform: translateY(-2px);
    background: #c0392b;
}

.price {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-left: 0.75rem;
    font-size: 0.9em;
}

.guarantee {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.author-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

/* 3D Book */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.book-container {
    position: relative;
    transform: rotateY(-30deg) rotateX(10deg);
    transition: transform 0.5s;
}

.book-container:hover {
    transform: rotateY(-20deg) rotateX(5deg);
}

.book {
    width: 300px;
    height: 440px;
    position: relative;
    transform-style: preserve-3d;
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #2d3436;
    border-radius: 4px 10px 10px 4px;
    transform: translateZ(25px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
    box-shadow: inset 10px 0 20px rgba(0, 0, 0, 0.2);
}

.cover-content h2 {
    color: white;
    font-size: 2.5rem;
    margin: 1rem 0 3rem;
}

.author-name {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.grid-art {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.g-box {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.g-box:first-child {
    background: var(--accent);
}

.book-spine {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    background: #d63031;
    transform: rotateY(-90deg) translateZ(25px);
}

.book-shadow {
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 80%;
    height: 20px;
    background: black;
    filter: blur(20px);
    opacity: 0.3;
    transform: translateZ(-50px);
}

/* Trust Bar */
.trust-bar {
    background: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.trust-bar p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    font-weight: 700;
    color: #b2bec3;
    font-size: 1.25rem;
}

/* Problem Solution */
.problem-solution {
    padding: 6rem 0;
}

.problem-solution p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.problem-solution h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Chapters */
.section-bg {
    background: #f1f2f6;
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

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

.chapter-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: 0.2s;
}

.chapter-card:hover {
    transform: translateY(-5px);
}

.ch-num {
    color: var(--accent-light);
    font-weight: 700;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.chapter-card h3 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.chapter-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--text-ink);
    color: white;
}

.testimonials .container {
    display: flex;
    gap: 4rem;
}

.testimonial-card p {
    font-size: 1.35rem;
    font-family: var(--font-serif);
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.quote-icon {
    font-size: 4rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
}

.user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.user-info {
    display: flex;
    flex-direction: column;
}

/* Pricing */
.pricing-section {
    padding: 6rem 0;
}

.pricing-box {
    background: white;
    max-width: 500px;
    margin: 3rem auto 0;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border-top: 6px solid var(--accent);
}

.price-header h3 {
    font-family: var(--font-sans);
    text-transform: uppercase;
    color: var(--gray);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.price-b {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-ink);
    margin: 1rem 0;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f2f6;
    color: #444;
}

.features-list i {
    color: #00b894;
    margin-right: 0.75rem;
}

.btn-lg {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1.25rem;
    font-size: 1.25rem;
}

.micro {
    font-size: 0.8rem;
    color: #999;
    margin-top: 1rem;
}

.footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid #eee;
    color: var(--gray);
}

.footer a {
    color: var(--text-ink);
}

@media (max-width: 800px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        margin-top: 3rem;
        order: -1;
    }

    .book {
        width: 200px;
        height: 300px;
    }

    .logos {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }

    .testimonials .container {
        flex-direction: column;
        gap: 4rem;
    }
}