/* styles.css */
:root {
    --indigo: #4f46e5;
    --purple: #7c3aed;
    --violet: #a855f7;
    --pink: #ec4899;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --light: #f8fafc;
    --dark: #1e293b;
    --radius: 1rem;
    --shadow: 0 20px 40px rgba(79, 70, 229, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: var(--light); color: var(--dark); line-height: 1.7; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.wave-header { position: relative; background: white; overflow: hidden; }
.top-nav { padding: 1rem 0; border-bottom: 1px solid #e2e8f0; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.brand-logo h2 { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: 'Space Grotesk', sans-serif; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--indigo); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 25px; height: 3px; background: var(--indigo); border-radius: 3px; }

.hero-wave { position: relative; height: 80vh; min-height: 500px; display: flex; align-items: center; }
.hero-wave svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 1rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.25rem; margin-bottom: 2rem; color: #64748b; }
.primary-btn { background: var(--gradient); color: white; padding: 1rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; box-shadow: var(--shadow); transition: 0.3s; }
.primary-btn:hover { transform: translateY(-3px); box-shadow: 0 25px 50px rgba(99, 102, 241, 0.3); }
.large { padding: 1.5rem 3rem; font-size: 1.1rem; }

/* Sections */
.intro-block, .formats-section, .strategies-block, .monetize-section, .platforms-block, .best-practices, .faq-section, .conclusion-cta { padding: 5rem 0; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Intro */
.intro-flex { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: center; }
.intro-text blockquote { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); font-style: italic; color: var(--indigo); border-left: 5px solid var(--purple); }
.intro-stats { display: flex; flex-direction: column; gap: 1.5rem; }
.stat-card { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.stat-card h3 { font-size: 3rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.purple { border-top: 5px solid var(--purple); }
.indigo { border-top: 5px solid var(--indigo); }
.violet { border-top: 5px solid var(--violet); }

/* Formats */
.formats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin: 3rem 0; }
.format-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; }
.format-card:hover { transform: translateY(-10px); }
.card-header { padding: 1.5rem; color: white; position: relative; }
.card-header h3 { margin: 0; }
.badge { position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,0.3); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.8rem; }
.rewarded { background: linear-gradient(135deg, #10b981, #059669); }
.interstitial { background: linear-gradient(135deg, #f59e0b, #d97706); }
.native { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.banner { background: linear-gradient(135deg, #ef4444, #dc2626); }
.format-card ul { padding: 1.5rem; list-style: none; }
.format-card li { padding: 0.5rem 0; position: relative; }
.format-card li:before { content: "✓"; color: var(--indigo); margin-right: 0.5rem; font-weight: bold; }

.comparison-table table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #e2e8f0; }
.comparison-table th { background: var(--gradient); color: white; }

/* Strategies */
.strategy-timeline { position: relative; margin: 4rem 0; }
.strategy-timeline::before { content: ''; position: absolute; left: 50%; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--indigo), var(--purple)); border-radius: 2px; }
.step { display: flex; margin: 3rem 0; align-items: center; }
.step:nth-child(even) { flex-direction: row-reverse; }
.step-number { background: var(--gradient); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; flex-shrink: 0; z-index: 1; }
.step-content { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); width: 45%; margin: 0 2rem; }

.case-study-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.case-study { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; border-top: 5px solid var(--pink); }

/* Monetize */
.monetize-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin: 3rem 0; }
.step-card { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.step-card .icon { font-size: 3rem; margin-bottom: 1rem; }
.revenue-calculator { background: white; padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; margin: 3rem 0; }
.revenue-calculator input { padding: 1rem; margin: 1rem; width: 80%; max-width: 300px; border: 1px solid #cbd5e1; border-radius: 0.5rem; }
.revenue-calculator button { background: var(--gradient); color: white; border: none; padding: 1rem 2rem; border-radius: 50px; cursor: pointer; }

/* Platforms */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.platform-card { background: white; padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; border-top: 6px solid var(--indigo); }
.platform-card a { color: var(--indigo); font-weight: 600; }

/* Best Practices */
.practice-checklist { background: white; padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 800px; margin: 3rem auto; }
.practice-checklist li { font-size: 1.1rem; margin: 1rem 0; }

/* FAQ */
.faq-accordion details { background: white; margin: 1rem 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.faq-accordion summary { padding: 1.5rem; cursor: pointer; font-weight: 600; background: var(--gradient); color: white; border-radius: var(--radius); }
.faq-accordion p { padding: 1.5rem; }

/* Footer */
.site-footer { background: var(--dark); color: white; text-align: center; padding: 3rem 0; }

/* Responsive */
@media (max-width: 992px) {
    .intro-flex { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.8rem; }
    .step { flex-direction: column !important; }
    .step-content { width: 90%; margin: 2rem 0; }
    .strategy-timeline::before { left: 30px; }
    .step-number { position: absolute; left: 10px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: white; padding: 1rem; box-shadow: var(--shadow); }
    .nav-links.active { display: flex; }
    .nav-toggle { display: flex; }
    .hero-wave { height: 70vh; }
}