@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    /* Colors - HSL tailored */
    --bg-dark: hsl(230, 35%, 6%);
    --bg-card: hsl(230, 28%, 10%);
    --bg-card-hover: hsl(230, 25%, 14%);
    
    --primary: hsl(263, 90%, 65%);
    --primary-glow: hsl(263, 90%, 65%, 0.35);
    --secondary: hsl(188, 90%, 50%);
    --secondary-glow: hsl(188, 90%, 50%, 0.35);
    
    --accent: hsl(320, 85%, 60%);
    
    --text-primary: hsl(210, 25%, 98%);
    --text-secondary: hsl(215, 20%, 75%);
    --text-muted: hsl(218, 15%, 55%);
    
    --border-color: rgba(255, 255, 255, 0.05);
    --border-color-hover: rgba(255, 255, 255, 0.12);
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing & Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* --- BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input {
    font-family: inherit;
    font-size: inherit;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border: 2px solid var(--bg-dark);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- GLOBAL LAYOUT & CONTAINER --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* --- DECORATIVE GLOW BACKGROUNDS --- */
.glow-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.glow-bg-secondary {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* --- BUTTONS & INTERACTIVE ELEMENTS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-heading);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 10px 25px -5px var(--primary-glow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
    border-radius: var(--radius-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--primary-glow), 0 0 15px var(--secondary-glow);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color-hover);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-3px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

.badge-cyan {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--secondary);
}

/* --- HEADER / NAVIGATION --- */
header {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 11, 22, 0.8);
    backdrop-filter: blur(12px);
    z-index: 100;
    transition: var(--transition-fast);
}

header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    color: var(--text-primary);
    -webkit-text-fill-color: var(--text-primary);
}

.logo svg {
    stroke: var(--primary);
    width: 24px;
    height: 24px;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-content h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* --- 3D BOOK MOCKUP --- */
.hero-book-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1500px;
    height: 480px;
}

/* Glow behind book */
.book-glow {
    position: absolute;
    width: 320px;
    height: 450px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.book-container {
    width: 270px;
    height: 380px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform var(--transition-fast) ease-out;
    cursor: grab;
    z-index: 2;
}

.book-container:active {
    cursor: grabbing;
}

.book {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transform: rotateY(-20deg) rotateX(10deg);
    transition: transform var(--transition-slow);
}

/* Book surfaces */
.book-front, .book-back, .book-spine, .book-pages {
    position: absolute;
    height: 100%;
    border-radius: 2px 8px 8px 2px;
    box-shadow: var(--shadow-lg);
}

.book-front {
    width: 100%;
    background: #0d0f1c url('assets/ebook_cover_bg.png') no-repeat center/cover;
    transform: rotateY(0deg) translateZ(15px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* Book spine gradient lighting */
.book-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
    z-index: 12;
}

/* Front Cover Layout */
.cover-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.cover-badge {
    font-size: 0.65rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 800;
}

.cover-title {
    font-size: 1.8rem;
    line-height: 1.1;
    font-family: var(--font-heading);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cover-subtitle {
    font-size: 0.75rem;
    color: #cbd5e1;
    line-height: 1.3;
    font-weight: 500;
    margin-top: 8px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.cover-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}

.cover-author {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fff;
}

.cover-meta {
    font-size: 0.55rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.book-spine {
    width: 30px;
    left: -15px;
    background: linear-gradient(90deg, #07080f 0%, #15182a 40%, #07080f 100%);
    transform: rotateY(-90deg) translateZ(0);
    z-index: 8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    color: #fff;
    border-radius: 2px 0 0 2px;
}

.spine-title {
    font-size: 0.55rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transform: rotate(90deg);
    white-space: nowrap;
    color: #e2e8f0;
    transform-origin: center center;
    width: 250px;
    text-align: center;
}

.spine-author {
    font-size: 0.45rem;
    text-transform: uppercase;
    transform: rotate(90deg);
    color: var(--secondary);
    white-space: nowrap;
}

.book-back {
    width: 100%;
    background: #090a14;
    transform: rotateY(180deg) translateZ(15px);
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.book-pages {
    width: 100%;
    background: linear-gradient(90deg, 
        #f1f5f9 0%, 
        #cbd5e1 5%, 
        #f8fafc 10%, 
        #cbd5e1 15%, 
        #f8fafc 20%, 
        #cbd5e1 95%, 
        #94a3b8 100%
    );
    transform: translateZ(0) scaleX(0.96);
    right: -10px;
    z-index: 6;
    border-radius: 0 4px 4px 0;
    box-shadow: inset -5px 0 10px rgba(0,0,0,0.1);
}

/* --- THE PROBLEM & SOLUTION SECTION --- */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 18px;
}

.section-header h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.custom-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-normal);
}

.custom-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-accent-red {
    border-top: 4px solid hsl(0, 80%, 60%);
}

.card-accent-cyan {
    border-top: 4px solid var(--secondary);
}

.custom-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-card.card-accent-red h3 {
    color: hsl(0, 80%, 65%);
}

.custom-card.card-accent-cyan h3 {
    color: var(--secondary);
}

.custom-card h3 svg {
    width: 24px;
    height: 24px;
}

.pain-list, .gain-list {
    list-style: none;
}

.pain-list li, .gain-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 18px;
    font-size: 1rem;
}

.pain-list li::before, .gain-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
}

.pain-list li::before {
    /* Red X icon */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='hsl(0, 80%2C 60%29' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

.gain-list li::before {
    /* Green Check icon */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='hsl(188%2C 90%25%2C 50%29' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

/* --- INTERACTIVE TABLE OF CONTENTS (CHAPTERS) --- */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.chapter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: all var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.chapter-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.1);
}

.chapter-card:hover::before {
    opacity: 1;
}

.chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.chapter-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.chapter-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-normal);
}

.chapter-card:hover .chapter-icon {
    background: var(--primary);
    color: var(--text-primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.chapter-icon svg {
    width: 22px;
    height: 22px;
}

.chapter-body {
    position: relative;
    z-index: 1;
}

.chapter-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.chapter-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    transition: var(--transition-normal);
}

.chapter-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    position: relative;
    z-index: 1;
    border-top: 0px solid var(--border-color);
    padding-top: 0;
    margin-top: 0;
}

.chapter-card.active {
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.chapter-card.active .chapter-details {
    max-height: 250px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 16px;
}

.chapter-details-list {
    list-style: none;
}

.chapter-details-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chapter-details-list li::before {
    content: "✦";
    color: var(--secondary);
    font-size: 0.8rem;
}

/* --- WHOS THIS FOR SECTION --- */
.for-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.for-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    transition: all var(--transition-normal);
}

.for-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.1);
}

.for-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-glow);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.for-icon svg {
    width: 28px;
    height: 28px;
}

.for-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.for-card p {
    font-size: 0.9rem;
}

/* --- MEET THE AUTHOR --- */
.author-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.author-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.author-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, var(--bg-dark) 100%);
    z-index: 1;
}

.author-img {
    background-color: var(--bg-card);
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fake image representation since author doesn't have custom portrait */
.author-placeholder-visual {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111322 0%, #1e1b4b 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 30px;
    text-align: center;
}

.author-placeholder-visual svg {
    width: 80px;
    height: 80px;
    stroke: var(--primary);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.author-info h3 {
    font-size: 2.2rem;
    margin-bottom: 6px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.author-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 24px;
}

.author-info p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.author-quote {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--primary);
    padding: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-primary);
    margin-top: 30px;
}

/* --- THE OFFER / BONUSES --- */
.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.offer-bonuses {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bonus-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all var(--transition-normal);
}

.bonus-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.bonus-icon {
    width: 48px;
    height: 48px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.bonus-icon svg {
    width: 24px;
    height: 24px;
}

.bonus-text h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.bonus-text p {
    font-size: 0.9rem;
}

.bonus-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
}

/* --- THE CHECKOUT BLOCK --- */
.checkout-card {
    background: radial-gradient(circle at top left, hsl(230, 25%, 12%) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(139, 92, 246, 0.1);
    overflow: hidden;
    position: relative;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.checkout-details h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.checkout-details p {
    margin-bottom: 30px;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 30px;
}

.price-box .price-current {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-box .price-old {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.checkout-bullets {
    list-style: none;
}

.checkout-bullets li {
    font-size: 1rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-bullets li svg {
    color: var(--secondary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Simulated Checkout Form */
.checkout-form-container {
    background: rgba(10, 11, 22, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    backdrop-filter: blur(8px);
}

.checkout-form-container h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.form-group input {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-fast);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Card Mockup visual inside checkout */
.card-mockup-wrapper {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
    margin-bottom: 20px;
}

.card-mockup-wrapper.active {
    height: 120px;
}

.card-mockup {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1d1b38 0%, #0c0b16 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.card-mockup::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    border-radius: 50%;
}

.card-chip {
    width: 28px;
    height: 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    border-radius: 3px;
}

.card-num {
    font-family: monospace;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    color: #fff;
    margin: 8px 0;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.card-meta span {
    color: #fff;
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--border-color-hover);
}

.faq-trigger {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.faq-trigger svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-secondary);
    transition: stroke var(--transition-normal);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.05);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--primary);
    border-color: var(--primary);
}

.faq-item.active .faq-icon svg {
    stroke: var(--text-primary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-content p {
    padding: 0 30px 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- FOOTER --- */
footer {
    background: #06070a;
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

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

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .for-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .author-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .author-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .split-grid {
        grid-template-columns: 1fr;
    }
    
    .chapters-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .for-grid {
        grid-template-columns: 1fr;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-book-wrapper {
        height: 420px;
    }
    
    .book-container {
        width: 220px;
        height: 310px;
    }
}
