/**
 * Developer landing page — /for-developers
 * Neutral/white accent palette. Violet kept on primary CTA only.
 */

:root {
  /* Primary CTA accent → Spring Green (developer signal: "code running") */
  --dev-accent: #22C55E;
  --dev-accent-light: #4ADE80;
  --dev-accent-mid: #16A34A;
  --dev-accent-glow: rgba(34, 197, 94, 0.28);
  --dev-accent-subtle: rgba(34, 197, 94, 0.08);

  /* Indigo atmospheric — lives in the background/orbs, not CTAs */
  --dev-indigo: #6366F1;
  --dev-indigo-light: #818CF8;
  --dev-indigo-glow: rgba(99, 102, 241, 0.2);
}

/* ── CTA buttons ── */
.dev-cta-primary {
  background: linear-gradient(135deg, #22C55E 0%, #4ADE80 100%);
  color: #071A0D;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dev-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(34, 197, 94, 0.38);
}
.dev-cta-secondary {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.dev-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ── Waitlist CTA: ghost base + depth ── */
.dev-cta-waitlist {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, background 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease;
}
.dev-cta-waitlist:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 8px 28px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* ── Stats bar ── */
.dev-stats-bar {
  background: rgba(15, 10, 30, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dev-stat-number {
  color: white;
}
.dev-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* ── Section label pill ── */
.dev-section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.22);
  color: #94A3B8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dev-section-label::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}

/* ── Step cards (flat) ── */
.dev-step-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dev-step-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ── Step number (editorial) ── */
.dev-step-num-editorial {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

/* ── Benefit cards (flat, left accent) ── */
.dev-benefit-flat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(34, 197, 94, 0.35);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  transition: border-left-color 0.2s ease, background 0.2s ease;
}
.dev-benefit-flat:hover {
  border-left-color: #22C55E;
  background: rgba(34, 197, 94, 0.03);
}

/* ── Testimonial cards (static flat grid) ── */
.dev-testimonial-static {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dev-testimonial-static:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(0, 0, 0, 0.18);
}

/* ── Profile preview mock ── */
.dev-profile-mock {
  background: rgba(15, 10, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}
.dev-rating-star { color: #fbbf24; }

/* ── FAQ ── */
.dev-faq-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.dev-faq-card:has([aria-expanded="true"]) {
  border-color: rgba(255, 255, 255, 0.1);
}
.dev-faq-trigger {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  color: white;
}
.dev-faq-answer {
  overflow: hidden;
  padding: 0 24px;
  color: #cbd5e1;
  font-size: 0.925rem;
  line-height: 1.65;
  max-height: 0;
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
}
.dev-faq-answer.open {
  max-height: 300px;
  padding-bottom: 18px;
}
.dev-faq-plus {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
}
.dev-faq-trigger[aria-expanded="true"] .dev-faq-plus {
  transform: rotate(45deg);
}
/* ── Scroll story (pinned scroll-driven) ── */
.dev-scrollstory {
  position: relative;
  height: calc(3.2 * 100vh);
}
.dev-scrollstory-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.dev-scrollstory-layout {
  display: flex;
  gap: 3rem;
  align-items: center;
  max-width: 100% !important;
  padding-left: 3rem !important;
  padding-right: 0 !important;
  margin-right: 0 !important;
}

/* ── Text column ── */
.dev-story-text-col {
  flex: none;
  width: 520px;
  flex-shrink: 0;
  min-width: 340px;
  position: relative;
  height: 580px;
  background: rgba(12, 8, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
.dev-story-text-step {
  position: absolute;
  inset: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: opacity, transform;
}
.dev-story-text-step.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Visual column ── */
.dev-story-visual-col {
  flex: 1;
  min-width: 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: 4%;
}
.dev-story-panels-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  overflow: hidden;
}
.dev-story-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(7, 8, 16, 0.96);
  overflow: hidden;
  will-change: opacity, transform;
}
.dev-story-panel.active {
  opacity: 1;
  transform: scale(1);
}

/* ── Progress dots ── */
.dev-story-dots {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dev-story-dot {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease, transform 0.3s ease;
}
.dev-story-dot.active {
  background: var(--dev-accent);
  transform: scaleY(2.4);
}

/* ── Mobile inline visuals ── */
.dev-story-mobile-visual {
  display: none;
  margin-top: 1.25rem;
  border-radius: 16px;
  background:
    linear-gradient(rgba(7, 8, 16, 0.96), rgba(7, 8, 16, 0.96)) padding-box,
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.06) 35%,
      rgba(34, 197, 94, 0.14) 70%,
      rgba(255, 255, 255, 0.03) 100%
    ) border-box;
  border: 1px solid transparent;
  overflow: hidden;
  box-shadow:
    0 4px 28px rgba(0, 0, 0, 0.5),
    0 0 32px rgba(34, 197, 94, 0.05);
}

/* ── Mobile collapse (< 1024px) ── */
@media (max-width: 1023px) {
  .dev-scrollstory {
    height: auto;
  }
  .dev-scrollstory-pin {
    position: static;
    height: auto;
    overflow: visible;
    display: block;
    padding: 3rem 0;
  }
  .dev-scrollstory-layout {
    flex-direction: column;
    gap: 0;
  }
  .dev-story-text-col {
    position: static;
    height: auto;
    width: 100%;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .dev-story-text-step {
    position: static;
    inset: unset;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  .dev-story-text-step:first-child {
    border-top: none;
    padding-top: 0;
  }
  .dev-story-visual-col { display: none; }
  .dev-story-dots { display: none; }
  .dev-story-mobile-visual { display: block; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .dev-story-panel,
  .dev-story-text-step {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .dev-float-pill { animation: none !important; }
}

/* ── Scroll story: glass frame wrapping the panels ── */
.dev-story-glass-frame {
  position: relative;
  overflow: visible; /* floating pills extend outside */
  border-radius: 20px 0 0 20px;
  background:
    linear-gradient(rgba(12, 8, 24, 0.45), rgba(12, 8, 24, 0.45)) padding-box,
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.08) 30%,
      rgba(34, 197, 94, 0.18) 68%,
      rgba(255, 255, 255, 0.05) 100%
    ) border-box;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 48px rgba(34, 197, 94, 0.07),
    0 28px 80px rgba(0, 0, 0, 0.65),
    0 4px 16px rgba(0, 0, 0, 0.4);
  padding: 0;
}
.dev-story-glass-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(172deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.04) 32%, transparent 52%);
  pointer-events: none;
  z-index: 0;
}
.dev-story-glass-frame > * { position: relative; z-index: 1; }

/* ── Floating tech pills (parallax decoration) ── */
.dev-float-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 17px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow:
    0 6px 20px rgba(0,0,0,0.4),
    inset 0 1.5px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  pointer-events: none;
  z-index: 20;
  white-space: nowrap;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease, transform 0.2s ease;
}

/* Brand colour tints per pill */
.dev-float-pill-1 {
  top: 8%; left: -6%;
  animation: floatPill1 6.5s ease-in-out infinite;
  background: rgba(97, 218, 251, 0.10);
  border-color: rgba(97, 218, 251, 0.25);
}
.dev-float-pill-2 {
  top: 28%; right: -7%;
  animation: floatPill2 7.2s ease-in-out 0.6s infinite;
  background: rgba(53, 114, 165, 0.12);
  border-color: rgba(53, 114, 165, 0.3);
}
.dev-float-pill-3 {
  bottom: 26%; left: -8%;
  animation: floatPill1 8.1s ease-in-out 1.1s infinite;
  background: rgba(49, 120, 198, 0.11);
  border-color: rgba(49, 120, 198, 0.28);
}
.dev-float-pill-4 {
  bottom: 10%; right: -6%;
  animation: floatPill2 5.8s ease-in-out 0.4s infinite;
  background: rgba(104, 160, 99, 0.11);
  border-color: rgba(104, 160, 99, 0.28);
}

/* Active state: glow + stronger glass + ping ring */
.dev-float-pill.pill-active {
  box-shadow:
    0 0 0 0 rgba(255,255,255,0.0),
    0 8px 28px rgba(0,0,0,0.5),
    inset 0 1.5px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
  animation-play-state: paused; /* freeze float, let ping play */
}
.dev-float-pill-1.pill-active { background: rgba(97,218,251,0.18); box-shadow: 0 0 22px rgba(97,218,251,0.28), 0 8px 28px rgba(0,0,0,0.4), inset 0 1.5px 0 rgba(255,255,255,0.3); }
.dev-float-pill-2.pill-active { background: rgba(53,114,165,0.20); box-shadow: 0 0 22px rgba(53,114,165,0.3), 0 8px 28px rgba(0,0,0,0.4), inset 0 1.5px 0 rgba(255,255,255,0.3); }
.dev-float-pill-3.pill-active { background: rgba(49,120,198,0.18); box-shadow: 0 0 22px rgba(49,120,198,0.28), 0 8px 28px rgba(0,0,0,0.4), inset 0 1.5px 0 rgba(255,255,255,0.3); }
.dev-float-pill-4.pill-active { background: rgba(104,160,99,0.18); box-shadow: 0 0 22px rgba(104,160,99,0.28), 0 8px 28px rgba(0,0,0,0.4), inset 0 1.5px 0 rgba(255,255,255,0.3); }

/* Ping ring on active */
.dev-float-pill.pill-active::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,0.35);
  animation: pillPing 1.6s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes pillPing {
  0%   { transform: scale(1); opacity: 0.8; }
  75%, 100% { transform: scale(1.18); opacity: 0; }
}

@keyframes floatPill1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-9px) rotate(1.5deg); }
}
@keyframes floatPill2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%       { transform: translateY(9px) rotate(-1.5deg); }
}

/* ── Per-step CTA button inside text steps ── */
.dev-step-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 1.1rem;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.01em;
  cursor: pointer;
}
.dev-step-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 0 18px rgba(67,97,238,0.25), 0 4px 14px rgba(0,0,0,0.3);
  transform: translateY(-1px);
  color: #fff;
}
.dev-step-cta .mat-icon { font-size: 15px; vertical-align: -2px; }

/* ── Gradient step headings ── */
.dev-story-gradient-h {
  background: linear-gradient(to right, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Monospace step kicker ── */
.dev-step-kicker {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--dev-accent-light);
  text-transform: uppercase;
  margin-bottom: 2px;
  opacity: 0.75;
}

/* ── Value-prop bullets under step body ── */
.dev-step-bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dev-step-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}
.dev-step-bullets li::before {
  content: '›';
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dev-accent-light);
  opacity: 0.9;
  line-height: 1;
}

/* ── Mid-page CTA strip ── */
.dev-midpage-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(124, 58, 237, 0.04);
}

/* ── Bottom CTA separator ── */
.dev-bottom-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 58, 237, 0.07) 0%, transparent 70%);
}

/* ── Hero floating geometric shapes ── */
.hero-shape {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 8px 32px rgba(67, 97, 238, 0.05);
}
.hero-shape::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08), transparent 70%);
}
.shape-1 { width: 560px; height: 130px; background: linear-gradient(to right, rgba(67,97,238,0.14), transparent); top: 22%; left: -8%; rotate: 12deg; animation: shapeEntry 2.4s cubic-bezier(0.23,0.86,0.39,0.96) 0.3s both, shapeFloat1 12s ease-in-out infinite; }
.shape-2 { width: 460px; height: 110px; background: linear-gradient(to right, rgba(116,143,252,0.11), transparent); top: 72%; right: -4%; rotate: -15deg; animation: shapeEntry 2.4s cubic-bezier(0.23,0.86,0.39,0.96) 0.5s both, shapeFloat2 14s ease-in-out infinite; }
.shape-3 { width: 280px; height: 75px; background: linear-gradient(to right, rgba(99,102,241,0.09), transparent); bottom: 12%; left: 8%; rotate: -8deg; animation: shapeEntry 2.4s cubic-bezier(0.23,0.86,0.39,0.96) 0.4s both, shapeFloat1 10s ease-in-out infinite; }
.shape-4 { width: 190px; height: 55px; background: linear-gradient(to right, rgba(67,97,238,0.11), transparent); top: 14%; right: 18%; rotate: 20deg; animation: shapeEntry 2.4s cubic-bezier(0.23,0.86,0.39,0.96) 0.6s both, shapeFloat2 16s ease-in-out infinite; }
.shape-5 { width: 140px; height: 38px; background: linear-gradient(to right, rgba(116,143,252,0.09), transparent); top: 8%; left: 22%; rotate: -25deg; animation: shapeEntry 2.4s cubic-bezier(0.23,0.86,0.39,0.96) 0.7s both, shapeFloat1 9s ease-in-out 2s infinite; }
@keyframes shapeEntry {
  from { opacity: 0; transform: translateY(-140px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shapeFloat1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(14px); }
}
@keyframes shapeFloat2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* ── Hero bottom fade-to-dark ── */
.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 300px;
  background: linear-gradient(to bottom, transparent 0%, rgba(7,8,16,0.6) 60%, #070810 100%);
  pointer-events: none;
  z-index: 5;
}

/* ── Hero scroll cue ── */
.hero-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: 10;
  margin-top: auto;
  padding-bottom: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.15));
}
.hero-scroll-chevron {
  animation: scrollBounce 1.6s ease-in-out infinite;
  color: rgba(255,255,255,0.85);
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.3));
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

/* ── Hero: video background ── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #07080e;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-video.active { opacity: 1; }

/* Dark gradient overlay — top heavy so nav stays readable, bottom fades to page */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(7, 8, 16, 0.55) 0%,
      rgba(7, 8, 16, 0.25) 40%,
      rgba(7, 8, 16, 0.35) 70%,
      rgba(7, 8, 16, 0.85) 100%
    );
}

/* ── Hero: full-viewport ── */
.dev-hero-fullscreen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ── Hero body: fill remaining space, push content to upper-third ── */
.dev-hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 14rem;     /* clear nav + push content toward center */
  padding-bottom: 2rem;
}

/* ── Stats bar: flush to bottom of hero ── */
.dev-stats-bar {
  background: rgba(7, 8, 16, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.dev-stat-number {
  color: white;
  -webkit-text-fill-color: white;
}
.dev-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* ── Fade-in on scroll ── */
.dev-fade {
  opacity: 0;
  transform: translateY(48px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.25, 0.4, 0.25, 1),
              transform 0.75s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.dev-fade.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.dev-fade.delay-100 { transition-delay: 100ms; }
.dev-fade.delay-200 { transition-delay: 200ms; }
.dev-fade.delay-300 { transition-delay: 300ms; }
.dev-fade.delay-400 { transition-delay: 400ms; }
.dev-fade.delay-500 { transition-delay: 500ms; }

/* ── Directional fade variants ── */
.dev-fade-left {
  opacity: 0;
  transform: translateX(-50px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.25, 0.4, 0.25, 1),
              transform 0.75s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.dev-fade-left.visible { opacity: 1; transform: translateX(0) scale(1); }
.dev-fade-right {
  opacity: 0;
  transform: translateX(50px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.25, 0.4, 0.25, 1),
              transform 0.75s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.dev-fade-right.visible { opacity: 1; transform: translateX(0) scale(1); }
.dev-fade-left.delay-100, .dev-fade-right.delay-100 { transition-delay: 100ms; }
.dev-fade-left.delay-200, .dev-fade-right.delay-200 { transition-delay: 200ms; }
.dev-fade-left.delay-300, .dev-fade-right.delay-300 { transition-delay: 300ms; }
.dev-fade-left.delay-400, .dev-fade-right.delay-400 { transition-delay: 400ms; }
.dev-fade-left.delay-500, .dev-fade-right.delay-500 { transition-delay: 500ms; }

/* ── "boring" word — hero title ── */
/*
   The word enters as a whole (the JS letter-splitter skips element nodes,
   so we give it its own entrance timed to match where it would appear in
   the letter-by-letter sequence: ~43 chars × 0.032s = ~1.38s delay,
   plus ~0.55s for the animation itself ≈ 1.93s before the strikethrough draws).
*/
.boring-word {
  display: inline-block;
  position: relative;
  color: rgba(255, 255, 255, 0.55); /* noticeably duller than the rest */
  opacity: 0;
  animation:
    boringEntrance 0.55s cubic-bezier(0.22, 1, 0.36, 1) 1.38s both,
    boringDroop     3.2s ease-in-out                     3s    infinite;
}

/* Strikethrough line that draws across after the word has entered */
.boring-word::after {
  content: '';
  position: absolute;
  left: 0;
  top: 52%;
  height: 2px;
  width: 0;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  animation: boringStrike 0.35s ease-out 2.1s both;
}

/* Entrance — same feel as the individual hero letters */
@keyframes boringEntrance {
  0% {
    opacity: 0;
    transform: translateY(-70px) rotateZ(-18deg) scale(0.45);
    filter: blur(8px);
  }
  65% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* Strikethrough draws left-to-right */
@keyframes boringStrike {
  to { width: 100%; }
}

/* Subtle boredom droop — nods forward slightly, like it's falling asleep */
@keyframes boringDroop {
  0%, 100% { transform: translateY(0) rotate(0deg);    color: rgba(255,255,255,0.55); }
  35%, 65% { transform: translateY(5px) rotate(-1.5deg); color: rgba(255,255,255,0.35); }
}

/* ── Waitlist CTA — shimmer + pulse ── */
.dev-cta-waitlist--cta {
  position: relative;
  overflow: hidden;
  animation: waitlistPulse 2.8s ease-in-out 1.5s infinite;
}

/* Shimmer sweep */
.dev-cta-waitlist--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  animation: waitlistShimmer 3.5s ease-in-out 2s infinite;
  pointer-events: none;
}

/* Arrow nudge on hover */
.dev-cta-waitlist--cta:hover .waitlist-arrow {
  animation: arrowNudge 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes waitlistShimmer {
  0%        { transform: translateX(-100%); }
  40%, 100% { transform: translateX(200%); }
}

@keyframes waitlistPulse {
  0%, 100% { box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.25); }
  50%       { box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.15), 0 4px 28px rgba(67,97,238,0.35), 0 0 0 4px rgba(67,97,238,0.08); }
}

@keyframes arrowNudge {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .boring-word, .boring-word::after,
  .dev-cta-waitlist--cta, .dev-cta-waitlist--cta::before {
    animation: none !important;
  }
  .boring-word { opacity: 1; }
  .boring-word::after { width: 100%; }
}

/* ── Tech ticker section wrapper ── */
.dev-tech-ticker-section {
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(7,8,16,0.6);
  padding: 0.75rem 0;
}

/* ── Tech ticker ── */
.dev-tech-ticker {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.dev-tech-ticker-track {
  display: flex;
  gap: 0.6rem;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
}
.dev-tech-ticker-track:hover { animation-play-state: paused; }
.dev-tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .dev-tech-ticker-track { animation: none; }
}

/* ── Scroll-story CTA strip ── */
.dev-story-cta-strip {
  background: rgba(7, 8, 16, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dev-story-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.9rem 0;
}
.dev-story-cta-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2.75rem;
  text-align: center;
}
.dev-story-cta-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}
.dev-story-cta-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
  white-space: nowrap;
}
.dev-story-cta-vdivider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.dev-story-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.6rem 1.6rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: 2.5rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.dev-story-cta-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
@media (max-width: 1023px) {
  .dev-story-cta-strip { display: none; }
}

/* ── For-developers nav logo ── */
.dev-pub-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  pointer-events: auto;
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}
.dev-pub-logo .logo-icon {
  font-size: 20px;
  color: #fff;
  opacity: 0.9;
}
.dev-pub-logo .logo-wordmark {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
  line-height: 1;
}
.dev-pub-logo .logo-wordmark strong {
  color: #fff;
  font-weight: 800;
}
@media (max-width: 640px) {
  .dev-pub-logo { display: none; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   GRADIENT STICKY CTA STRIP — slides up when step 4 becomes active
   ───────────────────────────────────────────────────────────────────────────── */
.dev-cta-gradient-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(105deg, #4338ca 0%, #6d28d9 45%, #7c3aed 100%);
  border-top: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 -8px 40px rgba(109,40,217,0.45), 0 -2px 12px rgba(0,0,0,0.3);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s ease;
  pointer-events: none;
}
.dev-cta-gradient-strip.strip-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.dev-cta-gradient-strip-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.dev-cta-gradient-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dev-cta-gradient-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.dev-cta-gradient-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.01em;
}
.dev-cta-gradient-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.dev-cta-gradient-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.65rem 1.6rem;
  border-radius: 9999px;
  background: #fff;
  color: #4338ca;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.dev-cta-gradient-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.dev-cta-gradient-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}
.dev-cta-gradient-dismiss:hover { color: rgba(255,255,255,0.9); }
@media (max-width: 640px) {
  .dev-cta-gradient-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
  }
  .dev-cta-gradient-primary { width: 100%; justify-content: center; }
}

/* ── Alternate section background (sectional contrast) ── */
/* Semi-transparent so orb glow bleeds through — sections breathe, not cut off */
.section-alt {
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}
