/* AdFlex Network — landing */
:root {
  --bg: #0b0e14;
  --bg-soft: #10141d;
  --card: #151a26;
  --card-hover: #1a2130;
  --border: rgba(255,255,255,.08);
  --text: #eef1f6;
  --muted: #98a2b3;
  --accent: #22c55e;
  --accent-2: #14b8a6;
  --accent-dark: #16a34a;
  --gradient: linear-gradient(135deg, #22c55e 0%, #14b8a6 100%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }

/* Background blobs */
.bg-blob { position: fixed; border-radius: 50%; filter: blur(120px); opacity: .14; z-index: 0; pointer-events: none; }
.bg-blob-1 { width: 480px; height: 480px; background: #22c55e; top: -120px; right: -100px; }
.bg-blob-2 { width: 420px; height: 420px; background: #14b8a6; bottom: -140px; left: -120px; }
.bg-blob-3 { width: 300px; height: 300px; background: #22c55e; top: 40%; left: 45%; opacity: .07; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px); background: rgba(11,14,20,.75); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.logo-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--gradient); color: #fff; font-size: 12px; }
.logo-accent { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo-footer { font-size: 15px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { background: transparent; border: 1px solid var(--border); color: var(--muted); border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 13px; cursor: pointer; transition: all .2s; }
.lang-toggle:hover { color: var(--text); border-color: var(--accent); }
@media (max-width: 720px) { .nav { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; text-decoration: none; border-radius: 12px; cursor: pointer; transition: all .2s; border: none; font-family: inherit; }
.btn-primary { background: var(--gradient); color: #fff; padding: 10px 20px; box-shadow: 0 4px 20px rgba(34,197,94,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(34,197,94,.35); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); padding: 10px 20px; }
.btn-outline:hover { border-color: var(--accent); background: rgba(34,197,94,.06); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-glow { box-shadow: 0 0 40px rgba(34,197,94,.4); }

/* Hero */
.hero { position: relative; z-index: 1; padding: 100px 0 80px; text-align: center; }
.hero-badge { display: inline-block; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25); color: var(--accent); padding: 7px 16px; border-radius: 100px; font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.hero-title { font-size: clamp(38px, 7vw, 68px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 20px; display: flex; flex-direction: column; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: clamp(16px, 2.4vw, 19px); color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px 32px; min-width: 160px; }
.stat-value { font-size: 28px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Sections */
.section { position: relative; z-index: 1; padding: 90px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; font-size: clamp(28px, 4.4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--muted); font-size: 17px; margin-bottom: 52px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 30px 26px; transition: all .25s; }
.feature-card:hover { background: var(--card-hover); transform: translateY(-4px); border-color: rgba(34,197,94,.25); }
.feature-icon { font-size: 34px; margin-bottom: 16px; }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 20px; flex-wrap: wrap; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 32px 26px; width: 280px; text-align: center; }
.step-number { width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 14px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; color: #fff; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step-arrow { display: flex; align-items: center; font-size: 26px; color: var(--accent); }
@media (max-width: 1000px) { .step-arrow { display: none; } }
.how-cta { text-align: center; margin-top: 48px; }

/* FAQ */
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 20px 24px; font-weight: 600; font-size: 16.5px; cursor: pointer; position: relative; padding-right: 56px; }
.faq-q::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); transition: transform .25s; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner, .faq-a { padding: 0 24px; }
.faq-item.open .faq-a { padding: 0 24px 20px; }

/* CTA */
.cta { position: relative; z-index: 1; text-align: center; padding: 100px 0; background: radial-gradient(ellipse at center, rgba(34,197,94,.08) 0%, transparent 70%); }
.cta h2 { font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 32px; }

/* Footer */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); background: var(--bg-soft); margin-top: auto; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding: 28px 20px; gap: 16px; flex-wrap: wrap; }
.footer-left p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.footer-right { display: flex; gap: 24px; }
.footer-right a { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.footer-right a:hover { color: var(--accent); }
