:root {
    --primary: #ee9912;
    --secondary: #731f06;
    --on-primary: #111111;
    --on-secondary: #ffffff;
    --bg: #ffffff;
    --surface: #f6f8fb;
    --light: #e9edf3;
    --dark: #12151b;
    --muted: #566173;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-heading {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
}

.lead {
    color: var(--muted);
}

.kicker {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--secondary);
}

.container {
    max-width: 1140px;
}

section {
    padding-block: clamp(56px, 8vw, 104px);
}

/* Header */
.header {
    background-color: var(--bg);
    border-bottom: 1px solid var(--light);
    transition: background-color .3s ease, box-shadow .3s ease;
    z-index: 1030;
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo, .logo-footer {
    height: 40px;
    border-radius: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    padding: 15px 30px;
    margin: 8px 0;
    gap: 10px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    transition: filter .25s ease, box-shadow .25s ease, transform .25s ease;
    min-height: 48px; /* Minimum tap target */
}

.btn-cta {
    background: var(--primary);
    color: var(--on-primary) !important;
    box-shadow: 0 10px 24px -8px rgba(18,21,27,.35);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--on-secondary) !important;
}

.btn-cta:hover, .btn-secondary:hover {
    filter: brightness(.94);
    box-shadow: 0 14px 30px -10px rgba(18,21,27,.45);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

@media (max-width: 575.98px) {
    .btn {
        width: 100%;
    }
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-color: var(--bg);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 10% 20%, var(--primary) 0%, rgba(255,255,255,0) 40%),
                radial-gradient(circle at 90% 80%, var(--secondary) 0%, rgba(255,255,255,0) 40%);
    opacity: 0.05;
    z-index: 0;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.05;
    font-weight: 800;
}

.hero-image-wrapper {
    padding: 1rem;
    background-color: var(--surface);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(18,21,27,.1),
                0 2px 8px rgba(18,21,27,.05);
    transform: rotate3d(1, 1, 0, 8deg);
    transition: transform .3s ease;
}

.hero-image-wrapper:hover {
    transform: rotate3d(1, 1, 0, 5deg) translateY(-4px);
}

.book-cover {
    border-radius: 12px;
    transform: translateZ(20px);
}

/* Benefit Cards */
.benefit-card {
    background-color: var(--bg);
    border: 1px solid var(--light);
    transition: transform .2s ease, box-shadow .2s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(18,21,27,.08);
}

.icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--surface);
    color: var(--primary);
    border: 1px solid var(--light);
}

/* What's Inside Section */
.chapter-item {
    background-color: var(--bg);
    border: 1px solid var(--light);
    transition: transform .2s ease, box-shadow .2s ease;
}

.chapter-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(18,21,27,.08);
}

.chapter-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    font-weight: 700;
    background-color: var(--primary);
    color: var(--on-primary);
    border-radius: 8px;
    flex-shrink: 0;
}

/* Offer Details Section */
.img-container {
    background-color: var(--bg);
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(18,21,27,.1),
                0 2px 8px rgba(18,21,27,.05);
}

.img-container img {
    border-radius: 12px;
}

.summary-list {
    max-width: 400px;
}

.summary-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--dark);
}

.summary-list li svg {
    color: var(--primary);
}

/* About Author Section */
.author-avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    border: 2px solid var(--light);
    overflow: hidden;
}

.avatar-fallback {
    display: block;
}

/* Pricing Section */
.pricing-card {
    background-color: var(--bg);
    border: 1px solid var(--light);
    border-radius: 20px;
}

.value-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--muted);
}

.value-list li svg {
    color: var(--primary);
}

/* Final CTA */
.bg-primary {
    background-color: var(--primary) !important;
}

.text-on-primary {
    color: var(--on-primary) !important;
}

/* Footer */
.footer {
    background-color: var(--dark) !important;
    color: var(--muted) !important;
}

.footer .logo-footer {
    filter: brightness(0) invert(1);
}

/* Utility classes for text colors on specific backgrounds */
.bg-primary .text-dark, .bg-secondary .text-dark {
    color: inherit; /* Should inherit from .text-on-primary or .text-on-secondary */
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .btn, .benefit-card, .hero-image-wrapper, .chapter-item, .img-container {
        transition: none !important;
        transform: none !important;
    }
}