/* ====================================================
   FLOWVOY — Flowbit-inspired Design System
   Primary: #6633EE  |  Font: Plus Jakarta Sans
   ==================================================== */

/* === DESIGN TOKENS === */
:root {
  /* Core Brand — Flowbit inspired */
  --primary:       #6633EE;
  --primary-hover: #5520DD;
  --primary-light: rgba(102, 51, 238, 0.08);
  --primary-border: rgba(102, 51, 238, 0.18);

  /* Accent palette */
  --blue:   #2BB6FF;
  --orange: #F3785D;
  --green:  #7BDC5B;
  --yellow: #FFB21E;
  --pink:   #EE33CC;

  /* Backgrounds — Flowbit signature */
  --bg:       #FFFFFF;
  --bg-alt:   #F2F2F8;   /* Flowbit's signature light lavender-gray */
  --bg-card:  #FFFFFF;

  /* Borders */
  --border:       #DEE5ED;
  --border-light: rgba(222, 229, 237, 0.7);

  /* Text */
  --text:   #0D1117;
  --text-2: #4A5568;
  --text-3: #8891A5;

  /* Dark surfaces (footer / CTA) */
  --dark:        #070B1A;
  --dark-2:      #0F1326;
  --dark-border: rgba(255, 255, 255, 0.08);

  /* Flowbit card shadow */
  --shadow:    0px 20px 40px 0px rgba(155, 154, 154, 0.149);
  --shadow-sm: 0px 4px 14px 0px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0px 30px 60px 0px rgba(0, 0, 0, 0.13);

  /* Typography */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --section:   100px 0;
  --container: 1200px;
  --pad:       24px;

  /* Radii — Flowbit uses 10–12px cards */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  --t: 0.25s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }

/* === CONTAINER === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* === GRADIENT TEXT === */
.text-grad {
  background: linear-gradient(135deg, #6633EE 0%, #2BB6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  border-radius: var(--r-md);
  transition: all var(--t);
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(102, 51, 238, 0.35);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(102,51,238,0.48); }
.btn-outline {
  background: transparent;
  color: var(--text);
  padding: 11px 26px;
  font-size: 15px;
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary-border); color: var(--primary); background: var(--primary-light); }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-outline.btn-lg { padding: 14px 32px; }

/* ========================
   ANNOUNCEMENT / TOP BAR
   ======================== */
.topbar {
  background: linear-gradient(90deg, var(--primary), var(--blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}
.topbar-inner { display: flex; align-items: center; gap: 8px; }
.topbar-badge {
  background: rgba(255,255,255,0.22);
  border-radius: var(--r-full);
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.topbar-link { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.5); }
.topbar-link:hover { opacity: 0.85; }
.topbar-close {
  position: absolute; right: 16px;
  background: transparent; color: white;
  font-size: 15px; padding: 4px 8px;
  opacity: 0.65; transition: opacity var(--t);
}
.topbar-close:hover { opacity: 1; }

/* ========================
   NAVBAR
   ======================== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.nav-wrap {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; gap: 24px; height: 66px;
}

/* Logo */
.logo       { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-name  {
  font-size: 21px; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Nav menu */
.nav-menu { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item  { position: relative; }
.nav-link  {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--text-2); background: transparent;
  border-radius: var(--r-sm); transition: all var(--t);
  white-space: nowrap; cursor: pointer;
}
.nav-link:hover { color: var(--text); background: var(--bg-alt); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 14px; min-width: 220px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s ease 0.18s, visibility 0.15s ease 0.18s, transform 0.15s ease 0.18s;
}
/* Invisible bridge fills the gap between nav trigger and dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.dropdown-wide { min-width: 520px; }
.nav-item.has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.dropdown-label {
  font-size: 11px; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 1.1px;
  padding: 2px 8px 10px; border-bottom: 1px solid var(--border-light); margin-bottom: 8px;
}
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px; border-radius: var(--r-md); transition: background var(--t);
}
.dropdown-item:hover { background: var(--bg-alt); }
.d-icon {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.d-title { font-size: 13px; font-weight: 600; color: var(--text); }
.d-desc  { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.dropdown-simple {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; font-size: 14px; font-weight: 500;
  color: var(--text-2); border-radius: var(--r-sm); transition: all var(--t);
}
.dropdown-simple:hover { color: var(--primary); background: var(--bg-alt); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-nav-ghost {
  padding: 8px 18px; font-size: 14px; font-weight: 600;
  color: var(--text-2); border-radius: var(--r-sm); transition: all var(--t);
}
.btn-nav-ghost:hover { color: var(--text); background: var(--bg-alt); }
.btn-nav-primary {
  padding: 9px 22px; font-size: 14px; font-weight: 700; color: #fff;
  background: var(--primary); border-radius: var(--r-sm);
  box-shadow: 0 2px 12px rgba(102,51,238,0.3); transition: all var(--t);
}
.btn-nav-primary:hover { background: var(--primary-hover); box-shadow: 0 4px 18px rgba(102,51,238,0.45); transform: translateY(-1px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: transparent; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--t); }

/* ========================
   SECTION HEADER SHARED
   ======================== */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block; padding: 5px 16px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.15;
  color: var(--text); margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--text-2); line-height: 1.7; }

/* ========================
   HERO
   ======================== */
.hero {
  background: var(--bg);
  position: relative; overflow: hidden;
  padding: 80px 0 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.18;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6633EE, transparent);
  top: -200px; right: -150px;
  animation: heroGlowFloat 10s ease-in-out infinite;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #2BB6FF, transparent);
  bottom: 0; left: -100px;
  animation: heroGlowFloat 14s ease-in-out infinite reverse;
}
@keyframes heroGlowFloat {
  0%, 100% { transform: translate(0,0); }
  50%       { transform: translate(20px, -20px); }
}

.hero-body {
  position: relative; z-index: 1;
  text-align: center; max-width: 820px;
  margin: 0 auto; padding-bottom: 60px;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 10px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-full);
  font-size: 13px; font-weight: 600; color: var(--primary);
  margin-bottom: 28px;
}
.eyebrow-pulse {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: eyePulse 2s infinite;
}
@keyframes eyePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* Heading */
.hero-heading {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800; line-height: 1.09;
  letter-spacing: -2.5px; color: var(--text);
  margin-bottom: 22px;
}

/* Description */
.hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-2); line-height: 1.72;
  max-width: 600px; margin: 0 auto 36px;
}
.hero-desc strong { color: var(--text); }

/* Channel pills */
.channel-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin-bottom: 32px;
}
.channel-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 13px; font-weight: 500; color: var(--text-2);
  transition: all var(--t);
}
.channel-pill:hover { border-color: var(--primary-border); color: var(--primary); background: var(--primary-light); }
.channel-wa { border-color: rgba(37,211,102,0.3); }

/* CTAs */
.hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; margin-bottom: 28px;
}

/* Trust line */
.hero-trust-line {
  font-size: 13px; color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  gap: 6px; flex-wrap: wrap;
}
.trust-sep { opacity: 0.4; }
.stars-inline { color: #FBBF24; font-size: 12px; }

/* Hero visual */
.hero-visual { position: relative; z-index: 1; background: var(--bg-alt); padding-top: 60px; }
.hero-visual-inner { position: relative; }
.hero-dashboard-wrap { position: relative; overflow: visible; }
.hero-dashboard-img {
  width: 100%;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  border-bottom: none;
}

/* Floating cards */
.hero-float {
  position: absolute;
  background: linear-gradient(135deg, #2BB6FF 0%, #6633EE 100%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-md);
  box-shadow: 0 8px 32px rgba(102,51,238,0.28), 0 2px 8px rgba(0,0,0,0.12);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  animation: floatAnim 5.5s ease-in-out infinite; white-space: nowrap;
}
.hero-float-1 { top: 120px;    left: -8px;   animation-delay: 0s;   }
.hero-float-2 { top: 190px;    right: -8px;  animation-delay: 2s;   }
.hero-float-3 { bottom: 50px;  left: 20px;   animation-delay: 3.8s; }
.hero-float-4 { bottom: 160px; right: -8px;  animation-delay: 1.2s; }
.hero-float-5 { bottom: 260px; left: -8px;   animation-delay: 4.8s; }
.hero-float-6 { top: 50px;     right: 50px;  animation-delay: 0.7s; }
.hero-float-7 { top: 310px;    left: 20px;   animation-delay: 2.9s; }
.hero-float-8 { bottom: 60px;  right: 40px;  animation-delay: 1.8s; }
@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.float-icon {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.float-wa         { background: rgba(255,255,255,0.20); }
.float-voice      { background: rgba(255,255,255,0.20); }
.float-inner-icon { background: rgba(255,255,255,0.20); }
.float-label { font-size: 13px; font-weight: 700; color: #fff; }
.float-sub   { font-size: 11px; color: rgba(255,255,255,0.78); }
.float-big-stat {
  width: 48px; height: 48px; border-radius: var(--r-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: white;
  background: rgba(255,255,255,0.18);
}

/* ========================
   HERO BENEFIT SLIDER (mobile)
   ======================== */
.hero-benefit-strip {
  display: none;
  background: var(--bg-alt);
  padding-top: 20px;
  padding-bottom: 8px;
  width: 100%;
}
.hbs-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px var(--pad) 20px;
  margin: 0 calc(-1 * var(--pad));
  scrollbar-width: none;
}
.hbs-track::-webkit-scrollbar { display: none; }
.hbs-card {
  flex: 0 0 148px;
  scroll-snap-align: start;
  background: linear-gradient(135deg, #2BB6FF 0%, #6633EE 100%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-md);
  box-shadow: 0 6px 24px rgba(102,51,238,0.22);
  padding: 14px 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hbs-icon {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hbs-stat {
  font-size: 22px; font-weight: 800; color: #fff;
  line-height: 1;
}
.hbs-label {
  font-size: 12px; font-weight: 700; color: #fff; line-height: 1.3;
}
.hbs-sub {
  font-size: 10px; color: rgba(255,255,255,0.7); line-height: 1.3;
}

/* ========================
   TRUSTED BY / LOGO STRIP
   ======================== */
.trusted-by {
  background: var(--bg); padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-label {
  text-align: center; font-size: 12px; font-weight: 600;
  color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 28px;
}
.logo-track { overflow: hidden; position: relative; }
.logo-track::before,
.logo-track::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 1; pointer-events: none;
}
.logo-track::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.logo-track::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.logo-scroll {
  display: flex; gap: 8px; width: max-content;
  animation: scrollLogos 28s linear infinite;
}
@keyframes scrollLogos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-pill {
  padding: 8px 20px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 14px; font-weight: 600; color: var(--text-3);
  white-space: nowrap; transition: all var(--t);
}
.logo-pill:hover { color: var(--text); border-color: var(--primary-border); }

/* ========================
   HOW IT WORKS
   ======================== */
.how-section { padding: var(--section); background: var(--bg-alt); }
.steps-row {
  display: flex; align-items: center; gap: 0;
}
.step-card {
  flex: 1; background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 28px;
  text-align: center; position: relative;
  box-shadow: var(--shadow-sm); transition: all var(--t);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary-border); }
.step-icon {
  width: 64px; height: 64px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.step-num {
  font-size: 11px; font-weight: 800; color: var(--text-3);
  letter-spacing: 0.5px; margin-bottom: 12px;
}
.step-title {
  font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -0.3px;
}
.step-desc { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.step-arrow {
  flex-shrink: 0; padding: 0 4px; opacity: 0.5;
}

/* ========================
   MODULES / PRODUCTS
   ======================== */
.modules-section { padding: var(--section); background: var(--bg); }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.module-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: all var(--t); position: relative; overflow: hidden;
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-border); background: var(--bg); }
.module-wide  { grid-column: span 2; }
.module-small { grid-column: span 1; }

.module-top { display: flex; align-items: flex-start; justify-content: space-between; }
.mod-icon {
  width: 50px; height: 50px; border-radius: var(--r-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
.mod-num {
  font-size: 11px; font-weight: 800; color: var(--text-3);
  letter-spacing: 0.5px; opacity: 0.5;
}
.mod-title {
  font-size: 19px; font-weight: 700; color: var(--text);
  letter-spacing: -0.3px; line-height: 1.3;
}
.module-small .mod-title { font-size: 16px; }
.mod-desc { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.mod-list { display: flex; flex-direction: column; gap: 8px; }
.mod-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.mod-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.mod-image {
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border); margin-top: auto;
}
.mod-image img { width: 100%; height: 200px; object-fit: cover; }
.mod-image-compact img { height: 160px; }
.mod-mini-img {
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border); margin-top: auto;
}
.mod-mini-img img { width: 100%; height: 100px; object-fit: cover; }
.mod-link {
  font-size: 14px; font-weight: 700; margin-top: auto;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap var(--t);
}
.mod-link:hover { gap: 8px; }

/* ========================
   FLOW DIAGRAM
   ======================== */
.flow-diagram {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 52px 44px;
  overflow: hidden;
  min-height: 500px;
}
.flow-diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(102,51,238,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.flow-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 1;
  position: relative;
}
.flow-inputs  { flex-shrink: 0; gap: 0; }
.flow-outputs { flex: 1; gap: 11px; justify-content: center; }

/* Channel groups */
.chan-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0 14px 14px;
  border-left: 2px solid var(--border);
  margin-bottom: 4px;
  position: relative;
  transition: border-color 0.2s;
}
.chan-group:last-child { margin-bottom: 0; }
.chan-group:hover { border-left-color: var(--primary-border); }
.chan-group::before {
  content: '';
  position: absolute;
  left: -1px; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transform: translateY(-50%) translateX(-50%);
  transition: background 0.2s;
}
.chan-group:hover::before { background: var(--primary); }
.chan-group-label {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.9px;
  color: var(--text-3); margin-bottom: 2px;
  padding-left: 2px;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 9px 16px 9px 9px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
}
.flow-node:hover {
  border-color: var(--primary-border);
  box-shadow: 0 4px 18px rgba(102,51,238,0.12);
  transform: translateX(3px);
}
.flow-node-out:hover { transform: translateX(-3px); }

.fn-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fn-label {
  font-size: 13px; font-weight: 600; color: var(--text);
}
.fn-info {
  display: flex; flex-direction: column; gap: 1px;
}
.fn-title {
  font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.3;
}
.fn-sub {
  font-size: 11px; color: var(--text-3);
}
.fn-more {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(102,51,238,0.08);
  border: 1px solid rgba(102,51,238,0.18);
  border-radius: 20px;
  padding: 3px 9px;
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.18s, transform 0.18s, background 0.15s;
  pointer-events: none;
  white-space: nowrap;
}
.flow-node-out:hover .fn-more {
  opacity: 1;
  transform: translateX(0);
}
.flow-node-out:hover {
  cursor: pointer;
}

/* Hub */
.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.flow-hub-wrap {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; z-index: 1; position: relative;
}
.flow-hub {
  position: relative;
  width: 92px; height: 92px;
  display: flex; align-items: center; justify-content: center;
}
.hub-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(102,51,238,0.22);
  animation: hubPulse 2.6s ease-out infinite;
}
.hr1 { width: 92px;  height: 92px;  animation-delay: 0s; }
.hr2 { width: 128px; height: 128px; animation-delay: 0.8s; }
@keyframes hubPulse {
  0%   { opacity: 0.9; transform: scale(0.94); }
  60%  { opacity: 0.2; transform: scale(1.07); }
  100% { opacity: 0;   transform: scale(1.14); }
}
.hub-core {
  width: 76px; height: 76px; border-radius: 50%;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  z-index: 1; position: relative;
}
.hub-caption {
  font-size: 11px; font-weight: 700; color: var(--primary);
  letter-spacing: 0.2px; text-align: center;
}

/* SVG overlay for JS-drawn flow paths */

/* ── Mobile flow diagram — hidden on desktop, shown ≤768px ── */
.flow-mobile { display: none; }

/* section labels */
.fm-label {
  font-size: 10px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--text-3);
  width: 100%; margin: 0;
}

/* ── Input channels: 4-col icon grid ── */
.fm-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
}
.fm-chan {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 6px 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.fm-chan-ic {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.fm-chan span {
  font-size: 9px; font-weight: 700; color: var(--text-3);
  text-align: center; line-height: 1.2;
}

/* ── Animated connector: 3 parallel tracks ── */
.fm-connector {
  display: flex; gap: 14px;
  height: 68px;
  align-items: stretch;
}
.fm-track {
  width: 2px;
  background: linear-gradient(to bottom,
    rgba(102,51,238,0.05),
    rgba(102,51,238,0.4) 50%,
    rgba(102,51,238,0.05));
  border-radius: 2px;
  position: relative;
  overflow: visible;
}
.fm-dot {
  position: absolute;
  left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dc, #6633EE);
  box-shadow: 0 0 10px var(--dc, #6633EE);
  transform: translateX(-50%);
  animation: fmDotFall 1.9s linear infinite var(--ad, 0s);
  opacity: 0;
}
@keyframes fmDotFall {
  0%   { top: -4px;            opacity: 0; }
  10%  {                        opacity: 1; }
  85%  {                        opacity: 1; }
  100% { top: calc(100% + 4px); opacity: 0; }
}

/* hub inside mobile diagram */
.fm-hub-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}

/* ── Output modules: 2×3 grid ── */
.fm-outputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}
.fm-out {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none; color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fm-out:active {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}
.fm-out .fn-icon { flex-shrink: 0; }
.fm-out-name {
  font-size: 11px; font-weight: 700; color: var(--text); line-height: 1.3;
}

/* Shift Pulse widget */
.pulse-widget {
  position: relative; width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  margin: 6px auto;
}
.pulse-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(238,51,204,0.25);
  animation: pulseRing 2.5s ease-out infinite;
}
.pulse-ring        { width: 110px; height: 110px; animation-delay: 0s; }
.pulse-ring-2      { width: 80px;  height: 80px;  animation-delay: 0.7s; }
.pulse-ring-3      { width: 55px;  height: 55px;  animation-delay: 1.4s; border-color: rgba(238,51,204,0.45); }
@keyframes pulseRing {
  0%   { transform: scale(0.88); opacity: 0.7; }
  50%  { transform: scale(1.06); opacity: 0.25; }
  100% { transform: scale(0.88); opacity: 0.7; }
}
.pulse-core {
  position: relative; z-index: 2;
  background: linear-gradient(135deg, #EE33CC, #6633EE);
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(238,51,204,0.4);
}
.pulse-score { font-size: 18px; font-weight: 800; color: white; line-height: 1; }
.pulse-lbl   { font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.7); letter-spacing: 0.5px; }

/* ========================
   STATS
   ======================== */
.stats-section { padding: var(--section); background: var(--bg-alt); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.stat-item {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 26px;
  text-align: center; box-shadow: var(--shadow-sm);
  transition: all var(--t);
}
.stat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-border); }
.stat-icon-wrap {
  width: 50px; height: 50px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; box-shadow: 0 5px 16px rgba(0,0,0,0.18);
}
.stat-num {
  font-size: 48px; font-weight: 800; letter-spacing: -2px; line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #6633EE, #2BB6FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.stat-info { font-size: 13px; color: var(--text-3); }

/* ========================
   USE CASES
   ======================== */
.usecases-section { padding: var(--section); background: var(--bg); }
.uc-tab-row {
  display: flex; justify-content: center; gap: 6px;
  margin-bottom: 52px; flex-wrap: wrap;
}
.uc-tab {
  padding: 10px 24px; font-size: 14px; font-weight: 600;
  color: var(--text-2); background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: var(--r-full);
  transition: all var(--t);
}
.uc-tab:hover { color: var(--primary); border-color: var(--primary-border); background: var(--primary-light); }
.uc-tab.active {
  color: #fff; background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(102,51,238,0.35);
}
.uc-panels { position: relative; }
.uc-panel  { display: none; animation: fadeUp 0.35s ease; }
.uc-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.uc-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.uc-context-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r-full); font-size: 12px; font-weight: 700;
  color: var(--text-2); letter-spacing: 0.3px;
  margin-bottom: 16px;
}
.uc-heading {
  font-size: 24px; font-weight: 700; color: var(--text);
  line-height: 1.42; letter-spacing: -0.3px; margin-bottom: 28px;
}
.uc-heading em {
  font-style: normal; color: var(--primary);
}

/* Steps — clean timeline */
.uc-steps {
  display: flex; flex-direction: column;
  gap: 0; margin-bottom: 24px;
  position: relative;
}
.uc-steps::before {
  content: '';
  position: absolute;
  left: 15px; top: 32px; bottom: 20px;
  width: 1px; background: var(--border);
}
.uc-step {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14px; color: var(--text-2); line-height: 1.65;
  padding-bottom: 18px; position: relative;
}
.uc-step:last-child { padding-bottom: 0; }
.uc-step-num {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--primary);
  background: var(--bg); border: 1.5px solid var(--border);
  flex-shrink: 0; position: relative; z-index: 1;
  transition: border-color 0.2s, background 0.2s;
}
.uc-step:hover .uc-step-num {
  border-color: var(--primary); background: var(--primary-light);
}
.uc-step-body { padding-top: 5px; }
.uc-step-body strong { color: var(--text); font-weight: 600; }

.uc-result {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r-md); font-size: 13px; color: var(--text-2);
}
.uc-result-icon { font-size: 14px; }
.uc-result strong { color: var(--text); }

/* ---- Concurrent calls comparison banner ---- */
.uc-concurrent {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-bottom: 44px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.concurrent-side {
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.concurrent-human {
  background: var(--bg-alt);
}
.concurrent-ai {
  background: linear-gradient(135deg, rgba(102,51,238,0.05) 0%, rgba(43,182,255,0.06) 100%);
}
.concurrent-vs {
  display: flex; align-items: center; justify-content: center;
  padding: 0 20px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.concurrent-vs span {
  font-size: 11px; font-weight: 800; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 1px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 4px 10px;
}
.concurrent-side-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.concurrent-calls-row {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.cc-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  padding: 5px 10px; border-radius: var(--r-full);
  border: 1px solid var(--border);
}
.cc-active  { background: var(--bg); color: var(--text-2); }
.cc-waiting { background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.3); color: #b45309; }
.cc-lost    { background: rgba(239,68,68,0.07);  border-color: rgba(239,68,68,0.25); color: #b91c1c; text-decoration: line-through; opacity: 0.7; }
.cc-ai      { background: rgba(102,51,238,0.07); border-color: var(--primary-border); color: var(--primary); }
.cc-plus    { background: var(--primary); border-color: var(--primary); color: white; font-weight: 800; }
.concurrent-bottom {
  font-size: 12px; font-weight: 700; padding: 8px 12px;
  border-radius: var(--r-md); text-align: center;
}
.concurrent-bottom-bad  { background: rgba(239,68,68,0.07); color: #b91c1c; border: 1px solid rgba(239,68,68,0.18); }
.concurrent-bottom-good { background: rgba(102,51,238,0.08); color: var(--primary); border: 1px solid var(--primary-border); }

/* ---- Concurrent banner redesign (cmp-*) ---- */
.cmp-header {
  display: flex; align-items: center; gap: 12px;
}
.cmp-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
}
.cmp-avatar-human {
  background: #f1f5f9; border: 2px solid #cbd5e1; color: #475569;
}
.cmp-avatar-ai {
  background: rgba(102,51,238,0.1); border: 2px solid rgba(102,51,238,0.3);
  color: var(--primary);
}
.cmp-avatar-ai::after {
  content: '';
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(102,51,238,0.2);
  animation: cmpAiPing 2.2s ease-in-out infinite;
}
@keyframes cmpAiPing {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.22); opacity: 0; }
}
.cmp-header-body { display: flex; flex-direction: column; gap: 4px; }
.cmp-title { font-size: 14px; font-weight: 800; color: var(--text); }
.cmp-cap {
  font-size: 10px; font-weight: 700;
  background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0;
  border-radius: 20px; padding: 2px 8px; display: inline-block;
}
.cmp-cap-ai {
  background: rgba(102,51,238,0.07); color: var(--primary);
  border-color: var(--primary-border);
}

.cmp-rows { display: flex; flex-direction: column; gap: 6px; }
.cmp-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
}
.cmp-row-active  { background: rgba(34,197,94,0.06);   border-color: rgba(34,197,94,0.2); }
.cmp-row-waiting { background: rgba(251,191,36,0.05);  border-color: rgba(251,191,36,0.18); opacity: 0.85; }
.cmp-row-lost    { background: rgba(239,68,68,0.04);   border-color: rgba(239,68,68,0.13); opacity: 0.6; }
.cmp-row-ai      { background: rgba(102,51,238,0.04);  border-color: rgba(102,51,238,0.12); }

.cmp-row-caller {
  display: flex; align-items: center; gap: 5px;
}
.cmp-status-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.cmp-dot-green      { background: #22c55e; animation: livePulse 1.5s ease-in-out infinite; }
.cmp-dot-yellow     { background: #f59e0b; }
.cmp-dot-red        { background: #ef4444; opacity: 0.6; }
.cmp-dot-purple     { background: var(--primary); animation: livePulse 1.5s ease-in-out infinite; }
.cmp-dot-purple-dim { background: rgba(102,51,238,0.4); }
.cmp-phone-svg  { color: var(--text-3); flex-shrink: 0; }
.cmp-row-name   { font-size: 11px; font-weight: 600; color: var(--text-2); white-space: nowrap; }

.cmp-row-line {
  position: relative; height: 3px; border-radius: 2px;
}
.cmp-line-solid {
  position: absolute; inset: 0; border-radius: 2px;
}
.cmp-line-green-bg { background: rgba(34,197,94,0.25); }
.cmp-line-ai-bg    { background: rgba(102,51,238,0.18); }
.cmp-line-dashed {
  position: absolute; inset: 0; border-radius: 2px;
  background: repeating-linear-gradient(90deg,
    rgba(239,68,68,0.28) 0, rgba(239,68,68,0.28) 5px,
    transparent 5px, transparent 10px);
}
.cmp-blocked-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800; color: #ef4444; line-height: 1;
}
.cmp-flow-dot {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  animation: cmpDotFlow 1.8s linear infinite;
}
.cmp-flow-dot-green { background: #22c55e; box-shadow: 0 0 5px rgba(34,197,94,0.7); }
.cmp-flow-dot-ai    { background: var(--primary); box-shadow: 0 0 5px rgba(102,51,238,0.7); }
@keyframes cmpDotFlow {
  0%   { left: 0;                    opacity: 0; }
  8%   {                             opacity: 1; }
  92%  {                             opacity: 1; }
  100% { left: calc(100% - 8px);    opacity: 0; }
}

.cmp-row-badge {
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: var(--r-full);
  white-space: nowrap; border: 1px solid transparent;
}
.cmp-badge-green  { background: rgba(34,197,94,0.1);   color: #16a34a; border-color: rgba(34,197,94,0.25); }
.cmp-badge-yellow { background: rgba(251,191,36,0.1);  color: #b45309; border-color: rgba(251,191,36,0.3); }
.cmp-badge-lost   { background: rgba(239,68,68,0.07);  color: #b91c1c; border-color: rgba(239,68,68,0.2); text-decoration: line-through; }
.cmp-badge-ai     { background: rgba(102,51,238,0.08); color: var(--primary); border-color: var(--primary-border); }
.cmp-badge-inf    { background: var(--primary); color: white; border-color: var(--primary); }

/* Real estate: simultaneous calls widget */
.illus-simul {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 14px;
}
.illus-simul-title {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.7px; color: var(--text-3); margin-bottom: 10px;
}
.simul-row { display: flex; flex-direction: column; gap: 7px; }
.simul-call {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 8px;
  border: 1px solid var(--border);
  animation: simulFade 0.5s ease both;
}
.simul-call-1 { animation-delay: 0s;    background: rgba(102,51,238,0.04); border-color: var(--primary-border); }
.simul-call-2 { animation-delay: 0.15s; background: rgba(43,182,255,0.04); border-color: rgba(43,182,255,0.2); }
.simul-call-3 { animation-delay: 0.3s;  background: rgba(34,197,94,0.04);  border-color: rgba(34,197,94,0.2); }
@keyframes simulFade { from { opacity:0; transform:translateX(-6px); } to { opacity:1; transform:translateX(0); } }
.simul-indicator {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  animation: livePulse 1.6s ease-in-out infinite;
}
.simul-call-1 .simul-indicator { background: var(--primary); }
.simul-call-2 .simul-indicator { background: #2BB6FF; }
.simul-call-3 .simul-indicator { background: #22c55e; }
.simul-info { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.simul-caller { font-size: 12px; font-weight: 700; color: var(--text); }
.simul-action { font-size: 11px; color: var(--text-3); }
.simul-check  { font-size: 13px; color: #22c55e; font-weight: 800; }
.simul-footer {
  margin-top: 10px; font-size: 11px; font-weight: 600;
  color: var(--primary); text-align: center;
  padding-top: 8px; border-top: 1px solid var(--border);
}

/* ---- Industry illustrations ---- */
.uc-illus {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  align-items: start;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
}
.uc-customer-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center; padding-top: 4px;
}
.uc-customer-photo {
  width: 76px; height: 76px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(102,51,238,0.22);
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
}
.uc-customer-name {
  font-size: 13px; font-weight: 700; color: var(--text);
}
.uc-customer-cat {
  font-size: 10px; font-weight: 700; line-height: 1.5;
  background: rgba(102,51,238,0.07); color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: 20px; padding: 2px 9px;
}
.uc-dialogue {
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.illus-header {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.6px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.illus-live {
  margin-left: auto; color: #22c55e;
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse { 0%,100% { opacity:1; } 50% { opacity:0.35; } }

.illus-bubble {
  padding: 10px 14px; border-radius: 14px;
  font-size: 13px; line-height: 1.5; display: flex; align-items: flex-start; gap: 6px;
}
.illus-bubble-in {
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text-2); border-radius: 14px 14px 14px 2px;
  align-self: flex-start; max-width: 92%;
}
.illus-bubble-out {
  background: var(--primary-light); border: 1px solid var(--primary-border);
  color: var(--primary); border-radius: 14px 14px 2px 14px;
  align-self: flex-end; max-width: 92%; font-weight: 500;
}
.illus-ai-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: var(--r-full);
  background: var(--bg); border: 1px solid var(--border);
  font-size: 11px; font-weight: 600; color: var(--text-3);
  align-self: center;
}
.illus-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 14px;
}
.illus-card-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 4px;
}
.illus-label { font-size: 12px; font-weight: 600; color: var(--text); }
.illus-items { font-size: 12px; color: var(--text-3); }
.illus-badge {
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: var(--r-full); white-space: nowrap;
}
.illus-badge-green  { background: rgba(34,197,94,0.12);  color: #16a34a; }
.illus-badge-blue   { background: rgba(43,182,255,0.12); color: #0284c7; }
.illus-badge-orange { background: rgba(243,120,93,0.12); color: #c2410c; }

.illus-room-tag {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--text-2);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 5px 12px;
  align-self: flex-start;
}
.illus-rating {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--text-3); font-weight: 600;
}
.illus-stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }

/* Healthcare calendar */
.illus-calendar {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 14px;
}
.illus-cal-title {
  font-size: 11px; font-weight: 700; color: var(--text-2);
  margin-bottom: 10px;
}
.illus-cal-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 4px;
}
.illus-cal-day {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.cal-day-label {
  font-size: 9px; font-weight: 700; color: var(--text-3); text-transform: uppercase;
}
.cal-slot {
  font-size: 9px; font-weight: 600; padding: 3px 2px;
  border-radius: 4px; text-align: center; width: 100%;
  white-space: nowrap;
}
.cal-slot-taken    { background: var(--bg-alt); color: var(--text-3); }
.cal-slot-free     { background: rgba(34,197,94,0.08); color: #16a34a; border: 1px solid rgba(34,197,94,0.2); }
.cal-slot-selected { background: var(--primary); color: white; font-weight: 800; }
.illus-sms-strip {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-3); font-weight: 600;
  padding: 8px 12px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-full);
}

/* Retail tracking */
.illus-tracking { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
.illus-track-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-3);
}
.track-label { flex: 1; }
.track-date  { font-size: 11px; font-weight: 600; }
.track-dot   { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.track-done-dot    { background: #22c55e; }
.track-active-dot  { background: var(--primary); box-shadow: 0 0 0 3px rgba(102,51,238,0.18); }
.track-pending-dot { background: var(--border); }
.track-active .track-label { color: var(--text); }
.track-active .track-date  { color: var(--primary); font-weight: 700; }

/* Law firm */
.illus-matter-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px;
}
.illus-matter-id    { font-size: 12px; font-weight: 800; color: var(--text); }
.illus-matter-title { font-size: 13px; font-weight: 700; color: var(--text); margin: 4px 0 10px; }
.illus-matter-rows  { display: flex; flex-direction: column; gap: 5px; }
.illus-matter-row   { display: flex; justify-content: space-between; font-size: 12px; }
.illus-matter-row span:first-child { color: var(--text-3); }
.illus-matter-row span:last-child  { color: var(--text-2); font-weight: 500; }

/* ========================
   TESTIMONIALS
   ======================== */
.testimonials-section { padding: var(--section); background: var(--bg-alt); }
.testimonials-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px;
}
.testi-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 34px;
  box-shadow: var(--shadow-sm); transition: all var(--t);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-card.testi-featured {
  background: var(--dark); border-color: rgba(102,51,238,0.3);
  box-shadow: 0 20px 50px rgba(102,51,238,0.2);
}
.testi-tags { display: flex; gap: 6px; margin-bottom: 20px; }
.testi-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 600;
  background: var(--bg-alt); color: var(--text-2);
  border: 1px solid var(--border);
}
.testi-featured .testi-tag { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.12); }
.testi-tag-voice { background: rgba(243,120,93,0.1); color: #F3785D; border-color: rgba(243,120,93,0.25); }
.testi-tag-wa    { background: rgba(37,211,102,0.1); color: #128C7E; border-color: rgba(37,211,102,0.25); }
.testi-tag-pos   { background: rgba(102,51,238,0.1); color: var(--primary); border-color: var(--primary-border); }
.testi-quote {
  font-size: 56px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #6633EE, #2BB6FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: 12px; opacity: 0.55;
}
.testi-body { font-size: 15px; line-height: 1.73; color: var(--text-2); margin-bottom: 22px; }
.testi-featured .testi-body { color: rgba(255,255,255,0.75); }
.testi-author { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: white; flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 700; color: var(--text); }
.testi-featured .testi-name { color: white; }
.testi-role { font-size: 12px; color: var(--text-3); }
.testi-featured .testi-role { color: rgba(255,255,255,0.42); }
.testi-logo-icon { margin-left: auto; font-size: 22px; opacity: 0.4; }
.testi-stats-row {
  display: flex; gap: 24px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
}
.testi-stat { display: flex; flex-direction: column; gap: 3px; }
.testi-stat-val {
  font-size: 26px; font-weight: 800; letter-spacing: -1px;
  background: linear-gradient(135deg, #6633EE, #2BB6FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.testi-stat-lbl { font-size: 12px; color: rgba(255,255,255,0.42); font-weight: 500; }

/* ========================
   INTEGRATIONS — Orbital
   ======================== */
.integrations-section { padding: var(--section); background: var(--bg); overflow: hidden; }

.int-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.int-text-col {
  display: flex; flex-direction: column; gap: 20px;
}
.int-text-col .section-tag    { margin: 0; align-self: flex-start; }
.int-text-col .section-heading { text-align: left; }
.int-text-col .section-sub    { text-align: left; max-width: none; }
.int-cats {
  display: flex; flex-direction: column; gap: 9px;
}
.int-cat {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
}
.int-cat-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}

/* Orbit diagram */
.int-orbit-wrap {
  display: flex; justify-content: center; align-items: center;
}
.int-orbit-diagram {
  width: 560px; height: 560px;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(102,51,238,0.14);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbit-r1 { width: 290px; height: 290px; }
.orbit-r2 {
  width: 400px; height: 400px;
  animation: orbitSpin 80s linear infinite;
}
@keyframes orbitSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.orbit-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  z-index: 10;
}
.ohr {
  position: absolute; border-radius: 50%;
  border: 2px solid rgba(102,51,238,0.18);
  top: 50%; left: 50%;
  animation: ohrPulse 2.8s ease-out infinite;
}
/* Keyframes preserve translate so rings stay centered during animation */
@keyframes ohrPulse {
  0%   { transform: translate(-50%,-50%) scale(0.92); opacity: 0.8; }
  60%  { transform: translate(-50%,-50%) scale(1.12); opacity: 0.2; }
  100% { transform: translate(-50%,-50%) scale(1.22); opacity: 0; }
}
.ohr-1 { width: 108px; height: 108px; animation-delay: 0s; }
.ohr-2 { width: 140px; height: 140px; animation-delay: 1s; }
.orbit-hub-core {
  width: 84px; height: 84px;
  background: transparent;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}

.orb-pill {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  white-space: nowrap;
  padding: 6px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: border-color var(--t), color var(--t), box-shadow var(--t);
  cursor: default;
  z-index: 5;
}
.orb-pill:hover {
  border-color: var(--primary-border);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(102,51,238,0.18);
  transform: translate(-50%, -50%) scale(1.07);
  z-index: 20;
}
.orb-inner { font-size: 11px; font-weight: 600; color: var(--text-2); }
.orb-outer { font-size: 12px; font-weight: 700; color: var(--text); }

/* Blink animation — one pill at a time
   Total cycle: 14s | Each slot: 2s | 7 pills */
@keyframes orbBlink {
  0%   { background: var(--bg);  border-color: var(--border); color: inherit; box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
  5%   { background: #4a1fa8;   border-color: #4a1fa8;       color: #ffffff; box-shadow: 0 0 24px rgba(74,31,168,0.5); }
  10%  { background: #4a1fa8;   border-color: #4a1fa8;       color: #ffffff; box-shadow: 0 0 24px rgba(74,31,168,0.5); }
  16%  { background: var(--bg); border-color: var(--border); color: inherit; box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
  100% { background: var(--bg); border-color: var(--border); color: inherit; box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
}
.orb-blink {
  animation: orbBlink 14s ease-in-out infinite;
}

/* ========================
   PRICING
   ======================== */
.pricing-section { padding: var(--section); background: var(--bg-alt); }
.pricing-toggle {
  display: flex; justify-content: center; gap: 4px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 4px;
  width: fit-content; margin: 0 auto 52px;
}
.ptoggle-btn {
  padding: 9px 24px; font-size: 14px; font-weight: 600;
  color: var(--text-3); background: transparent;
  border-radius: var(--r-full); transition: all var(--t);
  display: flex; align-items: center; gap: 8px;
}
.ptoggle-btn.ptoggle-active { color: var(--text); background: var(--bg-alt); box-shadow: var(--shadow-sm); }
.save-pill {
  padding: 2px 8px; border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff; font-size: 10px; font-weight: 700;
}
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.price-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 38px 30px;
  box-shadow: var(--shadow-sm); position: relative; transition: all var(--t);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card-featured {
  background: var(--dark); border-color: rgba(102,51,238,0.4);
  box-shadow: 0 20px 50px rgba(102,51,238,0.25);
  transform: scale(1.02);
}
.price-card-featured:hover { transform: scale(1.02) translateY(-4px); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: white; font-size: 12px; font-weight: 700;
  padding: 4px 18px; border-radius: var(--r-full); white-space: nowrap;
}
.price-plan {
  font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.price-card-featured .price-plan { color: white; }
.price-for { font-size: 13px; color: var(--text-3); margin-bottom: 22px; }
.price-card-featured .price-for { color: rgba(255,255,255,0.48); }
.price-row { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 24px; }
.price-custom { align-items: center; }
.price-currency { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.price-card-featured .price-currency { color: white; }
.price-amount {
  font-size: 52px; font-weight: 800; letter-spacing: -2px;
  color: var(--text); line-height: 1;
}
.price-custom .price-amount { font-size: 28px; letter-spacing: -0.5px; }
.price-card-featured .price-amount { color: white; }
.price-period { font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.price-card-featured .price-period { color: rgba(255,255,255,0.42); }

/* Pricing buttons */
.btn-primary-price {
  display: block; text-align: center; padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: white; font-size: 15px; font-weight: 700;
  border-radius: var(--r-md); margin-bottom: 26px;
  box-shadow: 0 4px 16px rgba(102,51,238,0.4); transition: all var(--t);
}
.btn-primary-price:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(102,51,238,0.55); }
.btn-outline-price {
  display: block; text-align: center; padding: 14px;
  border: 1.5px solid var(--border); color: var(--text);
  font-size: 15px; font-weight: 700; border-radius: var(--r-md);
  margin-bottom: 26px; transition: all var(--t);
}
.btn-outline-price:hover { border-color: var(--primary-border); color: var(--primary); background: var(--primary-light); }
.price-hr { border: 0; border-top: 1px solid var(--border); margin-bottom: 18px; }
.price-hr-dark { border-color: rgba(255,255,255,0.08); }
.price-inc { font-size: 12px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }
.price-card-featured .price-inc { color: rgba(255,255,255,0.35); }
.price-list { display: flex; flex-direction: column; gap: 11px; }
.price-list li { font-size: 14px; color: var(--text-2); }
.price-card-featured .price-list li { color: rgba(255,255,255,0.7); }
.price-list li.price-off { opacity: 0.36; }

/* ========================
   CTA
   ======================== */
.cta-section {
  padding: 120px 0; background: var(--dark);
  position: relative; overflow: hidden;
}
.cta-orbs  { position: absolute; inset: 0; pointer-events: none; }
.cta-orb   { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.22; }
.cta-orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, #6633EE, transparent); top: -120px; left: -80px; }
.cta-orb-2 { width: 380px; height: 380px; background: radial-gradient(circle, #2BB6FF, transparent); bottom: -80px; right: -60px; }
.cta-body  { position: relative; z-index: 1; text-align: center; }
.cta-eyebrow {
  display: inline-block; padding: 5px 16px;
  background: rgba(102,51,238,0.2); border: 1px solid rgba(102,51,238,0.3);
  border-radius: var(--r-full); font-size: 12px; font-weight: 700;
  color: #A78BFF; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.cta-heading {
  font-size: clamp(34px, 5vw, 60px); font-weight: 800;
  color: white; letter-spacing: -2px; line-height: 1.1; margin-bottom: 18px;
}
.cta-grad {
  background: linear-gradient(135deg, #A78BFF, #67D9FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-sub { font-size: 20px; color: rgba(255,255,255,0.55); margin-bottom: 40px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.btn-cta-white {
  padding: 17px 38px; font-size: 16px; font-weight: 700; color: var(--primary);
  background: white; border-radius: var(--r-md); transition: all var(--t);
  box-shadow: 0 4px 22px rgba(255,255,255,0.18);
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(255,255,255,0.28); }
.btn-cta-ghost {
  padding: 16px 38px; font-size: 16px; font-weight: 700; color: white;
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--r-md); transition: all var(--t);
}
.btn-cta-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35); transform: translateY(-1px); }
.cta-checklist {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  font-size: 14px; color: rgba(255,255,255,0.45);
}

/* ========================
   FOOTER
   ======================== */
/* ========================
   CONTACT FORM
   ======================== */
.contact-section {
  padding: var(--section);
  background: var(--bg-alt);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-cover {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 240px;
  margin-bottom: 28px;
}
.contact-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.contact-cover-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 26px 20px;
  background: linear-gradient(to top, rgba(8,4,36,0.88) 0%, rgba(8,4,36,0.4) 55%, transparent 100%);
}
.contact-cover-overlay .section-tag {
  background: rgba(102,51,238,0.55);
  border-color: rgba(102,51,238,0.4);
  color: #fff;
  margin-bottom: 6px;
}
.contact-cover-tagline {
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

.contact-heading {
  font-size: 36px; font-weight: 800;
  letter-spacing: -1px; line-height: 1.15;
  color: var(--text); margin: 12px 0 16px;
}
.contact-sub {
  font-size: 15px; color: var(--text-2);
  line-height: 1.65; margin-bottom: 36px;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item  { display: flex; align-items: center; gap: 16px; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #2BB6FF);
  display: flex; align-items: center; justify-content: center;
}
.contact-item-label { font-size: 11px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item-val   { font-size: 15px; font-weight: 600; color: var(--text); margin-top: 2px; }

/* Form card */
.contact-form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.cf-row { display: flex; gap: 16px; }
.cf-row-2 > .cf-field { flex: 1; min-width: 0; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.cf-req   { color: var(--primary); }
.cf-input {
  width: 100%; padding: 11px 14px;
  font-size: 14px; font-family: inherit; color: var(--text);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  outline: none; transition: border-color 0.18s, box-shadow 0.18s;
  box-sizing: border-box;
}
.cf-input::placeholder { color: var(--text-3); }
.cf-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102,51,238,0.10);
}
.cf-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.cf-select   { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.cf-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-md);
  background: var(--primary); color: #fff;
  font-size: 15px; font-weight: 700; font-family: inherit;
  border: none; cursor: pointer;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  box-shadow: 0 4px 16px rgba(102,51,238,0.3);
}
.cf-submit:hover { background: #5522dd; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(102,51,238,0.4); }
.cf-submit:active { transform: translateY(0); }
.cf-input.cf-invalid { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.10); }

/* Success state */
.cf-success {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 24px; gap: 16px;
}
.cf-success.visible { display: flex; }
.cf-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(125,249,170,0.12);
  border: 2px solid rgba(125,249,170,0.35);
  display: flex; align-items: center; justify-content: center;
}
.cf-success-title { font-size: 22px; font-weight: 800; color: var(--text); margin: 0; }
.cf-success-sub   { font-size: 14px; color: var(--text-2); line-height: 1.6; max-width: 320px; margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .contact-form-card { padding: 24px 18px; }
  .cf-row-2 { flex-direction: column; }
}

.footer { background: var(--dark); }
.footer-top { padding: 76px 0 54px; border-bottom: 1px solid var(--dark-border); }
.footer-grid {
  display: grid; grid-template-columns: 1.8fr repeat(4,1fr); gap: 44px;
}
.footer-logo-name { color: white !important; -webkit-text-fill-color: white !important; }
.footer-tagline {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.48);
  margin: 16px 0 10px;
}
.footer-about {
  font-size: 14px; color: rgba(255,255,255,0.35);
  line-height: 1.7; margin-bottom: 24px; max-width: 280px;
}
.footer-socials { display: flex; gap: 8px; }
.fsoc {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05); border: 1px solid var(--dark-border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.42); transition: all var(--t);
}
.fsoc:hover { background: rgba(102,51,238,0.2); border-color: rgba(102,51,238,0.4); color: white; transform: translateY(-2px); }
.footer-nav-col h4 {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.28);
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 18px;
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-nav-col a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color var(--t); }
.footer-nav-col a:hover { color: white; }
.footer-bottom { padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-bottom-inner p { font-size: 13px; color: rgba(255,255,255,0.27); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.27); transition: color var(--t); }
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* ========================
   MODULE MODAL
   ======================== */
.mmod-overlay {
  position: fixed; inset: 0;
  background: rgba(7,11,26,0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease;
}
.mmod-overlay.open {
  opacity: 1; pointer-events: all;
}
.mmod-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 90px rgba(0,0,0,0.22);
  max-width: 540px; width: 100%;
  padding: 36px 36px 32px;
  position: relative;
  transform: translateY(28px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34,1.46,0.64,1);
  max-height: 90vh; overflow-y: auto;
}
.mmod-overlay.open .mmod-card {
  transform: translateY(0) scale(1);
}
.mmod-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mmod-close:hover { background: var(--border); color: var(--text); }

.mmod-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 22px;
}
.mmod-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.mmod-header-text { display: flex; flex-direction: column; gap: 4px; }
.mmod-tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--primary);
}
.mmod-title {
  font-size: 20px; font-weight: 800; color: var(--text);
  letter-spacing: -0.4px; line-height: 1.2;
}
.mmod-desc {
  font-size: 14px; color: var(--text-2); line-height: 1.72;
  margin-bottom: 22px; padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.mmod-features {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px;
}
.mmod-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-2); line-height: 1.5;
}
.mmod-feat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
}
.mmod-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px 20px;
}
.mmod-stat {
  display: flex; flex-direction: column; gap: 3px;
}
.mmod-stat-val {
  font-size: 30px; font-weight: 800; letter-spacing: -1.5px; line-height: 1;
}
.mmod-stat-lbl {
  font-size: 12px; color: var(--text-3); font-weight: 600;
}
.mmod-cta {
  padding: 12px 22px; font-size: 14px; white-space: nowrap;
}

/* ========================
   SCROLL ANIMATIONS
   ======================== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========================
   ROI CALCULATOR
   ======================== */
.roi-section {
  padding: var(--section);
  background: var(--bg);
}
.roi-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 48px;
}

/* --- Input card --- */
.roi-inputs-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  box-shadow: var(--shadow-sm);
}
.roi-inputs-title {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800;
  color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.7px;
}
.roi-field { display: flex; flex-direction: column; gap: 8px; }
.roi-field-hd { display: flex; align-items: center; justify-content: space-between; }
.roi-label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.roi-val-pill {
  font-size: 11px; font-weight: 800;
  color: var(--primary);
  background: rgba(102,51,238,0.07);
  border: 1px solid var(--primary-border);
  border-radius: 20px; padding: 2px 10px;
  white-space: nowrap;
}

/* Slider track + thumb */
.roi-slider {
  -webkit-appearance: none;
  width: 100%; height: 5px; border-radius: 3px;
  background: linear-gradient(to right,
    var(--primary) 0%,
    var(--primary) var(--pct, 8%),
    #dde3ef var(--pct, 8%),
    #dde3ef 100%);
  outline: none; cursor: pointer; border: none;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: 0 0 0 1.5px var(--primary), 0 3px 8px rgba(102,51,238,0.35);
  cursor: pointer;
}
.roi-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: 0 0 0 1.5px var(--primary), 0 3px 8px rgba(102,51,238,0.35);
  cursor: pointer;
}
.roi-range-ends {
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--text-3);
}
.roi-plan-row { display: flex; gap: 10px; }
.roi-plan-btn {
  flex: 1;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text-2);
  cursor: pointer; transition: all 0.18s;
  font-family: inherit; text-align: left;
}
.roi-plan-btn:hover { border-color: var(--primary-border); }
.roi-plan-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--border);
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s;
}
.roi-check-icon { opacity: 0; transition: opacity 0.15s; }
.roi-plan-info { display: flex; flex-direction: column; gap: 2px; }
.roi-plan-name { font-size: 13px; font-weight: 700; color: var(--text); }
.roi-plan-price { font-size: 12px; font-weight: 600; color: var(--text-3); }

/* Active state */
.roi-plan-active {
  border-color: var(--primary);
  background: rgba(102,51,238,0.05);
}
.roi-plan-active .roi-plan-check {
  background: var(--primary);
  border-color: var(--primary);
}
.roi-plan-active .roi-check-icon { opacity: 1; }
.roi-plan-active .roi-plan-name { color: var(--primary); }
.roi-plan-active .roi-plan-price { color: var(--primary); opacity: 0.75; }

/* --- Results card --- */
.roi-results-card {
  background: linear-gradient(155deg, #160b4a 0%, #2a1080 50%, #4a20a8 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: 0 24px 64px rgba(102,51,238,0.35);
  color: white;
}

/* Hero metric */
.roi-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 18px;
}
.roi-dots-canvas {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.roi-hero-label {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 8px;
}
.roi-hero-val {
  font-size: 62px; font-weight: 800;
  color: white; letter-spacing: -3px; line-height: 1;
  transition: all 0.3s;
  margin-bottom: 8px;
}
.roi-hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.5);
  margin-bottom: 14px; font-weight: 500;
}
.roi-hero-sub span {
  background: linear-gradient(135deg, #7DF9AA, #2BB6FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-weight: 800;
}
.roi-badges-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.roi-roi-badge {
  display: inline-flex; align-items: center;
  background: rgba(125,249,170,0.15);
  border: 1px solid rgba(125,249,170,0.4);
  color: #7DF9AA;
  font-size: 12px; font-weight: 800;
  border-radius: 20px; padding: 5px 14px;
}
.roi-payback {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px; padding: 5px 13px;
}

/* Breakdown section */
.roi-breakdown { display: flex; flex-direction: column; gap: 10px; }
.roi-bd-title {
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 0.6px;
  margin-bottom: 4px;
}

/* 3-tile gains grid */
.roi-gains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 4px;
}
.roi-gain-tile {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 16px 12px 14px;
  display: flex; flex-direction: column; gap: 5px;
}
.roi-gain-val {
  font-size: 20px; font-weight: 800;
  color: #7DF9AA; letter-spacing: -0.5px;
  transition: all 0.25s;
}
.roi-gain-name {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.88); line-height: 1.3;
}
.roi-gain-desc {
  font-size: 10.5px; color: rgba(255,255,255,0.38);
  line-height: 1.4;
}

/* Cost + net rows */
.roi-bd-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.roi-bd-label { flex: 1; }
.roi-bd-val { font-weight: 700; white-space: nowrap; transition: all 0.25s; }
.roi-bd-cost .roi-bd-label { color: rgba(255,255,255,0.45); }
.roi-bd-cost .roi-bd-val  { color: rgba(255,255,255,0.4); font-weight: 600; }
.roi-bd-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 4px 0; }
.roi-bd-net .roi-bd-label { color: white; font-weight: 700; font-size: 15px; }
.roi-bd-net .roi-bd-val   { color: white; font-size: 18px; font-weight: 800; }
/* Hero image with overlay — top of inputs card, desktop only */
.roi-inputs-hero {
  position: relative;
  margin: -32px -32px 24px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}
.roi-inputs-hero img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.roi-inputs-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 22px;
  background: linear-gradient(to top, rgba(10,5,40,0.88) 0%, rgba(10,5,40,0.45) 55%, transparent 100%);
}
.roi-inputs-hero .roi-inputs-title {
  color: #fff;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.6px; text-transform: uppercase;
  opacity: 0.9;
}
.roi-inputs-hero-desc {
  margin: 5px 0 0;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .roi-inputs-hero { display: none; }
}

.roi-legal {
  display: flex; gap: 7px; align-items: flex-start;
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-md);
}
.roi-legal svg { flex-shrink: 0; margin-top: 1px; opacity: 0.45; }
.roi-legal p {
  font-size: 9.5px; color: rgba(255,255,255,0.35);
  line-height: 1.65; margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .roi-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .roi-hero-val  { font-size: 48px; letter-spacing: -2px; }
  .roi-gains-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .roi-gain-tile { flex-direction: column; padding: 12px 10px; gap: 4px; }
  .roi-gain-val  { font-size: 16px; }
  .roi-gain-name { font-size: 11px; }
  .roi-gain-desc { display: none; }
}
@media (max-width: 480px) {
  .roi-inputs-card, .roi-results-card { padding: 20px 16px; }
  .roi-plan-row { flex-direction: column; }
  .roi-hero-val  { font-size: 40px; }
}

/* ========================
   SCROLLBAR
   ======================== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--blue));
  border-radius: 3px;
}

/* ========================
   RESPONSIVE — 1024px
   ======================== */
@media (max-width: 1024px) {
  .hero-float-1, .hero-float-3, .hero-float-4, .hero-float-5,
  .hero-float-6, .hero-float-7, .hero-float-8 { display: none; }
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .module-wide  { grid-column: span 2; }
  .module-small { grid-column: span 1; }
  .flow-diagram { gap: 20px; padding: 40px 28px; }
  .fn-label, .fn-title { font-size: 12px; }
  .fn-sub { display: none; }
  .steps-row { flex-wrap: wrap; gap: 16px; }
  .step-card { min-width: 180px; flex: 1 1 180px; }
  .step-arrow { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .int-layout { grid-template-columns: 1fr; gap: 40px; }
  .int-text-col .section-heading { text-align: center; }
  .int-text-col .section-tag { align-self: center; }
  .int-text-col .section-sub { text-align: center; }
  .int-cats { align-items: center; }
  .int-text-col .btn { align-self: center !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .uc-grid { grid-template-columns: 1fr; }
  .uc-illus { order: -1; }
}

/* ========================
   RESPONSIVE — 768px
   ======================== */
@media (max-width: 768px) {
  :root { --section: 64px 0; }
  .hero-benefit-strip { display: block; }
  .hero-float-2 { display: none; }
  .nav-menu    { display: none; }
  .hamburger   { display: flex; }
  .btn-nav-ghost { display: none; }
  .nav-actions { margin-left: auto; }
  .modules-grid { grid-template-columns: 1fr; }
  .module-wide, .module-small { grid-column: span 1; }
  /* Hide complex SVG diagram on mobile, show CSS-only version */
  .flow-diagram { display: none; }
  .flow-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 20px 32px;
    position: relative;
    overflow: hidden;
  }
  .flow-mobile::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(102,51,238,0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
  }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card-featured { transform: none; }
  .price-card-featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .uc-tab-row { gap: 8px; }
  .uc-illus { padding: 16px; }

  /* Mobile nav dropdown accordion */
  .has-dropdown { width: 100%; }
  .nav-dropdown-trigger {
    width: 100%; justify-content: space-between;
    padding: 10px 14px; border-radius: var(--r-md);
  }
  .nav-chevron { transition: transform 0.22s; }
  .has-dropdown.mobile-open .nav-chevron { transform: rotate(180deg); }
  .has-dropdown .dropdown {
    position: static !important;
    transform: none !important;
    opacity: 0; visibility: hidden;
    max-height: 0; overflow: hidden;
    box-shadow: none; border: none;
    padding: 0; min-width: unset;
    background: var(--bg-alt);
    border-radius: var(--r-md);
    transition: max-height 0.3s ease, opacity 0.2s, padding 0.25s;
    margin-top: 0;
  }
  .has-dropdown.mobile-open .dropdown {
    opacity: 1; visibility: visible;
    max-height: 700px;
    padding: 8px 4px 8px 8px;
    margin-top: 4px;
  }
  .dropdown-wide { min-width: unset !important; }
  .dropdown-grid { grid-template-columns: 1fr !important; gap: 2px; }
  .dropdown-item { padding: 9px 10px; }
  .d-icon { width: 30px; height: 30px; }
  .dropdown-label { font-size: 10px; }
  .dropdown-simple { font-size: 13px; padding: 8px 10px; }

  /* Concurrent comparison — stack vertically on mobile */
  .uc-concurrent {
    grid-template-columns: 1fr;
  }
  .concurrent-vs {
    padding: 10px 24px;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    gap: 12px;
  }
  .concurrent-vs::before,
  .concurrent-vs::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
  }
  .concurrent-side {
    padding: 20px 18px;
    gap: 14px;
  }
}

/* ========================
   RESPONSIVE — 480px
   ======================== */
@media (max-width: 480px) {
  .hero-ctas   { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .cta-btns    { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { text-align: center; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .int-orbit-wrap { overflow: hidden; width: 100%; }
  .int-orbit-diagram { transform: scale(0.7); transform-origin: center top; margin-bottom: -140px; }
  .cta-checklist { gap: 14px; flex-direction: column; align-items: center; }
  .section-heading { letter-spacing: -0.5px; }
  .hero-heading { letter-spacing: -1.5px; }
  .concurrent-side { padding: 16px 14px; gap: 12px; }
  .cmp-row { gap: 6px; padding: 5px 7px; }
  .cmp-row-name { font-size: 10px; }
  .cmp-row-badge { font-size: 10px; padding: 2px 7px; }
  .cmp-avatar { width: 38px; height: 38px; }
  .cmp-title { font-size: 13px; }
  .cmp-cap { font-size: 10px; }
}
