/* ==========================================================================
   Base & Variables
   ========================================================================== */
   :root {
    /* Colors */
    --bg-dark: #070B14;
    --bg-darker: #04060B;
    --bg-card: #0F1626;
    --bg-card-hover: #162035;
    
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    
    --accent-primary: #10B981; /* Emerald Green */
    --accent-primary-hover: #059669;
    --accent-secondary: #06B6D4; /* Cyan */
    --accent-warning: #F59E0B; /* Gold/Yellow */
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Layout & Effects */
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.3s ease;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utility */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.bg-darker { background-color: var(--bg-darker); }
.relative { position: relative; }
.z-10 { z-index: 10; }
.inline-icon { display: inline-block; vertical-align: middle; margin-right: 6px; }

/* ==========================================================================
   Components (Buttons & Badges)
   ========================================================================== */
.cta-button {
    display: inline-block;
    background-color: var(--accent-primary);
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.cta-button:hover {
    background-color: var(--accent-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.primary-cta {
    font-size: 1.125rem;
    padding: 18px 36px;
    width: 100%;
    max-width: 400px;
}

.massive-cta {
    font-size: 1.35rem;
    padding: 22px 48px;
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
}

.nav-cta {
    font-size: 0.9rem;
    padding: 10px 20px;
}

.cta-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

.badge {
    display: inline-block;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-secondary);
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(7, 11, 20, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.small-badge {
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -1px;
    margin-bottom: 5px;
    background: linear-gradient(to right, #FFFFFF, #9CA3AF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--accent-secondary);
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-text {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-paragraph {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
}

.feature-badge svg {
    color: var(--accent-primary);
}

.pricing-card {
    background: rgba(15, 22, 38, 0.6);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 30px;
    max-width: 440px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-subtle);
}

.price-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.price-original {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-badge {
    background: var(--accent-warning);
    color: #000;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Ebook Cover Image */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.book-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(16, 185, 129, 0.1));
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

.book-image:hover {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(16, 185, 129, 0.15));
}

/* ==========================================================================
   Trust / Value Bar
   ========================================================================== */
.trust-bar {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-darker);
    padding: 24px 0;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item svg {
    color: var(--accent-primary);
}

/* ==========================================================================
   Problem Section
   ========================================================================== */
.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.problem-text-box p {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.problem-list {
    list-style: none;
    margin: 20px 0;
}

.problem-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.problem-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
}

.problem-highlight {
    margin-top: 30px;
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--accent-primary);
    padding: 16px 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--text-main);
    font-size: 1.1rem;
}

.prompt-comparison {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prompt-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-subtle);
}

.prompt-header {
    margin-bottom: 12px;
}

.prompt-label {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-red { background: rgba(239, 68, 68, 0.2); color: #FCA5A5; }
.bg-green { background: rgba(16, 185, 129, 0.2); color: #6EE7B7; }

.prompt-text {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
}

.good-prompt .prompt-text {
    color: var(--text-main);
}

.prompt-arrow {
    display: flex;
    justify-content: center;
    color: var(--text-muted);
    opacity: 0.5;
}

/* ==========================================================================
   Chapters Grid
   ========================================================================== */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.chapter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.chapter-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
    transform: translateY(-3px);
}

.chapter-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-secondary);
    opacity: 0.7;
    line-height: 1;
}

.chapter-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.chapter-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Categories
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.category-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.03);
}

.cat-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: inline-block;
}

.category-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Examples Grid
   ========================================================================== */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.example-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.example-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-secondary);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.example-body {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
    font-style: italic;
    background: rgba(0,0,0,0.2);
    padding: 16px;
    border-radius: 8px;
    border-left: 2px solid var(--border-highlight);
}

.copy-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-highlight);
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.copy-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.3);
}

/* ==========================================================================
   Who Is This For & Benefits
   ========================================================================== */
.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.who-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.who-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.who-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(15, 22, 38, 0.4) 100%);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Timeline (How it works)
   ========================================================================== */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item {
    flex: 1;
    position: relative;
    z-index: 2;
}

.timeline-line {
    position: absolute;
    top: 25px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--accent-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    color: var(--accent-secondary);
}

.timeline-item h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 80%;
    margin: 0 auto;
}

/* ==========================================================================
   Offer / CTA Section
   ========================================================================== */
.offer-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(15, 22, 38, 0.8) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.offer-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.offer-box > * {
    position: relative;
    z-index: 1;
}

.offer-price-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0 10px;
}

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

.offer-main-price {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    color: #FFF;
}

.offer-badge {
    background: var(--accent-warning);
    color: #000;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    align-self: flex-start;
    margin-top: 10px;
}

.offer-limited {
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.offer-cta {
    font-size: 1.25rem;
    padding: 20px 40px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-container {
    margin-top: 50px;
}

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

.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    padding: 24px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-secondary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-muted);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta-section {
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="%23070B14"/><circle cx="50" cy="50" r="1" fill="%23ffffff" fill-opacity="0.1"/></svg>');
    position: relative;
    border-top: 1px solid var(--border-color);
}

.final-cta-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-top: 20px;
}

.final-price-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.final-original { text-decoration: line-through; color: var(--text-muted); font-size: 1.25rem; }
.final-main { font-size: 3.5rem; font-weight: 800; color: #FFF; line-height: 1; }
.final-badge { background: var(--accent-warning); color: #000; padding: 4px 10px; border-radius: 6px; font-weight: 700; }

.final-bottom-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-subtitle {
    color: var(--accent-secondary);
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.copyright {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

/* ==========================================================================
   Mobile Sticky CTA
   ========================================================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 22, 38, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-highlight);
    padding: 12px 20px;
    display: none; /* Hidden on desktop */
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

.sticky-left {
    display: flex;
    flex-direction: column;
}

.sticky-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.sticky-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
}

.sticky-btn {
    padding: 10px 24px;
    font-size: 1rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-main);
    box-shadow: var(--shadow-subtle);
}

.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.contact-card .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
    width: 28px;
    height: 28px;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    color: var(--accent-primary);
}

.contact-card .contact-text {
    font-size: 1.15rem;
    font-weight: 500;
}

/* ==========================================================================
   Media Queries (Responsive)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .problem-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-paragraph {
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card {
        margin: 0 auto;
    }
    
    .hero-visual {
        margin-top: 40px;
    }
    
    .timeline {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .timeline-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .nav-cta {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .chapters-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-container {
        justify-content: center;
    }
    
    .mobile-sticky-cta {
        display: flex;
    }
    
    /* Add padding to body to prevent content hiding behind sticky footer */
    body {
        padding-bottom: 70px;
    }
    
    .offer-box {
        padding: 40px 20px;
    }
    
    .offer-main-price {
        font-size: 3.5rem;
    }
    
    .final-main {
        font-size: 2.75rem;
    }
}

@media (max-width: 480px) {
    .css-book-mockup {
        width: 240px;
        height: 340px;
    }
    
    .cover-title {
        font-size: 1.8rem;
    }
    
    .price-current {
        font-size: 2rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: stretch;
    }
    
    .feature-badge {
        justify-content: center;
    }
}
