/* ═══════════════════════════════════════════════
   stackbase · Full Databricks-Style Dark Design
   ═══════════════════════════════════════════════ */

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

:root {
  --bg: #0B0E14;
  --bg1: #12151C;
  --bg2: #1A1D26;
  --bg3: #242832;
  --bg4: #2D323E;

  --orange: #F59E0B;
  --orange-lt: #FBBF24;
  --orange-glow: rgba(245, 158, 11, 0.35);
  --orange-dim: rgba(245, 158, 11, 0.10);

  /* Main Accents */
  --brand: var(--orange);
  --brand-lt: var(--orange-lt);
  --brand-glow: var(--orange-glow);
  --brand-dim: var(--orange-dim);

  --accent-2: #D97706;
  --accent-2-lt: #F59E0B;
  --accent-2-glow: rgba(217, 119, 6, 0.35);
  --accent-2-dim: rgba(217, 119, 6, 0.10);

  --green: #059669;
  --green-lt: #10B981;

  --line: rgba(255, 255, 255, 0.06);
  --line2: rgba(255, 255, 255, 0.10);
  --line3: rgba(255, 255, 255, 0.18);

  --text: #F1F5F9;
  --text2: #94A3B8;
  --text3: #475569;
  --text4: #2D3F54;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --r: 8px;
  --r-lg: 14px;
  --r-xl: 20px;

  --max-w: 1160px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Shared Utils ─────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-lt) 0%, var(--orange-lt) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-lt);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--brand-lt), transparent);
}

.section-h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 56px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.delay-4 {
  transition-delay: 0.32s;
}

/* ════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

nav.scrolled {
  background: rgba(6, 10, 18, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--line);
}

.nav-inner {
  max-width: calc(var(--max-w) + 80px);
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.brand-logo.footer-logo {
  height: 32px;
  opacity: 0.9;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--brand-glow);
}

.brand-icon.small {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

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

.nav-links li {
  position: relative;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--r);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.chevron {
  font-style: normal;
  font-size: 12px;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  padding: 8px;
  display: none;
  z-index: 400;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.has-dropdown:hover .dropdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dd-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s;
}

.dd-item:hover {
  background: var(--bg3);
}

.dd-icon {
  font-size: 20px;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.dd-title {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 2px;
}

.dd-desc {
  font-size: 12px;
  color: var(--text2);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link-plain {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  padding: 8px 14px;
  transition: color 0.2s;
}

.nav-link-plain:hover {
  color: var(--text);
}

.nav-cta {
  font-size: 13.5px;
  font-weight: 600;
  background: var(--brand);
  color: #fff;
  padding: 9px 22px;
  border-radius: var(--r);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 0 0 var(--brand-glow);
}

.nav-cta:hover {
  box-shadow: 0 6px 24px var(--brand-glow);
  transform: translateY(-1px);
}

.nav-cta-secondary {
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line2);
  color: var(--text);
  padding: 8px 18px;
  border-radius: var(--r);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--line3);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 130px 40px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-1 {
  width: 600px;
  height: 600px;
  top: -80px;
  left: 50%;
  transform: translateX(-65%);
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  animation: orb-float 12s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  top: 0;
  left: 60%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.14) 0%, transparent 70%);
  animation: orb-float 16s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: 25%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  animation: orb-float 20s ease-in-out infinite;
}

@keyframes orb-float {

  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  50% {
    transform: translateY(-30px) translateX(-50%);
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 12.5px;
  font-weight: 500;
  color: #FDE68A;
  margin-bottom: 32px;
  cursor: default;
  transition: background 0.2s, border-color 0.2s;
}

.hero-pill:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.4);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-lt);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--brand-lt);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.6;
    transform: scale(0.8)
  }
}

.pill-arrow {
  color: var(--brand-lt);
  margin-left: 4px;
}

.hero-h1 {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 28px;
  color: #fff;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text2);
  max-width: 580px;
  margin: 0 auto 48px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 72px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--r);
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 24px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line2);
  color: var(--text2);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line3);
  color: var(--text);
  transform: translateY(-2px);
}

/* ── DASHBOARD MOCKUP ─────────────────────────── */
.hero-dashboard {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line), 0 -1px 0 rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(4px);
}

.db-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}

.db-dots {
  display: flex;
  gap: 6px;
}

.db-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg3);
}

.db-dots span:nth-child(1):hover {
  background: #FF5F56;
}

.db-dots span:nth-child(2):hover {
  background: #FFBD2E;
}

.db-dots span:nth-child(3):hover {
  background: #27C93F;
}

.db-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text3);
  flex: 1;
}

.db-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--green-lt);
  font-weight: 500;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-lt);
  box-shadow: 0 0 6px var(--green-lt);
  animation: pulse 2s infinite;
}

.db-body {
  display: flex;
}

.db-sidebar {
  width: 160px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  background: var(--bg1);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.db-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text3);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.db-nav-item:hover {
  background: var(--bg3);
  color: var(--text2);
}

.db-nav-item.active {
  background: var(--brand-dim);
  color: var(--brand-lt);
}

.db-nav-sep {
  height: 1px;
  background: var(--line);
  margin: 8px 4px;
}

.db-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.db-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.db-stat {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
}

.db-stat-val {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.db-stat-lbl {
  font-size: 10.5px;
  color: var(--text3);
  margin-top: 2px;
}

.db-stat-delta {
  font-size: 10.5px;
  margin-top: 4px;
  color: var(--green-lt);
  font-weight: 500;
}

.db-stat-delta.up::before {
  content: '';
}

.db-chart-area {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
}

.db-chart-label {
  font-size: 10.5px;
  color: var(--text3);
  margin-bottom: 12px;
}

.db-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
}

.db-bar {
  flex: 1;
  background: rgba(245, 158, 11, 0.3);
  border-radius: 3px 3px 0 0;
  transition: background 0.2s;
}

.db-bar:hover,
.db-bar.active {
  background: rgba(245, 158, 11, 0.8);
}

.db-activity {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-act-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
}

.act-badge {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: var(--mono);
  flex-shrink: 0;
}

.act-badge.ok {
  background: rgba(5, 150, 105, 0.15);
  color: var(--green-lt);
}

.act-badge.run {
  background: rgba(245, 158, 11, 0.15);
  color: var(--brand-lt);
  animation: pulse 1s infinite;
}

.act-text {
  flex: 1;
  color: var(--text2);
}

.act-time {
  color: var(--text3);
  font-size: 10.5px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════
   LOGOS STRIP
════════════════════════════════════════════════ */
.logo-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--text3);
  padding: 0 40px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.logo-item:hover {
  color: var(--text2);
}

.logos-section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 500;
}

.logos-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: logos-scroll 30s linear infinite;
}


@keyframes logos-scroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* ════════════════════════════════════════════════
   PILLARS
════════════════════════════════════════════════ */
.pillars-section {
  padding: 120px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

.pillar-card {
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 235, 0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card:hover {
  border-color: rgba(37, 99, 235, 0.30);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  flex-shrink: 0;
}

.pillar-icon.brand {
  background: var(--brand-dim);
  color: var(--brand-lt);
  box-shadow: 0 0 20px var(--brand-dim);
}

.pillar-icon.accent-2 {
  background: var(--accent-2-dim);
  color: var(--accent-2-lt);
  box-shadow: 0 0 20px var(--accent-2-dim);
}

.pillar-icon.orange {
  background: var(--orange-dim);
  color: var(--orange-lt);
  box-shadow: 0 0 20px var(--orange-dim);
}

.pillar-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #fff;
}

.pillar-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 28px;
}

.pillar-metric {
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--text2);
}

.pillar-metric span {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 2px;
}

/* ════════════════════════════════════════════════
   ALTERNATING SECTIONS
════════════════════════════════════════════════ */
.alt-section {
  padding: 120px 0;
}

.alt-section.alt-flip .alt-row {
  direction: rtl;
}

.alt-section.alt-flip .alt-row>* {
  direction: ltr;
}

.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.alt-h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.alt-text p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 28px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.55;
}

.check-list li::before {
  content: '✓';
  color: var(--green-lt);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0px;
}

.btn-text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-lt);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.btn-text-link:hover {
  gap: 10px;
}

/* Pipeline Diagram */
/* Empty ruleset removed */

.pipeline-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: var(--r-xl);
  padding: 40px 32px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.pipeline-diagram::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-dim), var(--brand), var(--accent-2), var(--orange-dim));
}

.pipe-node {
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 20px 22px;
  text-align: center;
  flex-shrink: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.pipe-node:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.1);
}

.pipe-node.platform {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.06);
}

.pipe-node.platform:hover {
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
}

.pipe-node-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.pipe-node-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}

.pipe-node-sub {
  font-size: 10.5px;
  color: var(--text3);
  margin-top: 3px;
  font-family: var(--mono);
}

.pipe-node.platform .pipe-node-label {
  color: var(--brand-lt);
}

.pipe-line {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
}

.pipe-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-lt);
  opacity: 0.5;
  animation: pipe-flow 1.5s ease-in-out infinite;
}

.pipe-dot:nth-child(2) {
  animation-delay: 0.3s;
}

.pipe-dot:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes pipe-flow {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.8)
  }

  50% {
    opacity: 1;
    transform: scale(1)
  }
}

.pipe-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.pipe-step {
  text-align: center;
}

.ps-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text3);
}

.ps-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
}

.pipe-step:hover .ps-label {
  color: var(--brand-lt);
}

.ps-arrow {
  color: var(--text3);
  font-size: 14px;
}

/* Feat list */
.feat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--bg2);
  border: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  margin-top: 2px;
  transition: border-color 0.3s, color 0.3s;
}

.feat-item:hover .feat-icon {
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--brand-lt);
}

.feat-title {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 3px;
}

.feat-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

/* Infrastructure card */
.infra-card {
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: var(--r-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.infra-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent-2));
}

.infra-row {
  display: flex;
  gap: 8px;
}

.infra-badge {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--mono);
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line2);
  color: var(--text3);
  letter-spacing: 0.06em;
}

.infra-badge.blue {
  background: var(--brand-dim);
  color: var(--brand-lt);
  border-color: rgba(245, 158, 11, 0.3);
}

.infra-block {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}

.ib-title {
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}

.ib-nodes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ib-node {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11.5px;
  color: var(--text2);
  transition: background 0.2s, color 0.2s;
}

.ib-node:hover {
  background: var(--bg4);
  color: var(--text);
}

.ib-node.muted {
  color: var(--text3);
}

.infra-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ic-line {
  width: 1px;
  height: 20px;
  background: var(--line3);
}

.ic-arrow {
  font-size: 14px;
  color: var(--text3);
}

.infra-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.if-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-lt);
}

/* ════════════════════════════════════════════════
   TERMINAL
════════════════════════════════════════════════ */
.terminal-section {
  padding: 0 0 120px;
}

.term-header {
  margin-bottom: 48px;
}

.term-window {
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s;
}

.term-window:hover {
  border-color: rgba(37, 99, 235, 0.25);
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}

.term-dots {
  display: flex;
  gap: 6px;
}

.td {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.td.red {
  background: #FF5F56;
}

.td.yellow {
  background: #FFBD2E;
}

.td.green {
  background: #27C93F;
}

.term-filename {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text3);
  flex: 1;
}

.term-tag {
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  background: rgba(5, 150, 105, 0.15);
  color: var(--green-lt);
  font-family: var(--mono);
}

.term-body {
  padding: 28px 32px;
}

.term-line {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 2;
}

.term-line.tc-blank {
  height: 0.8em;
}

.tc-prompt {
  color: var(--brand-lt);
  margin-right: 6px;
}

.tc-cmd {
  color: #fff;
}

.tc-flag {
  color: var(--accent-2-lt);
}

.tc-dim {
  color: var(--text3);
}

.tc-tag {
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}

.tc-tag.info {
  background: rgba(37, 99, 235, 0.15);
  color: #93C5FD;
}

.tc-tag.exec {
  background: rgba(234, 88, 12, 0.15);
  color: var(--orange-lt);
}

.tc-green {
  color: var(--green-lt);
}

.tc-white {
  color: #fff;
  font-weight: 600;
}

.tc-done {
  color: var(--green-lt);
  font-weight: 700;
  font-size: 13px;
}

.term-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--line);
  padding: 18px 28px;
  gap: 0;
  background: var(--bg2);
}

.tmb-item {
  text-align: center;
  flex: 1;
}

.tmb-val {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  display: block;
}

.tmb-lbl {
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
}

.tmb-div {
  width: 1px;
  height: 32px;
  background: var(--line2);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════
   USE CASES
════════════════════════════════════════════════ */
.usecases-section {
  padding: 120px 0;
}

.uc-tabs {
  margin-top: 60px;
}

.uc-tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.uc-tab-nav::-webkit-scrollbar {
  display: none;
}

.uc-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text3);
  padding: 12px 22px;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.uc-tab:hover {
  color: var(--text2);
}

.uc-tab.active {
  color: var(--brand-lt);
  border-color: var(--brand-lt);
}

/* Empty ruleset removed */

.uc-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 52px 0 0;
  animation: fadeIn 0.35s ease;
}

.uc-panel.active {
  display: grid;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.uc-panel-text h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.uc-panel-text p {
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 24px;
}

.uc-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.uc-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text2);
}

.uc-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-lt);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--brand-glow);
}

.uc-impact {
  display: flex;
  gap: 28px;
}

.uc-kpi span {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--brand-lt), var(--accent-2-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.uc-kpi div {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}

.uc-card-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.uc-card {
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.uc-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.uc-card.ghost {
  opacity: 0.5;
}

.uc-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.badge-ok {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(5, 150, 105, 0.15);
  color: var(--green-lt);
  font-family: var(--mono);
}

.badge-run {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.15);
  color: var(--brand-lt);
  font-family: var(--mono);
}

.uc-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}

.uc-card-row:last-child {
  border-bottom: none;
}

.uc-card-row span:first-child {
  color: var(--text3);
}

.uc-card-row span:last-child {
  color: var(--text2);
  font-weight: 500;
}

.uc-card-row.muted span:last-child {
  color: var(--text3);
}

/* ════════════════════════════════════════════════
   METRICS
════════════════════════════════════════════════ */
.metrics-section {
  padding: 80px 0;
  background: var(--bg1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.metric-card {
  background: var(--bg1);
  padding: 44px 36px;
  transition: background 0.25s;
}

.metric-card:hover {
  background: var(--bg2);
}

.mc-val {
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.mc-count {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mc-unit {
  font-size: 0.55em;
  background: linear-gradient(135deg, var(--brand-lt), var(--accent-2-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mc-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.mc-sub {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.55;
}

/* ════════════════════════════════════════════════
   GTM
════════════════════════════════════════════════ */
.gtm-section {
  padding: 120px 0;
}

.gtm-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-top: 60px;
  margin-bottom: 48px;
}

.gtm-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: var(--r-xl);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.gtm-step:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.gs-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-lt);
  font-family: var(--mono);
}

.gs-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.gs-sub {
  font-size: 12px;
  color: var(--text3);
  font-family: var(--mono);
  margin-bottom: 8px;
}

.gtm-step p {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.7;
}

.gtm-connector {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 48px;
}

.gc-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-dim), var(--brand-lt), var(--brand-dim));
}

/* Empty ruleset removed */

.gtm-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 16px;
}

.gtm-table th {
  background: var(--bg2);
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.gtm-table td {
  padding: 14px 20px;
  font-size: 13.5px;
  color: var(--text2);
  border-bottom: 1px solid var(--line);
}

.gtm-table tr:last-child td {
  border-bottom: none;
}

.gtm-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.arr-val {
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-lt), var(--accent-2-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gtm-note {
  padding: 18px 22px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--r-lg);
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.65;
}

.gtm-note strong {
  color: var(--text);
}

/* ════════════════════════════════════════════════
   CTA
════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb-1 {
  position: absolute;
  width: 700px;
  height: 400px;
  border-radius: 50%;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.12) 0%, transparent 65%);
  filter: blur(40px);
}

.cta-orb-2 {
  position: absolute;
  width: 400px;
  height: 300px;
  border-radius: 50%;
  bottom: -50px;
  left: 55%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.10) 0%, transparent 65%);
  filter: blur(40px);
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-lt);
  background: var(--brand-dim);
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-h2 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 22px;
}

.cta-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}

.cta-email {
  font-size: 13px;
  color: var(--text3);
}

.cta-email a {
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}

.cta-email a:hover {
  color: var(--text);
}

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.fb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
}

.fb-desc {
  font-size: 13.5px;
  color: var(--text3);
  line-height: 1.65;
  margin-bottom: 20px;
}

.fb-copy {
  font-size: 12px;
  color: var(--text4);
}

.fb-copy a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.fb-copy a:hover {
  color: var(--text3);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fl-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fl-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.fl-col a:hover {
  color: var(--brand-lt);
  transform: translateX(4px);
}

.fl-col a {
  font-size: 13.5px;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.faq-section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
  position: relative;
  z-index: 10;
}

/* ── FAQ Section ─────────────────────────────── */
.footer-faqs {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-left: 3px solid var(--line2);
  border-radius: var(--r);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq-item:hover {
  background: var(--bg2);
  border-color: rgba(245, 158, 11, 0.2);
  border-left-color: var(--brand);
  transform: translateX(4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.faq-item.active {
  background: var(--bg2);
  border-color: rgba(245, 158, 11, 0.3);
  border-left-color: var(--brand);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  gap: 20px;
  transition: color 0.2s;
}

.faq-item:hover .faq-question {
  color: var(--brand-lt);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text3);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(90deg);
  color: var(--brand);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  opacity: 1;
  pointer-events: auto;
}

.faq-answer-inner {
  min-height: 0;
  color: var(--text2);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 90%;
  font-weight: 400;
  padding: 0 28px 22px 28px;
  margin-top: -4px; /* Move closer to question */
}


/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .db-sidebar {
    display: none;
  }

  .db-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .container {
    padding: 0 24px;
  }

  nav .nav-inner {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-link-plain {
    display: none;
  }

  .hero {
    padding: 110px 24px 60px;
  }

  .hero-h1 {
    font-size: 48px;
  }

  .hero-dashboard {
    display: none;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .alt-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .alt-section.alt-flip .alt-row {
    direction: ltr;
  }

  .uc-panel.active {
    grid-template-columns: 1fr;
  }

  .uc-panel-visual {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gtm-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gtm-connector {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-h2 {
    font-size: 38px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .pipeline-diagram {
    flex-direction: column;
    gap: 12px;
  }

  .pipe-line {
    flex-direction: column;
    width: 1px;
    height: 24px;
    gap: 4px;
    padding: 0;
  }

   
  .pipe-dot {
    width: 4px;
    height: 4px;
  }
}
