:root {
    --primary-blue: #2563eb;
    --accent-gold: #f59e0b;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --success-green: #10b981;
    --warning-red: #ef4444;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    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;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.display-1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
}

.display-4 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
}

/* Top notification bar */
.top-notification {
    background: linear-gradient(90deg, var(--warning-red), #dc2626);
    color: white;
    text-align: center;
    padding: 12px 0;
    font-weight: 600;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.notification-text {
    flex: 1;
}

.notification-btn {
    background-color: white;
    color: var(--warning-red);
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.notification-btn:hover {
    background-color: #f1f5f9;
    transform: translateY(-1px);
    color: var(--warning-red);
}

/* Header */
.main-header {
    background-color: var(--darker-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.header-cta {
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    color: white;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: linear-gradient(135deg, var(--success-green), #059669);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    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: 40px;
    line-height: 1.5;
}

.price-container {
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.price-container::before {
    content: '🔥 LIMITED TIME';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--warning-red);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

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

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

.savings-text {
    color: var(--accent-gold);
    font-weight: 600;
    margin-top: 8px;
}

.cta-buttons {
    margin-bottom: 32px;
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-secondary-outline {
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-left: 16px;
}

.btn-secondary-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-muted);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item::before {
    content: '✓';
    color: var(--success-green);
    font-weight: bold;
}

/* Book mockup */
.book-mockup {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.book-3d {
    width: 320px;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-20deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

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

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 32px;
    color: white;
}

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

.book-title-cover {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.book-subtitle-cover {
    font-size: 1rem;
    opacity: 0.9;
    text-align: center;
    line-height: 1.4;
}

.book-author {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 16px;
}

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

.proof-badge {
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin: 8px;
    display: inline-block;
}

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

.problem-container {
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

.problem-container::before {
    content: '⚠️';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--warning-red);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

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

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

.problem-list li {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--darker-bg);
    border-radius: 12px;
    border-left: 4px solid var(--warning-red);
    position: relative;
}

.problem-list li::before {
    content: "❌";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--warning-red);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

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

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

.solution-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.solution-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.benefit-card {
    background: linear-gradient(135deg, var(--card-bg), #334155);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-blue);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    display: block;
}

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

.benefit-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Author section */
.author-section {
    background-color: var(--card-bg);
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.author-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.author-title {
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--accent-gold);
}

.author-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* FAQ section */
.faq-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

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

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

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
}

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

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    color: white;
    box-shadow: none;
}

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

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

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

/* Final CTA section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 2;
}

.final-cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
}

.final-cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.final-cta-btn {
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    color: var(--darker-bg);
    padding: 20px 48px;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.final-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
    color: var(--darker-bg);
}

.security-text {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

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

.footer-content {
    text-align: center;
}

.footer-links {
    margin-bottom: 32px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

/* Responsive design */
@media (max-width: 768px) {
    .top-notification .container {
        flex-direction: column;
        gap: 12px;
    }
    
    .notification-btn {
        padding: 10px 24px;
    }
    
    .hero-section {
        padding: 60px 0 80px;
    }
    
    .display-1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .price-container {
        padding: 24px;
    }
    
    .original-price {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 2.5rem;
    }
    
    .btn-secondary-outline {
        margin-left: 0;
        margin-top: 16px;
        display: block;
    }
    
    .problem-container {
        padding: 40px 24px;
    }
    
    .problem-title {
        font-size: 2rem;
    }
    
    .problem-list li {
        font-size: 1.1rem;
        padding: 16px;
    }
    
    .solution-title {
        font-size: 2.2rem;
    }
    
    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .benefit-card {
        padding: 32px 24px;
    }
    
    .final-cta {
        padding: 80px 0;
    }
    
    .final-cta-title {
        font-size: 2.2rem;
    }
    
    .final-cta-btn {
        padding: 18px 36px;
        font-size: 1.2rem;
    }
    
    .book-mockup {
        height: 400px;
        margin-top: 40px;
    }
    
    .book-3d {
        width: 280px;
        height: 360px;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-link {
        margin: 0;
    }
}

/* 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 animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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