/* ============================================
   VAULT — GSAP Storytelling Site
   Brand System + Full Layout
   ============================================ */

/* === CUSTOM PROPERTIES === */
:root {
  --teal: #00E5CC;
  --teal-dark: #00B8A3;
  --teal-concept: #00c8b4; /* design-concept accent */
  --teal-glow: rgba(0, 229, 204, 0.15);
  --teal-glow-strong: rgba(0, 229, 204, 0.4);
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --paper: #f5f0e8; /* design-concept warm paper */
  --warm-gray: #2D2D2D;
  --mid-gray: #6B7280;
  --light-gray: #E5E7EB;
  --wood: #8B6914;
  --chrome: #C0C0C0;
  --deep-black: #0A0A0A;
  --navy: #0d1b2a; /* design-concept deep */
  --red-soft: #FF6B6B;
  /* Design-concept typography: Cinzel display, Playfair serif, Source Sans 3 body (readable numbers + lowercase) */
  --font-display: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-height: 72px;
  --section-pad: clamp(80px, 12vh, 160px);
  --container-max: 1200px;
  --container-wide: 1400px;
}

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

html {
  scroll-behavior: auto; /* GSAP handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--warm-gray);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 60px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn--teal {
  background: var(--teal);
  color: var(--deep-black);
}

.btn--teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.btn--glow {
  box-shadow: 0 0 20px var(--teal-glow-strong);
}

.btn--glow:hover {
  box-shadow: 0 0 40px var(--teal-glow-strong);
}

.btn--lg {
  padding: 20px 48px;
  font-size: 1.125rem;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(24px, 4vw, 48px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* nav--scrolled: the theme-specific rules in nav-dark/nav-light handle the bg.
   This is the generic fallback if neither theme class is applied. */
.nav--scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  z-index: 1001;
}

.nav__logo-img {
  height: 2rem;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav__logo:has(.nav__logo-img) .nav__logo-v,
.nav__logo:has(.nav__logo-img) .nav__logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0,0,0,0);
  overflow: hidden;
}

.nav__logo-v {
  color: var(--teal);
  font-size: 1.8rem;
  font-weight: 800;
}

.nav__logo-text {
  color: var(--warm-gray);
}

.nav--scrolled .nav__logo-text,
.nav__logo-text {
  color: var(--warm-gray);
}

.hero .nav__logo-text {
  color: var(--white);
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mid-gray);
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--warm-gray);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link.active {
  color: var(--teal);
}

.nav__cta {
  padding: 10px 24px;
  background: var(--teal);
  color: var(--deep-black);
  border-radius: 60px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.nav__cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--warm-gray);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--deep-black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s;
}

.mobile-menu__link:hover {
  color: var(--teal);
}

.mobile-menu__cta {
  margin-top: 24px;
  padding: 16px 40px;
  background: var(--teal);
  color: var(--deep-black);
  border-radius: 60px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
}

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

/* Farm Minerals–style: teal-dominant full-bleed. Frame-1 pair = teal bg + product overlay. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0d2d2a; /* strong teal-black so hero reads teal even if image loads late */
}

.hero__video-placeholder {
  width: 100%;
  height: 100%;
  background: var(--deep-black);
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(0, 229, 204, 0.12) 0%, transparent 60%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.25) 0%,
    rgba(10, 10, 10, 0.45) 50%,
    rgba(10, 10, 10, 0.7) 100%
  );
  /* Keep teal visible; don’t wash out with black */
  box-shadow: inset 0 0 80vw 30vmin rgba(0, 229, 204, 0.06);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero__headline {
  margin-bottom: 32px;
}

.hero__line {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  opacity: 1;
}

.hero__line--1 {
  font-size: clamp(3rem, 8vw, 7rem);
}

.hero__line--2 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  color: var(--teal);
}

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 48px;
  opacity: 1;
}

.hero__cta {
  opacity: 1;
  transform: none;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  z-index: 1;
}

.hero__scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--teal), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Hex breathing animation for hero background */
@keyframes heroGlow {
  0%, 100% { opacity: 0.05; transform: scale(1); }
  50% { opacity: 0.12; transform: scale(1.05); }
}

.hero__video-placeholder::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  animation: heroGlow 4s ease-in-out infinite;
  border-radius: 50%;
}

/* === PHILOSOPHY === */
/* Farm Minerals: light cream/beige section for “problem” statement and stat. */
#philosophy,
.philosophy {
  padding: var(--section-pad) 0;
  background: var(--paper, #F5F0E8);
}

.philosophy__statement {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: left;
}

#philosophy .section-headline {
  text-align: left;
}

.philosophy-statement {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy, var(--warm-gray));
  opacity: 1;
}

.philosophy__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--warm-gray);
}

.philosophy__body {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: left;
}

.philosophy-body {
  font-size: 1.125rem;
  color: var(--mid-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.philosophy-pullquote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  border-left: 3px solid var(--teal);
  padding-left: 1.5rem;
  margin: 2rem 0;
  max-width: 520px;
}

.philosophy__text {
  font-size: 1.125rem;
  color: var(--mid-gray);
  line-height: 1.8;
}

/* Stat block: 233+ / Zero — FM-style big stat */
.section-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-block {
  text-align: center;
  padding: 1.5rem 2rem;
  min-width: 200px;
}

.stat-block__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--warm-gray);
  line-height: 1;
}

.stat-block__suffix {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--teal);
}

.stat-block--teal .stat-block__number {
  color: var(--teal);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
}

.stat-block__label {
  display: block;
  font-size: 0.95rem;
  color: var(--mid-gray);
  margin-top: 0.5rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

.philosophy__stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--warm-gray);
  line-height: 1;
}

.stat__plus {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--teal);
}

.stat__number--teal {
  color: var(--teal);
  font-size: clamp(3.5rem, 7vw, 6rem);
}

.stat__label {
  display: block;
  font-size: 1rem;
  color: var(--mid-gray);
  margin-top: 8px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* === FADE UP UTILITY === */
.fade-up {
  opacity: 1;
  transform: none;
}

/* === MACHINE — 360° SECTION === */
.machine {
  position: relative;
  height: 400vh; /* scroll distance for rotation */
  background: var(--off-white);
}

.machine__canvas-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.machine__canvas {
  display: none; /* Hidden until image sequence loaded */
  max-width: 600px;
  max-height: 600px;
}

.machine__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.machine__tower-visual {
  position: relative;
  width: 320px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.machine__tower {
  position: relative;
  width: 280px;
  height: 420px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 1px solid rgba(192, 192, 192, 0.2);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.15),
    0 0 60px rgba(0, 229, 204, 0.05);
}

.machine__hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 24px;
  height: 50%;
}

.hex {
  background: linear-gradient(135deg, #5c3a0a 0%, #8B6914 50%, #5c3a0a 100%);
  border-radius: 6px;
  border: 1px solid rgba(192, 192, 192, 0.15);
  animation: hexBreathe 4s ease-in-out infinite;
}

.hex:nth-child(even) { animation-delay: 0.5s; }
.hex:nth-child(3n) { animation-delay: 1s; }

@keyframes hexBreathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(0, 229, 204, 0); }
  50% { transform: scale(1.03); box-shadow: 0 0 12px rgba(0, 229, 204, 0.3); }
}

.machine__tower-body {
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
  border-top: 1px solid rgba(192, 192, 192, 0.1);
}

.machine__tower-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.4;
}

.machine__tower-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
  box-shadow: 0 0 20px var(--teal-glow-strong);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.machine__overlays {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 10;
}

.machine__text {
  position: absolute;
  max-width: 360px;
  transition: opacity 0.6s ease;
}

.machine__text--front {
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
}

.machine__text--side {
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
}

.machine__text--back {
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
}

.machine__text--other {
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
}

.machine__text-inner {
  padding: 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid var(--light-gray);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.machine__text-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--warm-gray);
  margin-bottom: 12px;
}

.machine__text-title::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--teal);
  margin-bottom: 16px;
  border-radius: 2px;
}

.machine__text p {
  font-size: 1rem;
  color: var(--mid-gray);
  line-height: 1.7;
}

/* === SOFTWARE — PINNED WALKTHROUGH === */
.software {
  min-height: 500vh; /* Scroll distance for 5 panels */
  position: relative;
  background: var(--white);
}

.software__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 0 clamp(24px, 4vw, 48px);
  max-width: var(--container-wide);
  margin: 0 auto;
}

.software__left {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
}

.software__panel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding-right: 40px;
}

.software__panel.active {
  opacity: 1;
  transform: translateY(-50%);
}

.software__panel-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-glow);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.software__panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--warm-gray);
  margin-bottom: 20px;
}

.software__panel p {
  font-size: 1.125rem;
  color: var(--mid-gray);
  line-height: 1.8;
}

.software__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.software__screen {
  width: 100%;
  max-width: 560px;
}

.software__screen-frame {
  background: var(--deep-black);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.software__screen-dots {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
}

.software__screen-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.software__screen-dots span:first-child { background: #FF5F57; }
.software__screen-dots span:nth-child(2) { background: #FEBC2E; }
.software__screen-dots span:nth-child(3) { background: #28C840; }

.software__screen-content {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.software__screen-slide {
  position: absolute;
  inset: 0;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.software__screen-slide.active {
  opacity: 1;
}

/* Screen Mocks */
.screen-mock { color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; }

.screen-mock__header {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.screen-mock__progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 24px;
  overflow: hidden;
}

.screen-mock__bar {
  height: 100%;
  width: 100%;
  background: var(--teal);
  border-radius: 2px;
}

.screen-mock__checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen-mock__check {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.screen-mock__check::first-letter {
  color: var(--teal);
}

.screen-mock__ready {
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
}

/* WebUI Mock */
.screen-mock--webui {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  height: 100%;
}

.screen-mock__sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 12px;
}

.screen-mock__sidebar-item {
  padding: 8px 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  margin-bottom: 4px;
}

.screen-mock__sidebar-item.active {
  background: rgba(0, 229, 204, 0.1);
  color: var(--teal);
}

.screen-mock__chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen-mock__msg {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  max-width: 85%;
}

.screen-mock__msg--user {
  background: rgba(0, 229, 204, 0.15);
  color: var(--teal);
  align-self: flex-end;
}

.screen-mock__msg--ai {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.screen-mock__input {
  margin-top: auto;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

/* Memory Mock */
.screen-mock__memory-entries {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen-mock__memory-entry {
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.85rem;
  border-left: 3px solid var(--teal);
}

.screen-mock__memory-entry .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  background: rgba(0, 229, 204, 0.15);
  color: var(--teal);
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 8px;
}

.screen-mock__memory-count {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal);
  opacity: 0.6;
}

/* Terminal Mock */
.screen-mock--terminal .screen-mock__terminal-line {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.6);
}

.screen-mock--terminal .green {
  color: #28C840;
  margin-right: 8px;
}

/* n8n Mock */
.screen-mock__n8n-header {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 24px;
}

.screen-mock__n8n-canvas {
  position: relative;
  height: 200px;
}

.n8n-node {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}

.n8n-node--teal {
  border-color: var(--teal);
  background: rgba(0, 229, 204, 0.08);
  color: var(--teal);
}

.n8n-line {
  position: absolute;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
}

/* Software Progress Dots */
.software__progress {
  display: flex;
  gap: 10px;
}

.software__progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--light-gray);
  transition: all 0.3s ease;
}

.software__progress-dot.active {
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal-glow-strong);
}

/* Numbers section — Farm Minerals “field-tested” style: dark block, white/teal stats */
#numbers {
  background: var(--deep-black);
  padding: var(--section-pad) 0;
}

#numbers .section-title {
  color: var(--white);
}

#numbers .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.numbers-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  transition: border-color 0.3s ease;
}

.numbers-stat:hover {
  border-color: rgba(0, 229, 204, 0.25);
}

.numbers-stat__primary {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.numbers-stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.numbers-stat__unit {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.numbers-stat__comparison {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.numbers-stat__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.numbers-stat__badge {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
}

/* === NUMBERS — HORIZONTAL SCROLL === */
.numbers {
  background: var(--deep-black);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.numbers__header {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 24px;
}

.numbers__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
}

.numbers__track {
  overflow: visible;
  padding: 0 clamp(24px, 4vw, 48px);
}

.numbers__cards {
  display: flex;
  gap: 32px;
  width: max-content;
}

.numbers__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  min-width: 340px;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}

.numbers__card:hover {
  border-color: rgba(0, 229, 204, 0.3);
}

.numbers__card-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 28px;
}

.numbers__card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.numbers__card-product {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.numbers__card-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.numbers__card-value--teal {
  color: var(--teal);
}

.numbers__card-delta {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--teal);
}

/* === PAIN POINTS === */
.painpoints {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.painpoints__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
  color: var(--warm-gray);
}

.painpoints__grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.painpoints__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.painpoints__problem,
.painpoints__solution {
  padding: 32px;
  border-radius: 12px;
}

.painpoints__problem {
  background: rgba(255, 107, 107, 0.05);
  border: 1px solid rgba(255, 107, 107, 0.15);
}

.painpoints__solution {
  background: var(--teal-glow);
  border: 1px solid rgba(0, 229, 204, 0.2);
}

.painpoints__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.painpoints__label--problem {
  background: rgba(255, 107, 107, 0.15);
  color: var(--red-soft);
}

.painpoints__label--solution {
  background: rgba(0, 229, 204, 0.2);
  color: var(--teal-dark);
}

.painpoints__problem p,
.painpoints__solution p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--warm-gray);
}

.painpoints__stat {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--mid-gray);
  font-style: italic;
}

/* === TIERS === */
.tiers {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.tiers__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 64px;
  color: var(--warm-gray);
}

.tiers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.tiers__card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  border: 1px solid var(--light-gray);
  transition: all 0.4s ease;
  position: relative;
}

.tiers__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.tiers__card--featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 10px 40px rgba(0, 229, 204, 0.1);
}

.tiers__card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--deep-black);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 20px;
}

.tiers__card-header {
  text-align: center;
  margin-bottom: 32px;
}

.tiers__card-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--warm-gray);
  margin-bottom: 8px;
}

.tiers__card-price {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--warm-gray);
  line-height: 1;
}

.tiers__specs {
  margin-bottom: 32px;
}

.tiers__specs li {
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.95rem;
  color: var(--mid-gray);
}

.tiers__specs li strong {
  color: var(--warm-gray);
  font-weight: 600;
}

.tiers__card-best {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.7;
  margin-bottom: 32px;
}

.tiers__card .btn {
  width: 100%;
}

.tiers__note {
  text-align: center;
  font-size: 1rem;
  color: var(--mid-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* === UPGRADE === */
.upgrade {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.upgrade__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.upgrade__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.upgrade__exploded {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 400px;
}

.upgrade__component {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.4s ease;
}

.upgrade__component:hover {
  border-color: var(--teal);
  box-shadow: 0 0 20px var(--teal-glow);
  transform: translateY(-4px);
}

.upgrade__component-icon {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal);
  background: var(--teal-glow);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.upgrade__component span {
  font-size: 0.85rem;
  color: var(--mid-gray);
}

.upgrade__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--warm-gray);
  margin-bottom: 32px;
  line-height: 1.15;
}

.upgrade__text {
  font-size: 1.125rem;
  color: var(--mid-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.upgrade__text--accent {
  color: var(--warm-gray);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5;
}

/* === TRUST === */
.trust {
  padding: var(--section-pad) 0;
  background: var(--off-white);
  text-align: center;
}

.trust__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--warm-gray);
  margin-bottom: 48px;
}

.trust__badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.trust__badge {
  padding: 12px 24px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--warm-gray);
}

.trust__quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  color: var(--mid-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-style: italic;
}

/* === RESERVE CTA === */
.reserve {
  padding: var(--section-pad) 0;
  background: var(--deep-black);
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.reserve .container {
  width: 100%;
}

.reserve__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 32px;
}

.reserve__sub {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 48px;
}

.reserve__form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 32px;
}

.reserve__input {
  flex: 1;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 60px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.reserve__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.reserve__input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.reserve__fine {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.8;
}

/* === FOOTER === */
.footer {
  padding: 48px 0;
  background: var(--deep-black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--teal);
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .software__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .software__left {
    height: auto;
    position: relative;
  }

  .software__panel {
    position: relative;
    top: auto;
    transform: none;
    opacity: 1;
    margin-bottom: 48px;
    padding-right: 0;
  }

  .software {
    min-height: auto;
    padding: var(--section-pad) 0;
  }

  .software__inner {
    position: relative;
  }

  .upgrade__split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__line--1 {
    font-size: 3rem;
  }

  .hero__line--2 {
    font-size: 2.5rem;
  }

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

  .tiers__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .numbers__cards {
    flex-direction: column;
    width: 100%;
    padding: 0 24px;
  }

  .numbers__card {
    min-width: auto;
  }

  .machine {
    height: auto;
    padding: var(--section-pad) 0;
  }

  .machine__canvas-wrap {
    position: relative;
    height: auto;
    min-height: 500px;
  }

  .machine__overlays {
    position: relative;
    padding: 0 24px;
  }

  .machine__text {
    position: relative;
    opacity: 1;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    max-width: 100%;
    margin-bottom: 24px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .reserve__form {
    flex-direction: column;
  }
}

/* ============================================
   === WAVE 2 ADDITIONS ===
   New sections: quickstart, how-it-works,
   tower-journey, faq, tower-drop
   + machine/theme/hero supplemental fixes
   ============================================ */

/* ============================================
   QUICKSTART SECTION — Farm Minerals “Meet” style: light section + 3 benefit cards
   ============================================ */
#quickstart {
  background: #F5F0E8;
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 2;
}

#quickstart .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--warm-gray);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

#quickstart .section-subtitle {
  font-size: 1.125rem;
  color: var(--mid-gray);
  margin-bottom: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* 3 benefit cards — FM-style light boxes with teal accent */
#quickstart .section-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  text-align: left;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--teal);
}

.benefit-card:hover {
  border-color: rgba(0, 229, 204, 0.4);
  box-shadow: 0 8px 32px rgba(0, 229, 204, 0.08);
}

.benefit-card__stat {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--warm-gray);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.benefit-card__body {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.6;
  margin: 0;
}

.quickstart {
  background: var(--deep-black);
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.quickstart__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00E5CC;
  margin-bottom: 24px;
  opacity: 1;
}

.quickstart__headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.1;
}

.quickstart__sub {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #9CA3AF;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 64px;
}

.quickstart__steps,
.quickstart-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.quickstart__step,
.quickstart-step {
  flex: 1;
  text-align: center;
  padding: 0 32px;
  opacity: 1;
}

.quickstart__step-icon,
.quickstart-step__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,229,204,0.2);
  border-radius: 16px;
  padding: 16px;
  background: rgba(0,229,204,0.05);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.quickstart__step:hover .quickstart__step-icon,
.quickstart-step:hover .quickstart-step__icon {
  border-color: rgba(0,229,204,0.5);
  background: rgba(0,229,204,0.1);
}

.quickstart__step-icon img,
.quickstart-step__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quickstart__step-num,
.quickstart-step__number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

#quickstart .quickstart-step__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--warm-gray);
  margin-bottom: 0.5rem;
}

#quickstart .quickstart-step__body {
  font-size: 1rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

.quickstart__step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.quickstart__step-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #6B7280;
  line-height: 1.6;
}

.quickstart__step-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(0,229,204,0.4);
  flex-shrink: 0;
  margin-top: 40px;
  padding: 0 8px;
}

.quickstart__contrast {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}

.quickstart__contrast-vault {
  color: #00E5CC;
  font-weight: 600;
  padding: 8px 20px;
  border: 1px solid rgba(0,229,204,0.4);
  border-radius: 100px;
  background: rgba(0,229,204,0.08);
}

.quickstart__contrast-vs {
  color: #6B7280;
  font-size: 12px;
}

.quickstart__contrast-diy {
  color: #6B7280;
  text-decoration: line-through;
}

@media (max-width: 768px) {
  .quickstart__steps,
  .quickstart-steps {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
  .quickstart__step-divider {
    transform: rotate(90deg);
    margin: 0;
  }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
  background: #ffffff;
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.how-it-works__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00E5CC;
  margin-bottom: 24px;
  display: block;
}

.how-it-works__headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 72px;
  max-width: 640px;
  line-height: 1.15;
}

.how-it-works__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.how-it-works__product {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-it-works__product-img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.15));
}

.how-it-works__connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.connector-path {
  stroke-dasharray: none;
}

.how-it-works__callouts {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.how-it-works__callout {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-left: 3px solid #00E5CC;
  border-radius: 8px;
  padding: 20px 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 1;
}

.how-it-works__callout:hover {
  border-color: rgba(0,229,204,0.6);
  box-shadow: 0 4px 24px rgba(0,229,204,0.08);
}

.how-it-works__callout-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00E5CC;
  margin-bottom: 6px;
}

.how-it-works__callout-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #0A0A0A;
  margin-bottom: 4px;
}

.how-it-works__callout-stat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #6B7280;
  margin-bottom: 8px;
}

.how-it-works__callout p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #4B5563;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .how-it-works__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ============================================
   TOWER JOURNEY SECTION
   ============================================ */
.tower-journey {
  height: 600vh;
  background: #0A0A0A;
  position: relative;
  z-index: 1;
}

.tower-journey__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}

.tower-journey__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 60px;
}

.tower-journey__outline,
.tower-journey__filled {
  position: absolute;
  width: 280px;
  height: auto;
  max-height: 70vh;
}

.tower-journey__product {
  position: absolute;
  width: 300px;
  max-height: 70vh;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0,229,204,0.2));
}

.tower-journey__hexagons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.tj-hex-particle {
  position: absolute;
  will-change: transform, opacity;
}

/* Right side: cards */
.tower-journey__cards {
  position: relative;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
}

.tower-journey__card {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  right: 60px;
  max-width: 380px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,229,204,0.2);
  border-radius: 16px;
  padding: 40px;
}

.tower-journey__card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: block;
}

.tower-journey__card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.tower-journey__card-body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #9CA3AF;
  line-height: 1.7;
  margin: 0;
}

/* Grid overlay (15 towers) */
.tower-journey__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 16px;
  padding: 60px;
  pointer-events: none;
}

.tj-grid-tower {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fleet text */
.tower-journey__fleet {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 90%;
  max-width: 700px;
}

.tower-journey__fleet-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 20px;
}

.tower-journey__fleet-sub {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .tower-journey__sticky {
    grid-template-columns: 1fr;
  }
  .tower-journey__cards {
    display: none;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  background: #ffffff;
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.faq__headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 64px;
  line-height: 1.15;
}

.faq__list {
  max-width: 720px;
}

.faq__item {
  border-bottom: 1px solid #E5E7EB;
  opacity: 1;
}

.faq__item:first-child {
  border-top: 1px solid #E5E7EB;
}

.faq__question {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { display: none; }

.faq__question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: #00E5CC;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

details[open] .faq__question::after {
  transform: rotate(45deg);
}

details[open] .faq__question {
  color: #00E5CC;
}

.faq__answer {
  padding: 0 0 24px;
  animation: faqOpen 0.3s ease;
}

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

.faq__answer p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #4B5563;
  line-height: 1.75;
  margin: 0;
}

.faq__answer code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  background: #F3F4F6;
  padding: 2px 6px;
  border-radius: 4px;
  color: #111827;
}

/* ============================================
   PHILOSOPHY — Split layout (left copy, right close-up loop) Farm Minerals style
   ============================================ */
.philosophy--split .philosophy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  min-height: 80vh;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: var(--section-pad) clamp(24px, 4vw, 48px);
}

.philosophy--split .philosophy__col--text {
  max-width: 560px;
}

.philosophy--split .philosophy__col--media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.philosophy__closeup-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16/10;
  background: var(--navy, #0d1b2a);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.philosophy__closeup-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--navy, #0d1b2a);
}

.philosophy__closeup-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: none;
}

.philosophy__closeup-wrap.no-canvas .philosophy__closeup-canvas { display: none; }
.philosophy__closeup-wrap.no-canvas .philosophy__closeup-fallback { display: block; }

.philosophy__stats {
  margin-top: 2rem;
}

.container--narrow {
  max-width: 100%;
  padding: 0;
}

@media (max-width: 900px) {
  .philosophy--split .philosophy__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .philosophy--split .philosophy__col--text { max-width: 100%; }
  .philosophy--split .philosophy-statement,
  .philosophy--split .philosophy-body,
  .philosophy--split .philosophy-pullquote { text-align: left; }
  .philosophy__closeup-wrap { margin: 0 auto; max-width: 400px; }
}

/* ============================================
   QUICKSTART — Farm Minerals style: left headline, center tower + SVG fill, right 3 blocks
   ============================================ */
.quickstart--hiw {
  padding: var(--section-pad) 0;
  background: var(--paper);
}

.quickstart--hiw .quickstart__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.35fr) minmax(0, 0.25fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px) 64px;
}

.quickstart__col--headline {
  max-width: 420px;
}

.quickstart__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy, var(--warm-gray));
  margin-bottom: 0.75rem;
}

.quickstart__subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

.quickstart__col--center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quickstart__tower-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
}

.quickstart__svg-fill {
  color: var(--teal);
  width: 100%;
  height: auto;
  aspect-ratio: 200/320;
}

.quickstart__tower-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.quickstart__tower-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: auto;
  max-height: 90%;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

.quickstart__col--blocks {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quickstart-block {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.quickstart-block:hover {
  border-color: rgba(0,229,204,0.3);
  box-shadow: 0 4px 20px rgba(0,229,204,0.08);
}

.quickstart-block__icon {
  color: var(--teal);
  margin-bottom: 12px;
}

.quickstart-block__icon svg {
  display: block;
}

.quickstart-block__title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy, var(--warm-gray));
  margin-bottom: 0.5rem;
}

.quickstart-block__body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.5;
}

.quickstart__benefits {
  padding-top: 0;
}

@media (max-width: 1024px) {
  .quickstart--hiw .quickstart__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .quickstart__col--headline { max-width: 100%; }
  .quickstart__tower-wrap { margin: 0 auto; }
  .quickstart__col--blocks { max-width: 480px; margin: 0 auto; width: 100%; }
}

/* ============================================
   TOWER DROP SECTION (300vh pinned)
   ============================================ */
.tower-drop {
  position: relative;
  height: 300vh; /* Overridden when ScrollTrigger pins it */
  background: #0A0A0A;
  z-index: 1;
}

.tower-drop__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.tower-drop__overlays {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.tower-drop__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 640px;
  width: 90%;
  padding: 0 24px;
  opacity: 0;
}

.tower-drop__eyebrow {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00E5CC;
  margin-bottom: 16px;
}

.tower-drop__headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  margin: 0;
  text-shadow: 0 0 40px rgba(0,0,0,0.8);
}

/* ============================================
   MACHINE SECTION — canvas + particles
   (Supplemental — base styles already defined above)
   ============================================ */

/* .machine__canvas-wrap already has position:sticky — add relative for child layering */
.machine__canvas-wrap {
  position: relative; /* Needed for particle overlay — supplements sticky */
}

/* Override display:none when image sequence is present */
.machine__canvas--active {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
}

.machine__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ============================================
   THEME SUPPORT — dark/light morphs
   ============================================ */
.theme-dark .nav {
  background: rgba(10,10,10,0.95);
  border-bottom-color: rgba(0,229,204,0.1);
}

.theme-light .nav {
  background: rgba(255,255,255,0.95);
  border-bottom-color: rgba(0,0,0,0.1);
}

.theme-light .nav__logo-v,
.theme-light .nav__logo-text {
  color: #0A0A0A;
}

.theme-light .nav__link {
  color: #4B5563;
}

.theme-light .nav__link:hover {
  color: #0A0A0A;
}

/* ============================================
   HERO — product wrap parallax layer
   (Supplemental — .hero__overlay base already defined above)
   ============================================ */
.hero__product-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.hero__product {
  max-height: 80vh;
  max-width: 55vw;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5)) drop-shadow(0 0 30px rgba(0,229,204,0.15));
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Supplement .hero__overlay with a deeper gradient variant for product bg use */
.hero__overlay--deep {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.3) 0%,
    rgba(10,10,10,0.5) 50%,
    rgba(10,10,10,0.8) 100%
  );
}

/* ============================================
   PHILOSOPHY — z-index supplement
   (Supplemental — base padding/bg already defined above)
   ============================================ */
.philosophy {
  position: relative;
  z-index: 2;
}

/* ============================================
   SOFTWARE WALKTHROUGH — progress bar support
   (Supplemental — base width/max-width already defined above)
   ============================================ */
.software__screen {
  position: relative; /* For progress bar absolute children */
}

/* ============================================
   TOWER JOURNEY — Mobile fallback (<1024px)
   ============================================ */
@media (max-width: 1023px) {
  .tower-journey {
    height: auto !important;
    min-height: 100vh;
    padding: 80px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tower-journey__sticky {
    position: static !important;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 0;
  }

  .tower-journey__stage {
    height: auto;
    min-height: 300px;
    padding: 0;
  }

  .tower-journey__product {
    position: relative !important;
    opacity: 1 !important;
    width: 220px;
    max-height: 320px;
  }

  .tower-journey__outline,
  .tower-journey__filled,
  .tower-journey__hexagons,
  .tower-journey__grid {
    display: none;
  }

  .tower-journey__cards {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
    padding: 0;
    height: auto;
    position: static !important;
    width: 100%;
    max-width: 480px;
  }

  .tower-journey__card {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,229,204,0.2);
    border-radius: 12px;
    padding: 24px;
  }

  .tower-journey__fleet {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    text-align: center;
    width: 100%;
  }

  .tower-journey__fleet-headline {
    font-size: clamp(28px, 8vw, 48px);
  }
}

/* ============================================
   PHASE 2 — UI-UX ADDITIONS
   Color blocking, nav theming, responsive,
   fail-open, layout helpers
   ============================================ */

/* === COLOR BLOCKING — data-theme === */
[data-theme="dark"] {
  background-color: var(--deep-black, #0A0A0A);
  color: var(--white, #FFFFFF);
}
[data-theme="light"] {
  background-color: var(--white, #FFFFFF);
  color: var(--warm-gray, #2D2D2D);
}

/* === NAV THEMING — JS adds .nav-dark or .nav-light === */
/* Farm Minerals style: transparent on hero, then solid on scroll */
nav.nav-dark {
  background-color: transparent;
  color: white;
}
nav.nav-dark.nav--scrolled {
  background-color: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
nav.nav-dark .nav__link {
  color: rgba(255, 255, 255, 0.7);
}
nav.nav-dark .nav__link:hover {
  color: white;
}
nav.nav-dark .nav__logo-text {
  color: white;
}
nav.nav-dark .nav__hamburger span {
  background: white;
}

nav.nav-light {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--warm-gray, #2D2D2D);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
nav.nav-light .nav__link {
  color: var(--mid-gray, #6B7280);
}
nav.nav-light .nav__link:hover {
  color: var(--warm-gray, #2D2D2D);
}
nav.nav-light .nav__logo-text {
  color: var(--warm-gray, #2D2D2D);
}
nav.nav-light .nav__hamburger span {
  background: var(--warm-gray, #2D2D2D);
}

nav .nav-cta {
  background-color: var(--teal, #00E5CC);
  color: var(--deep-black, #0A0A0A);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}
nav .nav-cta:hover {
  background-color: var(--teal-dark, #00B8A3);
}

/* Nav transition for scroll behavior */
.nav {
  transition: background 0.4s ease, color 0.3s ease, backdrop-filter 0.4s ease, box-shadow 0.3s ease;
}

/* === DATA-THEME SECTION COLORS === */
/* Farm Minerals style: clear dark/light color blocking */
[data-theme="dark"] {
  background-color: var(--deep-black);
  color: var(--white);
}
[data-theme="dark"] .section-title {
  color: var(--white);
}
[data-theme="dark"] .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}
[data-theme="light"] {
  background-color: var(--paper);
  color: var(--warm-gray);
}
[data-theme="light"] .section-title {
  color: var(--navy);
}
[data-theme="light"] .section-subtitle {
  color: var(--mid-gray);
}

/* === SECTION TITLES — Farm Minerals italic serif style === */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2rem;
}
.section-headline {
  margin-bottom: 3rem;
}

/* === SECTION PADDING RHYTHM === */
section {
  padding: 120px 0;
  min-height: 100vh;
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d2d2a; /* teal-dominant fallback (Farm Minerals style) */
  position: relative;
  overflow: hidden;
}

/* Frame-1 pair: full-bleed teal bg image (from build/images) */
#hero .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hero .hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#hero .hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.4) 100%);
  pointer-events: none;
}

/* Product overlay: exact same size as background image (same scale as image sequence section) */
#hero .hero__product-wrap--fullbleed {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#hero .hero__product-wrap--fullbleed .hero__product {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.25)) drop-shadow(0 0 40px rgba(0,229,204,0.12));
}

/* Legacy product wrap (when used inside col) */
#hero .hero__product-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

#hero .hero__product,
#hero .hero__product-wrap .product-img {
  max-height: 60vh;
  max-width: 90vw;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3)) drop-shadow(0 0 40px rgba(0,229,204,0.15));
}

/* Content on top */
#hero .hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

#hero .hero__content--split {
  text-align: left;
}

#hero .section-headline h1,
#hero .hero-headline,
#hero .hero-headline__line {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  color: var(--white, #FFFFFF);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

#hero .hero-headline__line--teal {
  color: var(--teal);
}

#hero .section-body,
#hero .hero-subhead {
  color: rgba(255, 255, 255, 0.9);
}

/* --- Hero: design-concept split layout (left-aligned text, right product with mask) --- */
#hero .hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-wide, 1400px);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

#hero .hero__content--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  width: 100%;
  max-width: 100%;
  text-align: left;
  padding: 0;
}

#hero .hero__col--text {
  max-width: 520px;
}

#hero .hero-headline--left .hero-headline__line {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
}

#hero .hero-headline--left .hero-headline__line--teal {
  color: var(--teal-concept, var(--teal));
}

#hero .hero-subhead--left {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 1.5rem 0 2rem;
  max-width: 420px;
}

#hero .hero-cta--left {
  margin-bottom: 2.5rem;
}

#hero .hero-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 380px;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0.85;
}

#hero .hero-specs__label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

#hero .hero-specs__value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Right column: product with design-concept fade mask on left edge */
#hero .hero__col--media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

#hero .hero__product-wrap--mask {
  position: relative;
  width: 85%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#hero .hero__product-wrap--mask .hero__product {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  object-position: right center;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);
}

@media (max-width: 900px) {
  #hero .hero__content--split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  #hero .hero__col--text { max-width: 100%; }
  #hero .hero-subhead--left { margin-left: auto; margin-right: auto; }
  #hero .hero-cta--left { display: flex; justify-content: center; }
  #hero .hero-specs { margin: 0 auto; }
  #hero .hero__col--media { justify-content: center; }
  #hero .hero__product-wrap--mask { width: 90%; justify-content: center; }
  #hero .hero__product-wrap--mask .hero__product {
    mask-image: none;
    -webkit-mask-image: none;
    object-position: center;
  }
}

/* Hero product image — match inspiration layout (legacy single-image hero) */
.hero-product {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.hero-product .product-img {
  max-height: 60vh;
  max-width: 90vw;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3)) drop-shadow(0 0 40px rgba(0,229,204,0.15));
}

/* === CARD BASE STYLE === */
.card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 229, 204, 0.2);
}

/* Dark section cards */
[data-theme="dark"] .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .card:hover {
  border-color: rgba(0, 229, 204, 0.3);
  box-shadow: 0 8px 30px rgba(0, 229, 204, 0.06);
}

/* === FAIL-OPEN CSS (CRITICAL) === */
/* All animated elements default to visible. */
/* JS will override these just before animation starts. */
.fade-up {
  opacity: 1;
  transform: translateY(0);
}
.card {
  opacity: 1;
}
.pathway-item {
  opacity: 1;
}
.connector-line {
  opacity: 1;
}
.stat-number {
  opacity: 1;
}
.hero-product-img,
.product-img {
  opacity: 1;
}
.tower-phase {
  opacity: 0; /* exception: phases are overlays, should start hidden */
}
.hiw-product-img {
  opacity: 1;
}

/* === HIW CARD STYLES === */
.hiw-card {
  padding: 1.25rem;
}

.hiw-card__icon {
  margin-bottom: 0.75rem;
}

.hiw-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.hiw-card__body {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

.hiw-card__screenshot {
  margin-top: 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* === HOW IT WORKS LAYOUT === */
/* CropTab-style: central product + 3 cards + right-side pathway column */
#how-it-works .section-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  position: relative; /* anchor for .hiw-connector-svg absolute positioning */
}

/* === HIW CONNECTOR SVG — DrawSVGPlugin target === */
.hiw-connector-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
  grid-column: 1 / -1; /* span both grid columns so it overlays correctly */
  grid-row: 1 / -1;
}

@media (max-width: 767px) {
  .hiw-connector-svg { display: none; }
}

#how-it-works .hiw-center {
  grid-column: 1;
}

#how-it-works .hiw-cards {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

#how-it-works .hiw-pathways {
  grid-column: 2;
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Pathway cards — right column, one emphasized at a time (JS can add .active) */
.hiw-pathway {
  padding: 1.5rem 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hiw-pathway:hover,
.hiw-pathway.active {
  border-color: rgba(0, 229, 204, 0.5);
  box-shadow: 0 4px 20px rgba(0, 229, 204, 0.08);
}

.hiw-pathway__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--warm-gray);
  margin-bottom: 0.35rem;
}

.hiw-pathway__body {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.6;
  margin: 0;
}

.hiw-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.hiw-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hiw-center__figure {
  margin: 0;
  text-align: center;
}
.hiw-center__img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.hiw-center__caption {
  font-size: 0.85rem;
  color: var(--mid-gray);
  margin-top: 0.75rem;
  line-height: 1.5;
}
.hiw-product-img {
  max-width: 300px;
  width: 100%;
}

/* === TOWER DROP CANVAS === */
/* Farm Minerals tower-drop style: dark/teal env, product central, text phases at milestones */
#tower-drop {
  position: relative;
  overflow: hidden;
  background: #0d2d2a !important; /* Override data-theme — teal-dark environment for tower drop */
  min-height: 100vh;
}

#tower-drop .container {
  position: relative;
  height: 100%;
  min-height: 100vh;
}

#tower-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tower-phase {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 2;
  max-width: 90%;
  padding: 0 1rem;
}

.tower-phase__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.tower-phase__line {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* === PAIN POINTS === */
.pain-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pain-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
}

.pain-block__problem {
  padding: 2rem;
  background: rgba(255, 107, 107, 0.04);
  border-right: 1px solid var(--light-gray);
}

.pain-block__solution {
  padding: 2rem;
  background: rgba(0, 229, 204, 0.04);
}

.pain-block__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 0.75rem;
  padding: 4px 10px;
  background: rgba(255, 107, 107, 0.08);
  border-radius: 4px;
}

.pain-block__tag--teal {
  color: var(--teal-dark);
  background: rgba(0, 229, 204, 0.08);
}

.pain-block__headline {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.pain-block__detail {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.7;
}

@media (max-width: 767px) {
  .pain-block { grid-template-columns: 1fr; }
  .pain-block__problem { border-right: none; border-bottom: 1px solid var(--light-gray); }
}

/* === TIER CARDS === */
.tier-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.tier-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.tier-card__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--teal);
  color: var(--deep-black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
}

.tier-card__header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.tier-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.tier-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.tier-card__currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--warm-gray);
}

.tier-card__amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.tier-card__tagline {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

.tier-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tier-card__features li {
  font-size: 0.95rem;
  color: var(--mid-gray);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.tier-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

.tier-card__cta {
  width: 100%;
  text-align: center;
}

.tiers-footnote {
  text-align: center;
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin-top: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* === UPGRADE SECTION === */
.upgrade-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.upgrade-visual__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.upgrade-copy__intro {
  font-size: 1.1rem;
  color: var(--mid-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.upgrade-copy__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.upgrade-copy__item {
  padding-left: 1.25rem;
  border-left: 3px solid var(--teal);
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.7;
}

.upgrade-copy__item strong {
  color: var(--navy);
}

.upgrade-copy__promise {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .upgrade-layout { grid-template-columns: 1fr; }
}

/* === TRUST SECTION === */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 200px;
  transition: border-color 0.3s ease;
}

.trust-badge:hover {
  border-color: rgba(0, 229, 204, 0.3);
}

.trust-badge__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.trust-badge__label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.trust-badge__detail,
.trust-badge__desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.trust-testimonial {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.trust-testimonial__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.trust-testimonial__author {
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 600;
}

.trust-testimonial__attribution {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-testimonial__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
}

.trust-testimonial__role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  line-height: 1.4;
}

.faq-item__trigger::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--teal);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item__trigger[aria-expanded="true"]::after {
  content: '\2212'; /* minus sign */
  transform: rotate(0deg);
}

.faq-item__answer {
  overflow: hidden;
}

.faq-item__answer p {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.8;
  padding: 0.75rem 0 0.5rem;
}

/* === RESERVE / CTA === */
#reserve {
  text-align: center;
  background: var(--deep-black) !important;
}

.reserve-subhead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.reserve-form {
  max-width: 480px;
  margin: 0 auto;
}

.reserve-form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-align: left;
}

.reserve-form__row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.reserve-form__input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.reserve-form__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.reserve-form__input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.15);
}

.reserve-form__note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  text-align: center;
}

/* === FAQ ITEMS === */
.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
  cursor: pointer;
}
[data-theme="dark"] .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* === RESPONSIVE — DESKTOP 1200px+ === */
/* .container already defined in base styles */

/* === RESPONSIVE — TABLET: 768–1199px === */
@media (max-width: 1199px) {
  .container { padding: 0 1.5rem; }
  #hero .section-headline h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
}

/* === RESPONSIVE — MOBILE: <768px === */
@media (max-width: 767px) {
  section { padding: 80px 0; }
  .container { padding: 0 1rem; }
  nav .nav__links { display: none; } /* hamburger handles this */
  nav .nav__hamburger { display: flex; }

  /* Tower drop mobile: hide canvas, show fallback */
  #tower-canvas { display: none !important; }
  .tower-mobile-fallback { display: block; width: 100%; max-width: 400px; margin: 0 auto; }

  /* How It Works mobile: stack, hide connectors */
  /* How it works: stack on small screens */
  #how-it-works .section-body {
    grid-template-columns: 1fr;
  }
  #how-it-works .hiw-pathways {
    grid-row: auto;
  }
  #how-it-works .hiw-cards {
    grid-template-columns: 1fr;
  }

  .hiw-cards { flex-direction: column; }
  .connector-svg { display: none; }
  .hiw-pathways { flex-direction: column; }
  .hiw-layout { grid-template-columns: 1fr; }

  /* Tap targets */
  nav a, nav button { min-height: 44px; min-width: 44px; display: flex; align-items: center; }

  /* Tier cards stack on mobile */
  .tier-cards { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  nav .nav__hamburger { display: none; }
  .tower-mobile-fallback { display: none; } /* canvas shows on desktop */
}

/* ============================================
   TASK 29 — TOWER SPIN 360° CANVAS
   Scroll-scrub canvas in How It Works
   ============================================ */
.tower-spin-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto 2rem;
  aspect-ratio: 1 / 1;
}
.tower-spin-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.tower-spin-fallback {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
@media (max-width: 767px) {
  #towerSpinCanvas { display: none; }
  .tower-spin-fallback { display: block; }
}

/* ============================================
   TASK 30 — SVG ASSET SYSTEM
   Icons, wave dividers, particle pattern,
   data-flow illustration, ai-brain
   ============================================ */

/* --- Section Icons (icon-set.svg sprite references) --- */
.section-icon {
  width: 32px;
  height: 32px;
  color: #00E5CC; /* teal — currentColor flows into stroke/fill */
  display: block;
  margin-bottom: 0.75rem;
}

/* --- Wave Dividers --- */
.wave-divider-wrap {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: -2px 0; /* eliminate gap between sections */
  position: relative;
  z-index: 3;
}
.wave-divider-wrap svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* --- Particle Pattern — dark sections only (not hero/tower-drop) --- */
#numbers, #trust, #reserve {
  background-image: url('assets/svgs/particle-pattern.svg');
  background-repeat: repeat;
  background-size: 60px 60px;
  /* background-color is preserved from existing [data-theme="dark"] rules */
}

/* --- Data-Flow SVG — How It Works --- */
.hiw-data-flow-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  opacity: 0.6;
}
.hiw-data-flow {
  max-width: 480px;
  width: 100%;
  height: auto;
}

/* --- AI Brain — Trust section illustration --- */
.trust-illustration {
  max-width: 200px;
  margin: 0 auto 2rem;
  opacity: 0.7;
}
.trust-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Tier card Pro glow highlight --- */
.tier-card--pro {
  box-shadow: 0 0 0 2px #00E5CC, 0 8px 40px rgba(0, 229, 204, 0.15);
}

/* --- FAQ: initial collapsed state via CSS (fail-open: height:auto in HTML, JS overrides) --- */
/* Note: JS sets height:0 on dd elements so this is purely a fallback reset */
.faq-item__answer {
  overflow: hidden;
}

/* --- Reserve CTA button pulse handled via GSAP (see animations.js initReservePulse) --- */
/* Base state ensures it looks good without JS */
.reserve-form__submit,
.btn--primary {
  position: relative;
  background: var(--teal);
  color: var(--deep-black);
  padding: 16px 36px;
  border-radius: 60px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 204, 0.3);
}

/* Hero CTA: white button with dark text for contrast on dark bg */
#hero .btn--primary {
  background: var(--white);
  color: var(--deep-black);
  text-transform: none;
  letter-spacing: 0.02em;
}
#hero .btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}
