/* LeadFlux AI — Marketing Site CSS */
:root {
  --blue: #1A4FA0;
  --blue-dark: #0D2B5E;
  --blue-light: #3B7DD8;
  --blue-pale: #EBF2FF;
  --green: #1A7F5A;
  --amber: #B45309;
  --bg: #060C17;
  --bg2: #0D1520;
  --surface: #121C2E;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #E6EDF3;
  --text2: #8B949E;
  --text-muted: #6E7681;
  --radius: 10px;
  --radius-lg: 16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-light); text-decoration: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-light); margin-bottom: 14px; }
.section-h { font-family: 'Syne', sans-serif; font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.section-sub { font-size: 17px; color: var(--text2); max-width: 640px; margin-bottom: 48px; line-height: 1.7; }
em { font-style: normal; color: var(--blue-light); }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(6,12,23,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 32px; }
.nav-logo { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; color: var(--text); flex-shrink: 0; }
.nav-logo span { color: var(--blue-light); }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a { font-size: 14px; color: var(--text2); font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.btn-nav-ghost { font-size: 14px; color: var(--text2); font-weight: 500; padding: 7px 14px; border-radius: var(--radius); border: 1px solid var(--border2); transition: background 0.15s; }
.btn-nav-ghost:hover { background: var(--surface); color: var(--text); }
.btn-nav { font-size: 14px; background: var(--blue); color: #fff; font-weight: 600; padding: 8px 18px; border-radius: var(--radius); transition: background 0.15s; }
.btn-nav:hover { background: var(--blue-light); color: #fff; }

/* HERO */
.hero { padding: 80px 0 40px; position: relative; overflow: hidden; text-align: center; }
.hero-glow { position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; background: radial-gradient(ellipse at center, rgba(26,79,160,0.3) 0%, transparent 70%); pointer-events: none; }
.hero-badge { display: inline-block; background: rgba(26,79,160,0.2); border: 1px solid rgba(59,125,216,0.4); color: var(--blue-light); font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 20px; margin-bottom: 28px; }
.hero-headline { font-family: 'Syne', sans-serif; font-size: clamp(32px, 5vw, 60px); font-weight: 800; line-height: 1.1; margin-bottom: 22px; max-width: 860px; margin-left: auto; margin-right: auto; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--text2); max-width: 620px; margin: 0 auto 36px; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.btn-hero { display: inline-block; background: var(--blue); color: #fff; font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700; padding: 15px 32px; border-radius: var(--radius); transition: background 0.2s, transform 0.1s; cursor: pointer; border: none; }
.btn-hero:hover { background: var(--blue-light); color: #fff; }
.btn-hero:active { transform: scale(0.98); }
.btn-hero-ghost { display: inline-block; background: transparent; color: var(--text2); font-size: 15px; font-weight: 500; padding: 14px 24px; border-radius: var(--radius); border: 1px solid var(--border2); transition: background 0.15s, color 0.15s; }
.btn-hero-ghost:hover { background: var(--surface); color: var(--text); }
.hero-proof { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.proof-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.proof-num { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 800; color: var(--text); }
.proof-label { font-size: 12px; color: var(--text-muted); }
.proof-div { color: var(--border2); font-size: 20px; }

/* MOCKUP */
.hero-mockup { max-width: 820px; margin: 0 auto; background: var(--bg2); border: 1px solid var(--border2); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.mockup-bar { background: var(--surface); padding: 10px 14px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--border); }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border2); }
.mockup-body { display: flex; }
.mockup-sidebar { width: 160px; border-right: 1px solid var(--border); padding: 16px 12px; flex-shrink: 0; }
.mock-logo { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 16px; padding: 0 4px; }
.mock-logo span { color: var(--blue-light); }
.mock-nav-item { padding: 7px 10px; border-radius: 6px; font-size: 12px; color: var(--text-muted); margin-bottom: 3px; cursor: default; }
.mock-nav-item.active { background: rgba(26,79,160,0.2); color: var(--blue-light); font-weight: 600; }
.mockup-main { flex: 1; padding: 16px; }
.mock-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }
.mock-stat { background: var(--surface); border-radius: 6px; padding: 10px; text-align: center; }
.mock-stat-val { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; color: var(--text); }
.mock-stat-label { font-size: 10px; color: var(--text-muted); }
.mock-card { background: var(--surface); border-radius: 8px; padding: 14px; }
.mock-card-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.mock-tag { display: inline-block; background: rgba(26,79,160,0.2); color: #7EB3FF; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 20px; margin: 0 4px 6px 0; }
.mock-pain { font-size: 11px; color: var(--text2); padding: 5px 8px; background: rgba(255,255,255,0.03); border-radius: 4px; margin-bottom: 4px; }

/* PROBLEM */
.problem-section { background: var(--bg2); }
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 48px; }
.problem-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; }
.problem-icon { font-size: 36px; margin-bottom: 14px; }
.problem-card h3 { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.problem-card p { font-size: 15px; color: var(--text2); line-height: 1.7; }
.problem-transition { display: flex; align-items: center; gap: 20px; }
.transition-line { flex: 1; height: 1px; background: var(--border2); }
.problem-transition p { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; text-align: center; color: var(--text); max-width: 560px; line-height: 1.4; flex-shrink: 0; }

/* MECHANISM */
.mechanism-section { text-align: center; }
.system-flow { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.flow-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 16px; text-align: center; width: 150px; }
.flow-num { font-size: 10px; font-weight: 700; color: var(--blue-light); letter-spacing: 1px; margin-bottom: 6px; }
.flow-icon { font-size: 28px; margin-bottom: 8px; }
.flow-name { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.flow-desc { font-size: 11px; color: var(--text-muted); }
.flow-arrow { font-size: 22px; color: var(--blue-light); font-weight: 700; }
.mechanism-why { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 40px; max-width: 720px; margin: 0 auto; text-align: left; }
.mechanism-why h3 { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.mechanism-why p { font-size: 15px; color: var(--text2); line-height: 1.7; }

/* FEATURES */
.features-section { background: var(--bg2); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; }
.feature-icon-wrap { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 14px; }
.feature-credit { display: inline-block; font-size: 11px; font-weight: 700; background: rgba(26,79,160,0.2); color: var(--blue-light); padding: 3px 10px; border-radius: 20px; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 40px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; }
.featured-testimonial { border-color: var(--blue-light); }
.testi-stars { color: #F59E0B; font-size: 16px; margin-bottom: 14px; }
.testi-quote { font-size: 14px; color: var(--text2); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testi-role { font-size: 12px; color: var(--text-muted); }
.metrics-strip { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; padding: 24px; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.metric { font-size: 15px; color: var(--text2); }
.metric span { font-family: 'Syne', sans-serif; font-weight: 800; color: var(--text); }
.metric-div { color: var(--border2); }

/* PRICING */
.pricing-section { background: var(--bg2); text-align: center; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 900px; margin: 0 auto 16px; text-align: left; }
.price-card-site { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; position: relative; }
.price-card-site.popular { border-color: var(--blue-light); }
.popular-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 14px; border-radius: 20px; white-space: nowrap; }
.price-name-site { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.price-amount-site { font-size: 32px; font-weight: 800; color: var(--blue-light); margin-bottom: 22px; }
.price-amount-site span { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.price-list { list-style: none; margin-bottom: 24px; }
.price-list li { font-size: 14px; color: var(--text2); padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.price-list li::before { content: '✓'; color: #22C55E; font-weight: 700; }
.btn-price-primary { width: 100%; background: var(--blue); color: #fff; border: none; padding: 13px 20px; border-radius: var(--radius); font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.btn-price-primary:hover { background: var(--blue-light); }
.btn-price-outline { width: 100%; background: transparent; color: var(--text); border: 1px solid var(--border2); padding: 12px 20px; border-radius: var(--radius); font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.15s; }
.btn-price-outline:hover { background: rgba(255,255,255,0.05); }
.pricing-guarantee { font-size: 13px; color: var(--text-muted); margin-top: 16px; margin-bottom: 56px; }
.agency-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; text-align: left; max-width: 900px; margin: 0 auto; }
.agency-block h3 { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.agency-block > p { font-size: 15px; color: var(--text2); margin-bottom: 28px; }
.agency-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.agency-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.agency-name { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.agency-price { font-size: 24px; font-weight: 800; color: var(--blue-light); margin-bottom: 10px; }
.agency-card p { font-size: 13px; color: var(--text2); margin-bottom: 18px; }

/* FAQ */
.faq-section { background: var(--bg2); }
.faq-container { max-width: 720px; }
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; background: none; border: none; padding: 20px 24px; text-align: left; font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.15s; }
.faq-q:hover { background: var(--surface); }
.faq-icon { font-size: 20px; color: var(--blue-light); font-weight: 400; flex-shrink: 0; }
.faq-a { padding: 0 24px 20px; font-size: 14px; color: var(--text2); line-height: 1.7; display: none; }
.faq-item.open .faq-a { display: block; }

/* FINAL CTA */
.final-cta-section { text-align: center; background: linear-gradient(135deg, var(--blue-dark), #0a2040); }
.final-cta-h { font-family: 'Syne', sans-serif; font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.final-cta-sub { font-size: 17px; color: rgba(255,255,255,0.7); max-width: 540px; margin: 0 auto 32px; }

/* FOOTER */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 32px 24px; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-logo { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; }
.footer-logo span { color: var(--blue-light); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-copy a { color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .problem-grid, .features-grid, .testimonials-grid, .pricing-grid, .agency-cards { grid-template-columns: 1fr; }
  .system-flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .nav-links { display: none; }
  .hero-proof { gap: 16px; }
  .proof-div { display: none; }
}

/* Logo link styling */
a.nav-logo {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.nav-logo span {
  color: var(--accent, #3B7DD8);
}
