/* Reset & Variables */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1e293b;
    --primary-light: #334155;
    --accent: #d97706;
    --accent-hover: #b45309;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --success: #16a34a;
    --radius: 16px;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif, system-ui;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    padding: 20px 0;
    text-align: center;
}

.badge-pill {
    display: inline-block;
    background-color: #fef3c7;
    color: #92400e;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Main Hero Layout - Compact left column on desktop */
.main-content {
    padding: 10px 0 80px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

/* Book Column */
.book-column {
    position: static;
}

.book-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
}

.image-wrapper {
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.book-cover {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.book-cover:hover {
    transform: scale(1.02);
}

/* Pricing Box */
.pricing-box {
    text-align: center;
}

.price-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.old-price {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 600;
}

.current-price {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
}

.discount-badge {
    background-color: #dcfce7;
    color: var(--success);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 6px;
}

.format-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* Buttons */
.btn-purchase {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: var(--accent);
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-purchase:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
    transform: translateY(-1px);
}

.btn-purchase:active {
    transform: translateY(0);
}

.btn-purchase.large {
    font-size: 18px;
    padding: 18px 32px;
    margin-top: 30px;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-muted);
}

/* Copy Column */
.copy-column {
    background: var(--card-bg);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

@media (max-width: 640px) {
    .copy-column {
        padding: 24px;
    }
}

.main-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
}

.main-title .accent {
    color: var(--accent);
}

.hero-quote {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-style: italic;
    color: var(--primary-light);
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.prose p {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 20px;
}

.prose p.lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
}

.callout-box {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 30px;
}

.callout-box p {
    margin-bottom: 0;
    font-weight: 600;
    color: #92400e;
}

.bottom-cta-wrapper {
    margin-top: 30px;
    text-align: center;
}

.price-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

/* Thank You Page Styles */
.thank-you-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
}

.thank-you-container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.success-card {
    background: var(--card-bg);
    width: 100%;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border-color);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.success-badge {
    background-color: #dcfce7 !important;
    color: #166534 !important;
    margin-bottom: 20px;
}

.thank-you-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
}

.thank-you-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.download-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.file-icon {
    font-size: 36px;
    background: #e2e8f0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.file-details h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    word-break: break-all;
}

.file-details p {
    font-size: 13px;
    color: var(--text-muted);
}

.download-btn {
    background-color: var(--success);
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.download-btn:hover {
    background-color: #15803d;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.support-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.back-link a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.back-link a:hover {
    color: var(--primary);
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .book-column {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .success-card {
        padding: 24px 16px;
    }
    
    .thank-you-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .thank-you-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .download-box {
        padding: 16px;
    }

    .file-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .file-details h3 {
        font-size: 14px;
        word-break: break-all;
    }
}