/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* Background & Surface */
  --bg:            #050507;
  --bg-panel:      #0d0d11;
  --bg-card:       rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.060);
  --bg-glass:      rgba(18, 18, 24, 0.82);

  /* Borders */
  --border:        rgba(255, 255, 255, 0.09);
  --border-mid:    rgba(255, 255, 255, 0.13);
  --border-strong: rgba(255, 255, 255, 0.20);

  /* Text */
  --text:    #f0f0f4;
  --muted:   #8888a0;
  --dimmed:  #5c5c72;

  /* Brand accent — lime from logo */
  --lime:      #baff51;
  --lime-soft: rgba(186, 255, 81, 0.10);
  --lime-glow: rgba(186, 255, 81, 0.22);
  --lime-dark: #8ec93a;

  /* Secondary accent — sky blue */
  --blue:      #38bdf8;
  --blue-soft: rgba(56, 189, 248, 0.10);
  --blue-glow: rgba(56, 189, 248, 0.18);

  /* Radii */
  --r-sm:  12px;
  --r-md:  20px;
  --r-lg:  28px;
  --r-xl:  36px;

  /* Shadows */
  --shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 16px 56px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 40px 100px rgba(0, 0, 0, 0.65);

  /* Layout */
  --max-w:  1200px;
  --gap:    clamp(16px, 3vw, 24px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 10%,  rgba(186, 255, 81, 0.06) 0%, transparent 60%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Subtle film-grain noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
textarea,
select {
  font-size: 16px; /* prevents iOS zoom */
}

:focus-visible {
  outline: 3px solid rgba(186, 255, 81, 0.6);
  outline-offset: 4px;
  border-radius: 4px;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  letter-spacing: -0.025em;
}

h4 {
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

h1 em,
h2 em {
  font-style: normal;
  color: var(--lime);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--lime);
  flex-shrink: 0;
}

.section-title {
  margin-bottom: 0;
}

.section-sub {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 660px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: min(var(--max-w), calc(100% - clamp(28px, 5vw, 48px)));
  margin-inline: auto;
}

.section {
  padding-block: clamp(80px, 10vw, 130px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--lime);
  color: #060808;
  box-shadow: 0 8px 32px var(--lime-glow);
}

.btn-primary:hover {
  background: #c8ff6a;
  box-shadow: 0 12px 44px rgba(186, 255, 81, 0.38);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border-mid);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.07);
}

.btn-nav {
  color: var(--text) !important;
  border-color: var(--border-mid);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  min-height: 44px;
  padding: 0 20px;
}

.btn-nav:hover {
  border-color: rgba(186, 255, 81, 0.45);
  background: var(--lime-soft);
}

.btn-lg {
  min-height: 60px;
  padding: 0 34px;
  font-size: 1.05rem;
}

.btn-submit {
  width: 100%;
  margin-top: 8px;
  font-size: 1rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 7, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav {
  width: min(var(--max-w), calc(100% - clamp(28px, 5vw, 48px)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 7px;
  border-radius: 14px;
  border: 1px solid rgba(186, 255, 81, 0.4);
  background: radial-gradient(circle at center, rgba(186, 255, 81, 0.14), transparent 70%);
  box-shadow: 0 0 24px var(--lime-glow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(186, 255, 81, 0.28));
}

.brand:hover .brand-mark {
  border-color: rgba(186, 255, 81, 0.7);
  box-shadow: 0 0 36px rgba(186, 255, 81, 0.32);
}

.brand-name {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--border-mid);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(64px, 8vw, 100px);
  overflow: hidden;
}

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

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-orb-1 {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(186, 255, 81, 0.14), transparent 70%);
}

.hero-orb-2 {
  width: clamp(200px, 30vw, 450px);
  height: clamp(200px, 30vw, 450px);
  bottom: 0;
  left: -8%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.11), transparent 70%);
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  left: 40%;
  background: radial-gradient(circle, rgba(186, 255, 81, 0.06), transparent 70%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

/* Hero Copy */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(186, 255, 81, 0.28);
  background: rgba(186, 255, 81, 0.06);
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-sub {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-chips span {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-float {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.glass {
  border: 1px solid var(--border-mid);
  border-radius: var(--r-lg);
  background: var(--bg-glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dash-card {
  padding: clamp(20px, 3vw, 28px);
}

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

.dash-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse-ring 2s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(186, 255, 81, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(186, 255, 81, 0); }
  100% { box-shadow: 0 0 0 0 rgba(186, 255, 81, 0); }
}

.dash-title-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.live-badge {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(186, 255, 81, 0.35);
  background: rgba(186, 255, 81, 0.08);
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metrics-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.22);
  margin-bottom: 16px;
}

.metric-item {
  flex: 1;
  text-align: center;
}

.metric-val {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-val + sup {
  color: var(--muted);
  font-size: 0.75rem;
}

.metric-label {
  display: block;
  margin-top: 4px;
  font-size: 0.74rem;
  color: var(--muted);
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Legacy flow steps */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.18);
  margin-bottom: 16px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
}

.flow-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.flow-info {
  flex: 1;
}

.flow-info strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.flow-info small {
  font-size: 0.74rem;
  color: var(--dimmed);
}

.flow-tag {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flow-tag-lime {
  border-color: rgba(186, 255, 81, 0.35);
  background: rgba(186, 255, 81, 0.08);
  color: var(--lime);
}

.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-left: 22px;
}

.flow-arrow-line {
  width: 2px;
  height: 10px;
  background: linear-gradient(var(--blue-soft), transparent);
}

.flow-arrow-head {
  font-size: 0.75rem;
  color: var(--dimmed);
  line-height: 1;
  margin-bottom: 2px;
}

/* Legacy footer row */
.dash-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-updated {
  font-size: 0.73rem;
  color: var(--dimmed);
}

.sparkline {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}

.spark-bar {
  width: 5px;
  height: var(--h, 50%);
  border-radius: 2px;
  background: rgba(56, 189, 248, 0.35);
  transition: height 0.4s ease;
}

.spark-bar-active {
  background: var(--lime);
}

/* ============================================================
   OUTCOMES BAR
   ============================================================ */
.outcomes-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.outcomes-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding-block: 0;
}

.outcome-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 32px);
}

.outcome-item strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.outcome-item span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.outcome-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
  align-self: stretch;
}

/* ============================================================
   PROBLEM / SOLUTION SECTION
   ============================================================ */
.problem-section {
  position: relative;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 44px;
}

.problem-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.problem-card:hover {
  border-color: rgba(255, 80, 80, 0.25);
  background: rgba(255, 60, 60, 0.04);
  transform: translateY(-4px);
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  display: block;
}

.problem-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.problem-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

/* Solution Bridge */
.solution-bridge {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 60px 0 52px;
}

.bridge-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
}

.bridge-pill {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(186, 255, 81, 0.32);
  background: rgba(186, 255, 81, 0.06);
  color: var(--lime);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Solution Block */
.solution-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: var(--shadow-md);
}

.solution-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.solution-body {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.solution-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-card {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.25);
}

.stat-card strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card span {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.025) 40%, transparent);
}

.services-header {
  max-width: 780px;
  margin-bottom: 52px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.service-card {
  position: relative;
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--lime-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(186, 255, 81, 0.3);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(186, 255, 81, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card h3,
.service-card p,
.service-tags {
  position: relative;
  z-index: 1;
}

.service-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--dimmed);
  letter-spacing: 0.1em;
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 40px;
  display: block;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.service-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--dimmed);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.services-cta {
  margin-top: 52px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.services-cta p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================================
   BENEFITS SECTION
   ============================================================ */
.benefits-section {
  background: linear-gradient(180deg, transparent, rgba(186, 255, 81, 0.018) 50%, transparent);
}

.benefits-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.benefits-left {
  position: sticky;
  top: 110px;
}

.benefits-left .section-title {
  margin-top: 8px;
  margin-bottom: 22px;
}

.benefits-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 28px;
}

.benefits-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.benefit-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: padding 0.2s ease;
}

.benefit-item:first-child {
  border-top: 1px solid var(--border);
}

.benefit-check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lime-soft);
  border: 1px solid rgba(186, 255, 81, 0.3);
  color: var(--lime);
  font-size: 0.9rem;
  font-weight: 900;
  margin-top: 2px;
}

.benefit-text h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.benefit-text p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================================
   INDUSTRIES SECTION
   ============================================================ */
.industries-section {
  text-align: center;
}

.industries-section .section-label,
.industries-section .section-title {
  display: block;
  text-align: left;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: 44px;
  margin-bottom: 36px;
}

.industry-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-card);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: default;
}

.industry-card:hover {
  border-color: rgba(186, 255, 81, 0.28);
  background: rgba(186, 255, 81, 0.04);
  color: var(--text);
  transform: translateY(-3px);
}

.industry-card span {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.industries-note {
  color: var(--muted);
  font-size: 0.92rem;
  text-align: left;
}

.industries-note a {
  color: var(--lime);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.hiw-section {
  position: relative;
}

.hiw-section .section-sub {
  margin-bottom: 56px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 56px;
}

.step-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.step-card:hover {
  border-color: rgba(186, 255, 81, 0.28);
  transform: translateY(-4px);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lime);
  color: #060808;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.step-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.step-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dimmed);
  font-size: 0.84rem;
}

.step-list li::before {
  content: '→';
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  padding-top: 70px;
  color: var(--dimmed);
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ============================================================
   CTA BANNER SECTION
   ============================================================ */
.cta-banner-section {
  padding-block: clamp(40px, 6vw, 60px);
}

.cta-box {
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 60px);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: var(--shadow-md);
  text-align: center;
  overflow: hidden;
}

.cta-box-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-orb-1 {
  width: 350px;
  height: 350px;
  top: -30%;
  left: -10%;
  background: radial-gradient(circle, rgba(186, 255, 81, 0.12), transparent 70%);
}

.cta-orb-2 {
  width: 280px;
  height: 280px;
  bottom: -20%;
  right: -5%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.10), transparent 70%);
}

.cta-box-content {
  position: relative;
  z-index: 1;
}

.cta-box-content h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.cta-box-content p {
  max-width: 580px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.68;
  margin-bottom: 34px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta-note {
  color: var(--dimmed);
  font-size: 0.84rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: linear-gradient(180deg, transparent, rgba(186, 255, 81, 0.015) 60%, transparent);
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.contact-info .section-title {
  margin-top: 8px;
  margin-bottom: 20px;
}

.contact-body {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
  margin-bottom: 32px;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cf-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-feature strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-feature p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Contact Form */
.contact-form-wrap {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: var(--shadow-md);
}

/* Honeypot — visually hidden from real users. The tabindex="-1" attribute
   lives on the <input> element in HTML, not here in CSS. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative; /* scopes the absolute-positioned honeypot */
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.form-field span {
  display: block;
}

.form-field em {
  font-style: normal;
  color: var(--lime);
  margin-left: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--dimmed);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(186, 255, 81, 0.55);
  box-shadow: 0 0 0 4px rgba(186, 255, 81, 0.08);
}

.btn-icon {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-submit:hover .btn-icon {
  transform: translateX(4px);
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--dimmed);
  margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding-top: clamp(48px, 6vw, 72px);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-bottom: clamp(40px, 5vw, 60px);
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-nav {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 160px;
}

.footer-col strong {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--dimmed);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 22px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-inner p {
  color: var(--dimmed);
  font-size: 0.82rem;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   
   Content is VISIBLE by default. The hidden-then-reveal
   animation only activates after script.js adds .js-enabled
   to <html>. Without JS (or if JS fails), all content shows
   immediately — no content is ever trapped invisible.
   ============================================================ */

/* Only apply the hidden state when JS is confirmed active */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

/* JS adds .visible once element enters the viewport */
.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }

/* ============================================================
   RESPONSIVE — 1200px
   ============================================================ */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--gap);
  }

  .step-arrow {
    display: none;
  }

  .benefits-left {
    position: static;
  }

  .solution-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .solution-stats {
    flex-direction: row;
    gap: 12px;
  }

  .stat-card {
    flex: 1;
  }
}

/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */
@media (max-width: 900px) {
  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: clamp(14px, 4vw, 20px);
    right: clamp(14px, 4vw, 20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    padding: 0 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: rgba(8, 8, 12, 0.98);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition:
      max-height 0.3s ease,
      padding 0.3s ease,
      opacity 0.22s ease,
      transform 0.3s ease,
      visibility 0.22s ease;
  }

  .nav-links.open {
    max-height: 380px;
    padding: 12px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    transition: background 0.18s ease;
  }

  .nav-links a:not(.btn):hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .btn-nav {
    margin-top: 6px;
    justify-content: center;
    min-height: 52px;
  }

  /* Layout stacking */
  .hero-inner,
  .benefits-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .outcomes-inner {
    flex-wrap: wrap;
  }

  .outcome-item {
    flex: 1 1 calc(50% - 1px);
  }

  .outcome-divider:nth-child(4) {
    display: none;
  }

  .outcome-divider:nth-child(2) {
    display: none;
  }

  .outcome-divider {
    width: 100%;
    height: 1px;
  }

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

  .solution-stats {
    flex-direction: column;
    gap: 12px;
  }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 32px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .outcomes-inner {
    flex-direction: column;
  }

  .outcome-divider {
    width: 100%;
    height: 1px;
  }
}

/* ============================================================
   RESPONSIVE — 640px
   ============================================================ */
@media (max-width: 640px) {
  html {
    scroll-padding-top: 80px;
  }

  .nav {
    min-height: 72px;
  }

  .nav-links {
    top: 72px;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

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

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .dash-float {
    max-width: 100%;
  }

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

  .cta-box-content h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .solution-block {
    padding: 22px;
  }

  .stat-card {
    padding: 16px 18px;
  }
}

/* ============================================================
   RESPONSIVE — 420px
   ============================================================ */
@media (max-width: 420px) {
  .brand-name {
    font-size: 0.95rem;
  }

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

  .trust-chips {
    gap: 8px;
  }

  .trust-chips span {
    font-size: 0.76rem;
  }

  .solution-stats {
    gap: 10px;
  }

  .contact-form-wrap {
    padding: 22px;
  }

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

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Force all reveal elements visible regardless of JS state */
  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }

  .dash-float {
    animation: none;
  }

  .badge-dot,
  .pulse-dot {
    animation: none;
  }
}

/* ============================================================
   PRODUCTION POLISH PATCH — AWS form, workflow visual, and text wrapping
   ============================================================ */
html,
body {
  width: 100%;
}

.container,
.hero-inner,
.contact-inner,
.form-row,
.metrics-row,
.flow-step,
.footer-inner,
.footer-bottom-inner {
  min-width: 0;
}

.hero-copy,
.hero-visual,
.contact-info,
.contact-form-wrap,
.form-field,
.flow-info,
.metric-item,
.footer-brand,
.footer-nav,
.footer-col {
  min-width: 0;
}

h1,
h2,
h3,
h4,
p,
span,
strong,
small,
label,
button,
input,
select,
textarea {
  overflow-wrap: normal;
  word-break: normal;
}

.hero-sub,
.contact-body,
.card-body,
.outcome-item span,
.form-field textarea {
  overflow-wrap: break-word;
}

/* Legacy metric safeguards kept for backwards-compatible spacing. */
.metrics-row--compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: stretch;
}

.metrics-row--compact .metric-item {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 72px;
  padding-inline: 10px;
}

.metrics-row--compact .metric-divider {
  height: 100%;
  min-height: 52px;
}

.metric-label,
.dash-title-text,
.flow-info strong,
.flow-info small,
.flow-tag,
.dash-updated {
  white-space: normal;
}

/* Legacy motion safeguards without stretching content. */
.dash-card {
  position: relative;
  overflow: hidden;
}

.dash-card > * {
  position: relative;
  z-index: 1;
}

.dash-card::before {
  content: '';
  position: absolute;
  inset: -45% -80%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.07) 50%, transparent 58%);
  transform: translateX(-40%) rotate(8deg);
  animation: dash-sheen 8s ease-in-out infinite;
}

@keyframes dash-sheen {
  0%, 45% { transform: translateX(-55%) rotate(8deg); opacity: 0; }
  55%     { opacity: 1; }
  75%     { transform: translateX(55%) rotate(8deg); opacity: 0; }
  100%    { transform: translateX(55%) rotate(8deg); opacity: 0; }
}

.flow-step {
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  border: 1px solid transparent;
}

.flow-step:hover {
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.055);
}

.spark-bar {
  transform-origin: bottom;
  animation: spark-rise 3.8s ease-in-out infinite;
  animation-delay: -0.3s;
}


.spark-bar:nth-child(2) { animation-delay: -0.55s; }
.spark-bar:nth-child(3) { animation-delay: -0.8s; }
.spark-bar:nth-child(4) { animation-delay: -1.05s; }
.spark-bar:nth-child(5) { animation-delay: -1.3s; }
.spark-bar:nth-child(6) { animation-delay: -1.55s; }
.spark-bar:nth-child(7) { animation-delay: -1.8s; }
.spark-bar:nth-child(8) { animation-delay: -2.05s; }

@keyframes spark-rise {
  0%, 100% { transform: scaleY(0.84); opacity: 0.72; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* AWS-ready form states and better field rendering. */
.contact-form-wrap {
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 0%, rgba(186,255,81,0.075), transparent 34%);
}

.contact-form {
  z-index: 1;
}

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 52px;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.form-field select {
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.form-field textarea {
  min-height: 132px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  min-height: 56px;
}

.btn-submit:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 1.35em;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: var(--lime);
}

.form-status[data-state="error"] {
  color: #ff9a9a;
}

@media (max-width: 640px) {
  .metrics-row--compact {
    padding: 14px;
  }

  .metrics-row--compact .metric-item {
    min-height: 66px;
    padding-inline: 8px;
  }

  .metric-val {
    font-size: clamp(1.35rem, 8vw, 1.85rem);
  }

  .metric-label {
    font-size: 0.7rem;
  }

  .flow-step {
    gap: 10px;
  }

  .flow-tag {
    font-size: 0.62rem;
    padding-inline: 8px;
  }
}

@media (max-width: 420px) {
  .flow-step {
    align-items: flex-start;
  }

  .flow-tag {
    margin-left: auto;
  }

  .dash-footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .sparkline {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dash-card::before,
  .spark-bar {
    animation: none !important;
  }

  .flow-step:hover {
    transform: none;
  }
}

/* Keep navigation and button text from breaking into stretched-looking fragments. */
.brand,
.nav-links a,
.btn,
.live-badge,
.section-label,
.eyebrow-badge {
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero-actions .btn,
  .btn-nav {
    white-space: normal;
    text-align: center;
  }
}

/* ============================================================
   LEAD-TO-BOOKING AUTOMATION VISUAL
   Conversion-focused hero workflow visual.
   ============================================================ */
.workflow-float {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  animation: workflow-float 6.5s ease-in-out infinite;
}

@keyframes workflow-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-9px) rotate(0.25deg); }
}

.workflow-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px);
}

.workflow-card::before {
  content: '';
  position: absolute;
  inset: -35% -55%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 24%, rgba(186, 255, 81, 0.18), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.14), transparent 32%);
  filter: blur(10px);
}

.workflow-card::after {
  content: '';
  position: absolute;
  inset: -70% -85%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.075) 50%, transparent 58%);
  transform: translateX(-45%) rotate(8deg);
  animation: workflow-sheen 8s ease-in-out infinite;
}

@keyframes workflow-sheen {
  0%, 46% { transform: translateX(-55%) rotate(8deg); opacity: 0; }
  56%     { opacity: 1; }
  76%     { transform: translateX(55%) rotate(8deg); opacity: 0; }
  100%    { transform: translateX(55%) rotate(8deg); opacity: 0; }
}

.workflow-header,
.lead-message-card,
.booking-step,
.workflow-result {
  min-width: 0;
}

.workflow-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.workflow-header > div {
  min-width: 0;
}

.workflow-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.workflow-header strong {
  display: block;
  max-width: 310px;
  color: var(--text);
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  overflow-wrap: normal;
}

.workflow-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 6px 11px;
  border: 1px solid rgba(186, 255, 81, 0.34);
  border-radius: 999px;
  background: rgba(186, 255, 81, 0.08);
  color: var(--lime);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.workflow-live span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(186, 255, 81, 0.55);
  animation: workflow-pulse 2s ease-out infinite;
}

@keyframes workflow-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(186, 255, 81, 0.55); }
  72%  { box-shadow: 0 0 0 9px rgba(186, 255, 81, 0); }
  100% { box-shadow: 0 0 0 0 rgba(186, 255, 81, 0); }
}

.lead-message-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.20);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lead-avatar,
.booking-icon,
.result-check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lead-message-copy {
  min-width: 0;
}

.lead-message-copy span {
  display: block;
  margin-bottom: 3px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lead-message-copy p {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.booking-flow {
  display: grid;
  gap: 0;
  margin-bottom: 18px;
}

.booking-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.038);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.booking-step:hover {
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

.booking-step--highlight {
  border-color: rgba(186, 255, 81, 0.27);
  background: rgba(186, 255, 81, 0.065);
}

.booking-step > div {
  min-width: 0;
}

.booking-step strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.booking-step small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.booking-connector {
  position: relative;
  display: flex;
  align-items: center;
  height: 24px;
  padding-left: 31px;
}

.booking-connector::before {
  content: '';
  width: 2px;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(186, 255, 81, 0.0), rgba(186, 255, 81, 0.72), rgba(56, 189, 248, 0.0));
}

.booking-connector span {
  position: absolute;
  left: 27px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(186, 255, 81, 0.55);
  animation: connector-dot 2.6s ease-in-out infinite;
}

.booking-connector:nth-of-type(4) span {
  animation-delay: 0.5s;
}

@keyframes connector-dot {
  0%, 100% { transform: translateY(-7px) scale(0.82); opacity: 0.30; }
  50%      { transform: translateY(7px) scale(1); opacity: 1; }
}

.workflow-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(186, 255, 81, 0.28);
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(186, 255, 81, 0.12), rgba(56, 189, 248, 0.055)),
    rgba(0, 0, 0, 0.16);
}

.result-check {
  color: #060808;
  background: var(--lime);
  border-color: rgba(186, 255, 81, 0.58);
  font-weight: 900;
}

.workflow-result strong {
  display: block;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.28;
}

.workflow-result small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
  overflow-wrap: break-word;
}

@media (max-width: 1024px) {
  .workflow-float {
    max-width: 470px;
  }
}

@media (max-width: 640px) {
  .workflow-float {
    max-width: 100%;
  }

  .workflow-card {
    padding: 18px;
  }

  .workflow-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .workflow-header strong {
    max-width: none;
  }

  .lead-message-card,
  .booking-step,
  .workflow-result {
    gap: 10px;
    padding: 12px;
  }

  .lead-avatar,
  .booking-icon,
  .result-check {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .booking-connector {
    height: 22px;
    padding-left: 28px;
  }

  .booking-connector span {
    left: 24px;
  }
}

@media (max-width: 420px) {
  .lead-message-card,
  .booking-step,
  .workflow-result {
    grid-template-columns: 1fr;
  }

  .booking-connector {
    padding-left: 16px;
  }

  .booking-connector span {
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-float,
  .workflow-card::after,
  .workflow-live span,
  .booking-connector span {
    animation: none !important;
  }

  .booking-step:hover {
    transform: none;
  }
}
