:root {
    --primary-blue: #007bff;
    --accent-orange: #ff6b35;
    --dark-bg: #1a1a1a;
    --darker-bg: #0d1117;
    --card-bg: #21262d;
    --text-light: #f0f6ff;
    --text-muted: #8b949e;
    --border-color: #30363d;
    --success-green: #238636;
    --warning-red: #da3633;
    --light-bg: #f6f8fa;
    --light-text: #24292f;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--light-text);
    line-height: 1.6;
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header */
.main-header {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid #e1e8ed;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.countdown-container {
    text-align: right;
}

.countdown-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.countdown-timer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.countdown-item {
    background-color: var(--dark-bg);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    min-width: 50px;
}

.countdown-number {
    font-size: 18px;
    font-weight: 700;
    display: block;
}

.countdown-unit {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Hero section */
.hero-section {
    background-color: white;
    padding: 60px 0;
}

.ebook-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.stat-badge {
    background-color: #e3f2fd;
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--light-text);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.5;
}

.cta-button {
    background-color: var(--accent-orange);
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

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

.ebook-cover {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Problem section */
.problem-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.problem-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    color: var(--light-text);
}

.problem-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.problem-item {
    background-color: white;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.problem-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.problem-text {
    font-size: 1.1rem;
    color: var(--light-text);
    font-weight: 500;
}

/* Solution section */
.solution-section {
    background-color: white;
    padding: 80px 0;
}

.solution-header {
    text-align: center;
    margin-bottom: 60px;
}

.solution-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--light-text);
}

.solution-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.solution-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Table of Contents */
.toc-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.toc-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--light-text);
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.toc-item {
    background-color: white;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.toc-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.toc-number {
    background-color: var(--primary-blue);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}

.toc-chapter-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--light-text);
}

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

.toc-preview {
    text-align: center;
    margin-top: 40px;
}

.preview-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Benefits section */
.benefits-section {
    background-color: white;
    padding: 80px 0;
}

.benefits-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--light-text);
}

.benefits-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: var(--light-text);
}

.benefit-check {
    color: var(--success-green);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Bundle section */
.bundle-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.bundle-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--light-text);
}

.bundle-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 60px;
}

.bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.bundle-item {
    background-color: white;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bundle-item-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--light-text);
}

.bundle-item-value {
    color: var(--success-green);
    font-weight: 600;
    margin-bottom: 12px;
}

.bundle-item-description {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.bundle-total {
    text-align: center;
    margin-top: 40px;
    padding: 24px;
    background-color: white;
    border-radius: 12px;
    border: 2px solid var(--primary-blue);
}

.bundle-total-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Testimonial */
.testimonial-section {
    background-color: white;
    padding: 60px 0;
}

.testimonial-card {
    background-color: var(--light-bg);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #e1e8ed;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 24px;
    color: var(--light-text);
    line-height: 1.5;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-muted);
}

/* Pricing section */
.pricing-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.pricing-card {
    background-color: white;
    border: 2px solid var(--primary-blue);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.pricing-badge {
    background-color: var(--warning-red);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 24px;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--light-text);
}

.pricing-container {
    margin-bottom: 24px;
}

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

.current-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-orange);
}

.savings-text {
    color: var(--success-green);
    font-weight: 600;
    margin-bottom: 24px;
}

.guarantee-text {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.guarantee-text::before {
    content: '✓';
    color: var(--success-green);
    margin-right: 8px;
    font-weight: bold;
}

/* FAQ section */
.faq-section {
    background-color: white;
    padding: 80px 0;
}

.faq-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light-text);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: white;
    border: 1px solid #e1e8ed;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-button {
    background-color: white;
    color: var(--light-text);
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    border-color: var(--primary-blue);
}

.accordion-body {
    background-color: white;
    color: var(--text-muted);
    padding: 20px 24px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Final CTA section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.final-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.final-cta-btn {
    background-color: var(--accent-orange);
    color: white;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.final-cta-btn:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
    .countdown-container {
        text-align: center;
        margin-top: 20px;
    }
    
    .countdown-timer {
        justify-content: center;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .ebook-stats {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .problem-title,
    .solution-title,
    .toc-title,
    .benefits-title,
    .bundle-title {
        font-size: 2rem;
    }
    
    .final-cta-title {
        font-size: 2rem;
    }
    
    .toc-grid {
        grid-template-columns: 1fr;
    }
    
    .bundle-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}