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

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --glow-x {
  syntax: "<percentage>";
  initial-value: 50%;
  inherits: false;
}

@property --glow-y {
  syntax: "<percentage>";
  initial-value: 50%;
  inherits: false;
}

:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #0E0E12;
  --bg-tertiary: #0D0D1A;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-solid: #121218;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --text-muted: #6B6B6B;
  --accent-blue: #0057FF;
  --accent-blue-glow: rgba(0, 87, 255, 0.4);
  --accent-green: #00D4AA;
  --accent-green-glow: rgba(0, 212, 170, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.08);
  --error-red: #FF4444;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Premium easing curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);

  /* Fonts */
  --font-headline: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cousine', monospace;
  --font-data: 'JetBrains Mono', monospace;

  /* Intel accents */
  --accent-amber: #FFB800;
  --accent-amber-dim: rgba(255, 184, 0, 0.08);
}

/* ===== GRID OVERLAY — Tactical display ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.018;
  background-image:
    linear-gradient(rgba(0, 87, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 255, 0.3) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

/* ===== SECTION MARKERS — Intel labels ===== */
.section-marker {
  display: block;
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-blue);
  opacity: 0.5;
  text-align: center;
  margin-bottom: 16px;
}

.section-marker::before {
  content: '[ ';
  opacity: 0.4;
}
.section-marker::after {
  content: ' ]';
  opacity: 0.4;
}

/* ===== STATUS INDICATOR — Pulsing dot ===== */
.status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-green);
  opacity: 0.7;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent-green-glow);
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ===== DATA LABEL STYLE ===== */
.data-label {
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ===== SECURE BADGE ===== */
.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-green);
  opacity: 0.5;
  margin-top: 10px;
}

.secure-badge svg {
  width: 12px;
  height: 12px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.75;
  direction: ltr;
  text-align: left;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== GRAIN TEXTURE ===== */
.grain::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 10000;
  transition: transform 0.1s linear;
}

/* ===== DYNAMIC SCROLL BACKGROUND ===== */
.scroll-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.scroll-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #0A0A0A 0%,
    #060818 20%,
    #0A0A0A 100%
  );
  transition: background 0.3s ease;
}

/* Light rays from surface */
.light-rays {
  position: absolute;
  inset: 0;
  opacity: var(--rays-opacity, 0.4);
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.light-ray {
  position: absolute;
  top: -20%;
  width: 2px;
  height: 120%;
  background: linear-gradient(
    180deg,
    rgba(0, 87, 255, 0.08) 0%,
    rgba(0, 212, 170, 0.03) 40%,
    transparent 80%
  );
  transform-origin: top center;
}

.light-ray--1 {
  right: 20%;
  width: 120px;
  transform: rotate(-8deg);
  animation: rayShift1 12s ease-in-out infinite alternate;
}

.light-ray--2 {
  right: 50%;
  width: 80px;
  opacity: 0.6;
  transform: rotate(5deg);
  animation: rayShift2 16s ease-in-out infinite alternate;
}

.light-ray--3 {
  right: 75%;
  width: 100px;
  opacity: 0.4;
  transform: rotate(-3deg);
  animation: rayShift3 20s ease-in-out infinite alternate;
}

@keyframes rayShift1 {
  0%   { transform: rotate(-8deg) translateX(0); opacity: 0.7; }
  100% { transform: rotate(-4deg) translateX(40px); opacity: 0.4; }
}

@keyframes rayShift2 {
  0%   { transform: rotate(5deg) translateX(0); opacity: 0.5; }
  100% { transform: rotate(8deg) translateX(-30px); opacity: 0.3; }
}

@keyframes rayShift3 {
  0%   { transform: rotate(-3deg) translateX(0); opacity: 0.4; }
  100% { transform: rotate(0deg) translateX(20px); opacity: 0.2; }
}

/* Water caustics */
.water-caustics {
  position: absolute;
  inset: 0;
  opacity: var(--caustics-opacity, 0.03);
  background:
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(0, 87, 255, 0.15), transparent),
    radial-gradient(ellipse 50% 50% at 70% 60%, rgba(0, 212, 170, 0.1), transparent),
    radial-gradient(ellipse 40% 60% at 50% 40%, rgba(59, 29, 143, 0.1), transparent);
  animation: causticsMove 15s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes causticsMove {
  0%   { transform: scale(1) translate(0, 0); }
  33%  { transform: scale(1.1) translate(2%, -3%); }
  66%  { transform: scale(0.95) translate(-2%, 2%); }
  100% { transform: scale(1.05) translate(1%, -1%); }
}

/* ===== DATA OCEAN CANVAS ===== */
.data-ocean {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

section, footer {
  position: relative;
  z-index: 5;
}

.social-proof,
.problem,
.solution,
.video-section,
.features,
.trust-section,
.testimonials,
.faq,
.final-cta,
footer {
  background-color: var(--bg-primary);
}
.problem,
.trust-section { background-color: var(--bg-tertiary); }

/* ===== SECTION DIVIDER GLOW ===== */
.social-proof::before,
.problem::before,
.features::before,
.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 87, 255, 0.3), rgba(0, 212, 170, 0.2), transparent);
  pointer-events: none;
}

/* ===== SMOOTH REVEAL SECTIONS ===== */
.hero,
.social-proof,
.problem,
.solution,
.video-section,
.features,
.trust-section,
.testimonials,
.faq,
.final-cta {
  position: relative;
  z-index: 5;
}

@media (max-width: 639px) {
  .light-ray { display: none; }
}

/* ===== FLOATING BLOBS ===== */
.blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  mix-blend-mode: screen;
  will-change: transform;
}

.blob--1 {
  width: 600px;
  height: 600px;
  background: var(--accent-blue);
  top: -15%;
  right: -5%;
  animation: blobFloat1 25s ease-in-out infinite alternate;
}

.blob--2 {
  width: 500px;
  height: 500px;
  background: var(--accent-green);
  bottom: -10%;
  left: -5%;
  animation: blobFloat2 30s ease-in-out infinite alternate;
}

.blob--3 {
  width: 400px;
  height: 400px;
  background: #3B1D8F;
  top: 40%;
  left: 30%;
  animation: blobFloat3 20s ease-in-out infinite alternate;
}

@keyframes blobFloat1 {
  0%   { transform: translate(0, 0) scale(1); border-radius: 50%; }
  33%  { transform: translate(-80px, 100px) scale(1.15); border-radius: 40% 60% 70% 30% / 50% 60% 40% 60%; }
  66%  { transform: translate(60px, -50px) scale(0.9); border-radius: 60% 40% 30% 70% / 40% 50% 60% 50%; }
  100% { transform: translate(-40px, 80px) scale(1.1); border-radius: 50% 60% 40% 60% / 70% 30% 60% 40%; }
}

@keyframes blobFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(100px, -80px) scale(0.85); }
  100% { transform: translate(-60px, 60px) scale(1.2); }
}

@keyframes blobFloat3 {
  0%   { transform: translate(0, 0) scale(0.8); }
  50%  { transform: translate(-120px, -60px) scale(1.1); }
  100% { transform: translate(80px, 100px) scale(0.9); }
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ===== GLASSMORPHISM ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ===== ANIMATED GLOW BORDER ===== */
.glow-border {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 0;
}

.glow-border::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from var(--angle), var(--accent-blue), var(--accent-green), #3B1D8F, var(--accent-blue));
  animation: rotateBorder 4s linear infinite;
}

.glow-border::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 2px;
  border-radius: calc(var(--radius-lg) - 2px);
  background: var(--bg-secondary);
}

@keyframes rotateBorder {
  to { --angle: 360deg; }
}

/* ===== CARD GLOW (mouse tracking) ===== */
.tilt-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease-out;
  will-change: transform;
  transform-style: preserve-3d;
}

.card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    400px circle at var(--glow-x) var(--glow-y),
    rgba(0, 87, 255, 0.12),
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
}

.tilt-card:hover .card-glow {
  opacity: 1;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Text Reveal */
.text-reveal .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-inline-end: 0.25em;
}

.text-reveal .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.7s var(--ease-out-expo);
  will-change: transform;
}

.text-reveal.visible .word-inner {
  transform: translateY(0);
}

/* Stagger grid items */
.stagger-grid > * {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.stagger-grid.visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.4s ease;
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(10, 10, 10, 0.9);
}

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

.header-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s, filter 0.3s;
  filter: drop-shadow(0 0 10px rgba(0, 87, 255, 0.25));
}

.header-logo:hover {
  opacity: 0.9;
  filter: drop-shadow(0 0 16px rgba(0, 87, 255, 0.4));
}

.header-logo-icon {
  height: 55px;
  width: auto;
  margin-left: 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 210;
  position: relative;
  flex-shrink: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  position: absolute;
}

.mobile-menu-toggle span:first-child { transform: translateY(-5px); }
.mobile-menu-toggle span:last-child { transform: translateY(5px); }

.mobile-menu-toggle.open span:first-child { transform: rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:last-child { transform: rotate(-45deg); }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

/* Header Navigation */
.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header-nav a {
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-blue);
  transition: width 0.3s var(--ease-out-expo);
}

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

.header-nav a:hover::after {
  width: 100%;
}

.header-cta {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  background: var(--accent-blue);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.header-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.header-cta:hover::before {
  transform: translateX(100%);
}

.header-cta:hover {
  box-shadow: 0 4px 20px var(--accent-blue-glow);
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 100px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}

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

.hero-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(34px, 6.5vw, 64px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 0;
  color: var(--text-primary);
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 16px auto 0;
  font-weight: 300;
}

/* ===== HERO COMMAND PREVIEW ===== */
.hero-cmd {
  width: 100%;
  max-width: 740px;
  margin-top: 8px;
}

.hero-cmd-inner {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: rgba(8, 8, 18, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(0, 87, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-cmd-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-cmd-dots {
  display: flex;
  gap: 5px;
}

.hero-cmd-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero-cmd-dots span:first-child { background: #FF5F56; }
.hero-cmd-dots span:nth-child(2) { background: #FFBD2E; }
.hero-cmd-dots span:last-child { background: #27C93F; }

.hero-cmd-title {
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-cmd-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--accent-green);
}

.hero-cmd-body {
  display: flex;
  align-items: stretch;
  padding: 16px 4px;
}

.hero-cmd-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
}

.hero-cmd-cell--ai {
  flex: 1.8;
  align-items: flex-start;
  padding: 4px 16px;
}

.hero-cmd-label {
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-cmd-value {
  font-family: var(--font-data);
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.hero-cmd-trend {
  font-family: var(--font-data);
  font-size: 10px;
  color: var(--accent-green);
  font-variant-numeric: tabular-nums;
}

.hero-cmd-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-light), transparent);
  align-self: stretch;
}

.hero-cmd-ai-msg {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 2px;
  animation: aiTextGlow 3s ease-in-out infinite alternate;
}

/* Scroll Hint */
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 16px;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
  opacity: 0.5;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ===== FORMS ===== */
.lead-form {
  width: 100%;
  max-width: 580px;
  padding: 32px;
  background: #14142A;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(0, 87, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-heading {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  margin: 0 0 18px;
  letter-spacing: 0.2px;
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.form-group {
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all 0.3s var(--ease-spring);
  direction: ltr;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.form-group input:focus {
  border-color: var(--accent-blue);
  background: rgba(0, 87, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(0, 87, 255, 0.1), 0 0 20px rgba(0, 87, 255, 0.05);
}

.form-group input.error {
  border-color: var(--error-red);
  box-shadow: 0 0 0 4px rgba(255, 68, 68, 0.1);
}

.form-error {
  display: none;
  font-size: 13px;
  color: var(--error-red);
  margin-top: 6px;
  padding-right: 4px;
}

.form-error.active { display: block; }

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-headline);
  letter-spacing: 0.5px;
  color: var(--text-primary);
  background: var(--accent-blue);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 54px;
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px var(--accent-blue-glow);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.loading .btn-text,
.btn-primary.loading .btn-arrow {
  opacity: 0;
}

.btn-primary.loading .btn-spinner {
  display: block;
}

.btn-spinner {
  display: none;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--text-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: absolute;
}

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

.btn-cta--light {
  background: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 600;
}

.btn-cta--light:hover {
  background: #F0F0F0;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-cta--light .btn-spinner {
  border-color: rgba(0, 87, 255, 0.2);
  border-top-color: var(--accent-blue);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

.trust-item {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.trust-check {
  color: var(--accent-green);
  font-weight: 700;
  font-size: 16px;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: 56px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

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

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

.proof-number {
  display: block;
  font-family: var(--font-data);
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.proof-label {
  font-family: var(--font-data);
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.proof-divider {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--border-light), transparent);
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 46px);
  text-align: center;
  margin-bottom: 56px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.title-accent {
  color: var(--accent-green);
}

/* ===== PROBLEM ===== */
.problem {
  padding: 100px 0;
  position: relative;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.problem-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s var(--ease-spring);
}

.problem-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.problem-icon { margin-bottom: 20px; }

.problem-card-title {
  font-family: var(--font-headline);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.problem-card-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== SOLUTION ===== */
.solution {
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  padding: 28px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.4s var(--ease-spring);
  position: relative;
}

.timeline-step:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(-4px);
}

.timeline-step--highlight {
  border-color: rgba(0, 212, 170, 0.3);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.08);
}

.timeline-step--highlight:hover {
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 40px rgba(0, 212, 170, 0.12);
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-blue), #0040CC);
  color: var(--text-primary);
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 18px;
  border-radius: 50%;
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), transparent);
  opacity: 0.3;
  z-index: -1;
}

.step-number--highlight {
  background: linear-gradient(135deg, var(--accent-green), #00AA88);
}

.step-number--highlight::after {
  background: linear-gradient(135deg, var(--accent-green), transparent);
}

.step-title {
  font-family: var(--font-headline);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-text {
  font-size: 15px;
  color: var(--text-secondary);
}

.step-line {
  position: absolute;
  bottom: -24px;
  right: 47px;
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, var(--border-light), transparent);
  z-index: 2;
}

.solution-bottom {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--accent-green);
  margin-top: 40px;
  padding: 24px 32px;
}

.solution-bottom p {
  position: relative;
  z-index: 1;
}

/* ===== VIDEO ===== */
.video-section {
  padding: 100px 0;
  position: relative;
}

.video-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.video-placeholder {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.video-mockup {
  width: 100%;
  background: #080812;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 7px;
}

.mockup-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mockup-dots span:first-child { background: #FF5F56; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:last-child { background: #27C93F; }

.mockup-title {
  font-family: var(--font-data);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mockup-body {
  display: flex;
  min-height: 320px;
}

.mockup-sidebar {
  width: 52px;
  padding: 18px 8px;
  background: rgba(255, 255, 255, 0.015);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.mockup-nav-item {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.3s;
}

.mockup-nav-item.active {
  background: linear-gradient(135deg, var(--accent-blue), #0040CC);
  box-shadow: 0 2px 8px var(--accent-blue-glow);
}

.mockup-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mockup-row {
  display: flex;
  gap: 14px;
}

.mockup-card-sm {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.mockup-card-label {
  font-size: 9px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-family: var(--font-data);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mockup-card-value {
  font-family: var(--font-data);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.mockup-card-trend {
  font-size: 10px;
  color: var(--accent-green);
  margin-top: 4px;
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
}

.mockup-chart-area {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.mockup-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mockup-chart-title {
  font-family: var(--font-data);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mockup-chart-legend {
  display: flex;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mockup-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 80px;
}

.mockup-chart svg {
  width: 100%;
  height: 100%;
}

.chart-line--animated {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawChart 2s var(--ease-out-expo) forwards;
}

@keyframes drawChart {
  to { stroke-dashoffset: 0; }
}

.mockup-ai-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 87, 255, 0.06);
  border: 1px solid rgba(0, 87, 255, 0.15);
  border-radius: var(--radius-sm);
}

.mockup-ai-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  font-family: var(--font-mono);
}

.mockup-ai-text {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.6;
  direction: ltr;
}

.ai-typing {
  display: inline;
  animation: aiTextGlow 3s ease-in-out infinite alternate;
}

@keyframes aiTextGlow {
  0% { color: var(--text-secondary); }
  100% { color: var(--accent-green); }
}

.video-caption {
  text-align: center;
  padding: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== COMMAND PANELS (Operations + Workforce) ===== */
.cmd-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.cmd-panel {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease-spring);
}

.cmd-panel:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 87, 255, 0.04);
}

.cmd-panel-inner {
  display: flex;
  flex-direction: column;
}

.cmd-panel-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}

.cmd-panel-dots {
  display: flex;
  gap: 5px;
}

.cmd-panel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.cmd-panel-dots span:first-child { background: #FF5F56; }
.cmd-panel-dots span:nth-child(2) { background: #FFBD2E; }
.cmd-panel-dots span:last-child { background: #27C93F; }

.cmd-panel-title {
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cmd-panel-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--accent-green);
}

.cmd-panel-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cmd-panel-metrics {
  display: flex;
  gap: 0;
}

.cmd-panel-metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px;
  border-right: 1px solid var(--border-subtle);
}

.cmd-panel-metric:last-child {
  border-right: none;
}

.cmd-panel-metric:first-child {
  padding-left: 0;
}

.cmd-panel-label {
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cmd-panel-value {
  font-family: var(--font-data);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.cmd-panel-value--alert {
  animation: statusPulse 2s ease-in-out infinite;
}

/* Mini chart in operations panel */
.cmd-panel-chart {
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-subtle);
}

.cmd-panel-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Utilization bars in staff panel */
.cmd-panel-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cmd-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cmd-bar-label {
  font-family: var(--font-data);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  min-width: 80px;
}

.cmd-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  overflow: hidden;
}

.cmd-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.2s var(--ease-out-expo);
}

.cmd-bar-pct {
  font-family: var(--font-data);
  font-size: 10px;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  min-width: 30px;
  text-align: right;
}

/* AI readout in panels */
.cmd-panel-ai {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 87, 255, 0.05);
  border: 1px solid rgba(0, 87, 255, 0.12);
  border-radius: 8px;
}

.cmd-panel-ai-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  border-radius: 6px;
  font-family: var(--font-data);
  font-size: 8px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
}

.cmd-panel-ai-msg {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  animation: aiTextGlow 3s ease-in-out infinite alternate;
}

/* Responsive: tablet+ side by side */
@media (min-width: 640px) {
  .cmd-panels {
    grid-template-columns: 1fr 1fr;
  }
}

/* Responsive: mobile */
@media (max-width: 639px) {
  .cmd-panel-value { font-size: 17px; }
  .cmd-panel-metric { padding: 0 8px; }
  .cmd-panel-body { padding: 14px 14px; gap: 10px; }
  .cmd-panel-ai-msg { font-size: 10px; }
  .cmd-bar-label { min-width: 60px; font-size: 9px; }
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

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

.feature-card:hover {
  border-color: rgba(0, 87, 255, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 87, 255, 0.06);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 87, 255, 0.06);
  border: 1px solid rgba(0, 87, 255, 0.1);
  border-radius: 14px;
  margin-bottom: 18px;
  transition: all 0.3s;
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(0, 87, 255, 0.1);
  border-color: rgba(0, 87, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 87, 255, 0.1);
}

.feature-title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== TRUST SECTION ===== */
.trust-section {
  padding: 100px 0;
  position: relative;
}

.trust-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 50%, var(--bg-primary) 100%);
  z-index: 0;
}

.trust-content {
  max-width: 740px;
  margin: 0 auto;
}

.trust-answer {
  margin-bottom: 36px;
  padding: 36px;
}

.trust-text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
}

.trust-text:last-child { margin-bottom: 0; }

.trust-text--bold {
  font-size: 24px;
  font-weight: 600;
  font-family: var(--font-headline);
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.trust-text--highlight {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  transition: all 0.3s var(--ease-spring);
}

.trust-badge:hover {
  border-color: rgba(0, 212, 170, 0.2);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.05);
}

.trust-badge-icon { flex-shrink: 0; }

.trust-badge-text {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-inline-start: 3px solid var(--accent-blue);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all 0.4s var(--ease-spring);
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  border-inline-start-color: var(--accent-blue);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
  font-family: var(--font-headline);
  font-size: 72px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 24px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), #0040CC);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--accent-blue-glow);
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  font-size: 15px;
}

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

.testimonial-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.metric-value {
  font-family: var(--font-data);
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-family: var(--font-data);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease-spring);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.open {
  border-color: rgba(0, 87, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-headline);
  color: var(--text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 16px;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--accent-blue); }

/* FAQ Toggle - animated plus to X */
.faq-toggle {
  width: 24px;
  height: 24px;
  min-width: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-toggle span {
  display: block;
  width: 14px;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform 0.4s var(--ease-spring);
}

.faq-toggle span:first-child {
  transform: translate(-50%, -50%);
}

.faq-toggle span:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-toggle span:first-child {
  transform: translate(-50%, -50%) rotate(180deg);
}

.faq-item.open .faq-toggle span:last-child {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #001133 0%, var(--accent-blue) 50%, #001A4D 100%);
  z-index: 0;
}

.final-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  mix-blend-mode: screen;
}

.final-blob--1 {
  width: 500px;
  height: 500px;
  background: var(--accent-green);
  opacity: 0.15;
  top: -30%;
  right: -10%;
  animation: blobFloat1 20s ease-in-out infinite alternate;
}

.final-blob--2 {
  width: 400px;
  height: 400px;
  background: #3B1D8F;
  opacity: 0.2;
  bottom: -20%;
  left: -10%;
  animation: blobFloat2 25s ease-in-out infinite alternate;
}

.final-cta .container {
  text-align: center;
}

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

.final-cta-subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  margin-top: -28px;
  font-weight: 300;
}

.lead-form--final {
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.lead-form--final .form-group input {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.lead-form--final .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.lead-form--final .form-group input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.trust-bar--final .trust-check { color: var(--accent-green); }
.trust-bar--final .trust-item { color: rgba(255, 255, 255, 0.75); }

/* ===== FOOTER ===== */
.footer {
  padding: 56px 0 36px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  filter: drop-shadow(0 0 12px rgba(0, 87, 255, 0.2));
}

.footer-tagline {
  font-family: var(--font-data);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a {
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent-blue); }

.footer-sep { opacity: 0.2; }

.footer-social {
  display: flex;
  gap: 14px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  transition: all 0.3s var(--ease-spring);
}

.social-link:hover {
  color: var(--accent-blue);
  border-color: rgba(0, 87, 255, 0.3);
  background: rgba(0, 87, 255, 0.06);
  box-shadow: 0 0 16px rgba(0, 87, 255, 0.1);
}

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

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 90;
  padding: 12px 16px;
  background: var(--accent-blue);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-spring);
  display: none;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.btn-sticky {
  width: 100%;
  padding: 14px;
  min-height: 48px;
  font-size: 16px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.btn-sticky:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  transform: none;
}

/* ===== THANK YOU ===== */
.thank-you-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.thank-you-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.thank-you-content {
  padding: 56px 40px;
  text-align: center;
  max-width: 460px;
  position: relative;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.6s var(--ease-out-back);
}

.thank-you-overlay.active .thank-you-content {
  transform: scale(1) translateY(0);
}

.thank-you-icon { margin-bottom: 24px; }

/* Animated check mark */
.check-circle {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.thank-you-overlay.active .check-circle {
  animation: drawCircle 0.8s var(--ease-out-expo) 0.3s forwards;
}

.check-mark {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
}

.thank-you-overlay.active .check-mark {
  animation: drawCheck 0.5s var(--ease-out-expo) 0.8s forwards;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.thank-you-title {
  font-family: var(--font-headline);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 14px;
}

.thank-you-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.btn-close-thanks {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s;
}

.btn-close-thanks:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* ===== RESPONSIVE: Tablet ===== */
@media (min-width: 640px) {
  .container { padding: 0 40px; }

  .form-fields {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-stats { gap: 64px; }
}

/* ===== RESPONSIVE: Desktop ===== */
@media (min-width: 1024px) {
  .container { padding: 0 60px; }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline {
    flex-direction: row;
    align-items: stretch;
    max-width: 100%;
    gap: 0;
  }

  .timeline-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
  }

  .timeline-step:hover {
    transform: translateY(-4px);
  }

  .step-line {
    display: none;
  }

  .timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -1px;
    top: 50%;
    height: 2px;
    width: 2px;
    background: var(--border-light);
    transform: translateY(-50%);
  }
}

/* ===== MOBILE ONLY ===== */
@media (max-width: 639px) {
  .sticky-cta { display: block; }

  /* Header */
  .header { padding: 10px 0; }
  .header-cta {
    font-size: 13px;
    padding: 10px 18px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .header-logo-icon { height: 40px; margin-left: 10px; }

  .header-nav {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    border-left: 1px solid var(--border-subtle);
    transition: right 0.35s var(--ease-out-expo);
    z-index: 200;
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
  }
  .header-nav.open { right: 0; }
  .header-nav a {
    font-size: 18px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--border-subtle);
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .mobile-nav-overlay {
    display: block !important;
  }
  .mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Hero */
  .hero {
    padding: 90px 0 32px;
    min-height: auto;
  }
  .hero-inner { gap: 20px; }
  .hero-title { font-size: 28px; line-height: 1.25; letter-spacing: -0.8px; }
  .hero-subtitle { font-size: 14px; line-height: 1.7; margin-top: 12px; }

  /* Hero command preview — mobile */
  .hero-cmd-cell--ai { display: none; }
  .hero-cmd-divider--hide-mobile { display: none; }
  .hero-cmd-value { font-size: 18px; }
  .hero-cmd-body { padding: 12px 0; }
  .hero-cmd-cell { padding: 4px 8px; }
  .hero-cmd-label { font-size: 8px; }
  .hero-cmd-trend { font-size: 9px; }

  /* Forms — critical for mobile */
  .lead-form {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .form-fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .form-group input {
    padding: 14px 16px;
    font-size: 16px; /* prevents iOS zoom */
    min-height: 50px;
    border-radius: var(--radius-sm);
  }
  .form-group input::placeholder {
    font-size: 14px;
  }
  .btn-primary {
    min-height: 52px;
    font-size: 17px;
    border-radius: var(--radius-sm);
  }

  /* Trust bar */
  .trust-bar {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .trust-item { font-size: 13px; }

  /* Sections */
  .problem,
  .solution,
  .video-section,
  .features,
  .trust-section,
  .testimonials,
  .faq,
  .final-cta {
    padding: 60px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 32px;
    padding: 0 4px;
  }

  /* Problem cards */
  .problem-card,
  .feature-card {
    padding: 24px 20px;
  }
  .problem-card-title { font-size: 19px; }
  .problem-card-text { font-size: 14px; }

  /* Timeline — vertical stack */
  .timeline-step {
    padding: 20px;
    gap: 14px;
  }
  .step-number {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 17px;
  }
  .step-title { font-size: 17px; }
  .step-text { font-size: 14px; }
  .solution-bottom { font-size: 15px; padding: 18px 16px; margin-top: 28px; }

  /* Video mockup */
  .video-placeholder { border-radius: var(--radius-md); }
  .mockup-body { min-height: 200px; }
  .mockup-sidebar {
    width: 36px;
    padding: 10px 4px;
  }
  .mockup-nav-item {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }
  .mockup-content { padding: 14px; gap: 12px; }
  .mockup-row { gap: 8px; }
  .mockup-card-sm { padding: 8px; }
  .mockup-card-label { font-size: 9px; }
  .mockup-card-value { font-size: 16px; }
  .mockup-card-trend { font-size: 9px; }
  .mockup-chart-area { padding: 10px; }
  .mockup-chart-title { font-size: 10px; }
  .mockup-ai-bar { display: none; }
  .video-caption { font-size: 12px; padding: 12px; }

  /* Features */
  .feature-icon-wrap { width: 48px; height: 48px; }
  .feature-title { font-size: 17px; }
  .feature-text { font-size: 14px; }

  /* Trust */
  .trust-answer { padding: 24px 20px; }
  .trust-text { font-size: 15px; }
  .trust-text--bold { font-size: 19px; }
  .trust-badge { padding: 14px 16px; }
  .trust-badge-text { font-size: 14px; }

  /* Testimonials */
  .testimonial-card { padding: 24px 20px; }
  .testimonial-text { font-size: 14px; }
  .testimonial-quote { font-size: 56px; top: 10px; right: 16px; }
  .metric-value { font-size: 24px; }

  /* FAQ */
  .faq-question { padding: 16px 18px; font-size: 15px; min-height: 52px; }
  .faq-answer p { padding: 0 18px 16px; font-size: 14px; }

  /* Final CTA */
  .final-cta { padding: 48px 0; }
  .final-cta-subtitle { font-size: 16px; margin-bottom: 24px; }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer-tagline { font-size: 11px; }
  .footer-copyright { font-size: 12px; }
  .social-link { width: 44px; height: 44px; } /* touch target */

  /* Proof stats */
  .proof-stats { gap: 24px; }
  .proof-number { font-size: 32px; }
  .proof-label { font-size: 12px; }
  .proof-divider { height: 36px; }

  /* Sticky CTA */
  .sticky-cta { padding: 8px 12px; }
  .btn-sticky { min-height: 48px; font-size: 15px; }

  /* Scroll hint & blobs */
  .hero-scroll-hint { display: none; }
  .blob { opacity: 0.06; }

  /* Thank you overlay */
  .thank-you-content { padding: 40px 24px; }
  .thank-you-title { font-size: 24px; }
  .thank-you-text { font-size: 15px; }
}

/* ===== VERY SMALL SCREENS (iPhone SE, etc.) ===== */
@media (max-width: 374px) {
  .container { padding: 0 14px; }
  .hero-title { font-size: 24px; }
  .hero-subtitle { font-size: 13px; }
  .section-title { font-size: 21px; margin-bottom: 28px; }
  .form-group input { padding: 12px 14px; }
  .lead-form { padding: 16px 14px; }
  .btn-primary { font-size: 15px; min-height: 48px; }
  .proof-stats { gap: 16px; }
  .proof-number { font-size: 28px; }
  .proof-divider { height: 28px; }
  .problem-card, .feature-card { padding: 20px 16px; }
  .testimonial-card { padding: 20px 16px; }
  .trust-badge { padding: 12px 14px; }
  .faq-question { padding: 14px 16px; font-size: 14px; }
}
