@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

/* ============================================
   FLAXT PITCH — Supabase-Inspired Design System
   ============================================ */

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

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

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: #171717;
  color: #fafafa;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: #00c573; text-decoration: none; transition: color 0.2s; }
a:hover { color: #3ecf8e; }
ul { list-style: none; }
strong { font-weight: 500; color: #fafafa; }

/* --- Container --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

/* --- Typography --- */
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.00;
  color: #fafafa;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #b4b4b4;
  font-weight: 400;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto 40px;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 40px;
  color: #fafafa;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.33;
  letter-spacing: -0.16px;
  color: #fafafa;
  margin-bottom: 12px;
}

.body-text {
  font-size: 1rem;
  color: #b4b4b4;
  line-height: 1.6;
  margin-bottom: 16px;
}

.body-text.small { font-size: 0.875rem; }

.highlight-text {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #fafafa;
  font-weight: 400;
  line-height: 1.56;
  font-style: italic;
  border-left: 2px solid rgba(62, 207, 142, 0.3);
  padding-left: 20px;
  margin: 32px 0;
}

.highlight-text.center {
  border-left: none;
  padding-left: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.muted-text {
  font-size: 0.875rem;
  color: #898989;
  line-height: 1.43;
}

.muted-text.small { font-size: 0.75rem; }

.code-label {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #898989;
  margin-bottom: 12px;
  display: block;
}

.big-stat {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  color: #fafafa;
  text-align: center;
  margin: 32px 0;
}

.accent-color { color: #3ecf8e; }

/* --- Sections --- */
.section {
  padding: 96px 0;
  border-bottom: 1px solid #242424;
}

.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: none;
}

.section-split-intro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-bottom: none;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, rgba(62, 207, 142, 0.14), transparent 32%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.04), transparent 24%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03), transparent 20%),
    #171717;
}

.split-intro-wrap {
  width: 100%;
  max-width: 1440px;
  padding: 0 40px;
}

.split-intro-stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
}

.split-word {
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: #fafafa;
  position: relative;
  z-index: 2;
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s ease, filter 1s ease;
}

.split-word-left {
  justify-self: end;
  text-align: right;
  padding-right: 64px;
}

.split-word-right {
  justify-self: start;
  text-align: left;
  padding-left: 64px;
}

.split-divider {
  width: 72px;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease, transform 1.2s ease, filter 1.2s ease;
}

.divider-core {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(180deg, rgba(62, 207, 142, 0), rgba(62, 207, 142, 0.75) 18%, rgba(250, 250, 250, 0.92) 50%, rgba(62, 207, 142, 0.75) 82%, rgba(62, 207, 142, 0));
  box-shadow: 0 0 32px rgba(62, 207, 142, 0.25);
  transition: transform 1.1s ease, opacity 0.9s ease, filter 1.1s ease;
}

.divider-particle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(250, 250, 250, 0.9), rgba(62, 207, 142, 0.2) 70%, transparent 72%);
  opacity: 0;
  filter: blur(0);
}

.particle-1 { top: 16%; }
.particle-2 { top: 26%; }
.particle-3 { top: 38%; }
.particle-4 { top: 48%; }
.particle-5 { top: 58%; }
.particle-6 { top: 68%; }
.particle-7 { top: 78%; }
.particle-8 { top: 88%; }

.split-merged-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  font-size: clamp(4.5rem, 12vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: #fafafa;
  opacity: 0;
  filter: blur(10px);
  white-space: nowrap;
  transition: opacity 0.9s ease 0.35s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s, filter 1.2s ease 0.35s;
}

.split-bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease 0.45s;
}

.bg-particle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: 0;
  background: radial-gradient(circle, rgba(62, 207, 142, 0.95), rgba(62, 207, 142, 0.25) 58%, transparent 72%);
  box-shadow: 0 0 18px rgba(62, 207, 142, 0.35);
  filter: blur(1px);
}

.bg-particle-1 { --start-x: -280px; --start-y: -120px; --drift-x: 28px; --drift-y: -22px; --size: 8px; --duration: 8s; --delay: 0s; }
.bg-particle-2 { --start-x: -180px; --start-y: -180px; --drift-x: -18px; --drift-y: 30px; --size: 12px; --duration: 10s; --delay: 0.8s; }
.bg-particle-3 { --start-x: -60px; --start-y: -140px; --drift-x: 16px; --drift-y: -28px; --size: 7px; --duration: 7.5s; --delay: 0.3s; }
.bg-particle-4 { --start-x: 90px; --start-y: -170px; --drift-x: -24px; --drift-y: 24px; --size: 9px; --duration: 9.5s; --delay: 1.1s; }
.bg-particle-5 { --start-x: 240px; --start-y: -110px; --drift-x: 20px; --drift-y: -20px; --size: 11px; --duration: 8.8s; --delay: 0.5s; }
.bg-particle-6 { --start-x: -250px; --start-y: 20px; --drift-x: -16px; --drift-y: 26px; --size: 6px; --duration: 7.8s; --delay: 1.4s; }
.bg-particle-7 { --start-x: -120px; --start-y: 90px; --drift-x: 24px; --drift-y: 18px; --size: 10px; --duration: 10.5s; --delay: 0.2s; }
.bg-particle-8 { --start-x: 0px; --start-y: 140px; --drift-x: -12px; --drift-y: -22px; --size: 8px; --duration: 8.2s; --delay: 1.2s; }
.bg-particle-9 { --start-x: 130px; --start-y: 110px; --drift-x: 18px; --drift-y: 20px; --size: 7px; --duration: 9.8s; --delay: 0.7s; }
.bg-particle-10 { --start-x: 280px; --start-y: 30px; --drift-x: -26px; --drift-y: -16px; --size: 12px; --duration: 11s; --delay: 1.6s; }
.bg-particle-11 { --start-x: -40px; --start-y: -20px; --drift-x: 10px; --drift-y: 14px; --size: 5px; --duration: 6.8s; --delay: 0.4s; }
.bg-particle-12 { --start-x: 60px; --start-y: 10px; --drift-x: -14px; --drift-y: -12px; --size: 6px; --duration: 7.2s; --delay: 1s; }

.bg-particle {
  width: var(--size);
  height: var(--size);
}

.split-intro-stage.is-collapsing .split-word-left {
  transform: translateX(120px);
  filter: blur(3px);
}

.split-intro-stage.is-collapsing .split-word-right {
  transform: translateX(-120px);
  filter: blur(3px);
}

.split-intro-stage.is-collapsing .split-divider {
  filter: blur(6px);
}

.split-intro-stage.is-collapsing .divider-core {
  transform: scaleX(0.18);
  opacity: 0;
}

.split-intro-stage.is-collapsing .divider-particle {
  animation: divider-burst 1.8s ease-out forwards;
}

.split-intro-stage.is-merged .split-word {
  opacity: 0;
}

.split-intro-stage.is-merged .split-divider {
  opacity: 0;
  transform: scaleY(0.7);
}

.split-intro-stage.is-merged .split-bg-particles {
  opacity: 1;
}

.split-intro-stage.is-merged .bg-particle {
  animation: bg-particle-float var(--duration) ease-in-out var(--delay) infinite alternate;
}

.split-intro-stage.is-merged .split-merged-text {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
}

@keyframes divider-burst {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.6);
  }
  15% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1.8);
    filter: blur(8px);
  }
}

@keyframes bg-particle-float {
  0% {
    opacity: 0.2;
    transform: translate3d(var(--start-x), var(--start-y), 0) scale(0.9);
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.25;
    transform: translate3d(calc(var(--start-x) + var(--drift-x)), calc(var(--start-y) + var(--drift-y)), 0) scale(1.25);
  }
}

.particle-1 { --x: -90px; --y: -180px; }
.particle-2 { --x: 110px; --y: -140px; }
.particle-3 { --x: -140px; --y: -60px; }
.particle-4 { --x: 160px; --y: -24px; }
.particle-5 { --x: -130px; --y: 48px; }
.particle-6 { --x: 150px; --y: 88px; }
.particle-7 { --x: -100px; --y: 150px; }
.particle-8 { --x: 90px; --y: 190px; }

.section-accent {
  background: #0f0f0f;
}

.section-dark {
  background: #0f0f0f;
}

.section-flaxt {
  padding: 128px 0;
}

.section-video-full {
  padding: 48px 0 0;
  border-bottom: none;
  display: flex;
  justify-content: center;
}

.fullscreen-video {
  width: min(900px, calc(100vw - 48px));
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(62, 207, 142, 0.3);
}

.section-emotional {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-footer {
  text-align: center;
  color: #b4b4b4;
  font-style: italic;
  margin-top: 40px;
  font-size: 1.125rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(23, 23, 23, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #2e2e2e;
  transition: transform 0.3s;
}

.nav.hidden { transform: translateY(-100%); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fafafa;
  transition: color 0.2s;
}

.nav-links a:hover { color: #3ecf8e; }

.nav-cta { display: block; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fafafa;
  border-radius: 1px;
  transition: 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.14;
  padding: 8px 32px;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: #0f0f0f;
  color: #fafafa;
  border-color: #fafafa;
}

.btn-primary:hover {
  background: #fafafa;
  color: #0f0f0f;
}

.btn-lg {
  padding: 14px 48px;
  font-size: 1rem;
}

/* --- Hero Animation --- */
.hero-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 400;
}

.hero-word {
  color: #3ecf8e;
  transition: all 1.5s ease;
}

.hero-line {
  width: 2px;
  height: 48px;
  background: #3ecf8e;
  transition: opacity 2s ease, height 2s ease;
}

.hero-line.faded {
  opacity: 0;
  height: 0;
}

.hero-word.merged {
  margin: 0 -12px;
}

.scroll-indicator {
  color: #898989;
  animation: bounce 2s infinite;
  margin-top: 40px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.col-visual {
  display: flex;
  justify-content: center;
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 420px;
}

.icon-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(62, 207, 142, 0.2);
  border-radius: 999px;
  font-size: 0.9rem;
  color: #d4d4d4;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.95), rgba(15, 15, 15, 0.95));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  animation: float-pill 6s ease-in-out infinite;
}

.icon-pill:nth-child(2) { animation-delay: 0.8s; }
.icon-pill:nth-child(3) { animation-delay: 1.6s; }
.icon-pill:nth-child(4) { animation-delay: 2.4s; }
.icon-pill:nth-child(5) { animation-delay: 3.2s; }

.icon-pill svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@keyframes float-pill {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --- Process Flow --- */
.process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.patched-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  margin-bottom: 0;
  overflow: visible;
  padding: 8px 4px 14px;
  position: relative;
  z-index: 1;
}

.patched-flow::-webkit-scrollbar {
  display: none;
}

.process-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  min-width: 100px;
  padding: 18px 16px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(15, 15, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  overflow: visible;
  opacity: 0;
  transform: translateY(30px) scale(0.94);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
 }

.process-node::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 55%);
  opacity: 0.5;
  pointer-events: none;
}

.process-node.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.process-node.is-complete {
  border-color: rgba(250, 250, 250, 0.18);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
}

.process-node.is-complete .node-circle {
  background: #fafafa;
  color: #0f0f0f;
  border-color: #fafafa;
  box-shadow: 0 0 0 6px rgba(250, 250, 250, 0.08);
}

.node-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0f0f0f;
  border: 1px solid #2e2e2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #fafafa;
  margin-bottom: 8px;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.node-label {
  font-size: 0.8rem;
  color: #fafafa;
  font-weight: 500;
  margin-bottom: 4px;
}

.node-sub {
  font-size: 0.7rem;
  color: #898989;
  max-width: 100px;
}

.process-connector {
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 19px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: opacity 0.3s ease, transform 0.45s ease;
}

.process-connector::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 250, 250, 0.15), #fafafa 60%, rgba(250, 250, 250, 0.25));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.process-connector.is-visible {
  opacity: 1;
  transform: scaleX(1);
}

.process-connector.is-visible::after {
  transform: scaleX(1);
}

/* Patched nodes */
.patched {
  position: relative;
}

.patched-flow-stage {
  position: relative;
  margin-bottom: 32px;
  padding: 44px 24px 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 159, 67, 0.14), transparent 24%),
    radial-gradient(circle at 88% 78%, rgba(244, 63, 94, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    #101010;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
  overflow: visible;
}

.patched-flow-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 92%);
  pointer-events: none;
}

.patched-flow-stage::after {
  content: "";
  position: absolute;
  inset: auto -12% -80px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 62%);
  opacity: 0.32;
  pointer-events: none;
}

.patched-flow-caption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.patched-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d4d4d4;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.patched-chip-alert {
  color: #ffe3bf;
  background: rgba(255, 159, 67, 0.14);
  border-color: rgba(255, 159, 67, 0.22);
  transform: rotate(-1.5deg);
}

.franken-node {
  min-width: 150px;
  padding: 24px 18px 18px;
  margin-right: 8px;
  overflow: visible;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 55%),
    rgba(12, 12, 12, 0.86);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
  transform: translateY(36px) scale(0.94) rotate(-3deg);
  transform-origin: center bottom;
}

.franken-node::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.08), transparent 38%, transparent 62%, rgba(255, 159, 67, 0.06));
  opacity: 0.7;
  pointer-events: none;
}

.franken-node::after {
  content: "";
  position: absolute;
  inset: 10px 14px auto auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
  opacity: 0;
  pointer-events: none;
}

.franken-node.is-visible {
  transform: translateY(0) scale(1) rotate(0deg);
}

.franken-node.is-repaired {
  transform: translateY(0) scale(1) rotate(var(--node-tilt, -1.5deg));
  border-color: rgba(255, 235, 190, 0.16);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 159, 67, 0.06);
}

.franken-node.is-repaired::after {
  opacity: 1;
}

.franken-node .node-circle {
  margin-bottom: 10px;
}

.franken-node .node-sub {
  max-width: 124px;
  min-height: 2.8em;
}

.franken-node.is-repairing .node-circle {
  animation: node-patch-pulse 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.franken-node.is-repaired .node-circle {
  background: #fafafa;
  color: #0f0f0f;
  border-color: #fafafa;
  box-shadow: 0 0 0 6px rgba(250, 250, 250, 0.08), 0 0 18px rgba(255, 159, 67, 0.18);
}

.patch-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 159, 67, 0.12);
  border: 1px dashed rgba(255, 159, 67, 0.34);
  color: #f5c58b;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.repair-seam {
  position: absolute;
  left: 14px;
  right: 12px;
  top: 48%;
  height: 10px;
  transform: rotate(-7deg);
  pointer-events: none;
  z-index: 0;
}

.repair-seam::before,
.repair-seam::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0.12);
  transform-origin: left center;
  opacity: 0;
}

.repair-seam::before {
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 219, 154, 0.62) 20%, rgba(255, 255, 255, 0.18));
}

.repair-seam::after {
  height: 8px;
  background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(255, 231, 179, 0.72) 12px 17px, transparent 17px 26px);
}

.franken-node.is-repairing .repair-seam::before,
.franken-node.is-repairing .repair-seam::after,
.franken-node.is-repaired .repair-seam::before,
.franken-node.is-repaired .repair-seam::after {
  opacity: 1;
  animation: seam-draw 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.patch-cluster {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.patch-piece {
  position: absolute;
  opacity: 0;
}

.patch-tape {
  width: 52px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(255, 238, 178, 0.9), rgba(255, 210, 116, 0.56));
  border: 1px solid rgba(255, 229, 174, 0.38);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.patch-bot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  font-size: 1.5rem;
  line-height: 1;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 8px 12px var(--patch-shadow, rgba(255, 159, 67, 0.28)));
}

.patch-glue {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.84), rgba(255, 159, 67, 0.62) 62%, rgba(255, 159, 67, 0) 72%);
  box-shadow: 0 0 0 4px rgba(255, 159, 67, 0.14);
}

.tape-a {
  top: var(--tape-a-top, -6px);
  right: var(--tape-a-right, 10px);
  width: var(--tape-a-width, 52px);
  transform: rotate(var(--tape-a-rotation, -15deg));
  --delay: 0.02s;
  --entry-rotation: -18deg;
  --settled-rotation: -15deg;
}

.tape-b {
  top: var(--tape-b-top, 20px);
  right: var(--tape-b-right, -8px);
  width: var(--tape-b-width, 44px);
  transform: rotate(var(--tape-b-rotation, 16deg));
  --delay: 0.12s;
  --entry-rotation: 22deg;
  --settled-rotation: 16deg;
}

.bot-a {
  top: var(--bot-a-top, -16px);
  right: var(--bot-a-right, 20px);
  width: var(--bot-a-size, 34px);
  height: var(--bot-a-size, 34px);
  transform: rotate(var(--bot-a-rotation, -6deg));
  --delay: 0.08s;
  --entry-rotation: -12deg;
  --settled-rotation: -6deg;
}

.bot-b {
  top: var(--bot-b-top, 8px);
  right: var(--bot-b-right, -14px);
  width: auto;
  height: auto;
  font-size: calc(var(--bot-b-size, 28px) * 0.72);
  transform: rotate(var(--bot-b-rotation, 10deg));
  --delay: 0.18s;
  --entry-rotation: 14deg;
  --settled-rotation: 10deg;
}

.glue-a {
  top: var(--glue-a-top, 20px);
  right: var(--glue-a-right, 34px);
  --delay: 0.24s;
  --entry-rotation: -8deg;
  --settled-rotation: -4deg;
}

.franken-node.is-repairing .patch-piece,
.franken-node.is-repaired .patch-piece {
  animation: patch-slam 0.75s var(--delay, 0s) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.franken-node.is-repaired .patch-cluster {
  animation: patch-wobble 4.4s ease-in-out 1.1s infinite;
}

.patched-connector {
  width: 48px;
  height: 20px;
  margin: 0 6px 0 0;
  margin-top: 56px;
  background: none;
  overflow: visible;
  transform: scaleX(0.3);
  transform-origin: left center;
}

.patched-connector::before,
.patched-connector::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0.12);
  transform-origin: left center;
}

.patched-connector::before {
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(250, 250, 250, 0.78) 52%, rgba(255, 255, 255, 0.16));
  opacity: 0.35;
}

.patched-connector::after {
  height: 10px;
  background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(255, 231, 179, 0.72) 9px 13px, transparent 13px 22px);
  opacity: 0;
}

.patched-connector.is-visible {
  opacity: 1;
  transform: scaleX(1);
}

.patched-connector.is-visible::before,
.patched-connector.is-visible::after {
  transform: translateY(-50%) scaleX(1);
}

.patched-connector.is-visible::after {
  opacity: 0.72;
}

.connector-stitch {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 14px;
  margin-top: -7px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 238, 178, 0.9), rgba(255, 210, 116, 0.44));
  border: 1px solid rgba(255, 229, 174, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  opacity: 0;
}

.stitch-1 {
  left: 8px;
  --rot: -18deg;
  transform: rotate(-18deg) scale(0.6);
  --delay: 0.12s;
}

.stitch-2 {
  left: 20px;
  --rot: 12deg;
  transform: rotate(12deg) scale(0.6);
  --delay: 0.2s;
}

.stitch-3 {
  left: 32px;
  --rot: -14deg;
  transform: rotate(-14deg) scale(0.6);
  --delay: 0.28s;
}

.patched-connector.is-strained {
  animation: connector-shiver 0.38s ease 2;
}

.patched-connector.is-strained .connector-stitch {
  animation: stitch-appear 0.52s var(--delay, 0s) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.connector-pulse {
  position: absolute;
  top: 50%;
  left: -2px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98), rgba(255, 159, 67, 0.84) 48%, rgba(255, 159, 67, 0) 72%);
  opacity: 0;
}

.patched-connector.is-strained .connector-pulse {
  animation: connector-pulse 0.72s linear forwards;
}

@keyframes node-patch-pulse {
  0% {
    transform: scale(1);
    border-color: #2e2e2e;
  }
  35% {
    transform: scale(1.08);
    border-color: var(--patch-accent, #ff9f43);
    box-shadow: 0 0 0 8px rgba(255, 159, 67, 0.12);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes seam-draw {
  0% {
    transform: translateY(-50%) scaleX(0.12);
  }
  100% {
    transform: translateY(-50%) scaleX(1);
  }
}

@keyframes patch-slam {
  0% {
    opacity: 0;
    transform: translate3d(12px, -26px, 0) rotate(var(--entry-rotation, -12deg)) scale(0.68);
    filter: blur(6px);
  }
  70% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(var(--settled-rotation, 0deg)) scale(1);
    filter: blur(0);
  }
}

@keyframes patch-wobble {
  0%, 100% {
    transform: rotate(0deg) translateY(0);
  }
  35% {
    transform: rotate(-2deg) translateY(-1px);
  }
  65% {
    transform: rotate(2deg) translateY(1px);
  }
}

@keyframes stitch-appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: rotate(var(--rot, 0deg)) scale(1);
  }
}

@keyframes connector-pulse {
  0% {
    opacity: 0;
    transform: translateX(0) scale(0.7);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(48px) scale(1.15);
  }
}

@keyframes connector-shiver {
  0%, 100% {
    transform: scaleX(1) translateX(0);
  }
  25% {
    transform: scaleX(1) translateX(-1px);
  }
  75% {
    transform: scaleX(1) translateX(1px);
  }
}

/* --- Timeline Bars --- */
.section-timeline-old {
  overflow-x: clip;
}

.timeline-bars {
  max-width: 820px;
  margin: 0 auto 32px;
  overflow-y: visible;
}

.timeline-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-label {
  font-size: 0.82rem;
  color: #d4d4d4;
  min-width: 140px;
  text-align: right;
  letter-spacing: 0.02em;
}

.timeline-bar-wrap {
  display: flex;
  gap: 8px;
  flex: 1;
  position: relative;
  padding: 8px;
  min-height: 64px;
  align-items: center;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(15, 15, 15, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: visible;
}

.timeline-bar {
  height: 36px;
  background: linear-gradient(90deg, #343434, #4a4a4a);
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 0.74rem;
  color: #f3f3f3;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 20px rgba(0, 0, 0, 0.18);
  transition: width var(--bar-duration, 0.85s) cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, transform 0.6s ease;
  width: 0;
  opacity: 0;
  transform: scaleX(0.92);
  transform-origin: left center;
}

.timeline-bar-extra {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.82), rgba(185, 28, 28, 0.92));
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fff3f3;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.08), 0 12px 28px rgba(127, 29, 29, 0.28);
}

.timeline-bar.animated {
  width: var(--bar-width, 0);
  opacity: 1;
  transform: scaleX(1);
}

.timeline-bar-overflow {
  position: relative;
  z-index: 1;
}

.timeline-callout {
  position: absolute;
  left: calc(var(--callout-anchor, 32%) + 8px);
  top: -18px;
  transform: translateY(10px);
  background: rgba(127, 29, 29, 0.88);
  border: 1px solid rgba(248, 113, 113, 0.38);
  color: #fff0f0;
  font-size: 0.72rem;
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-callout::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: rgba(127, 29, 29, 0.88);
  border-right: 1px solid rgba(248, 113, 113, 0.38);
  border-bottom: 1px solid rgba(248, 113, 113, 0.38);
  transform: rotate(45deg);
}

.timeline-callout.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-row-stalled .timeline-bar-wrap {
  border-color: rgba(248, 113, 113, 0.16);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.05);
}

/* --- Cards --- */
.three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.card {
  background: #171717;
  border: 1px solid #2e2e2e;
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s;
}

.card:hover { border-color: #363636; }

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.card-icon svg { width: 40px; height: 40px; }

.card-list {
  list-style: none;
}

.card-list li {
  font-size: 0.875rem;
  color: #b4b4b4;
  padding: 6px 0;
  border-bottom: 1px solid #242424;
}

.card-list li:last-child { border-bottom: none; }

.winner-card { border-color: #242424; }
.winner-card:hover { border-color: rgba(62, 207, 142, 0.3); }

/* --- Two Column Simple --- */
.two-col-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.col-half { padding: 0; }

.simple-list li {
  font-size: 0.875rem;
  color: #b4b4b4;
  padding: 4px 0;
  padding-left: 12px;
  position: relative;
}

.simple-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3ecf8e;
}

/* --- Framework Shift --- */
.framework-shift {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}

.framework-arrow {
  width: 48px;
}

.framework-arrow svg { width: 48px; }

.mini-flow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
}

.mini-node {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #fafafa;
  position: relative;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.18);
  transform: rotate(var(--mini-tilt, 0deg));
}

.mini-ai {
  position: absolute;
  top: -8px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
  font-size: 1.08rem;
  line-height: 1;
  filter: drop-shadow(0 6px 10px rgba(255, 159, 67, 0.24));
}

.mini-node-patched::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 8px;
  top: 23px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 231, 179, 0), rgba(255, 231, 179, 0.8) 40%, rgba(255, 255, 255, 0.15));
  transform: rotate(-10deg);
  opacity: 0.65;
}

.mini-tape {
  position: absolute;
  top: 6px;
  left: -6px;
  width: 28px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 238, 178, 0.92), rgba(255, 210, 116, 0.52));
  border: 1px solid rgba(255, 229, 174, 0.28);
  transform: rotate(-20deg);
  opacity: 0.88;
}

.mini-node-number {
  position: relative;
  z-index: 1;
}

/* --- Orbit Diagram --- */
.orbit-diagram {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto 18px;
  overflow: visible;
  isolation: isolate;
}

.orbit-backdrop {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(62, 207, 142, 0.16), transparent 28%),
    radial-gradient(circle at 18% 24%, rgba(62, 207, 142, 0.08), transparent 22%),
    radial-gradient(circle at 78% 76%, rgba(255, 255, 255, 0.05), transparent 20%);
  filter: saturate(1.05);
}

.orbit-aura {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(62, 207, 142, 0.1);
  opacity: 0;
}

.aura-1 {
  inset: 26px;
}

.aura-2 {
  inset: 58px;
}

.orbit-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 250, 250, 0.95), rgba(62, 207, 142, 0.34) 58%, transparent 72%);
  box-shadow: 0 0 18px rgba(62, 207, 142, 0.25);
  opacity: 0;
}

.pulse-1 {
  top: 68px;
  right: 84px;
}

.pulse-2 {
  bottom: 70px;
  left: 66px;
}

.orbit-ring-shell {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
}

.orbit-ring-outer {
  inset: 44px;
  border: 1px solid rgba(62, 207, 142, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.orbit-ring-inner {
  inset: 78px;
  border: 1px dashed rgba(62, 207, 142, 0.16);
}

.orbit-hub {
  position: absolute;
  inset: 0;
}

.orbit-hub-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(62, 207, 142, 0.16);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
}

.halo-1 {
  width: 126px;
  height: 126px;
}

.halo-2 {
  width: 168px;
  height: 168px;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #79f3b8, #3ecf8e 58%, #0ca76a 100%);
  border: 1px solid rgba(167, 255, 211, 0.48);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #0f0f0f;
  box-shadow: 0 0 0 12px rgba(62, 207, 142, 0.08), 0 0 44px rgba(62, 207, 142, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  z-index: 5;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
}

.orbit-center-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orbit-center-sub {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
  text-align: center;
  max-width: 70px;
}

.orbit-track {
  position: absolute;
  inset: 0;
}

.orbit-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 252px;
  height: 252px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(62, 207, 142, 0.08);
  opacity: 0;
}

.orbit-signal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 250, 250, 0.98), rgba(62, 207, 142, 0.7) 46%, rgba(62, 207, 142, 0) 72%);
  box-shadow: 0 0 24px rgba(62, 207, 142, 0.28);
  opacity: 0;
  transform: rotate(-90deg) translateX(126px);
  transform-origin: center;
}

.orbit-satellite {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  opacity: 1;
}

.orbit-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--radius) - 58px);
  height: 1px;
  transform: translate(-50%, -50%) rotate(var(--angle)) scaleX(0.08);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(62, 207, 142, 0), rgba(62, 207, 142, 0.5) 72%, rgba(255, 255, 255, 0.18));
  opacity: 0;
}

.orbit-beam::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 250, 250, 0.92), rgba(62, 207, 142, 0.3) 58%, transparent 70%);
  transform: translateY(-50%) scale(0.4);
  opacity: 0;
}

.orbit-card {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 112px;
  padding: 11px 13px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(15, 15, 15, 0.94);
  border: 1px solid rgba(62, 207, 142, 0.12);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  white-space: nowrap;
  transform: translate(
      calc(-50% + var(--x)),
      calc(-50% + var(--y))
    )
    scale(0.82);
  transform-origin: center;
  opacity: 0;
}

.orbit-card-step {
  display: block;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 4px;
}

.orbit-card-name {
  display: block;
  font-size: 0.8rem;
  color: #f4f4f4;
  letter-spacing: 0.01em;
}

.orbit-diagram.is-primed .orbit-aura {
  animation: orbit-aura-breathe 4.8s ease-in-out infinite;
}

.orbit-diagram.is-primed .pulse-1 {
  animation: orbit-pulse-float 5.8s ease-in-out 0.2s infinite;
}

.orbit-diagram.is-primed .pulse-2 {
  animation: orbit-pulse-float 6.3s ease-in-out 1s infinite;
}

.orbit-diagram.is-primed .orbit-center {
  animation: orbit-core-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.orbit-diagram.is-primed .halo-1 {
  animation: core-halo-pulse 2.6s ease-out 0.18s infinite;
}

.orbit-diagram.is-primed .halo-2 {
  animation: core-halo-pulse 2.6s ease-out 0.55s infinite;
}

.orbit-diagram.is-primed .orbit-ring-outer {
  animation: orbit-ring-enter 1.1s ease forwards;
}

.orbit-diagram.is-primed .orbit-ring-inner {
  animation: orbit-ring-enter 1.1s ease 0.18s forwards;
}

.orbit-diagram.is-running .orbit-track::before {
  animation: orbit-track-fade 0.8s ease forwards;
}

.orbit-diagram.is-running .orbit-signal {
  animation: orbit-signal-spin 7.5s linear infinite;
  opacity: 1;
}

.orbit-satellite.is-active {
  animation: orbit-satellite-float 4.8s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.orbit-satellite.is-active .orbit-beam {
  animation: orbit-beam-draw 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.orbit-satellite.is-active .orbit-beam::after {
  animation: orbit-beam-dot 0.52s ease 0.28s forwards;
}

.orbit-satellite.is-active .orbit-card {
  animation: orbit-card-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes orbit-core-enter {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }
}

@keyframes core-halo-pulse {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  30% {
    opacity: 0.35;
  }
  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

@keyframes orbit-ring-enter {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes orbit-aura-breathe {
  0%, 100% {
    opacity: 0.16;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.38;
    transform: scale(1.02);
  }
}

@keyframes orbit-pulse-float {
  0%, 100% {
    opacity: 0.18;
    transform: translate3d(0, 0, 0) scale(0.72);
  }
  50% {
    opacity: 0.8;
    transform: translate3d(6px, -10px, 0) scale(1.08);
  }
}

@keyframes orbit-beam-draw {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) scaleX(0.08);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--angle)) scaleX(1);
  }
}

@keyframes orbit-beam-dot {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.4);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes orbit-card-enter {
  0% {
    opacity: 0;
    transform: translate(
        calc(-50% + var(--x)),
        calc(-50% + var(--y))
      )
      scale(0.82);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(
        calc(-50% + var(--x)),
        calc(-50% + var(--y))
      )
      scale(1);
  }
}

@keyframes orbit-track-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.85;
  }
}

@keyframes orbit-signal-spin {
  from {
    transform: rotate(-90deg) translateX(126px);
  }
  to {
    transform: rotate(270deg) translateX(126px);
  }
}

@keyframes orbit-satellite-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(var(--float-offset, 4px));
  }
}

/* --- Comparison Table --- */
.comparison-table { margin-bottom: 32px; overflow-x: auto; }

.comparison-table table,
.alt-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td,
.alt-table th,
.alt-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid #242424;
}

.comparison-table th,
.alt-table th {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #898989;
  font-weight: 400;
}

td.muted { color: #898989; }
td.accent { color: #3ecf8e; font-weight: 500; }

.alt-table { margin-bottom: 32px; overflow-x: auto; }
.col-flaxt { color: #3ecf8e; }

/* --- Flaxt Logo Section --- */
.flaxt-logo {
  width: 200px;
  height: auto;
  margin: 0 auto 32px;
}

.flaxt-logo-sm { width: 120px; }

/* --- Timeline Compare --- */
.timeline-compare { margin-bottom: 40px; }

.timeline-old { margin-bottom: 32px; }

.timeline-horizontal {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.t-step {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.3;
}

.t-step small { color: #898989; font-size: 0.65rem; }

.t-gray {
  background: #1a1a1a;
  border: 1px solid #2e2e2e;
  color: #898989;
}

.t-green {
  background: rgba(62, 207, 142, 0.1);
  border: 1px solid rgba(62, 207, 142, 0.3);
  color: #3ecf8e;
}

.t-block-merged {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px;
  background: rgba(62, 207, 142, 0.08);
  border: 1px solid rgba(62, 207, 142, 0.3);
  border-radius: 12px;
  flex: 1;
}

.t-layer {
  font-size: 0.75rem;
  color: #3ecf8e;
  padding: 4px 0;
  border-bottom: 1px solid rgba(62, 207, 142, 0.15);
}

.t-layer:last-child { border-bottom: none; }

/* --- Stat Row --- */
.stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 32px 0;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #3ecf8e;
  font-weight: 400;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: #898989;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #2e2e2e;
}

/* --- Team Compare --- */
.team-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 40px 0;
}

.team-block { padding: 0; }

.team-cards {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.team-card {
  flex: 1;
  min-width: 140px;
  background: #1a1a1a;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  padding: 16px;
}

.team-card-accent {
  border-color: rgba(62, 207, 142, 0.3);
}

.team-role {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fafafa;
  margin-bottom: 8px;
}

.team-card ul { list-style: none; }

.team-card li {
  font-size: 0.75rem;
  color: #898989;
  padding: 3px 0;
}

/* --- Profile Block --- */
.profile-block {
  max-width: 600px;
  margin: 40px auto;
  text-align: center;
}

.profile-block .simple-list {
  text-align: left;
  margin: 16px 0;
}

/* --- Rule Block (10 vistas) --- */
.rule-block {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #0f0f0f;
  border: 1px solid rgba(62, 207, 142, 0.3);
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
}

.big-number {
  font-size: 4rem;
  color: #3ecf8e;
  line-height: 1;
  flex-shrink: 0;
}

/* --- Side by Side --- */
.side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.editor-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.side-panel {
  background: #1a1a1a;
  border: 1px solid #2e2e2e;
  border-radius: 16px;
  padding: 24px;
}

.side-panel-accent {
  border-color: rgba(62, 207, 142, 0.3);
}

.panel-img {
  border-radius: 8px;
  margin: 12px 0;
  border: 1px solid #2e2e2e;
}

/* --- Mock Figma --- */
.mock-figma {
  background: #1a1a1a;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  overflow: hidden;
  margin: 12px 0;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #0f0f0f;
  border-bottom: 1px solid #2e2e2e;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #363636;
}

.mock-title {
  font-size: 0.65rem;
  color: #898989;
  margin-left: auto;
}

.mock-body { padding: 24px; }

.mock-rect {
  width: 100%;
  height: 60px;
  background: #2e2e2e;
  border-radius: 4px;
  margin-bottom: 12px;
}

.mock-line {
  width: 80%;
  height: 8px;
  background: #2e2e2e;
  border-radius: 4px;
  margin-bottom: 8px;
}

.mock-line.short { width: 50%; }

/* --- Demo Video --- */
.mock-live { margin: 12px 0; }

.demo-video {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(62, 207, 142, 0.3);
}

/* --- Plugin Grid --- */
.plugin-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.plugin-pill {
  font-size: 0.7rem;
  padding: 6px 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 6px;
  color: #ef4444;
}

/* --- Built-in Block --- */
.builtin-block {
  text-align: center;
  padding: 32px 16px;
}

.builtin-block svg { margin: 0 auto 16px; }

/* --- Layer Diagram --- */
.layer-diagram {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.layer-item {
  font-size: 0.75rem;
  padding: 6px 14px;
  background: #0f0f0f;
  border: 1px solid #2e2e2e;
  border-radius: 6px;
  color: #b4b4b4;
}

.layer-arrow {
  color: #3ecf8e;
  font-size: 1rem;
}

.laravel-logo {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* --- AI Logos --- */
.ai-logos {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0 32px;
}

.ai-logo-pill {
  font-size: 0.8rem;
  padding: 8px 20px;
  background: #0f0f0f;
  border: 1px solid #2e2e2e;
  border-radius: 9999px;
  color: #b4b4b4;
  transition: border-color 0.3s;
}

.ai-logo-pill:hover { border-color: #3ecf8e; color: #fafafa; }

/* --- Emotional Section --- */
.old-phrases { margin-bottom: 48px; }

.strikethrough {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #4d4d4d;
  text-decoration: line-through;
  margin-bottom: 12px;
  transition: opacity 0.5s;
}

.new-phrase {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #3ecf8e;
  font-weight: 400;
  line-height: 1.1;
}

/* --- Case List --- */
.case-list {
  list-style: decimal;
  padding-left: 20px;
  margin: 16px 0;
}

.case-list li {
  font-size: 0.875rem;
  color: #b4b4b4;
  padding: 6px 0;
  border-bottom: 1px solid #242424;
}

.case-list li:last-child { border-bottom: none; }

.tag {
  font-size: 0.65rem;
  padding: 2px 8px;
  background: #2e2e2e;
  border-radius: 4px;
  color: #898989;
  margin-left: 8px;
}

.tag-red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- Cost List --- */
.cost-list {
  max-width: 600px;
  margin: 0 auto 40px;
}

.cost-list li {
  font-size: 1rem;
  color: #b4b4b4;
  padding: 16px 0;
  border-bottom: 1px solid #242424;
  padding-left: 24px;
  position: relative;
}

.cost-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.4);
  border: 1px solid rgba(239, 68, 68, 0.6);
}

/* --- Vision Timeline --- */
.vision-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 40px 0;
}

.vision-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vision-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2e2e2e;
  border: 2px solid #363636;
}

.vision-active .vision-dot {
  background: #3ecf8e;
  border-color: #3ecf8e;
  box-shadow: 0 0 12px rgba(62, 207, 142, 0.4);
}

.vision-label {
  font-size: 0.875rem;
  color: #fafafa;
}

.vision-line {
  width: 60px;
  height: 2px;
  background: #2e2e2e;
  margin: 0 16px;
  margin-bottom: 40px;
}

/* --- Footer --- */
.footer {
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid #242424;
}

.footer-logo {
  width: 48px;
  height: auto;
  margin: 0 auto 12px;
  opacity: 0.5;
}

/* --- Scroll Animations --- */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-split-intro { min-height: 100svh; }
  .section-flaxt { padding: 80px 0; }
  .section-video-full { padding: 0; min-height: 100vh; }
  .fullscreen-video { height: 100vh; }
  .split-intro-wrap { padding: 0 20px; }
  .split-intro-stage { min-height: 100svh; }
  .split-divider { width: 36px; }
  .split-word-left { padding-right: 28px; }
  .split-word-right { padding-left: 28px; }
  .split-intro-stage.is-collapsing .split-word-left { transform: translateX(40px); }
  .split-intro-stage.is-collapsing .split-word-right { transform: translateX(-40px); }
  .split-merged-text { font-size: clamp(3.5rem, 14vw, 6rem); }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(23, 23, 23, 0.95);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid #2e2e2e;
  }

  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .three-cards { grid-template-columns: 1fr; }
  .two-col-simple { grid-template-columns: 1fr; }
  .side-by-side { grid-template-columns: 1fr; }
  .editor-grid { grid-template-columns: 1fr; }
  .team-compare { grid-template-columns: 1fr; }
  .framework-shift { grid-template-columns: 1fr; gap: 24px; }
  .framework-arrow { display: none; }

  .process-flow {
    gap: 8px;
    justify-content: center;
  }

  .process-connector { width: 16px; }
  .process-node { padding: 14px 12px; }
  .patched-flow-stage { padding: 36px 18px 14px; }
  .patched-flow-caption { gap: 8px; margin-bottom: 14px; }
  .patched-chip { font-size: 0.66rem; padding: 7px 10px; }
  .patched-flow { padding: 6px 2px 12px; }
  .franken-node {
    min-width: 136px;
    padding: 20px 14px 16px;
    margin-right: 6px;
  }
  .patched-connector {
    width: 36px;
    margin-right: 4px;
    margin-top: 52px;
  }
  .connector-pulse { width: 10px; height: 10px; margin-top: -5px; }

  .timeline-label { min-width: 90px; font-size: 0.7rem; }
  .timeline-callout { display: none; }

  .stat-row { flex-direction: column; gap: 24px; }
  .stat-divider { width: 40px; height: 1px; }

  .rule-block { flex-direction: column; text-align: center; }
  .big-number { font-size: 3rem; }

  .hero-title { margin-bottom: 16px; }
  .hero-animation { gap: 12px; flex-wrap: wrap; justify-content: center; }

  .alt-table { font-size: 0.75rem; }
  .alt-table th, .alt-table td { padding: 8px; }

  .vision-timeline { flex-direction: column; }
  .vision-line { width: 2px; height: 32px; margin: 0; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .split-word { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .split-word-left { padding-right: 18px; }
  .split-word-right { padding-left: 18px; }
  .split-divider { width: 24px; }
  .split-merged-text { font-size: clamp(2.9rem, 14vw, 4.8rem); white-space: normal; text-align: center; width: min(90vw, 360px); }
  .section-video-full { padding: 0; min-height: 100vh; }
  .hero-animation { font-size: 1.2rem; }
  .process-node { min-width: 70px; padding: 12px 10px; }
  .node-circle { width: 32px; height: 32px; font-size: 0.75rem; }
  .node-label { font-size: 0.65rem; }
  .node-sub { display: none; }
  .patched-flow-stage { padding: 32px 14px 10px; border-radius: 22px; }
  .patched-flow-caption { margin-bottom: 12px; }
  .patched-flow { padding-bottom: 10px; }
  .patched-chip { font-size: 0.62rem; }
  .franken-node {
    min-width: 120px;
    padding: 18px 12px 14px;
  }
  .patch-note {
    font-size: 0.56rem;
    padding: 4px 8px;
    margin-top: 10px;
  }
  .patched-connector {
    width: 30px;
    margin-top: 50px;
  }
  .mini-node {
    width: 40px;
    height: 40px;
  }
  .mini-ai {
    width: auto;
    height: auto;
    font-size: 0.94rem;
  }
  .team-cards { flex-direction: column; }
}
