/* ─────────────────────────────────────────
   Design tokens
───────────────────────────────────────── */
:root {
  --blue:        #4f8ef7;
  --cyan:        #00d4ff;
  --purple:      #a78bfa;
  --purple-dim:  #8b5fbf;

  --grad-blue:   linear-gradient(135deg, #4f8ef7 0%, #00d4ff 100%);
  --grad-purple: linear-gradient(135deg, #8b5fbf 0%, #a78bfa 100%);

  --bg:      #05080e;
  --bg-2:    #080c18;
  --bg-3:    #0a0f20;
  --bg-4:    #0d1326;

  --card:    rgba(255, 255, 255, 0.03);
  --border:  rgba(255, 255, 255, 0.07);
  --border-hi: rgba(255, 255, 255, 0.12);

  --text:    #e8edf8;
  --muted:   #4a5580;
  --muted-hi: #7a8db0;

  --display: 'Chakra Petch', sans-serif;
  --mono:    'JetBrains Mono', monospace;

  --swiper-pagination-color: var(--blue);
}

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

html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

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

a { color: inherit; text-decoration: none; }
img { display: block; }

/* ─────────────────────────────────────────
   Nav
───────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.header.shrink {
  background: rgba(5, 8, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  box-shadow: 0 1px 40px rgba(0,0,0,0.4);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 5%;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.1rem;
  margin-left: 1rem;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted-hi);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  border: 1px solid transparent;
  letter-spacing: 0.02em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.nav-docs {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted-hi);
  padding: 0.35rem 0.85rem;
  transition: color 0.2s;
}

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

.nav-gh {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: #fff;
  background: var(--grad-blue);
  padding: 0.42rem 1rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: opacity 0.2s, transform 0.15s;
}

.nav-gh:hover { opacity: 0.88; transform: translateY(-1px); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 5% 5rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* Three.js canvas — fixed, full-viewport, behind all content */
#heroCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* Subtle dot-grid overlay */
.hero-grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 40%, black 25%, transparent 100%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.71rem;
  color: var(--muted-hi);
  letter-spacing: 0.07em;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  padding: 0.28rem 0.9rem;
  margin-bottom: 1.5rem;
  width: fit-content;
}

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

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 5px var(--cyan); }
  50%       { box-shadow: 0 0 14px var(--cyan), 0 0 30px rgba(0,212,255,0.3); }
}

.hero-h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* Word-level clip-path reveal */
.reveal-word {
  display: block;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
}

.reveal-word.visible {
  clip-path: inset(0 0 0% 0);
  opacity: 1;
  transition: clip-path 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.grad-line {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted-hi);
  line-height: 1.8;
  max-width: 430px;
  margin-bottom: 2rem;
  opacity: 0;
}

.reveal-sub.visible { opacity: 1; transition: opacity 0.8s 0.6s; }

.hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  opacity: 0;
}

.reveal-cta.visible { opacity: 1; transition: opacity 0.7s 0.75s; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  opacity: 0;
}

.reveal-stats.visible { opacity: 1; transition: opacity 0.7s 0.9s; }

.hstat { display: flex; flex-direction: column; }

.hstat-n {
  font-family: var(--mono);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
  color: var(--text);
  display: inline;
}

.hstat-plus {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--blue);
  line-height: 1;
  display: inline;
}

.hstat-l {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}

.hstat-rule {
  width: 1px;
  height: 34px;
  background: var(--border-hi);
  flex-shrink: 0;
}

/* ── Terminal ── */
.hero-terminal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-terminal.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s 0.5s, transform 0.9s 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.term-win {
  background: rgba(6, 10, 20, 0.82);
  border: 1px solid var(--border-hi);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(79, 142, 247, 0.07),
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 100px rgba(79, 142, 247, 0.05);
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.1rem;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid var(--border);
}

.tdot { width: 12px; height: 12px; border-radius: 50%; }
.tdot-r { background: #ff5f57; }
.tdot-a { background: #febc2e; }
.tdot-g { background: #28c840; }

.term-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0 auto;
  letter-spacing: 0.04em;
}

.term-body {
  padding: 1.2rem 1.5rem;
  min-height: 290px;
  max-height: 360px;
  overflow-y: auto;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--muted-hi);
}

.t-line { white-space: pre; }
.t-line.cmd   { color: var(--text); }
.t-line.ok    { color: #3dd68c; }
.t-line.info  { color: var(--blue); }
.t-line.muted { color: var(--muted); }
.t-line.blank { min-height: 0.75rem; display: block; }

.t-cursor {
  display: inline-block;
  width: 7px; height: 1em;
  background: var(--blue);
  vertical-align: text-bottom;
  animation: blink 1.1s step-end infinite;
  margin-left: 2px;
  border-radius: 1px;
}

@keyframes blink { 50% { opacity: 0; } }

/* ── Hero dashboard preview frame ── */
.hero-preview-frame {
  background: rgba(5, 9, 20, 0.8);
  border: 1px solid rgba(79, 142, 247, 0.18);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(79, 142, 247, 0.07),
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 120px rgba(79, 142, 247, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.1rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-bar-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  margin: 0 auto;
  letter-spacing: 0.04em;
}

.preview-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: dot-pulse 2.5s ease-in-out infinite;
}

.preview-body {
  position: relative;
  line-height: 0;
}

.preview-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.preview-img-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, rgba(5, 9, 20, 0.72));
  pointer-events: none;
}

.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.1rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-stat {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: #3dd68c;
  letter-spacing: 0.05em;
}

.preview-link {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.04em;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.preview-link:hover { opacity: 1; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  opacity: 0;
  animation: fadein 1s 2s forwards;
}

@keyframes fadein { to { opacity: 1; } }

.scroll-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-dot { animation: scroll-bob 1.8s ease-in-out infinite; }

@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

/* ─────────────────────────────────────────
   Ticker
───────────────────────────────────────── */
.ticker {
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 42s linear infinite;
}

.ticker-track span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted-hi);
  letter-spacing: 0.07em;
  padding: 0 1.1rem;
  flex-shrink: 0;
}

.ticker-track .tsep { color: var(--blue); opacity: 0.4; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   Shared
───────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.label-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
  display: block;
}

.label-tag.blue   { color: var(--blue); }
.label-tag.purple { color: var(--purple); }
.label-tag.center { text-align: center; }

.section-h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-h2.left { text-align: left; }

.section-sub {
  font-size: 0.97rem;
  color: var(--muted-hi);
  max-width: 560px;
  margin: 0 auto 3.5rem;
  line-height: 1.75;
  text-align: center;
}

.section-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* Buttons */
.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--grad-blue);
  color: #fff;
  padding: 0.82rem 1.75rem;
  border-radius: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 22px rgba(79, 142, 247, 0.28);
}

.btn-blue:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 142, 247, 0.42);
}

.btn-blue.sm { padding: 0.58rem 1.15rem; font-size: 0.84rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  padding: 0.82rem 1.5rem;
  border: 1px solid var(--border-hi);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(79, 142, 247, 0.5);
  background: rgba(79, 142, 247, 0.05);
  transform: translateY(-2px);
}

.btn-purple {
  display: inline-flex;
  align-items: center;
  background: var(--grad-purple);
  color: #fff;
  padding: 0.82rem 1.75rem;
  border-radius: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.22);
}

.btn-purple:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(167, 139, 250, 0.34);
}

.btn-purple.sm { padding: 0.58rem 1.15rem; font-size: 0.84rem; }

.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--blue);
  padding: 0.78rem 1.6rem;
  border: 1px solid rgba(79, 142, 247, 0.35);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-outline-blue:hover {
  border-color: var(--blue);
  background: rgba(79, 142, 247, 0.06);
  transform: translateY(-2px);
}

.btn-outline-purple {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--purple);
  padding: 0.78rem 1.6rem;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-outline-purple:hover {
  border-color: var(--purple);
  background: rgba(167, 139, 250, 0.05);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────
   Products
───────────────────────────────────────── */
.products {
  padding: 7rem 0;
  background: var(--bg-2);
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
  text-align: left;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  will-change: transform;
}

.product-card:hover { transform: translateY(-5px); }

.wact-card { border-color: rgba(79, 142, 247, 0.18); }
.wact-card:hover {
  border-color: rgba(79, 142, 247, 0.55);
  box-shadow: 0 20px 60px rgba(79, 142, 247, 0.12);
}

.waldi-card { border-color: rgba(167, 139, 250, 0.15); }
.waldi-card:hover {
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 20px 60px rgba(167, 139, 250, 0.1);
}

.pc-stripe { height: 2px; width: 100%; }
.blue-stripe   { background: var(--grad-blue); }
.purple-stripe { background: var(--grad-purple); }

.pc-inner { padding: 2rem; }
.pc-top { margin-bottom: 1.25rem; }

.pc-pill {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

.blue-pill {
  background: rgba(79, 142, 247, 0.1);
  color: var(--blue);
  border: 1px solid rgba(79, 142, 247, 0.22);
}

.purple-pill {
  background: rgba(167, 139, 250, 0.08);
  color: var(--purple);
  border: 1px solid rgba(167, 139, 250, 0.18);
}

.pc-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.pc-sub {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted-hi);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.pc-desc {
  font-size: 0.9rem;
  color: var(--muted-hi);
  line-height: 1.72;
  margin-bottom: 1.2rem;
}

.pc-list {
  list-style: none;
  margin-bottom: 1.75rem;
}

.pc-list li {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted-hi);
  padding: 0.22rem 0 0.22rem 1rem;
  position: relative;
}

.pc-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.85rem;
}

.waldi-card .pc-list li::before { color: var(--purple); }

.pc-foot {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.pc-link {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted-hi);
  transition: color 0.2s;
}

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

/* ─────────────────────────────────────────
   Manifesto
───────────────────────────────────────── */
.manifesto { background: var(--bg); }

.mani-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem 5%;
  border-bottom: 1px solid var(--border);
  max-width: 1280px;
  margin: 0 auto;
  opacity: 0;
  transform: translateX(-18px);
}

.mani-row.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.mani-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.mani-stmt {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.mani-note {
  font-family: var(--mono);
  font-size: 0.77rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ─────────────────────────────────────────
   Bento grid
───────────────────────────────────────── */
.bento-section {
  padding: 7rem 0;
  background: var(--bg-2);
  text-align: center;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  margin-top: 2rem;
}

.bento-card {
  background: var(--bg-2);
  padding: 2rem 1.75rem;
  position: relative;
  transition: background 0.25s, box-shadow 0.25s;
  opacity: 0;
  transform: translateY(16px);
}

.bento-card.visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s, box-shadow 0.25s;
}

.bento-card:hover {
  background: color-mix(in srgb, var(--blue) 6%, var(--bg-2));
  box-shadow: inset 0 2px 0 var(--blue);
}

.bc-icon {
  font-size: 1.3rem;
  width: 44px; height: 44px;
  background: rgba(79, 142, 247, 0.06);
  border: 1px solid rgba(79, 142, 247, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.bento-card h3 {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.bento-card p {
  font-size: 0.855rem;
  color: var(--muted-hi);
  line-height: 1.7;
}

.bc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.bc-chip {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--muted-hi);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hi);
  border-radius: 4px;
  padding: 0.18rem 0.52rem;
  transition: border-color 0.2s, color 0.2s;
}

.bc-chip.active, .bc-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ─────────────────────────────────────────
   Waldiez section
───────────────────────────────────────── */
.waldiez-section {
  padding: 7rem 0;
  background: var(--bg-3);
  text-align: center;
}

.waldiez-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  text-align: left;
  margin-top: 0.5rem;
}

.wz-features {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.wz-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.wz-icon {
  font-size: 1.25rem;
  width: 44px; height: 44px;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wz-row h3 {
  font-family: var(--display);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.wz-row p {
  font-size: 0.855rem;
  color: var(--muted-hi);
  line-height: 1.68;
}

.hub-card {
  background: var(--card);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, box-shadow 0.25s;
  height: fit-content;
}

.hub-card:hover {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 12px 42px rgba(167, 139, 250, 0.1);
}

.hub-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--purple);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  display: block;
}

.hub-card h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.hub-card p {
  font-size: 0.875rem;
  color: var(--muted-hi);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.hub-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hub-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--muted-hi);
}

/* ─────────────────────────────────────────
   Use cases — draggable horizontal rail
───────────────────────────────────────── */
.uc-section {
  padding: 7rem 0 4rem;
  background: var(--bg);
  overflow: hidden;
}

.uc-section .container { text-align: center; margin-bottom: 3rem; }

.uc-rail-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
  padding: 0.5rem 5% 2rem;
  cursor: grab;
}

.uc-rail-wrap:active { cursor: grabbing; }

.uc-rail {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  user-select: none;
}

.uc-card {
  width: 295px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.uc-card:hover {
  border-color: rgba(79, 142, 247, 0.38);
  box-shadow: 0 8px 28px rgba(79, 142, 247, 0.1);
  transform: translateY(-3px);
}

.uc-tag {
  font-family: var(--mono);
  font-size: 0.67rem;
  color: var(--blue);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.uc-card h4 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.7rem;
  line-height: 1.3;
}

.uc-card p {
  font-size: 0.84rem;
  color: var(--muted-hi);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.uc-more {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--blue);
  display: inline-block;
  margin-top: auto;
  transition: opacity 0.2s;
}

.uc-more:hover { opacity: 0.65; }

/* ─────────────────────────────────────────
   Integrations
───────────────────────────────────────── */
.integrations {
  padding: 7rem 0;
  background: var(--bg-2);
}

.int-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}

.int-copy {
  flex: 1 1 340px;
  max-width: 460px;
}

.int-copy .label-tag { margin-bottom: 0.5rem; }

.int-copy .section-h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem;
}

.int-copy p {
  font-size: 0.95rem;
  color: var(--muted-hi);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.provider-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.provider-pills span {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted-hi);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hi);
  border-radius: 4px;
  padding: 0.2rem 0.48rem;
  letter-spacing: 0.03em;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.provider-pills span:hover { border-color: var(--blue); color: var(--blue); }

.bubble-wrap {
  flex: 1 1 360px;
  position: relative;
  height: 230px;
  min-width: 270px;
}

.bubble {
  position: absolute;
  width: 52px;
  opacity: 0.8;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
  transition: opacity 0.3s, transform 0.3s;
}

.bubble:hover { opacity: 1; transform: scale(1.18) !important; }

.b1  { top: 4%;   left: 55%; animation: bfloat 4.0s ease-in-out infinite; }
.b2  { top: -8%;  left: 37%; animation: bfloat 5.2s ease-in-out infinite; animation-delay: 0.4s; }
.b3  { top: 37%;  left: 25%; animation: bfloat 6.0s ease-in-out infinite; animation-delay: 2.0s; }
.b4  { top: 62%;  left: 12%; animation: bfloat 3.8s ease-in-out infinite; animation-delay: 1.5s; }
.b5  { top: -13%; left: 18%; animation: bfloat 4.4s ease-in-out infinite; }
.b6  { top: 38%;  left: 0%;  animation: bfloat 6.3s ease-in-out infinite; animation-delay: 3.5s; }
.b7  { top: 36%;  left: 57%; animation: bfloat 5.1s ease-in-out infinite; animation-delay: 1.5s; }
.b8  { top: 55%;  left: 43%; animation: bfloat 4.7s ease-in-out infinite; animation-delay: 2.5s; }
.b9  { top: 14%;  left: 16%; animation: bfloat 6.8s ease-in-out infinite; animation-delay: 1.0s; }
.b10 { top: 5%;   left: 0%;  animation: bfloat 5.5s ease-in-out infinite; animation-delay: 2.5s; }
.b11 { top: 20%;  left: 39%; animation: bfloat 4.2s ease-in-out infinite; animation-delay: 0.5s; }

@keyframes bfloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}

/* ─────────────────────────────────────────
   Get started
───────────────────────────────────────── */
.get-started {
  padding: 7rem 0;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gs-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(79, 142, 247, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.gs-h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.gs-sub {
  font-size: 0.97rem;
  color: var(--muted-hi);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.gs-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: left;
}

.gs-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.blue-card { border-color: rgba(79, 142, 247, 0.18); }
.blue-card:hover {
  border-color: rgba(79, 142, 247, 0.5);
  box-shadow: 0 8px 32px rgba(79, 142, 247, 0.1);
}

.purple-card { border-color: rgba(167, 139, 250, 0.14); }
.purple-card:hover {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 8px 32px rgba(167, 139, 250, 0.09);
}

.gs-card-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.install-cmd {
  display: block;
  font-family: var(--mono);
  font-size: 0.88rem;
  border-radius: 7px;
  padding: 0.65rem 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.blue-cmd {
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.14);
}

.purple-cmd {
  color: var(--purple);
  background: rgba(167, 139, 250, 0.05);
  border: 1px solid rgba(167, 139, 250, 0.14);
}

.gs-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.gs-links a {
  font-family: var(--mono);
  font-size: 0.73rem;
  transition: opacity 0.2s;
}

.blue-card .gs-links a   { color: var(--blue); }
.purple-card .gs-links a { color: var(--purple); }
.gs-links a:hover { opacity: 0.65; }

.star-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.star-row p { font-size: 0.9rem; color: var(--muted-hi); }

.star-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─────────────────────────────────────────
   Footer
───────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-inner { display: grid; gap: 2.5rem; }

.footer-top { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.footer-tag { font-size: 0.83rem; color: var(--muted); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }

.col-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.footer-col a { font-size: 0.83rem; color: var(--muted-hi); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; }

.footer-bottom p {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ─────────────────────────────────────────
   GSAP initial states
───────────────────────────────────────── */
.gsap-fade { opacity: 0; transform: translateY(14px); }
.gsap-rise { opacity: 0; transform: translateY(28px); }
.gsap-mani { opacity: 0; transform: translateX(-18px); }
.gsap-bento { opacity: 0; transform: translateY(16px); }

/* ─────────────────────────────────────────
   Responsive
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
    padding: 7rem 5% 4rem;
  }

  .hero-tag { align-self: center; }
  .hero-sub { margin: 0 auto 2rem; max-width: 480px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-terminal { display: none; }
  .scroll-cue { left: 50%; bottom: 1.5rem; }

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

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

  .waldiez-split { grid-template-columns: 1fr; }

  .int-flex { justify-content: center; }
  .int-copy { text-align: center; max-width: 100%; }
  .int-copy .section-h2 { text-align: center; }
  .provider-pills { justify-content: center; }
  .bubble-wrap { transform: scale(0.82); height: 200px; }

  .gs-cards { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }

  .menu-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(5, 8, 14, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 5%;
    gap: 0.15rem;
    z-index: 299;
  }

  .nav-links.active { display: flex; }

  .mani-row {
    grid-template-columns: 2.5rem 1fr;
    padding: 1.6rem 5%;
  }

  .mani-note { display: none; }
  .mani-stmt { font-size: 1.4rem; }
}

@media (max-width: 600px) {
  .section-h2 { font-size: 1.8rem; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hstat-rule { width: 40px; height: 1px; }
  .gs-h2 { font-size: 2rem; }
  .uc-card { width: 270px; }
}
