/* ================================
   NEURAL PARTNERS - PREMIUM LIGHT EXPERIENCE
   ================================ */

/* CSS Variables */
:root {
  /* Colors - LIGHT THEME */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fc;
  --bg-tertiary: #f1f3f8;
  --bg-accent: #eef0f5;

  --purple-deep: #3c1361;
  --purple-primary: #7c3aed;
  --purple-light: #a78bfa;
  --purple-glow: rgba(124, 58, 237, 0.15);
  --purple-subtle: rgba(124, 58, 237, 0.06);

  --orange-primary: #d97706;
  --orange-light: #f59e0b;

  --blue-primary: #0ea5e9;
  --blue-light: #38bdf8;

  --text-dark: #111827;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-light: #9ca3af;

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

  /* Spacing */
  --section-padding: clamp(4rem, 10vh, 8rem);
  --container-max: 1200px;

  /* Effects */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(124, 58, 237, 0.12);
  --glass-shadow: 0 8px 32px rgba(60, 19, 97, 0.08);
  --card-shadow: 0 4px 20px rgba(60, 19, 97, 0.06);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
  background: var(--purple-primary);
  color: white;
}

/* ================================
   PASSCODE GATE
   ================================ */
.passcode-gate {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.passcode-gate.unlocking {
  animation: gateUnlock 0.8s ease-out forwards;
}

@keyframes gateUnlock {
  0% {
    opacity: 1;
    transform: scale(1);
  }

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

.passcode-container {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.passcode-logo {
  margin-bottom: 2rem;
}

.passcode-logo-img {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 30px var(--purple-glow));
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 30px var(--purple-glow));
  }

  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px var(--purple-glow));
  }
}

.passcode-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--purple-primary);
  margin-bottom: 0.5rem;
}

.passcode-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.passcode-form {
  max-width: 320px;
  margin: 0 auto;
}

.passcode-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: 0.3em;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.passcode-input::placeholder {
  color: var(--text-light);
}

.passcode-input:focus {
  outline: none;
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 4px var(--purple-glow);
}

.passcode-input.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {

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

  20%,
  60% {
    transform: translateX(-10px);
  }

  40%,
  80% {
    transform: translateX(10px);
  }
}

.passcode-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.passcode-error.hidden {
  display: none;
}

.passcode-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-primary));
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.passcode-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--purple-glow);
}

.passcode-note {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.passcode-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ================================
   MAIN EXPERIENCE
   ================================ */
.main-experience {
  position: relative;
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.unlocked .main-experience {
  opacity: 1;
}

/* Video Background */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) translateZ(0);
  object-fit: cover;
  backface-visibility: hidden;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.3) 0%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0.6) 100%);
}

/* ================================
   SCROLL ANIMATIONS (CSS-based)
   ================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px) translateZ(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

/* Staggered delays for grids */
.stats-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.stats-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stats-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.stats-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

.products-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.products-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.products-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

.founders-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.founders-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.founders-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

.roadmap .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.roadmap .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.roadmap .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

.stances-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.stances-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stances-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.stances-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

.funnel-graphic .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.funnel-graphic .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.funnel-graphic .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

/* ================================
   HERO SECTION
   ================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: var(--purple-subtle);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--purple-primary);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-badge.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--purple-primary);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

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

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.title-line {
  display: block;
}

.title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) translateZ(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.title-word.animate-in {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple-primary), var(--orange-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-subtitle.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-cta-group.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-primary));
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--purple-glow);
}

.btn-primary.large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--purple-subtle);
  border-color: var(--purple-primary);
  color: var(--purple-primary);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 1.5s;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--glass-border);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--purple-primary);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

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

  50% {
    transform: translateY(8px);
    opacity: 0.3;
  }
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* ================================
   SECTIONS
   ================================ */
.section {
  position: relative;
  padding: var(--section-padding) 2rem;
  z-index: 10;
  background: var(--bg-primary);
}

.section-dark {
  background: var(--bg-secondary);
}

.section-accent {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-primary));
}

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

.section-inner.center {
  text-align: center;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.center {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--purple-primary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ================================
   GLASS CARDS
   ================================ */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-med);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 20px 60px rgba(60, 19, 97, 0.12);
}

/* ================================
   THE FORK SECTION
   ================================ */
.fork-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .fork-grid {
    grid-template-columns: 1fr;
  }
}

.fork-card {
  padding: 2.5rem;
}

.fork-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--glass-border);
}

.fork-header.human {
  border-bottom-color: var(--orange-primary);
}

.fork-header.machine {
  border-bottom-color: var(--purple-primary);
}

.fork-icon {
  font-size: 2rem;
}

.fork-header h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
}

.fork-thesis {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.fork-thesis em {
  color: var(--purple-primary);
  font-style: normal;
  font-weight: 500;
}

.fork-channels {
  list-style: none;
  margin-bottom: 1.5rem;
}

.fork-channels li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.fork-channels li:last-child {
  border-bottom: none;
}

.fork-channels li strong {
  color: var(--text-dark);
}

.fork-bottom-line {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 1rem;
  background: var(--purple-subtle);
  border-radius: 8px;
  margin: 0;
}

.fork-bottom-line strong {
  color: var(--purple-primary);
}

.fork-conclusion {
  text-align: center;
  padding-top: 2rem;
}

.fork-conclusion .text-highlight {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 1rem 2rem;
  background: var(--glass-bg);
  border: 2px solid var(--purple-primary);
  border-radius: 12px;
}

.fork-subtext {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.fork-subtext strong {
  color: var(--text-dark);
}

/* ================================
   AGENT DEEP DIVE
   ================================ */
.agent-deep-dive {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  padding: 2.5rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(124, 58, 237, 0.02));
  border-color: rgba(124, 58, 237, 0.15);
}

@media (max-width: 900px) {
  .agent-deep-dive {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.agent-example h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--purple-primary);
  margin-bottom: 1rem;
}

.agent-example p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.agent-example p:last-child {
  margin-bottom: 0;
}

.agent-example strong {
  color: var(--text-dark);
}

.agent-model h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.model-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.model-step {
  display: inline-block;
  padding: 0.75rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: center;
}

.model-step em {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: normal;
  margin-top: 0.25rem;
}

.model-arrow {
  color: var(--purple-primary);
  font-size: 1.25rem;
  font-weight: 300;
}

/* ================================
   FIDUCIARY GRID
   ================================ */
.fiduciary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

@media (max-width: 900px) {
  .fiduciary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .fiduciary-grid {
    grid-template-columns: 1fr;
  }
}

.fiduciary-card {
  padding: 1.5rem;
  text-align: center;
}

.fiduciary-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.fiduciary-card h4 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.fiduciary-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================================
   MARKETPLACE SECTION
   ================================ */
.marketplace-section {
  padding: 2.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin: 2rem 0;
}

.marketplace-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2rem;
}

.marketplace-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .marketplace-compare {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.marketplace-old,
.marketplace-new {
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.marketplace-old {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--glass-border);
}

.marketplace-new {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
  border: 2px solid var(--purple-primary);
}

.marketplace-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.marketplace-old .marketplace-label {
  background: var(--text-muted);
  color: white;
}

.marketplace-new .marketplace-label {
  background: var(--purple-primary);
  color: white;
}

.marketplace-old p,
.marketplace-new p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.5;
  margin: 0;
}

.marketplace-old em,
.marketplace-new em {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  font-style: normal;
  margin-top: 0.5rem;
}

.marketplace-roles {
  padding: 1.5rem;
  background: var(--purple-subtle);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.marketplace-roles p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.marketplace-roles ul {
  list-style: none;
}

.marketplace-roles li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.marketplace-roles li:last-child {
  border-bottom: none;
}

.marketplace-roles li strong {
  color: var(--purple-primary);
}

.marketplace-bottom {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: center;
  margin: 0;
  padding-top: 0.5rem;
}

/* Legacy shift styles - keeping for backwards compat */
.shift-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .shift-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.text-highlight {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  padding-left: 1.5rem;
  border-left: 3px solid var(--purple-primary);
}

/* ================================
   STATS GRID
   ================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.stat-card.accent {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-primary));
  border-color: transparent;
}

.stat-card.accent .stat-text,
.stat-card.accent .stat-label {
  color: white;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 200;
  color: var(--purple-primary);
  font-family: var(--font-mono);
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 200;
  color: var(--purple-primary);
}

.stat-text {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 200;
  color: var(--text-dark);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ================================
   ROADMAP
   ================================ */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .roadmap {
    grid-template-columns: 1fr;
  }
}

.roadmap-item {
  position: relative;
}

.roadmap-year {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-primary);
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}

.roadmap-content h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.roadmap-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.roadmap-milestones {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roadmap-milestones li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--glass-border);
}

.roadmap-milestones li:last-child {
  border-bottom: none;
}

.roadmap-milestones li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--purple-primary);
}

/* ================================
   TECH STACK SECTION
   ================================ */
.stack-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(124, 58, 237, 0.04));
  border-color: rgba(124, 58, 237, 0.2);
}

@media (max-width: 768px) {
  .stack-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.stack-hero-content h3 {
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.stack-hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.stack-hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .stack-hero-stats {
    justify-content: flex-start;
  }
}

.stack-stat {
  text-align: center;
}

.stack-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 300;
  color: var(--purple-primary);
  font-family: var(--font-mono);
}

.stack-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .stack-grid {
    grid-template-columns: 1fr;
  }
}

.stack-card {
  padding: 2rem;
}

.stack-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stack-icon {
  font-size: 1.75rem;
}

.stack-header h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
}

.stack-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.stack-desc strong {
  color: var(--purple-primary);
}

.stack-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stack-tech span {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--purple-subtle);
  border-radius: 100px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--purple-primary);
}

.stack-weird {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
  margin: 0;
}

.stack-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.agency-callout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
}

@media (max-width: 768px) {
  .agency-callout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.agency-content h3 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.agency-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.agency-reality {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--purple-subtle);
  border-radius: 8px;
  font-size: 0.9375rem;
}

.agency-reality strong {
  color: var(--purple-primary);
}

.agency-services {
  list-style: none;
}

.agency-services li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--glass-border);
}

.agency-services li:last-child {
  border-bottom: none;
}

.agency-services li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue-primary);
}

/* ================================
   LEGACY PRODUCTS GRID (keeping for backwards compat)
   ================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card.featured {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(124, 58, 237, 0.04));
  border-color: rgba(124, 58, 237, 0.2);
}

.product-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-subtle);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  color: var(--purple-primary);
}

.product-icon.blue {
  background: rgba(14, 165, 233, 0.1);
  color: var(--blue-primary);
}

.product-icon.orange {
  background: rgba(217, 119, 6, 0.1);
  color: var(--orange-primary);
}

.product-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-primary);
  margin-bottom: 0.5rem;
}

.product-tag.blue {
  color: var(--blue-primary);
}

.product-tag.orange {
  color: var(--orange-primary);
}

.product-card h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.product-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-features {
  list-style: none;
}

.product-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-top: 1px solid var(--glass-border);
}

/* ================================
   FOUNDERS GRID
   ================================ */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.founder-card {
  padding: 2.5rem 2rem;
}

/* Robot to Human Image Fade */
.founder-image-container {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(60, 19, 97, 0.15);
}

.founder-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.founder-img.robot {
  opacity: 1;
  z-index: 2;
}

.founder-img.human {
  opacity: 0;
  z-index: 1;
  transform: scale(1.05);
}

.founder-card:hover .founder-img.robot {
  opacity: 0;
  transform: scale(0.95);
}

.founder-card:hover .founder-img.human {
  opacity: 1;
  transform: scale(1);
}

/* Subtle glow on hover */
.founder-card:hover .founder-image-container {
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.25);
}

.founder-role {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.role-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.role-indicator.orange {
  background: var(--orange-primary);
}

.role-indicator.blue {
  background: var(--blue-primary);
}

.role-indicator.purple {
  background: var(--purple-primary);
}

.founder-name {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.founder-title {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.founder-details {
  list-style: none;
}

.founder-details li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  padding-left: 1rem;
  position: relative;
}

.founder-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--purple-primary);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ================================
   CULTURE SECTION
   ================================ */
.culture-story {
  padding: 2.5rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .culture-story {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.culture-intro h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.culture-intro p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.culture-location {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--purple-subtle);
  border-radius: 12px;
}

.location-icon {
  font-size: 2rem;
}

.culture-location strong {
  display: block;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.culture-location p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.culture-cta {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
}

.culture-cta p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.culture-cta a {
  color: var(--purple-primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--purple-primary);
  transition: var(--transition-fast);
}

.culture-cta a:hover {
  color: var(--purple-deep);
  border-bottom-color: var(--purple-deep);
}

/* ================================
   STANCES GRID
   ================================ */
.stances-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .stances-grid {
    grid-template-columns: 1fr;
  }
}

.stance-card {
  padding: 2rem;
}

.stance-card.highlight {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(124, 58, 237, 0.04));
  border-color: rgba(124, 58, 237, 0.2);
}

.stance-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.stance-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.stance-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ================================
   CONTACT
   ================================ */
.section-accent .section-label,
.section-accent .section-title,
.section-accent .section-subtitle {
  color: white;
}

.contact-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: white;
}

.gradient-text-light {
  background: linear-gradient(135deg, #ffffff, var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}

.section-accent .btn-primary {
  background: white;
  color: var(--purple-primary);
}

.section-accent .btn-primary:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* ================================
   FOOTER
   ================================ */
.footer {
  padding: 3rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* ================================
   SASHA CHAT WIDGET
   ================================ */
#sasha-chat-widget {
  position: fixed;
  z-index: 9999;
  font-family: var(--font-primary);
}

#sasha-chat-widget.bottom-right {
  bottom: 24px;
  right: 24px;
}

#sasha-chat-widget.bottom-left {
  bottom: 24px;
  left: 24px;
}

.sasha-chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.sasha-chat-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(124, 58, 237, 0.5);
}

.sasha-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--orange-primary);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sasha-chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.bottom-left .sasha-chat-window {
  right: auto;
  left: 0;
}

.sasha-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
  color: white;
}

.sasha-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sasha-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sasha-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sasha-agent-details {
  display: flex;
  flex-direction: column;
}

.sasha-agent-name {
  font-weight: 500;
  font-size: 1rem;
}

.sasha-agent-status {
  font-size: 0.75rem;
  opacity: 0.85;
}

.sasha-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.sasha-close-btn:hover {
  opacity: 1;
}

.sasha-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-primary);
}

.sasha-message {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}

.sasha-user-message {
  align-self: flex-end;
}

.sasha-agent-message {
  align-self: flex-start;
}

.sasha-message-content {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.sasha-user-message .sasha-message-content {
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
  color: white;
  border-bottom-right-radius: 4px;
}

.sasha-agent-message .sasha-message-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
}

.sasha-typing .sasha-message-content {
  padding: 16px 20px;
}

.sasha-typing-dots {
  display: flex;
  gap: 4px;
}

.sasha-typing-dots span {
  width: 8px;
  height: 8px;
  background: var(--purple-primary);
  border-radius: 50%;
  animation: sasha-bounce 1.4s ease-in-out infinite;
}

.sasha-typing-dots span:nth-child(1) { animation-delay: 0s; }
.sasha-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.sasha-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes sasha-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.sasha-streaming .sasha-message-content {
  position: relative;
}

.sasha-cursor {
  animation: sasha-blink 1s step-end infinite;
  color: var(--purple-primary);
}

@keyframes sasha-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.sasha-chat-input {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  background: white;
  border-top: 1px solid var(--glass-border);
}

.sasha-chat-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  font-size: 0.9375rem;
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-dark);
  transition: border-color 0.2s;
}

.sasha-chat-input input:focus {
  outline: none;
  border-color: var(--purple-primary);
}

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

.sasha-chat-input button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}

.sasha-chat-input button:hover:not(:disabled) {
  transform: scale(1.05);
}

.sasha-chat-input button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  #sasha-chat-widget.bottom-right,
  #sasha-chat-widget.bottom-left {
    bottom: 16px;
    right: 16px;
    left: auto;
  }

  .sasha-chat-window {
    width: calc(100vw - 32px);
    height: calc(100vh - 100px);
    bottom: 64px;
    right: -8px;
  }
}

/* Sasha Sleeping State */
.sasha-chat-toggle.sleeping {
  background: linear-gradient(135deg, #64748b, #475569);
  box-shadow: 0 4px 20px rgba(100, 116, 139, 0.3);
}

.sasha-chat-toggle.sleeping:hover {
  box-shadow: 0 6px 30px rgba(100, 116, 139, 0.4);
}

.sasha-chat-header.sleeping {
  background: linear-gradient(135deg, #64748b, #475569);
}

.sasha-agent-status.sleeping {
  color: rgba(255, 255, 255, 0.7);
}

.sasha-chat-input.sleeping {
  opacity: 0.6;
}

.sasha-chat-input.sleeping input {
  background: #f1f5f9;
  cursor: not-allowed;
}

.sasha-chat-input.sleeping button {
  background: linear-gradient(135deg, #64748b, #475569);
  cursor: not-allowed;
}

/* ================================
   REDUCED MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}