/* babianfox.com — black/white minimalist developer style (resend.com inspired) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #1a1a1a;
  --border: #222222;
  --text: #ffffff;
  --text2: #a0a0a0;
  --text3: #666666;
  --gold: #f0b90b;
  --gold2: #d4a308;
  --radius: 8px;
  --max: 1100px;
  --font: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo svg { width: 140px; height: 35px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--text2);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: #555; color: var(--text); }
.btn-primary {
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s, transform .1s;
}
.btn-primary:hover { background: #e0e0e0; }
.btn-primary:active { transform: scale(0.98); }

/* ── HERO ── */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(240,185,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px 4px 8px;
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 32px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero-h1 .hl { color: var(--gold); }
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn-hero-primary {
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s, transform .1s;
}
.btn-hero-primary:hover { background: #e8e8e8; }
.btn-hero-primary:active { transform: scale(0.98); }
.btn-hero-secondary {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color .2s, color .2s;
}
.btn-hero-secondary:hover { border-color: #555; color: var(--text); }

.hero-code {
  max-width: 580px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}
.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }
.code-body {
  padding: 20px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: #c9d1d9;
  overflow-x: auto;
}
.code-body .kw { color: #ff7b72; }
.code-body .fn { color: #d2a8ff; }
.code-body .str { color: #a5d6ff; }
.code-body .cm { color: #6e7781; }
.code-body .num { color: #f0b90b; }

/* ── TRUSTED BY (logo strip) ── */
.trusted {
  padding: 50px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.trusted-label {
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 48px;
}
.trusted-logos .tl-item {
  font-size: 15px;
  font-weight: 600;
  color: var(--text3);
  letter-spacing: 0.05em;
  transition: color .2s;
}
.trusted-logos .tl-item:hover { color: var(--text2); }

/* ── SECTION COMMON ── */
.section { padding: 90px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 540px;
  line-height: 1.7;
}

/* ── FEATURES SPLIT ── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-text .section-sub { margin-bottom: 32px; }
.feature-visual {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

/* Download cards in feature-visual */
.dl-cards { display: flex; flex-direction: column; gap: 12px; }
.dl-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: border-color .2s;
}
.dl-card:hover { border-color: #444; }
.dl-card-icon { font-size: 24px; flex-shrink: 0; }
.dl-card-info { flex: 1; }
.dl-card-info strong { display: block; font-size: 14px; margin-bottom: 2px; }
.dl-card-info span { font-size: 12px; color: var(--text3); }
.dl-card-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text2);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.dl-card-btn:hover { background: var(--bg3); border-color: #555; color: var(--text); }

/* stats mini */
.stat-row { display: flex; gap: 24px; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 1.8rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.stat-num .g { color: var(--gold); }
.stat-label { font-size: 12px; color: var(--text3); }

/* ── WHY CHOOSE ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 60px;
}
.why-item {
  background: var(--bg);
  padding: 32px 28px;
  transition: background .2s;
}
.why-item:hover { background: var(--bg2); }
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.why-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.why-item p { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* ── STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.step-card {
  position: relative;
  padding: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: var(--mono);
}
.step-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* ── STATS BAND ── */
.stats-band {
  padding: 70px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.band-stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}
.band-stat-num .g { color: var(--gold); }
.band-stat-label { font-size: 14px; color: var(--text2); }

/* ── TESTIMONIAL ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.testi-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.testi-stars { color: var(--gold); font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.testi-info strong { display: block; font-size: 13px; }
.testi-info span { font-size: 12px; color: var(--text3); }

/* ── CTA BANNER ── */
.cta-banner {
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(240,185,11,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner p {
  font-size: 1rem;
  color: var(--text2);
  margin-bottom: 36px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-banner-primary {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s, transform .1s;
}
.btn-banner-primary:hover { background: var(--gold2); }
.btn-banner-primary:active { transform: scale(0.98); }
.btn-banner-secondary {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color .2s, color .2s;
}
.btn-banner-secondary:hover { border-color: #555; color: var(--text); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 24px 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text3);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 240px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--text2);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--text3); }
.footer-legal { font-size: 13px; color: var(--text3); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse { direction: ltr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-band-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 70px 20px 60px; }
  .section { padding: 60px 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-band-inner { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; max-width: 320px; }
  .btn-banner-primary, .btn-banner-secondary { width: 100%; max-width: 320px; }
  .stat-row { gap: 16px; }
}
