/* ============================================
   ADFLO.AI — DESIGN SYSTEM
   Dark-first: deep navy/slate bg, teal accent
   ============================================ */

/* Design Tokens */
:root {
  --color-bg: #0a0f14;
  --color-surface: #0f1720;
  --color-surface-2: #131d28;
  --color-surface-offset: #182130;
  --color-border: #1e2d3d;
  --color-divider: #162030;
  --color-text: #e8edf2;
  --color-text-muted: #7a8fa3;
  --color-text-faint: #3d5166;
  --color-primary: #00C4CC;
  --color-primary-hover: #00a8b0;
  --color-primary-active: #008c94;
  --color-primary-glow: rgba(0, 196, 204, 0.15);
  --color-primary-dim: rgba(0, 196, 204, 0.08);

  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-glow: 0 0 40px rgba(0, 196, 204, 0.12);
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-default: 1100px;
  --content-wide: 1280px;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); text-wrap: balance; line-height: 1.1; }
p, li { text-wrap: pretty; max-width: 70ch; }
::selection { background: var(--color-primary-dim); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

/* Layout */
.container {
  max-width: var(--content-default);
  margin: 0 auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-12));
}

/* ============ NAVIGATION ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.nav-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) clamp(var(--space-4), 4vw, var(--space-10));
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  flex-shrink: 0;
}
.nav-logo svg { flex-shrink: 0; }
.dot-ai { color: var(--color-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex: 1;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--color-text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4) clamp(var(--space-4), 4vw, var(--space-10));
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}
.mobile-menu a {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
}
.mobile-menu .btn { margin-top: var(--space-2); text-align: center; justify-content: center; }
.mobile-menu.open { display: flex; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.6em 1.4em;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--color-primary);
  color: #050e12;
  border: 1.5px solid transparent;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #050e12;
  box-shadow: 0 0 20px rgba(0, 196, 204, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
}
.btn-ghost:hover { color: var(--color-text); border-color: var(--color-text-muted); }
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-lg { padding: 0.75em 2em; font-size: var(--text-base); }

/* ============ SECTION COMMON ============ */
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.section-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}
.section-heading {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.08;
}
.section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 58ch;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  color: var(--color-primary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
  transition: gap var(--transition);
}
.section-link:hover { gap: var(--space-3); }
.gradient-text {
  background: linear-gradient(135deg, #00C4CC 0%, #00e5ff 50%, #00b8a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(ellipse at center, rgba(0, 196, 204, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: var(--color-primary-dim);
  border: 1px solid rgba(0, 196, 204, 0.2);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  margin-bottom: var(--space-6);
  text-transform: uppercase;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-headline {
  font-size: clamp(3rem, 1rem + 6vw, 6.5rem);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.0;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin: 0 auto var(--space-8);
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}
.module-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}
.pill {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-dim);
  border: 1px solid rgba(0, 196, 204, 0.2);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

/* Dashboard Mockup */
.dashboard-mockup {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 0 80px rgba(0,196,204,0.08), 0 32px 64px rgba(0,0,0,0.5);
  background: var(--color-surface);
}
.mockup-chrome {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
.mockup-dots { display: flex; gap: var(--space-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.mockup-url {
  flex: 1;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  background: var(--color-surface-offset);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-4);
  max-width: 360px;
  margin: 0 auto;
}
.mockup-body { display: flex; min-height: 200px; }
.mockup-sidebar {
  width: 160px;
  flex-shrink: 0;
  background: var(--color-surface-2);
  border-right: 1px solid var(--color-border);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mockup-logo-sm {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-text);
}
.mockup-sidebar-label { font-size: 0.65rem; color: var(--color-text-muted); }
.mockup-nav-items { display: flex; flex-direction: column; gap: var(--space-1); margin-top: var(--space-2); }
.mockup-nav-item {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
}
.mockup-nav-item.active {
  background: var(--color-primary-dim);
  color: var(--color-primary);
  font-weight: 600;
}
.mockup-content {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
}
.stat-card {
  background: var(--color-surface);
  padding: var(--space-4) var(--space-4);
}
.stat-label { font-size: 0.6rem; letter-spacing: 0.08em; color: var(--color-text-muted); font-weight: 700; margin-bottom: var(--space-2); }
.stat-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--color-text); line-height: 1; }
.stat-delta { font-size: 0.65rem; font-weight: 600; margin-top: var(--space-1); }
.stat-delta.positive { color: #34d399; }
.stat-delta.negative { color: #f87171; }

/* ============ TRUST BAR ============ */
.trust-bar {
  padding-block: var(--space-8);
  border-block: 1px solid var(--color-border);
  background: var(--color-surface);
}
.trust-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-faint);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}
.logo-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  opacity: 0.7;
  transition: opacity var(--transition);
}
.logo-name:hover { opacity: 1; }
.logo-sep { color: var(--color-text-faint); }

/* ============ STATS BAR ============ */
.stats-bar {
  padding-block: var(--space-12);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  text-align: center;
}
.stat-item { padding: var(--space-4); }
.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-num.teal { color: var(--color-primary); }
.stat-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============ PROBLEM SECTION ============ */
.problem-section { background: var(--color-bg); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.problem-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.problem-card:hover {
  border-color: rgba(0, 196, 204, 0.25);
  box-shadow: 0 0 24px rgba(0, 196, 204, 0.06);
}
.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-dim);
  border: 1px solid rgba(0, 196, 204, 0.2);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.problem-card h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.problem-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============ SOLUTION SECTION ============ */
.solution-section {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}
.module-steps {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.module-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  min-width: 120px;
  flex: 1;
  transition: border-color var(--transition);
}
.module-step:hover { border-color: var(--color-primary); }
.step-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}
.step-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-text);
}
.step-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.step-arrow {
  color: var(--color-primary);
  font-size: 1.25rem;
  padding-top: var(--space-4);
  flex-shrink: 0;
  opacity: 0.5;
}
.solution-tagline {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  padding: var(--space-6) var(--space-8);
  background: var(--color-primary-dim);
  border: 1px solid rgba(0, 196, 204, 0.15);
  border-radius: var(--radius-lg);
  max-width: 70ch;
}
.solution-tagline strong { color: var(--color-text); }

/* ============ WHY WE WIN ============ */
.why-section { background: var(--color-bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.why-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.why-card:hover {
  border-color: rgba(0, 196, 204, 0.3);
  box-shadow: 0 0 28px rgba(0, 196, 204, 0.07);
}
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-dim);
  border: 1px solid rgba(0, 196, 204, 0.2);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.why-card h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.why-subtitle {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}
.why-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; }

/* Flywheel */
.flywheel-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}
.flywheel-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.flywheel-ring {
  width: 100%;
  max-width: 360px;
}
.flywheel-svg { width: 100%; height: auto; }
.flywheel-caption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 50ch;
  line-height: 1.6;
}

/* ============ PRODUCT OVERVIEW ============ */
.product-section { background: var(--color-surface); border-block: 1px solid var(--color-border); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.module-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.module-card:hover {
  border-color: rgba(0, 196, 204, 0.3);
  box-shadow: 0 0 24px rgba(0, 196, 204, 0.07);
}
.highlight-card {
  border-color: rgba(0, 196, 204, 0.35);
  background: linear-gradient(135deg, var(--color-surface-2) 0%, rgba(0, 196, 204, 0.04) 100%);
}
.module-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  letter-spacing: 0.06em;
}
.module-card h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.module-tagline {
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--space-4);
}
.module-card ul { display: flex; flex-direction: column; gap: var(--space-2); }
.module-card li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-4);
  position: relative;
  max-width: none;
}
.module-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 0.8em;
  top: 2px;
}

/* ============ OPS SECTION ============ */
.ops-section { background: var(--color-bg); }
.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
.ops-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition);
}
.ops-card:hover { border-color: rgba(0, 196, 204, 0.25); }
.ops-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.ops-card h3 {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.ops-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; }

/* Ops compare */
.ops-compare { margin-bottom: var(--space-10); }
.compare-heading {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: var(--space-3) var(--space-5);
  text-align: left;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
}
.compare-table thead th {
  background: var(--color-surface-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}
.compare-table thead .col-adflo { color: var(--color-primary); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child { color: var(--color-text-muted); font-weight: 500; }
.compare-table .col-adflo { background: rgba(0, 196, 204, 0.04); }
.teal-val { color: var(--color-primary); font-weight: 700; }
.muted-val { color: var(--color-text-muted); }
.compare-table tbody tr:hover td { background: var(--color-surface-offset); }
.compare-table tbody tr:hover .col-adflo { background: rgba(0, 196, 204, 0.07); }

/* Ops stats */
.ops-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  text-align: center;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.ops-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.ops-stat-desc { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============ COMPETITIVE ============ */
.competitive-section { background: var(--color-surface); border-block: 1px solid var(--color-border); }
.comp-table-wrap { overflow-x: auto; margin-bottom: var(--space-4); }
.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
.comp-table th {
  background: var(--color-surface-2);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.comp-table th:first-child { text-align: left; }
.comp-table td {
  padding: var(--space-3) var(--space-4);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}
.comp-table td:first-child { text-align: left; }
.platform-name {
  font-weight: 600;
  color: var(--color-text);
}
.row-adflo td { background: rgba(0, 196, 204, 0.05); }
.check { color: var(--color-primary); font-weight: 700; }
.partial { color: #f59e0b; font-size: var(--text-xs); font-weight: 600; }
.cross { color: var(--color-text-faint); }
.comp-table tbody tr:hover td { background: var(--color-surface-offset); }
.comp-table tbody .row-adflo:hover td { background: rgba(0, 196, 204, 0.08); }
.comp-footnote {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-4);
  font-style: italic;
}

/* ============ PRICING ============ */
.pricing-section { background: var(--color-bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  align-items: start;
}
.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { border-color: rgba(0, 196, 204, 0.3); }
.pricing-card-featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 40px rgba(0, 196, 204, 0.12);
  transform: translateY(-4px);
}
.pricing-badge-featured {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #050e12;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-5);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.pricing-tier {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.pricing-users {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}
.feat-check { color: var(--color-primary); font-weight: 700; font-size: 0.9em; flex-shrink: 0; }
.pricing-btn { width: 100%; justify-content: center; }

/* Payment Options */
.payment-options { margin-top: var(--space-12); }
.pay-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  text-align: center;
}
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.pay-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.pay-card-accent { border-color: rgba(0, 196, 204, 0.25); }
.pay-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-dim);
  border: 1px solid rgba(0, 196, 204, 0.2);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.pay-card h4 {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.pay-card p { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-5); line-height: 1.7; }
.media-calc {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.calc-row span:last-child { font-weight: 600; color: var(--color-text); }
.calc-divider { height: 1px; background: var(--color-border); }
.calc-row.benefit { color: var(--color-primary); }
.calc-row.benefit span:last-child { color: var(--color-primary); }
.calc-row.total { color: var(--color-text); font-weight: 800; font-family: var(--font-display); }
.calc-row.total span:last-child { color: var(--color-primary); font-size: 1.1em; }
.pay-link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition);
}
.pay-link:hover { gap: var(--space-3); }

/* ============ CTA SECTION ============ */
.cta-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.logos-track-cta { margin-bottom: var(--space-8); justify-content: center; }
.cta-heading {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  text-align: left;
  margin-top: var(--space-4);
}
.how-step {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.how-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  letter-spacing: 0.06em;
}
.how-step h3 {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.how-step p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; }

/* ============ FOOTER ============ */
.footer {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-12);
}
.footer-top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-10);
}
.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
  max-width: 38ch;
}
.footer-email {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.footer-col { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col-heading {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-col a:hover { color: var(--color-text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-bottom p { font-size: var(--text-xs); color: var(--color-text-muted); }
.footer-legal { display: flex; gap: var(--space-6); }
.footer-legal a { font-size: var(--text-xs); color: var(--color-text-muted); }
.footer-legal a:hover { color: var(--color-text); }

/* ============ SCROLL ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions .btn-ghost { display: none; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { transform: none; }
  .pay-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .module-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); padding: 0; align-self: center; }
  .mockup-body { flex-direction: column; }
  .mockup-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; gap: var(--space-2); }
  .mockup-nav-items { flex-direction: row; }
  .mockup-content { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ops-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .cta-section { text-align: left; }
  .cta-btns { justify-content: flex-start; }
  .logos-track-cta { justify-content: flex-start; }
  .trust-label { text-align: left; }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .hero-headline { font-size: clamp(2.5rem, 2rem + 4vw, 4rem); }
  .nav-actions { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
}

/* ============ ANIMATED FLYWHEEL ============ */
.flywheel-scene-wrap {
  display: flex;
  justify-content: center;
  margin: var(--space-4) 0;
}
.fw-scene {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fw-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,196,204,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.fw-orbit-ring {
  position: absolute;
  width: 430px; height: 430px;
  border-radius: 50%;
  border: 1px solid rgba(0,196,204,0.12);
  animation: fw-spin 28s linear infinite;
}
.fw-orbit-ring::after {
  content: '';
  position: absolute;
  top: -3px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00C4CC;
  box-shadow: 0 0 12px #00C4CC, 0 0 24px rgba(0,196,204,0.4);
}
@keyframes fw-spin { to { transform: rotate(360deg); } }
.fw-inner-ring {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(0,196,204,0.15);
  animation: fw-spin 40s linear infinite reverse;
}
.fw-arcs-svg {
  position: absolute;
  width: 430px; height: 430px;
  top: 35px; left: 35px;
  pointer-events: none;
}
.fw-core {
  position: absolute;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #0d2830 0%, #081820 100%);
  border: 1.5px solid rgba(0,196,204,0.4);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  box-shadow: 0 0 0 8px rgba(0,196,204,0.04), 0 0 40px rgba(0,196,204,0.15);
  z-index: 10;
  animation: fw-core-pulse 3s ease-in-out infinite;
}
@keyframes fw-core-pulse {
  0%,100% { box-shadow: 0 0 0 8px rgba(0,196,204,0.04), 0 0 40px rgba(0,196,204,0.15); }
  50%      { box-shadow: 0 0 0 14px rgba(0,196,204,0.07), 0 0 60px rgba(0,196,204,0.25); }
}
.fw-core-label {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 900;
  color: #00C4CC; letter-spacing: 0.1em;
}
.fw-core-sub {
  font-size: 8px; color: rgba(0,196,204,0.5);
  letter-spacing: 0.1em; text-transform: uppercase;
}
/* Node positions — radius 200px from center 250,250 */
.fw-node {
  position: absolute;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0f1f2a, #0a1520);
  border: 1.5px solid rgba(0,196,204,0.28);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  z-index: 20;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.3s;
  animation: fw-node-in 0.7s cubic-bezier(0.16,1,0.3,1) both;
}
.fw-node:hover { transform: scale(1.14) !important; border-color: #00C4CC; box-shadow: 0 0 28px rgba(0,196,204,0.4); }
.fw-node.fw-active { border-color: #00C4CC; box-shadow: 0 0 22px rgba(0,196,204,0.3); background: linear-gradient(145deg, #112630, #0d1e28); }
@keyframes fw-node-in { from { opacity:0; transform:scale(0.5); } to { opacity:1; transform:scale(1); } }
/* Stagger */
.fw-node-1 { animation-delay:0.1s; top: calc(250px - 200px - 42px); left: calc(250px - 42px); }
.fw-node-2 { animation-delay:0.2s; top: calc(250px - 173px - 42px); left: calc(250px + 100px - 42px); }
.fw-node-3 { animation-delay:0.3s; top: calc(250px + 100px - 42px); left: calc(250px + 173px - 42px); }
.fw-node-4 { animation-delay:0.4s; top: calc(250px + 200px - 42px); left: calc(250px - 42px); }
.fw-node-5 { animation-delay:0.5s; top: calc(250px + 100px - 42px); left: calc(250px - 173px - 42px); }
.fw-node-6 { animation-delay:0.6s; top: calc(250px - 173px - 42px); left: calc(250px - 100px - 42px); }
.fw-num {
  font-family: var(--font-display); font-size: 8px; font-weight: 900;
  color: rgba(0,196,204,0.65); letter-spacing: 0.1em;
}
.fw-node svg { width: 20px; height: 20px; color: #00C4CC; flex-shrink: 0; }
.fw-name {
  font-family: var(--font-display); font-size: 8.5px; font-weight: 800;
  color: #c8dde8; text-align: center; line-height: 1.2; padding: 0 4px;
}
.fw-particle {
  position: absolute;
  width: 5px; height: 5px; border-radius: 50%;
  background: #00C4CC;
  box-shadow: 0 0 8px #00C4CC, 0 0 16px rgba(0,196,204,0.5);
  pointer-events: none; z-index: 5;
}
@media (max-width: 600px) {
  .fw-scene { width: 320px; height: 320px; }
  .fw-orbit-ring { width: 280px; height: 280px; }
  .fw-inner-ring { width: 210px; height: 210px; }
  .fw-arcs-svg { width: 280px; height: 280px; top: 20px; left: 20px; }
  .fw-node { width: 60px; height: 60px; }
  .fw-node-1 { top: calc(160px - 128px - 30px); left: calc(160px - 30px); }
  .fw-node-2 { top: calc(160px - 111px - 30px); left: calc(160px + 64px - 30px); }
  .fw-node-3 { top: calc(160px + 64px - 30px); left: calc(160px + 111px - 30px); }
  .fw-node-4 { top: calc(160px + 128px - 30px); left: calc(160px - 30px); }
  .fw-node-5 { top: calc(160px + 64px - 30px); left: calc(160px - 111px - 30px); }
  .fw-node-6 { top: calc(160px - 111px - 30px); left: calc(160px - 64px - 30px); }
  .fw-core { width: 80px; height: 80px; }
}
