/* ========================================
   BEEMO — Brand Design System
   ======================================== */

:root {
  /* Brand Blues — derived from logo */
  --blue-primary: #4A7AE8;
  --blue-light: #7BA3F0;
  --blue-lighter: #A8C4F5;
  --blue-dark: #1B3573;
  --blue-deep: #122554;

  /* Backgrounds */
  --navy-deep: #0B1628;
  --bg-dark: #0B1628;
  --bg-dark-alt: #0F1D35;
  --bg-light: #FFFFFF;
  --bg-light-alt: #F7F9FC;
  --bg-card: #131F38;

  /* Text */
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #8A9BBF;
  --text-on-light: #0B1628;
  --text-on-light-muted: #4A5568;

  /* Spacing */
  --section-pad: 120px;
  --container-max: 1140px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   RESET & BASE
   ======================================== */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-dark);
  background: var(--bg-dark);
}

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

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

/* ========================================
   LAYOUT
   ======================================== */

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

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

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

/* Subtle gradient orb — adds depth to dark sections */
.section-dark::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(74, 122, 232, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Second orb — opposite corner */
.section-dark::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(74, 122, 232, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.section-light {
  background: var(--bg-light);
  color: var(--text-on-light);
}

/* Add visual separator between consecutive same-background sections */
.section-light + .section-light {
  border-top: 1px solid #E8EDF5;
}

.section-dark + .section-dark {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-transition + .section-light {
  border-top: 1px solid #E8EDF5;
}

/* Subtle depth difference between consecutive dark sections */
.section-problem {
  background: #0C1527;
}

.section-solution {
  background: var(--navy-deep);
}

.solution-punchline {
  text-align: center;
  max-width: 640px;
  margin: 48px auto 0;
}

.solution-punchline-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  font-weight: 500;
}

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

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-primary);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-subtitle {
  margin-top: 20px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle-light {
  margin-top: 20px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-on-light-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(74, 122, 232, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ========================================
   HEADER
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.35s var(--ease);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(11, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo .logo-accent {
  color: var(--blue-light);
  font-weight: 500;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-on-dark);
}

.nav-link.cta-link {
  color: #fff;
  background: var(--blue-primary);
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-link.cta-link:hover {
  background: var(--blue-light);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 720px;
}

.hero-diagram {
  position: relative;
}

.hero-title {
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-proof-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.01em;
}

.hero-proof-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.hero-gradient {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(74, 122, 232, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ========================================
   SOCIAL PROOF BAR
   ======================================== */

.proof-bar {
  background: var(--bg-dark-alt);
  padding: 48px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

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

.proof-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: -0.02em;
}

.proof-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  margin-top: 4px;
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   THE PROBLEM — SYSTEMS DIAGRAM
   ======================================== */

.diagram-wrapper {
  margin: 0;
}

.diagram {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  aspect-ratio: 700 / 480;
}

/* --- SVG lines --- */
.diagram-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dia-line {
  stroke: var(--blue-primary);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.25, 0.1, 0.25, 1),
              opacity 0.3s ease;
}

/* All lines extend from center simultaneously */
.diagram.connected .dia-line {
  opacity: 0.5;
  stroke-dashoffset: 0;
}

/* --- Pulse rings --- */
.dia-pulse {
  fill: none;
  stroke: var(--blue-primary);
  stroke-width: 1;
  opacity: 0;
}

.diagram.connected .dia-pulse {
  animation: pulse-ring 2.5s ease-out 1.5s infinite;
}

.diagram.connected .dia-pulse-2 {
  animation: pulse-ring 2.5s ease-out 2.3s infinite;
}

@keyframes pulse-ring {
  0%   { r: 40; opacity: 0.5; }
  100% { r: 160; opacity: 0; }
}

/* --- Center node --- */
.diagram-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-dark-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 0 rgba(74, 122, 232, 0);
  transition: box-shadow 0.6s 1s;
}

.diagram.connected .diagram-center {
  box-shadow: 0 0 40px 8px rgba(74, 122, 232, 0.25), 0 0 80px 20px rgba(74, 122, 232, 0.1);
}

.diagram-center-logo {
  width: 48px;
  height: 48px;
}

/* --- System nodes --- */
.dia-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.dia-node span {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  white-space: nowrap;
  transition: all 0.5s var(--ease);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

/* Gentle continuous float */
.dia-node:nth-child(3)  { animation: drift-1 4s ease-in-out infinite; }
.dia-node:nth-child(4)  { animation: drift-2 4.5s ease-in-out infinite; }
.dia-node:nth-child(5)  { animation: drift-3 3.8s ease-in-out infinite; }
.dia-node:nth-child(6)  { animation: drift-1 4.2s ease-in-out 0.3s infinite; }
.dia-node:nth-child(7)  { animation: drift-2 3.6s ease-in-out 0.5s infinite; }
.dia-node:nth-child(8)  { animation: drift-3 4.8s ease-in-out 0.2s infinite; }
.dia-node:nth-child(9)  { animation: drift-1 3.5s ease-in-out 0.8s infinite; }
.dia-node:nth-child(10) { animation: drift-2 4.1s ease-in-out 0.4s infinite; }
.dia-node:nth-child(11) { animation: drift-3 4.4s ease-in-out 0.6s infinite; }
.dia-node:nth-child(12) { animation: drift-1 3.9s ease-in-out 0.7s infinite; }

@keyframes drift-1 {
  0%, 100% { transform: translate(-50%, -50%) translate(0, 0); }
  50%      { transform: translate(-50%, -50%) translate(6px, -8px); }
}

@keyframes drift-2 {
  0%, 100% { transform: translate(-50%, -50%) translate(0, 0); }
  50%      { transform: translate(-50%, -50%) translate(-7px, 5px); }
}

@keyframes drift-3 {
  0%, 100% { transform: translate(-50%, -50%) translate(0, 0); }
  50%      { transform: translate(-50%, -50%) translate(5px, 7px); }
}

/* Connected state — highlight pills (drift continues) */

.diagram.connected .dia-node span {
  border-color: var(--blue-primary);
  color: var(--blue-light);
  background: #162244;
  box-shadow: 0 2px 16px rgba(74, 122, 232, 0.2);
  transition-delay: 1s;
}

/* --- Diagram label --- */
.diagram-label {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  height: 1.4em;
  position: relative;
}

.diagram-label-off,
.diagram-label-on {
  transition: opacity 0.4s, transform 0.4s;
}

.diagram-label-off {
  color: var(--text-on-dark-muted);
}

.diagram-label-on {
  color: var(--blue-primary);
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
}

.diagram.connected ~ .diagram-label .diagram-label-off {
  opacity: 0;
  transform: translateY(-6px);
  transition-delay: 1.2s;
}

.diagram.connected ~ .diagram-label .diagram-label-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition-delay: 1.2s;
}

/* --- Scattered systems chaos --- */

.problem-chaos {
  position: relative;
  max-width: 620px;
  height: 380px;
  margin: 48px auto 0;
}

.chaos-window {
  position: absolute;
  left: var(--cx);
  top: var(--cy);
  z-index: var(--cz);
  width: 160px;
  background: #fff;
  border-radius: 8px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: visible;
  transform: rotate(var(--cr));
}

.chaos-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  border-top: 2.5px solid var(--accent, #94A3B8);
  border-radius: 8px 8px 0 0;
}

.chaos-dots {
  display: flex;
  gap: 3.5px;
  flex-shrink: 0;
}

.chaos-dots::before,
.chaos-dots::after {
  content: '';
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background: #D1D5DB;
}

.chaos-dots::before {
  box-shadow: 9px 0 0 #D1D5DB;
}

.chaos-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.01em;
  margin-left: 6px;
}

.chaos-body {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #fff;
  border-radius: 0 0 8px 8px;
}

.chaos-line {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #E2E8F0;
}

.chaos-row {
  font-size: 0.58rem;
  line-height: 1.5;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.chaos-val {
  float: right;
  font-weight: 600;
  color: #334155;
}

.chaos-conflict {
  float: right;
  font-weight: 700;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.08);
  padding: 0 4px;
  border-radius: 2px;
}

.chaos-ok {
  color: #16A34A;
}

.chaos-warn {
  color: #D97706;
  font-weight: 700;
}

.chaos-dim {
  color: #94A3B8;
  font-size: 0.52rem;
}

.chaos-stale {
  font-size: 0.5rem;
  color: #D97706;
  margin: 2px 0 0;
  font-style: italic;
}

.chaos-fail-bar {
  font-size: 0.55rem;
  font-weight: 700;
  color: #DC2626;
  background: rgba(239, 68, 68, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.chaos-spinner-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.55rem;
  color: #94A3B8;
  padding: 6px 0;
}

.chaos-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid #E2E8F0;
  border-top-color: #94A3B8;
  border-radius: 50%;
  animation: chaos-spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes chaos-spin {
  to { transform: rotate(360deg); }
}

.chaos-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 11px;
  background: #EF4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0 5px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  z-index: 10;
}

@media (max-width: 640px) {
  .problem-chaos {
    max-width: 340px;
    height: 300px;
    margin-top: 36px;
  }
  .chaos-window {
    width: 120px;
  }
  .chaos-name {
    font-size: 0.58rem;
  }
  .chaos-row {
    font-size: 0.5rem;
  }
}

/* --- Answer statement (dark bg) --- */

.problem-answer {
  text-align: center;
  max-width: 700px;
  margin: 52px auto 0;
  padding: 40px 48px;
  background: rgba(74, 122, 232, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(74, 122, 232, 0.12);
  position: relative;
}

.problem-answer-text {
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
  line-height: 1.45;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: -0.025em;
}

.highlight {
  color: var(--blue-light);
}

/* --- Transition section (dark → light gradient) --- */

.section-transition {
  background: var(--bg-light);
  color: var(--text-on-light);
  padding-bottom: 80px;
}

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

.section-transition .section-title {
  color: var(--text-on-light);
}

.section-transition .section-subtitle-light {
  color: var(--text-on-light-muted);
}

/* --- Experience grid (Who We Are) --- */

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.experience-item {
  padding: 32px;
  background: var(--bg-light-alt);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.experience-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-on-light);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.35;
}

.experience-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-on-light-muted);
}

/* Speed cards — light variant */

.speed-card-light {
  background: #fff;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.speed-question-light {
  color: var(--text-on-light-muted);
}

.speed-answer-light {
  color: var(--text-on-light);
}

/* Testimonials — light variant (doubled selector to beat cascade) */

.testimonial.testimonial-light {
  background: #fff;
  border: 1px solid #E2E8F0;
}

.testimonial.testimonial-light:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 8px 30px rgba(74, 122, 232, 0.1);
}

.testimonial.testimonial-light .testimonial-text {
  color: var(--text-on-light);
}

.testimonial.testimonial-light .testimonial-name {
  color: var(--text-on-light);
}

.testimonial.testimonial-light .testimonial-role {
  color: var(--text-on-light-muted);
}

/* ========================================
   THE SOLUTION — BUSYWORK LIST
   ======================================== */

/* --- Busywork grid --- */

.busywork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.busywork-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.busywork-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--blue-primary);
  margin-top: 2px;
}

.busywork-label {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
  margin: 0;
}

/* --- Speed callouts --- */

.speed-callouts {
  max-width: 800px;
  margin: 56px auto 0;
  text-align: center;
}

.solution-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-on-dark-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

.speed-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.speed-card {
  padding: 32px 28px;
  background: rgba(74, 122, 232, 0.06);
  border: 1px solid rgba(74, 122, 232, 0.12);
  border-radius: 12px;
  text-align: left;
}

.speed-question {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
  margin: 0 0 10px;
}

.speed-answer {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-on-dark);
  letter-spacing: -0.03em;
  margin: 0;
}

/* ========================================
   WORKFLOW DEMOS
   ======================================== */

.workflow-demos {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.workflow-demos-lead {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-primary);
  text-align: center;
  margin-bottom: 40px;
}

/* --- Workflow carousel --- */

.workflow-carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.workflow-track-wrap {
  overflow: hidden;
}

.workflow-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.workflow-card {
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
  padding: 0 4px;
  box-sizing: border-box;
}

.workflow-card-inner {
  display: flex;
  flex-direction: column;
}

.workflow-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  background: rgba(74, 122, 232, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

.workflow-card-header {
  margin-bottom: 16px;
  text-align: center;
}

.workflow-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.workflow-card-subtitle {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  margin-top: 14px;
  line-height: 1.5;
}

/* --- Workflow flow diagram --- */

.workflow-flow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  white-space: nowrap;
}

.flow-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--blue-light);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-arrow {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* --- Carousel navigation --- */

.workflow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-on-dark-muted);
  cursor: pointer;
  padding: 0;
  font: inherit;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.workflow-prev { left: -52px; }
.workflow-next { right: -52px; }

.workflow-arrow:hover {
  border-color: var(--blue-primary);
  background: rgba(74, 122, 232, 0.15);
  color: var(--blue-light);
}

.workflow-arrow:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.workflow-dots-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.workflow-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.workflow-dot-more {
  opacity: 0.6;
  border-style: dashed;
  text-decoration: none;
}

.workflow-dot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 6px 16px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  line-height: 1;
  transition: background 0.25s, transform 0.25s;
}

.workflow-dot:hover {
  border-color: rgba(74, 122, 232, 0.3);
  color: var(--text-on-dark);
}

.workflow-dot.active {
  background: rgba(74, 122, 232, 0.15);
  border-color: var(--blue-primary);
  color: var(--blue-light);
}

/* --- Mock screens --- */
.workflow-screen {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.workflow-screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.screen-dots {
  display: flex;
  gap: 6px;
}

.workflow-screen-bar .workflow-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.screen-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.workflow-screen-body {
  padding: 24px;
}

.workflow-card-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(74, 122, 232, 0.08);
  border: 1px solid rgba(74, 122, 232, 0.18);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--blue-light);
  line-height: 1.5;
}

.workflow-card-callout svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* --- Pipeline layout (Inputs → Process → Outputs) --- */

.wf-pipeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wf-pipeline-section {
  padding: 16px 0;
}

.wf-pipeline-section:first-child {
  padding-top: 0;
}

.wf-pipeline-section:last-child {
  padding-bottom: 0;
}

.wf-pipeline-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-muted);
  margin-bottom: 10px;
  display: block;
}

.wf-pipeline-process {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  margin: 4px 0;
  background: rgba(74, 122, 232, 0.05);
  border: 1px solid rgba(74, 122, 232, 0.12);
  border-radius: 8px;
}

.wf-pipeline-icon {
  flex-shrink: 0;
  color: var(--blue-light);
  margin-top: 1px;
}

.wf-pipeline-text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

/* Video replacement for mockups */
.workflow-video {
  width: 100%;
  display: block;
  border-radius: 0;
}

/* --- Meeting Prep — input/output visual --- */

.wf-doc-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 14px 0;
}

.wf-brief-inputs {
  margin-bottom: 4px;
}

.wf-brief-inputs-label,
.wf-brief-output-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-muted);
  margin-bottom: 8px;
  display: block;
}

.wf-source-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wf-source-pill {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue-light);
  background: rgba(74, 122, 232, 0.1);
  border: 1px solid rgba(74, 122, 232, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

.wf-source-pill-accent {
  background: rgba(74, 122, 232, 0.15);
  border-color: rgba(74, 122, 232, 0.35);
}

.wf-brief-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 3px;
}

.wf-brief-meta {
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 10px;
}

.wf-brief-text {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.wf-brief-output {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wf-brief-outputs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.wf-brief-output .wf-brief-output-label {
  margin-bottom: 0;
  padding-top: 5px;
  flex-shrink: 0;
}

/* --- Email Triage mock --- */
.wf-triage-group {
  margin-bottom: 12px;
}

.wf-triage-group:last-child {
  margin-bottom: 0;
}

.wf-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.wf-badge-urgent {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
}

.wf-badge-review {
  background: rgba(251, 191, 36, 0.15);
  color: #FBBF24;
}

.wf-badge-handled {
  background: rgba(74, 222, 128, 0.15);
  color: #4ADE80;
}

.wf-triage-item {
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  padding-left: 12px;
  line-height: 1.6;
}

.wf-triage-selected {
  color: var(--blue-light);
  background: rgba(74, 122, 232, 0.08);
  border-radius: 4px;
  padding: 2px 8px 2px 12px;
  margin-left: -4px;
}

/* --- Triage actions --- */

.wf-triage-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 10px 0;
}

.wf-action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  color: var(--text-on-dark-muted);
  padding: 4px 0;
}

.wf-action-icon {
  font-size: 0.8rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.wf-action-text {
  flex: 1;
}

.wf-action-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(74, 122, 232, 0.12);
  color: var(--blue-light);
  flex-shrink: 0;
}

/* --- Drafted reply --- */

.wf-triage-draft {
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.wf-draft-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wf-draft-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wf-draft-edit {
  font-size: 0.65rem;
  color: var(--blue-light);
  cursor: pointer;
}

.wf-draft-body {
  padding: 10px;
  font-size: 0.73rem;
  line-height: 1.6;
  color: var(--text-on-dark);
}

.wf-draft-body p {
  margin-bottom: 6px;
}

.wf-draft-body p:last-child {
  margin-bottom: 0;
}

.wf-draft-sig {
  color: var(--text-on-dark-muted);
  font-style: italic;
}

.wf-draft-compliance {
  padding: 5px 10px;
  font-size: 0.65rem;
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.06);
  border-top: 1px solid rgba(74, 222, 128, 0.1);
}

/* --- Client IQ chat mock --- */

.wf-chat-proactive {
  border-left: 2px solid var(--blue-primary);
  background: rgba(74, 122, 232, 0.08);
}

.wf-proactive-tag {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FBBF24;
}
.wf-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.wf-chat-msg {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.78rem;
  line-height: 1.55;
}

.wf-chat-user {
  background: rgba(74, 122, 232, 0.15);
  color: var(--blue-light);
  align-self: flex-end;
  max-width: 90%;
}

.wf-chat-agent {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-on-dark);
  align-self: flex-start;
  max-width: 95%;
}

.wf-chat-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 4px;
}

.wf-chat-total {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--blue-light);
}

/* ========================================
   HOW IT WORKS — PROCESS TIMELINE
   ======================================== */

.process-timeline {
  max-width: 960px;
  margin: 0 auto;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

/* Connecting line behind dots */
.process-track::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
  opacity: 0.2;
}

.process-step {
  position: relative;
}

.process-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-primary);
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}

.process-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--text-on-light);
}

.process-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-on-light-muted);
}

/* ========================================
   SECURITY & COMPLIANCE
   ======================================== */

.security-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.security-content .section-title {
  text-align: left;
}

.security-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-on-light-muted);
  margin-top: 20px;
}

.security-highlight {
  margin-top: 32px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--blue-primary);
  font-weight: 500;
  padding-left: 20px;
  border-left: 3px solid var(--blue-primary);
}

.security-highlight em {
  font-style: italic;
}

.security-visual {
  padding-top: 12px;
}

.security-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #F0F4FF 0%, #F7F9FC 100%);
  border: 1px solid #D6E0F0;
  border-radius: 14px;
  color: var(--blue-primary);
  margin-bottom: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.security-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--text-on-light-muted);
}

.security-item svg {
  color: var(--blue-primary);
  flex-shrink: 0;
}

/* ========================================
   OUR STORY
   ======================================== */

.section-story {
  background: #0C1527;
}

.story-layout {
  max-width: 720px;
  margin: 0 auto;
}

.story-content .section-title {
  text-align: left;
  color: var(--text-on-dark);
}

.story-pullquote {
  margin-top: 32px;
  padding: 28px 32px;
  background: rgba(74, 122, 232, 0.06);
  border-left: 3px solid var(--blue-primary);
  border-radius: 0 12px 12px 0;
}

.story-pullquote p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-on-dark);
  font-style: italic;
  font-weight: 500;
}

.story-attribution {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-light);
  font-style: normal;
}

.story-text-dark {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  margin-top: 24px;
}

.story-tagline-dark {
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-dark);
  font-style: italic;
}

.story-timeline {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 28px;
  border-left: 2px solid rgba(74, 122, 232, 0.25);
}

.story-timeline-item {
  position: relative;
  padding: 0 0 28px 24px;
}

.story-timeline-item:last-child {
  padding-bottom: 0;
}

.story-timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-primary);
  border: 2px solid var(--bg-dark);
}

.story-timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  display: block;
  margin-bottom: 6px;
}

.story-timeline-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

/* Keep light variants for potential reuse */
.story-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-on-light-muted);
  margin-top: 20px;
}

.story-tagline {
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-light);
  font-style: italic;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

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

.testimonial {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.testimonial:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}

/* ========================================
   INTEGRATIONS + AS SEEN IN
   ======================================== */

.integrations {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.integration-group-wide {
  grid-column: span 2;
}

.integration-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-on-light-muted);
  margin-bottom: 12px;
}

.integration-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.integration-items-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--bg-light-alt);
  border: 1px solid #E8EDF5;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-on-light-muted);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.integration-logo:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 4px 16px rgba(74, 122, 232, 0.12);
  transform: translateY(-2px);
}


.seen-in {
  text-align: center;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.seen-in-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
}

.seen-in-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.seen-in-logo {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  opacity: 0.5;
  transition: opacity 0.2s;
  text-decoration: none;
}

.seen-in-logo:hover {
  opacity: 0.8;
}

.seen-in-logo.has-img {
  opacity: 1;
}

.seen-in-logo img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.2s, filter 0.2s;
}

.seen-in-logo:hover img {
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

/* Per-logo sizing to normalize visual weight */
.logo-altruist img { height: 22px; }
.logo-kitces img { height: 24px; }
.logo-napfa img { height: 28px; }
.logo-edge img { height: 24px; }

/* Solid-background logos: grayscale + brighten instead of invert */
.logo-fpa img {
  height: 40px;
  filter: grayscale(1) brightness(1.8);
  opacity: 0.45;
  border-radius: 3px;
}
.logo-fpa:hover img {
  opacity: 0.7;
  filter: grayscale(1) brightness(1.8);
}

.logo-ea img {
  height: 40px;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.45;
}
.logo-ea:hover img {
  opacity: 0.7;
  filter: grayscale(1) brightness(1.6);
}

.logo-afa img {
  height: 40px;
  filter: grayscale(1) brightness(1.8);
  opacity: 0.45;
  border-radius: 4px;
}
.logo-afa:hover img {
  opacity: 0.7;
  filter: grayscale(1) brightness(1.8);
}

/* ========================================
   FINAL CTA
   ======================================== */


.section-cta {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--blue-deep) 100%);
  padding: var(--section-pad) 0;
}

.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cta-content {
  max-width: 520px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  margin-bottom: 12px;
}

.cta-punch {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-light);
}

.cta-scarcity {
  margin-top: 24px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-form input,
.cta-form textarea,
.cta-form select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text-on-dark);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

.cta-form select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.cta-form select:invalid {
  color: var(--text-on-dark-muted);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: var(--text-on-dark-muted);
}

.cta-form input:focus,
.cta-form textarea:focus,
.cta-form select:focus {
  outline: none;
  border-color: var(--blue-primary);
  background-color: rgba(255, 255, 255, 0.09);
}

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

.cta-form textarea {
  resize: vertical;
  min-height: 100px;
}

.cta-form .btn {
  width: 100%;
  margin-top: 4px;
}

.cta-success {
  text-align: center;
  padding: 3rem 0;
}
.cta-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.cta-success p {
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--bg-dark);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.footer-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--text-on-dark);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  opacity: 0.6;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

/* GSAP handles all scroll animations via autoAlpha */

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

@media (max-width: 900px) {
  :root {
    --section-pad: 80px;
  }

  .speed-cards {
    grid-template-columns: 1fr;
  }

  .workflow-carousel {
    max-width: 100%;
  }

  .workflow-prev { left: 8px; }
  .workflow-next { right: 8px; }
  .workflow-arrow {
    width: 36px;
    height: 36px;
    background: rgba(10, 15, 30, 0.9);
  }

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

  .process-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .process-track::before {
    display: none;
  }

  .security-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .proof-stats {
    flex-direction: column;
    gap: 24px;
  }

  .proof-divider {
    width: 40px;
    height: 1px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .integrations {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .cta-content {
    text-align: center;
    max-width: 100%;
  }

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

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 36px;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .nav-link.cta-link {
    margin-top: 8px;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 80px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title br {
    display: none;
  }

  .integrations {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .seen-in-logos {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 64px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .diagram {
    max-width: 360px;
  }

  .dia-node span {
    padding: 6px 12px;
    font-size: 0.72rem;
  }

  .diagram-center {
    width: 52px;
    height: 52px;
  }

  .diagram-center-logo {
    width: 34px;
    height: 34px;
  }

  .hero-proof {
    justify-content: center;
  }

  .cta-form .btn {
    padding: 16px 32px;
  }
}
