/* ============================================
   FutureBuild | GTM Launch Website
   Design System & Styles (GableLBM Industrial Dark)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Design Tokens --- */
:root {
  /* Backgrounds */
  --bg-primary: #0A0B10;
  --bg-secondary: #0F1015;
  --bg-card: rgba(22, 24, 33, 0.6);
  --bg-card-hover: rgba(22, 24, 33, 0.8);

  /* Text */
  --text-primary: #F8F8F8;
  --text-secondary: #A1A1A1;
  --text-muted: #71717A;

  /* Accents */
  --accent-green: #00FFA3;
  --accent-green-glow: rgba(0, 255, 163, 0.15);
  --accent-blue: #38BDF8;
  --accent-blue-glow: rgba(56, 189, 248, 0.15);
  --accent-localblue: #64D0F9;
  --accent-localblue-glow: rgba(100, 208, 249, 0.15);
  --accent-brain: #4F46E5;
  --accent-brain-glow: rgba(79, 70, 229, 0.15);
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.2);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(0, 255, 163, 0.3);

  /* Shadows */
  --elevation-1: 0 2px 8px rgba(0, 0, 0, 0.3);
  --elevation-2: 0 8px 30px rgba(0, 0, 0, 0.4);
  --elevation-3: 0 20px 60px rgba(0, 0, 0, 0.5);
  --glow: 0 0 40px var(--accent-green-glow);
  --glow-strong: 0 0 60px rgba(0, 255, 163, 0.25);

  /* Spacing */
  --section-padding: clamp(80px, 12vh, 140px);
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Type Scale */
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions */
  --ease-emphasized: cubic-bezier(0.2, 0.0, 0, 1.0);
  --ease-out: cubic-bezier(0.2, 0.0, 0, 1.0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- Utilities --- */
.brand-green { color: var(--accent-green); }

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

/* --- Canvas Background --- */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 11, 16, 0.7);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-emphasized);
}

.nav.scrolled {
  padding: 14px 40px;
  background: rgba(10, 11, 16, 0.92);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo-icon {
  height: 63px;
  width: auto;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 22.5px;
  letter-spacing: -0.5px;
}

.nav-logo-text em {
  font-style: normal;
  color: var(--accent-green);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-emphasized);
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  background: rgba(0, 255, 163, 0.1);
  border: 1px solid rgba(0, 255, 163, 0.3);
  color: var(--accent-green);
  cursor: pointer;
  transition: all 0.3s var(--ease-emphasized);
}

.nav-cta:hover {
  background: rgba(0, 255, 163, 0.2);
  transform: translateY(-1px);
}

/* --- Sections Common --- */
section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding) 40px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-emphasized), transform 0.8s var(--ease-emphasized);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* --- Section Labels --- */
.section-label {
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-green);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent-green);
}

.section-label--blue {
  color: var(--accent-blue);
}

.section-label--blue::before,
.section-label--blue::after {
  background: var(--accent-blue);
}

.section-label--cyan {
  color: var(--accent-localblue);
}

.section-label--cyan::before,
.section-label--cyan::after {
  background: var(--accent-localblue);
}

.section-label--purple {
  color: var(--accent-brain);
}

.section-label--purple::before,
.section-label--purple::after {
  background: var(--accent-brain);
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-icon {
  width: 140px;
  height: 140px;
  margin: 0 auto 32px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px var(--accent-green-glow));
}

@keyframes float {

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

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

.hero-logo {
  max-width: 500px;
  margin: 0 auto 40px;
  opacity: 0.95;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -3px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #F8F8F8 0%, #A1A1A1 50%, #F8F8F8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 200% center;
  }
}

.hero-tagline {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 48px;
  letter-spacing: 0.5px;
}

.hero-tagline strong {
  color: var(--accent-green);
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease-emphasized);
  background: var(--accent-green);
  color: #0A0B10;
  box-shadow: var(--glow), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-strong), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-body);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease-emphasized);
  background: transparent;
  color: var(--text-secondary);
}

.btn-secondary:hover {
  border-color: rgba(0, 255, 163, 0.3);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fade-in-up 1s 1.5s ease-out both;
}

.scroll-hint .arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {

  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
  }

  50% {
    transform: rotate(45deg) translate(4px, 4px);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ============================================
   PRODUCT SECTION (Shared Pattern)
   ============================================ */
.product-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.product-section--alt {
  background: var(--bg-primary);
  border-top: none;
  border-bottom: none;
}

.product-header {
  text-align: center;
  margin-bottom: 64px;
}

.product-header .section-subtitle {
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.4s var(--ease-emphasized);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 255, 163, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--elevation-3);
}

.product-card--blue:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.product-card--cyan:hover {
  border-color: rgba(100, 208, 249, 0.3);
}

.product-card--purple:hover {
  border-color: rgba(79, 70, 229, 0.3);
}

.product-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  background: rgba(0, 255, 163, 0.1);
  border: 1px solid rgba(0, 255, 163, 0.15);
}

.product-card-icon--blue {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.15);
}

.product-card-icon--cyan {
  background: rgba(100, 208, 249, 0.1);
  border-color: rgba(100, 208, 249, 0.15);
}

.product-card-icon--purple {
  background: rgba(79, 70, 229, 0.1);
  border-color: rgba(79, 70, 229, 0.15);
}

.product-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.product-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   ECOSYSTEM SECTION (Hub & Spoke)
   ============================================ */
.ecosystem {
  position: relative;
}

.ecosystem-header {
  text-align: center;
  margin-bottom: 72px;
}

.ecosystem-header .section-subtitle {
  margin: 0 auto;
}

/* ============================================
   FOUNDERS SECTION
   ============================================ */
.founders-section {
  padding-top: 0;
  padding-bottom: var(--section-padding);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .founders-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.founder-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease-emphasized);
  height: 100%;
}

.founder-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--elevation-3);
}

.founder-card-image {
  width: 100%;
  height: 380px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.founder-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.img-bw-filter {
  filter: grayscale(100%) contrast(120%) brightness(0.9);
  transition: filter 0.5s var(--ease-out);
}

.founder-card:hover .img-bw-filter {
  filter: grayscale(80%) contrast(110%) brightness(1);
}

.founder-card-content {
  padding: 40px;
  flex: 1;
}

.founder-card-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.founder-card-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.founder-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.founder-tech-stack span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
}
.founder-tech-stack span strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* Hub Layout */
.ecosystem-hub {
  max-width: 1100px;
  margin: 0 auto 64px;
}

.hub-row {
  display: flex;
  align-items: center;
}

.hub-row .hub-product {
  flex: 1 1 0;
  min-width: 0;
}

.hub-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hub-col .hub-product {
  max-width: 380px;
  width: 100%;
}

/* Product Cards */
.hub-product {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s var(--ease-emphasized);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: inherit;
  text-decoration: none;
}

.hub-product:hover {
  transform: translateY(-4px);
  box-shadow: var(--elevation-3);
}

.hub-product--projects:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.hub-product--gable:hover {
  border-color: rgba(0, 255, 163, 0.3);
}

.hub-product--localblue:hover {
  border-color: rgba(100, 208, 249, 0.3);
}

.hub-product-logo {
  height: 40px;
  margin: 0 auto 20px;
}

.hub-product-logo-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 20px;
}

.hub-product-logo-group .hub-product-logo {
  height: 52px;
  margin: 0;
}

.hub-product-logo-text {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.hub-product-logo-text em {
  font-style: normal;
  color: var(--accent-green);
}

.hub-product-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
}

.hub-product--projects .hub-product-label {
  color: var(--accent-green);
  background: var(--accent-green-glow);
}

.hub-product--gable .hub-product-label {
  color: var(--accent-green);
  background: var(--accent-green-glow);
}

.hub-product--localblue .hub-product-label {
  color: var(--accent-localblue);
  background: var(--accent-localblue-glow);
}

.hub-product h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hub-product p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Brain Hub (Compact Center Node) ---- */
.brain-hub {
  flex: 0 0 auto;
  position: relative;
  text-align: center;
  z-index: 2;
}

.brain-hub-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.2), transparent 70%);
  animation: brain-breathe 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes brain-breathe {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.brain-hub-inner {
  position: relative;
  background: rgba(22, 24, 33, 0.95);
  border: 1.5px solid rgba(79, 70, 229, 0.4);
  border-radius: 24px;
  padding: 32px 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 80px rgba(79, 70, 229, 0.1), 0 0 30px rgba(79, 70, 229, 0.05);
  min-width: 220px;
}

.brain-hub-logo {
  height: 36px;
  margin: 0 auto 12px;
}

.brain-hub-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-brain);
  background: var(--accent-brain-glow);
  padding: 3px 10px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 10px;
}

.brain-hub h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.brain-hub p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---- Connector Lines ---- */
.hub-connector {
  position: relative;
  flex-shrink: 0;
}

.hub-connector--h {
  width: 80px;
  height: 2px;
}

.hub-connector--v {
  width: 2px;
  height: 60px;
}

.hub-connector-line {
  position: absolute;
  inset: 0;
}

.hub-connector-line--blue {
  background: linear-gradient(90deg, rgba(56,189,248,0.05), rgba(56,189,248,0.3), rgba(56,189,248,0.05));
}

.hub-connector-line--green {
  background: linear-gradient(90deg, rgba(0,255,163,0.05), rgba(0,255,163,0.3), rgba(0,255,163,0.05));
}

.hub-connector-line--cyan {
  background: linear-gradient(180deg, rgba(100,208,249,0.05), rgba(100,208,249,0.3), rgba(100,208,249,0.05));
}

/* ---- Pulse Dots ---- */
.hub-connector-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot-color, #4F46E5);
  box-shadow: 0 0 12px var(--dot-glow, rgba(79,70,229,0.6));
}

.hub-connector--h .hub-connector-dot {
  top: -2px;
}

.hub-connector--v .hub-connector-dot {
  left: -2px;
}

.hub-connector-dot--fwd {
  animation: dot-fwd 3s ease-in-out infinite;
}

.hub-connector-dot--rev {
  animation: dot-rev 3s ease-in-out infinite;
}

.hub-connector-dot--down {
  animation: dot-down 3s ease-in-out infinite;
}

.hub-connector-dot--up {
  animation: dot-up 3s ease-in-out infinite;
}

@keyframes dot-fwd {
  0% { left: -3px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 3px); opacity: 0; }
}

@keyframes dot-rev {
  0% { left: calc(100% - 3px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: -3px; opacity: 0; }
}

@keyframes dot-down {
  0% { top: -3px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: calc(100% - 3px); opacity: 0; }
}

@keyframes dot-up {
  0% { top: calc(100% - 3px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: -3px; opacity: 0; }
}

.ecosystem-bottom-line {
  text-align: center;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.ecosystem-bottom-line strong {
  color: var(--text-primary);
}

/* ============================================
   PLATFORM / FB-BRAIN SECTION
   ============================================ */
.platform-section {
  background: var(--bg-primary);
}

.platform-header {
  text-align: center;
  margin-bottom: 64px;
}

.platform-header .section-subtitle {
  margin: 0 auto;
}

.platform-flows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.platform-flow {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px 32px;
  transition: all 0.4s var(--ease-emphasized);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.platform-flow:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: var(--elevation-2);
}

.platform-flow-icon {
  font-size: 28px;
  margin-bottom: 20px;
}

.platform-flow h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.platform-flow-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-flow-steps li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
}

.platform-flow-steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-brain);
}

.platform-flow-steps li + li::after {
  content: '';
  position: absolute;
  left: 3px;
  top: -8px;
  width: 2px;
  height: 12px;
  background: rgba(79, 70, 229, 0.3);
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-amber-glow), transparent 70%);
  pointer-events: none;
}

.mission-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.mission .section-label {
  color: var(--accent-amber);
}

.mission .section-label::before,
.mission .section-label::after {
  background: var(--accent-amber);
}

.mission .section-title {
  margin-bottom: 40px;
}

.mission-statement {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.mission-statement strong {
  color: var(--accent-amber);
  font-weight: 600;
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  text-align: left;
}

.mission-value {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease-emphasized);
}

.mission-value:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--elevation-2);
}

.mission-value h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mission-value p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CTA / EARLY ACCESS SECTION
   ============================================ */
.partner-cta {
  padding: var(--section-padding) 40px;
  text-align: center;
  position: relative;
}

.partner-cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--accent-green-glow), transparent 70%);
  pointer-events: none;
}

.partner-cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.partner-cta .section-title {
  margin-bottom: 16px;
}

.partner-cta .section-subtitle {
  margin: 0 auto 48px;
  text-align: center;
}

.partner-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-input,
.form-select {
  padding: 16px 20px;
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  transition: all 0.3s var(--ease-emphasized);
  outline: none;
  width: 100%;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px var(--accent-green-glow);
}

.form-textarea {
  padding: 16px 20px;
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  transition: all 0.3s var(--ease-emphasized);
  outline: none;
  width: 100%;
  resize: vertical;
  min-height: 80px;
}

.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px var(--accent-green-glow);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2371717A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.btn-submit {
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: var(--accent-green);
  color: #0A0B10;
  transition: all 0.3s var(--ease-emphasized);
  box-shadow: var(--glow);
  letter-spacing: 0.3px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-strong), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.partner-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

.form-success {
  display: none;
  padding: 32px;
  text-align: center;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--accent-green);
}

.form-success p {
  color: var(--text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}

.footer-logo img {
  width: 24px;
  height: 24px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-emphasized);
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ============================================
   HAMBURGER MENU (Desktop: hidden)
   ============================================ */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-emphasized);
}

.nav-toggle span + span {
  margin-top: 5px;
}

/* Hamburger → X animation */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(3.5px, 3.5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3.5px, -3.5px);
}

/* Desktop: nav-menu is inline flex */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Tablet / Small Desktop --- */
@media (max-width: 1024px) {
  .hub-row {
    flex-direction: column;
    gap: 20px;
  }

  .hub-connector {
    display: none;
  }

  .brain-hub {
    order: -1;
  }

  .hub-col .hub-product {
    max-width: 100%;
  }

  .platform-flows {
    grid-template-columns: 1fr;
  }
}

/* --- Mobile --- */
@media (max-width: 768px) {

  /* --- Navigation: Hamburger + Slide-down --- */
  .nav {
    padding: 14px 20px;
    flex-wrap: wrap;
  }

  .nav.scrolled {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 2;
  }

  .nav-logo {
    order: 1;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 3;
    padding: 20px 0 8px;
    gap: 0;
    border-top: 1px solid var(--border-subtle);
    margin-top: 14px;
  }

  .nav-menu.open {
    display: flex;
    animation: slideDown 0.3s var(--ease-emphasized);
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-menu .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease;
  }

  .nav-menu .nav-links a:hover,
  .nav-menu .nav-links a:active {
    color: var(--text-primary);
  }

  .nav-menu .nav-cta {
    margin-top: 16px;
    text-align: center;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }

  /* --- Sections: Spacing --- */
  section {
    padding: 48px 20px;
  }

  /* --- Hero --- */
  .hero {
    padding-top: 70px;
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px);
  }

  .hero-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .hero h1 {
    letter-spacing: -1px;
    margin-bottom: 16px;
  }

  .hero-tagline {
    margin-bottom: 32px;
    font-size: clamp(16px, 4vw, 20px);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 28px;
  }

  .scroll-hint {
    display: none;
  }

  /* --- Section Titles --- */
  .section-title {
    letter-spacing: -1px;
  }

  .section-label {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }

  .section-subtitle {
    font-size: clamp(15px, 3.5vw, 18px);
  }

  /* --- Ecosystem Hub --- */
  .ecosystem-header {
    margin-bottom: 40px;
  }

  .hub-product {
    padding: 28px 20px;
  }

  .hub-product h3 {
    font-size: 18px;
  }

  .hub-product p {
    font-size: 14px;
  }

  .hub-product-logo-group .hub-product-logo {
    height: 40px;
  }

  .hub-product-logo-text {
    font-size: 14px;
  }

  .brain-hub-inner {
    padding: 24px 20px;
    min-width: auto;
  }

  .brain-hub-glow {
    inset: -20px;
  }

  .brain-hub h3 {
    font-size: 16px;
  }

  .brain-hub p {
    font-size: 12px;
  }

  .ecosystem-bottom-line {
    font-size: clamp(14px, 3.5vw, 18px);
  }

  /* --- Product Cards --- */
  .product-header {
    margin-bottom: 32px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .product-card {
    padding: 24px;
    border-radius: 20px;
  }

  .product-card-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
    margin-bottom: 16px;
  }

  .product-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .product-card p {
    font-size: 14px;
  }

  /* --- Platform Flows --- */
  .platform-header {
    margin-bottom: 32px;
  }

  .platform-flow {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .platform-flow h3 {
    font-size: 18px;
  }

  .platform-flow-steps li {
    font-size: 14px;
  }

  /* --- Mission Section --- */
  .mission .section-title {
    margin-bottom: 24px;
  }

  .mission-statement {
    font-size: clamp(18px, 4vw, 24px);
    margin-bottom: 28px;
  }

  .mission-values {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 36px;
  }

  .mission-value {
    padding: 20px;
    border-radius: 20px;
  }

  .mission-value h4 {
    font-size: 15px;
  }

  .mission-value p {
    font-size: 14px;
  }

  /* Reduce mission glow for performance */
  .mission::before {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
  }

  /* --- CTA / Form --- */
  .partner-cta {
    padding: 48px 20px;
  }

  .partner-cta::before {
    width: 400px;
    height: 200px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-input,
  .form-select {
    padding: 14px 16px;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }

  .form-textarea {
    padding: 14px 16px;
    font-size: 16px;
  }

  .btn-submit {
    padding: 16px 28px;
    font-size: 16px;
  }

  /* --- Footer --- */
  .footer {
    padding: 32px 20px;
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
  }

  .footer-links a {
    padding: 8px 4px;
    font-size: 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-copy {
    font-size: 12px;
  }

  /* --- Founders Page --- */
  .founder-card-image {
    height: 240px;
  }

  .founder-card-content {
    padding: 24px;
  }

  .founder-card-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .founder-card-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .founder-card-content .section-label {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .founder-tech-stack {
    gap: 6px;
  }

  .founder-tech-stack span {
    font-size: 10px;
    padding: 4px 8px;
  }

  /* Founders hero: override inline styles via class */
  .hero--internal {
    min-height: 30vh !important;
    padding-top: 120px !important;
    padding-bottom: 40px !important;
  }
}

/* --- Small Phone --- */
@media (max-width: 480px) {
  .nav {
    padding: 12px 16px;
  }

  .nav.scrolled {
    padding: 10px 16px;
  }

  .nav-logo-icon {
    height: 40px;
  }

  .nav-logo-text {
    font-size: 18px;
  }

  section {
    padding: 40px 16px;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 48px);
    letter-spacing: -0.5px;
  }

  .hero-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }

  .hero-tagline {
    font-size: 15px;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    padding: 12px 24px;
    font-size: 15px;
  }

  .product-card {
    padding: 20px;
  }

  .hub-product {
    padding: 24px 16px;
  }

  .brain-hub-inner {
    padding: 20px 16px;
  }

  .platform-flow {
    padding: 24px 16px;
  }

  .mission-value {
    padding: 16px;
  }

  .partner-cta {
    padding: 40px 16px;
  }

  .footer {
    padding: 24px 16px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .founder-card-image {
    height: 200px;
  }

  .founder-card-content {
    padding: 20px;
  }

  .hero--internal {
    padding-top: 100px !important;
    padding-bottom: 32px !important;
  }
}

/* --- Touch Device Optimizations --- */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover,
  .hub-product:hover,
  .platform-flow:hover,
  .mission-value:hover,
  .founder-card:hover {
    transform: none;
    box-shadow: none;
  }

  .product-card:active {
    transform: scale(0.98);
  }

  .hub-product:active,
  .platform-flow:active,
  .mission-value:active {
    transform: scale(0.98);
  }

  * {
    -webkit-tap-highlight-color: transparent;
  }

  a, button, input, select, textarea {
    touch-action: manipulation;
  }
}

