:root {
    --primary-blue: #007bff;
    --accent-gold: #ffc107;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --card-bg: #2a2a2a;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    --border-color: #404040;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

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;
    }
}

/* Top bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.top-bar-btn {
    background-color: var(--accent-gold);
    color: #000;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-bar-btn:hover {
    background-color: #e0a800;
    transform: translateY(-1px);
    color: #000;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 80px 0;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.price-section {
    margin-bottom: 32px;
}

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

.free-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-left: 16px;
}

.today-only {
    background-color: #dc3545;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 12px;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    border: none;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: white;
}

.btn-ghost {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-ghost:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-1px);
}

.trust-list {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 24px;
}

.trust-list span {
    margin: 0 8px;
}

/* Ebook cover mockup */
.ebook-cover {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.book-3d {
    width: 280px;
    height: 350px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(2deg);
    transition: transform 0.3s ease;
}

.book-3d:hover {
    transform: rotateY(-10deg) rotateX(5deg) scale(1.05);
}

.book-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
}

.book-spine {
    position: absolute;
    right: -12px;
    top: 0;
    width: 12px;
    height: 100%;
    background: linear-gradient(to bottom, #003d7a, #002451);
    transform: rotateY(90deg);
    transform-origin: left center;
    border-radius: 0 8px 8px 0;
}

.book-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.3;
}

.book-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Social proof */
.social-proof {
    background-color: var(--card-bg);
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.badge {
    background-color: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 8px;
}

/* Problem section */
.problem-section {
    background: linear-gradient(135deg, var(--darker-bg), #1f1f1f);
    padding: 80px 0;
}

.problem-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.problem-card h2 {
    color: var(--accent-gold);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.problem-list {
    list-style: none;
    padding: 0;
}

.problem-list li {
    font-size: 1.125rem;
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
}

.problem-list li::before {
    content: "❌";
    position: absolute;
    left: 0;
    top: 0;
}

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

.benefit-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-blue);
}

/* Author section */
.author-section {
    background-color: var(--card-bg);
    padding: 60px 0;
}

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

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.accordion-button {
    background-color: var(--card-bg);
    color: var(--text-light);
    border: none;
    font-weight: 500;
}

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

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

.accordion-body {
    background-color: var(--card-bg);
    color: var(--text-muted);
}

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

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}

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

footer a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 16px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-blue);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .problem-card,
    .benefits-section,
    .final-cta {
        padding: 60px 0;
    }
    
    .problem-card {
        padding: 32px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
}