/* biabatech.com — nx.dev-inspired blue-cyan monorepo tool landing page */
:root {
  --bg: #0f1117;
  --bg2: #141720;
  --bg3: #1a1f2e;
  --surface: #1e2436;
  --surface2: #242a3d;
  --border: #2a3248;
  --cyan: #00c8ff;
  --cyan2: #06b6d4;
  --blue: #3b82f6;
  --blue2: #2563eb;
  --accent: #00d4e8;
  --text: #e8eaf0;
  --text2: #a8b2cc;
  --text3: #6b7592;
  --white: #ffffff;
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1200px;
  --font: 'Inter', 'SF Pro Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Grid Lines Background ─────────────────────────────────────────── */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,17,23,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  list-style: none;
}
.nav-links a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: var(--surface); }
.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-nav-outline {
  padding: 8px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text2);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-nav-outline:hover { border-color: var(--cyan2); color: var(--cyan); }
.btn-nav-primary {
  padding: 8px 20px;
  border-radius: var(--radius);
  border: none;
  background: linear-gradient(135deg, var(--cyan2) 0%, var(--blue) 100%);
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.btn-nav-primary:hover { opacity: .88; transform: translateY(-1px); }

/* ── HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(0,200,255,.12) 0%, rgba(59,130,246,.08) 45%, transparent 72%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(0,200,255,.3);
  background: rgba(0,200,255,.06);
  font-size: .8rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 span { color: var(--cyan); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text2);
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: var(--radius);
  border: none;
  background: linear-gradient(135deg, var(--cyan2) 0%, var(--blue) 100%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(0,200,255,.3);
  min-height: 52px;
}
.btn-primary:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,200,255,.4); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  min-height: 52px;
}
.btn-secondary:hover { border-color: var(--cyan2); background: rgba(0,200,255,.06); transform: translateY(-2px); }

/* Terminal/Code Visual */
.hero-visual {
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg2);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(0,200,255,.08);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28c840; }
.terminal-title { flex: 1; text-align: center; font-size: .75rem; color: var(--text3); }
.terminal-body {
  padding: 22px 24px;
  font-family: 'Fira Code', 'Cascadia Code', 'JetBrains Mono', monospace;
  font-size: .88rem;
  line-height: 1.75;
}
.t-prompt { color: var(--cyan); }
.t-cmd { color: var(--white); }
.t-comment { color: var(--text3); }
.t-ok { color: #28c840; }
.t-info { color: var(--blue); }
.t-arrow { color: var(--cyan2); }

/* ── STATS BAND ─────────────────────────────────────────────────────── */
.stats-band {
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 16px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: .8rem; color: var(--text3); font-weight: 500; }

/* ── FEATURES GRID ─────────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 88px 24px;
}
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(0,200,255,.1);
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 52px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feat-card:hover {
  border-color: rgba(0,200,255,.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,200,255,.1);
}
.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,200,255,.15) 0%, rgba(59,130,246,.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.feat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.feat-text { font-size: .875rem; color: var(--text2); line-height: 1.65; }

/* ── SPLIT SECTION ──────────────────────────────────────────────────── */
.split-section {
  position: relative;
  z-index: 1;
  padding: 88px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.split-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-text {}
.split-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
  color: var(--text2);
}
.split-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,200,255,.15);
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.info-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.info-card-row:last-child { border-bottom: none; }
.info-card-label { color: var(--text3); }
.info-card-val { color: var(--white); font-weight: 600; }
.badge-green {
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(40,200,64,.15);
  color: #5fda7e;
  font-size: .75rem;
  font-weight: 700;
}

/* ── PLATFORM DOWNLOAD ──────────────────────────────────────────────── */
.platform-section {
  position: relative;
  z-index: 1;
  padding: 88px 24px;
}
.platform-inner { max-width: var(--max); margin: 0 auto; }
.platform-header { text-align: center; margin-bottom: 52px; }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: border-color .2s, transform .2s;
  cursor: pointer;
}
.platform-card:hover { border-color: var(--cyan2); transform: translateY(-3px); }
.platform-icon { font-size: 2.2rem; margin-bottom: 14px; }
.platform-name { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.platform-desc { font-size: .8rem; color: var(--text3); margin-bottom: 18px; }
.btn-platform {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, var(--cyan2) 0%, var(--blue) 100%);
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
  min-height: 44px;
}
.btn-platform:hover { opacity: .85; }

.download-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--text3);
}
.download-notice::before { content: '🔒'; }

/* ── SECURITY SECTION ───────────────────────────────────────────────── */
.security-section {
  position: relative;
  z-index: 1;
  padding: 88px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.security-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.security-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.security-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,200,255,.12) 0%, rgba(59,130,246,.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.security-title { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.security-text { font-size: .85rem; color: var(--text2); line-height: 1.65; }

/* ── CTA BANNER ─────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,200,255,.08) 0%, rgba(59,130,246,.06) 100%);
  pointer-events: none;
}
.cta-inner { max-width: 700px; margin: 0 auto; position: relative; }
.cta-section .section-title { margin-bottom: 16px; }
.cta-section .section-sub { margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── FOOTER ─────────────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}
.footer-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo svg { width: 30px; height: 30px; }
.footer-logo-name { font-size: 1rem; font-weight: 700; color: var(--white); }
.footer-brand-desc { font-size: .85rem; color: var(--text3); line-height: 1.7; max-width: 260px; }
.footer-col-title { font-size: .8rem; font-weight: 700; color: var(--white); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col-links a { font-size: .85rem; color: var(--text3); transition: color .2s; }
.footer-col-links a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy { font-size: .8rem; color: var(--text3); }
.footer-lang { font-size: .8rem; color: var(--text3); }
.footer-lang a { color: var(--cyan2); }

/* ── MOBILE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .split-inner { grid-template-columns: 1fr; gap: 40px; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .security-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 72px 20px 56px; }
  .features-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; }
  .split-inner { gap: 32px; }
}
