/* biababyte.com — cyan-blue CSS-framework landing style */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cyan-50: #ecfeff;
  --cyan-100: #cffafe;
  --cyan-200: #a5f3fc;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-900: #0c4a6e;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', ui-monospace, monospace;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-glow: 0 0 0 1px rgba(14,165,233,.25), 0 8px 32px rgba(14,165,233,.15);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--slate-950);
  color: var(--slate-300);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Typography ────────────────────────────────── */
.t-display {
  font-size: clamp(2.2rem, 5vw + .5rem, 4rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.03em;
  color: var(--slate-50);
}
.t-display span { color: var(--sky-400); }

.t-hero-sub {
  font-size: clamp(1rem, 1.5vw + .4rem, 1.25rem);
  color: var(--slate-400);
  line-height: 1.7;
}

.t-section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky-500);
}

.t-section-title {
  font-size: clamp(1.5rem, 3vw + .3rem, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--slate-50);
}

.t-body { font-size: 1rem; line-height: 1.7; color: var(--slate-400); }

/* ── Layout ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Navigation ────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2,6,23,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14,165,233,.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--slate-50);
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon svg { width: 22px; height: 22px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-400);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--slate-50); background: rgba(255,255,255,.05); }

.nav-cta-area { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  color: #fff;
  box-shadow: 0 0 0 0 rgba(14,165,233,0);
}
.btn-primary:hover { box-shadow: 0 4px 20px rgba(14,165,233,.45); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--slate-300);
  border: 1px solid rgba(255,255,255,.12);
}
.btn-ghost:hover { border-color: var(--sky-500); color: var(--sky-400); }

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-xl {
  padding: 18px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black, transparent);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(14,165,233,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(14,165,233,.12);
  border: 1px solid rgba(14,165,233,.25);
  font-size: .8rem;
  font-weight: 600;
  color: var(--sky-400);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sky-400);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-title { margin-bottom: 20px; }
.hero-desc { margin-bottom: 36px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.stat-item { }
.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-50);
  letter-spacing: -.02em;
}
.stat-num span { color: var(--sky-400); }
.stat-label { font-size: .8rem; color: var(--slate-500); margin-top: 2px; }

/* Hero visual: code card */
.hero-visual { position: relative; }

.code-card {
  background: var(--slate-900);
  border: 1px solid rgba(14,165,233,.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(14,165,233,.08);
}

.code-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--slate-800);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.dot-red { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.dot-yellow { width: 12px; height: 12px; border-radius: 50%; background: #ffbd2e; }
.dot-green { width: 12px; height: 12px; border-radius: 50%; background: #28ca41; }

.code-card-filename {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--slate-400);
  margin-left: 8px;
}

.code-body {
  padding: 24px;
  font-family: var(--mono);
  font-size: .82rem;
  line-height: 1.8;
}

.code-line { display: flex; gap: 16px; }
.ln { color: var(--slate-700); user-select: none; min-width: 20px; text-align: right; }
.kw { color: #7dd3fc; }
.fn { color: #a5b4fc; }
.str { color: #86efac; }
.op { color: #f9a8d4; }
.cm { color: var(--slate-600); font-style: italic; }
.hl { background: rgba(14,165,233,.08); display: block; margin: 0 -24px; padding: 0 24px; }

/* Platform tabs */
.platform-tabs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.platform-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  color: var(--slate-400);
  transition: all .2s;
}
.platform-tab.active, .platform-tab:hover {
  background: rgba(14,165,233,.1);
  border-color: rgba(14,165,233,.3);
  color: var(--sky-400);
}
.platform-tab svg { width: 18px; height: 18px; }

/* ── Logos band ──────────────────────────────── */
.logos-band {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.logos-band-label {
  text-align: center;
  font-size: .8rem;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 24px;
}
.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-600);
  font-size: .875rem;
  font-weight: 600;
  transition: color .2s;
}
.logo-chip:hover { color: var(--slate-400); }
.logo-chip svg { width: 20px; height: 20px; opacity: .6; }

/* ── Features Grid ─────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--slate-900);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .25s, box-shadow .25s;
}
.feature-card:hover {
  border-color: rgba(14,165,233,.3);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14,165,233,.15), rgba(8,145,178,.1));
  border: 1px solid rgba(14,165,233,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--sky-400); }

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-100);
  margin-bottom: 10px;
}
.feature-desc { font-size: .9rem; color: var(--slate-500); line-height: 1.65; }

/* ── Split section ─────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-content { }

.split-visual {
  position: relative;
}

.phone-mockup {
  width: 280px;
  margin: 0 auto;
  background: var(--slate-900);
  border: 1px solid rgba(14,165,233,.2);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  padding: 12px;
}

.phone-screen {
  background: var(--slate-800);
  border-radius: 28px;
  padding: 20px 16px;
  min-height: 480px;
}

.phone-notch {
  width: 80px;
  height: 6px;
  background: var(--slate-600);
  border-radius: 3px;
  margin: 0 auto 20px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.phone-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--slate-100);
}

.phone-badge {
  font-size: .7rem;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(34,211,238,.15);
  color: var(--cyan-400);
}

.ticker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.ticker-name { font-size: .82rem; font-weight: 600; color: var(--slate-200); }
.ticker-price { font-size: .82rem; font-weight: 600; color: var(--slate-200); }
.ticker-change { font-size: .75rem; font-weight: 600; }
.ticker-change.up { color: #34d399; }
.ticker-change.dn { color: #f87171; }

.split-steps { list-style: none; display: flex; flex-direction: column; gap: 24px; }

.step-item { display: flex; gap: 16px; }
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-text h4 { font-size: 1rem; font-weight: 700; color: var(--slate-100); margin-bottom: 4px; }
.step-text p { font-size: .875rem; color: var(--slate-500); }

/* ── Stats banner ─────────────────────────────── */
.stats-banner {
  background: linear-gradient(135deg, rgba(14,165,233,.08), rgba(8,145,178,.05));
  border-top: 1px solid rgba(14,165,233,.15);
  border-bottom: 1px solid rgba(14,165,233,.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats-item {
  padding: 48px 32px;
  border-right: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.stats-item:last-child { border-right: none; }
.stats-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-50);
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.stats-num em { color: var(--sky-400); font-style: normal; }
.stats-desc { font-size: .875rem; color: var(--slate-500); }

/* ── Platform download ─────────────────────────── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.dl-card {
  background: var(--slate-900);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color .25s, transform .2s;
}
.dl-card:hover { border-color: rgba(14,165,233,.35); transform: translateY(-2px); }

.dl-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(14,165,233,.1);
  border: 1px solid rgba(14,165,233,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dl-icon svg { width: 28px; height: 28px; color: var(--sky-400); }

.dl-info h4 { font-size: 1rem; font-weight: 700; color: var(--slate-100); margin-bottom: 4px; }
.dl-info p { font-size: .8rem; color: var(--slate-500); }

/* ── CTA section ──────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-700), var(--sky-900));
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(14,165,233,.25), transparent),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(6,182,212,.15), transparent);
}
.cta-section .container { position: relative; }

.cta-inner {
  text-align: center;
  padding: 96px 0;
  max-width: 680px;
  margin: 0 auto;
}

.cta-section .t-display { color: #fff; }
.cta-section .t-hero-sub { color: rgba(255,255,255,.75); }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

.btn-white {
  background: #fff;
  color: var(--sky-700);
  font-weight: 700;
}
.btn-white:hover { box-shadow: 0 8px 30px rgba(0,0,0,.2); transform: translateY(-1px); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── FAQ ──────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

details.faq-item {
  background: var(--slate-900);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s;
}
details.faq-item[open] { border-color: rgba(14,165,233,.3); }

summary.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-100);
  cursor: pointer;
  list-style: none;
  gap: 16px;
}
summary.faq-q::-webkit-details-marker { display: none; }

.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(14,165,233,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .2s, background .2s;
}
details[open] .faq-icon { transform: rotate(45deg); background: rgba(14,165,233,.2); }
.faq-icon svg { width: 14px; height: 14px; color: var(--sky-400); }

.faq-a {
  padding: 0 28px 22px;
  font-size: .9rem;
  color: var(--slate-400);
  line-height: 1.7;
}

/* ── Footer ──────────────────────────────────── */
.footer {
  background: var(--slate-950);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 64px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate-50);
  margin-bottom: 16px;
}
.footer-logo-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-icon svg { width: 20px; height: 20px; }
.footer-desc { font-size: .875rem; color: var(--slate-500); line-height: 1.65; max-width: 280px; }

.footer-col h5 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--slate-300);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .875rem; color: var(--slate-500); transition: color .2s; }
.footer-col a:hover { color: var(--sky-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: .8rem; color: var(--slate-600); }
.footer-copy a { color: var(--slate-500); }
.footer-copy a:hover { color: var(--sky-400); }

.footer-legal { font-size: .78rem; color: var(--slate-600); max-width: 560px; line-height: 1.6; }

/* ── Utility ──────────────────────────────────── */
.text-center { text-align: center; }
.text-sky { color: var(--sky-400); }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; }
  .split-section.reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-item:nth-child(2) { border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .hero { padding: 72px 0 56px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .download-grid { grid-template-columns: 1fr; max-width: 400px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-inner { padding: 64px 0; }
  .hero-stats { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; }
}

@media (max-width: 390px) {
  .container { padding: 0 16px; }
  .t-display { font-size: 1.9rem; }
  .btn-xl { padding: 15px 22px; font-size: .95rem; }
  .hero-stats { gap: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .footer-top { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
}
