/* The Number Trader - Landing Page Styles */

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #2563eb;      /* Blue */
    --primary-dark: #1e40af;
    --secondary: #10b981;    /* Green */
    --accent: #f59e0b;       /* Amber */
    --danger: #ef4444;       /* Red */
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border: #e5e7eb;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Courier New', monospace;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Breakpoints */
    --mobile: 480px;
    --tablet: 768px;
    --desktop: 1024px;
    --wide: 1280px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

/* ========== HERO SECTION ========== */
#hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0 var(--spacing-xl);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.headline {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.subheadline {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.cta-box {
    background: white;
    color: var(--text-dark);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.no-cc {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

/* ========== FORM STYLES ========== */
form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

input[type="email"] {
    padding: var(--spacing-sm);
    font-size: 1.1rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    transition: border-color 0.3s;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: var(--spacing-sm);
}

/* ========== WHAT YOU'LL LEARN ========== */
#learn {
    background: var(--bg-light);
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.chapter-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.chapter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.chapter-card.bonus {
    border: 3px solid var(--accent);
    background: linear-gradient(to bottom right, #fffbeb, white);
}

.chapter-card h3 {
    color: var(--primary);
    border-bottom: 2px solid var(--border);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.benefits {
    list-style: none;
    margin-top: var(--spacing-sm);
}

.benefits li {
    padding: var(--spacing-xs) 0;
    color: var(--text-medium);
}

/* ========== REAL PLATFORMS ========== */
#real-platforms {
    background: white;
}

.real-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-medium);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.platform-category {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.platform-category h3 {
    color: var(--secondary);
    margin-bottom: var(--spacing-sm);
}

.platform-category ul {
    list-style: none;
}

.platform-category li {
    padding: var(--spacing-xs) 0;
    color: var(--text-medium);
}

.research-note {
    text-align: center;
    padding: var(--spacing-md);
    background: #ecfdf5;
    border-left: 4px solid var(--secondary);
    border-radius: 4px;
    font-size: 1.1rem;
}

/* ========== PERFECT FOR ========== */
#perfect-for {
    background: var(--bg-light);
}

.perfect-for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.for-column {
    padding: var(--spacing-md);
    border-radius: 8px;
}

.for-column.yes {
    background: #ecfdf5;
    border: 2px solid var(--secondary);
}

.for-column.no {
    background: #fef2f2;
    border: 2px solid var(--danger);
}

.for-column h3 {
    margin-bottom: var(--spacing-md);
}

.for-column.yes h3 {
    color: var(--secondary);
}

.for-column.no h3 {
    color: var(--danger);
}

.for-column ul {
    list-style: none;
}

.for-column li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
}

.for-column li::before {
    position: absolute;
    left: 0;
}

.for-column.yes li::before {
    content: "✓";
    color: var(--secondary);
    font-weight: bold;
}

.for-column.no li::before {
    content: "✗";
    color: var(--danger);
    font-weight: bold;
}

/* ========== TESTIMONIALS ========== */
#testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.quote {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
}

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

/* ========== FAQ ========== */
#faq {
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.faq-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-medium);
}

/* ========== FINAL CTA ========== */
#final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-headline {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.cta-subtext {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

#final-cta form {
    max-width: 500px;
    margin: 0 auto var(--spacing-md);
}

#final-cta input[type="email"] {
    background: white;
}

#final-cta .cta-button {
    background: var(--accent);
}

#final-cta .cta-button:hover {
    background: #d97706;
}

.what-happens {
    background: rgba(255,255,255,0.1);
    padding: var(--spacing-md);
    border-radius: 8px;
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
    backdrop-filter: blur(10px);
}

.what-happens h3 {
    margin-bottom: var(--spacing-md);
}

.what-happens ol {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.what-happens li {
    padding: var(--spacing-xs) 0;
    font-size: 1.05rem;
}

/* ========== FOOTER ========== */
footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .headline {
        font-size: 2.5rem;
    }

    .subheadline {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .chapters-grid,
    .platforms-grid,
    .perfect-for-grid,
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: var(--spacing-md) 0;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 2rem;
    }

    .subheadline {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .cta-box {
        padding: var(--spacing-md);
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chapter-card,
.platform-category,
.testimonial,
.faq-item {
    animation: fadeIn 0.6s ease-out;
}

/* ========== UTILITIES ========== */
.text-center {
    text-align: center;
}

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
