/* ============================================================
   AutoFlow Labs — Premium Marketing CSS
   Production-quality stylesheet — v2.0.0
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* colours */
  --c-white:      #ffffff;
  --c-off-white:  #f8faf9;
  --c-green-900:  #0c3524;
  --c-green-800:  #155e44;
  --c-green-700:  #1b6e4d;
  --c-green-600:  #159a63;
  --c-green-100:  #d8ede4;
  --c-green-50:   #edf7f1;
  --c-gold:       #caa15a;
  --c-gold-light: #fef8ec;
  --c-text:       #0f1c17;
  --c-muted:      #4e6059;
  --c-border:     #ddeae3;
  --c-shadow-col: rgba(21, 94, 68, 0.10);

  /* typography */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* spacing */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* radii */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* shadows */
  --shadow-sm: 0 1px 4px var(--c-shadow-col), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px var(--c-shadow-col), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 48px var(--c-shadow-col), 0 4px 12px rgba(0, 0, 0, 0.06);

  /* transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:  0.25s;

  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Belt-and-braces guard: nothing should ever cause sideways scroll */
  overflow-x: hidden;
  width: 100%;
}

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

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

::selection {
  background: #d8ede4;
  color: #0c3524;
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(34px, 6.5vw, 72px);
  font-weight: 800;
}

h2 {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
}

h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

h5 {
  font-size: 16px;
  font-weight: 500;
}

h6 {
  font-size: 14px;
  font-weight: 500;
}

p {
  line-height: 1.7;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  /* Fluid gutter: 16px on the smallest phones → 24px on desktop, scaling smoothly */
  padding: 0 clamp(16px, 4vw, 24px);
  width: 100%;
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section {
  padding: var(--sp-24) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--sp-16) 0;
  }
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-green-600);
  padding: 4px 12px;
  background: var(--c-green-50);
  border-radius: var(--r-full);
  border: 1px solid var(--c-green-100);
  margin-bottom: var(--sp-4);
}

.section-title {
  margin-bottom: var(--sp-3);
  color: var(--c-green-900);
}

.section-sub {
  max-width: 540px;
  color: var(--c-muted);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: var(--sp-10);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--c-green-600);
  color: var(--c-white);
  border-color: var(--c-green-600);
}

.btn-primary:hover {
  background: var(--c-green-700);
  border-color: var(--c-green-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--c-green-700);
  border-color: var(--c-green-100);
}

.btn-outline:hover {
  background: var(--c-green-50);
  border-color: var(--c-green-600);
}

.btn-ghost {
  background: transparent;
  color: var(--c-muted);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--c-green-700);
  background: var(--c-green-50);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ============================================================
   NAV  (#nav)
   ============================================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: var(--sp-8);
}

.nav-logo {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--c-green-900);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-left: auto;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  transition: color var(--dur) var(--ease);
}

.nav-links a:hover {
  color: var(--c-green-600);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-left: var(--sp-4);
}

.nav-signin {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-muted);
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}

.nav-signin:hover {
  color: var(--c-green-700);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Hamburger → X animation when nav is open */
.nav-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile menu drawer */
.nav-mobile {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  z-index: 999;
}

.nav-open .nav-mobile {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-border);
  transition: color var(--dur) var(--ease);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile a:hover {
  color: var(--c-green-600);
}

/* ============================================================
   HERO  (.hero)
   ============================================================ */
.hero {
  padding: calc(72px + var(--sp-20)) 0 var(--sp-20);
  background: linear-gradient(160deg, #f8faf9 0%, #edf7f1 40%, #f8faf9 75%, #fef8ec 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at 60% 40%, rgba(21, 154, 99, 0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 40% 60%, rgba(202, 161, 90, 0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 16px;
  background: var(--c-green-50);
  border: 1px solid var(--c-green-100);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-green-700);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.01em;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green-600);
  box-shadow: 0 0 0 3px rgba(21, 154, 99, 0.2);
}

.hero-h1 {
  font-size: clamp(34px, 6.5vw, 72px);
  font-weight: 800;
  color: var(--c-green-900);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--sp-6);
}

.hero-h1 span {
  color: var(--c-green-600);
}

.hero-sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--c-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.hero-actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}

.hero-stats {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-stat {
  padding: var(--sp-4) var(--sp-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--c-border);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat__value {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--c-green-800);
  line-height: 1;
}

.hero-stat__label {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 4px;
  white-space: nowrap;
}

/* ============================================================
   STRIP  (.strip)
   ============================================================ */
.strip {
  background: var(--c-off-white);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-6) 0;
  overflow: hidden;
}

.strip-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.strip-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.strip-tools {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.strip-tool {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-muted);
  opacity: 0.7;
  transition: opacity 0.2s var(--ease);
  user-select: none;
}

.strip-tool:hover {
  opacity: 1;
}

/* Brand icon from CDN */
.strip-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 3px;
}

/* Fallback badge for brands without CDN icons (e.g. IndiaMART, Tally) */
.strip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0;
  line-height: 1;
}

.strip-sep {
  color: var(--c-border);
  user-select: none;
}

.strip-more {
  font-size: 13px;
  color: var(--c-muted);
  opacity: 0.55;
  font-style: italic;
  font-weight: 500;
}

/* ============================================================
   OUTCOME CARDS  (.outcome-grid)
   ============================================================ */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.outcome-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.outcome-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.outcome-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--c-green-50);
  border: 1px solid var(--c-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--sp-4);
}

.outcome-card__title {
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--c-green-900);
  margin-bottom: var(--sp-2);
}

.outcome-card__body {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
}

/* ============================================================
   USE CASES  (.usecases)
   ============================================================ */
.usecases {
  background: var(--c-off-white);
}

.usecases-group {
  margin-bottom: var(--sp-12);
}

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

.usecases-group-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  padding: 6px 14px;
  border-radius: var(--r-full);
}

.usecases-group-label.green {
  background: var(--c-green-50);
  color: var(--c-green-700);
  border: 1px solid var(--c-green-100);
}

.usecases-group-label.gold {
  background: var(--c-gold-light);
  color: #7a5c1e;
  border: 1px solid rgba(202, 161, 90, 0.25);
}

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

.usecase-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.usecase-card:hover {
  border-color: var(--c-green-100);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.usecase-card__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-green-600);
  background: var(--c-green-50);
  padding: 2px 8px;
  border-radius: var(--r-full);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
}

.usecase-card__text {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.4;
}

/* ============================================================
   FEATURE HIGHLIGHT  (.feature-section)
   ============================================================ */
.feature-section {
  background: white;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.feature-text .section-sub {
  margin-bottom: var(--sp-6);
}

.feature-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.feature-checks li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 15px;
  color: var(--c-muted);
}

.feature-checks li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--c-green-50);
  border: 1px solid var(--c-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-green-600);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   CSS MOCKUP CARD  (.mockup-wrap)
   ============================================================ */
.mockup-wrap {
  position: relative;
  filter: drop-shadow(0 16px 48px var(--c-shadow-col));
}

.mockup-card {
  background: white;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.mockup-titlebar {
  background: var(--c-green-800);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.mockup-titlebar-label {
  margin-left: auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.mockup-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-notif {
  background: var(--c-green-50);
  border: 1px solid var(--c-green-100);
  border-radius: var(--r-md);
  padding: 14px;
}

.mockup-notif__badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-green-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.mockup-notif__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-green-900);
  margin-bottom: 2px;
}

.mockup-notif__detail {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.4;
}

.mockup-arrow {
  text-align: center;
  font-size: 18px;
  color: var(--c-green-600);
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mockup-arrow::before,
.mockup-arrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-border);
}

.mockup-reply {
  background: #eefbf4;
  border: 1px solid #b2e6ce;
  border-radius: var(--r-md);
  padding: 14px;
}

.mockup-reply__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #1b7a4d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.mockup-reply__text {
  font-size: 13px;
  color: #2a4a3a;
  line-height: 1.5;
}

.mockup-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.mockup-metric {
  background: var(--c-off-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 12px 8px;
  text-align: center;
}

.mockup-metric__val {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--c-green-800);
  line-height: 1;
}

.mockup-metric__lbl {
  font-size: 11px;
  color: var(--c-muted);
  margin-top: 3px;
}

/* ============================================================
   WHY GRID  (.why-grid)
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

.why-card {
  background: var(--c-off-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.why-card:hover {
  background: var(--c-green-50);
  border-color: var(--c-green-100);
  box-shadow: var(--shadow-sm);
}

.why-card__num {
  position: absolute;
  top: -10px;
  right: var(--sp-6);
  font-size: 64px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--c-green-50);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: color 0.25s var(--ease);
}

.why-card:hover .why-card__num {
  color: var(--c-green-100);
}

/* 5th card spans both columns (used for "Custom automation") */
.why-card--wide {
  grid-column: 1 / -1;
}

.why-card__content {
  position: relative;
  z-index: 1;
}

.why-card__title {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--c-green-900);
  margin-bottom: var(--sp-2);
}

.why-card__body {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
}

/* ============================================================
   STEPS  (.steps-section)
   ============================================================ */
.steps-section {
  background: var(--c-off-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
}

/* Flip card — outer shell */
.step-card {
  perspective: 900px;
  position: relative;
  /* Preserve natural height so the grid row doesn't collapse */
  min-height: 220px;
}

/* Connector arrow between steps on desktop */
.step-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--c-green-100);
  z-index: 2;
}

/* Inner wrapper — rotates on hover */
.step-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover .step-card-inner {
  transform: rotateY(180deg);
}

/* Shared face styles */
.step-card-front,
.step-card-back {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  text-align: center;
}

/* Front face */
.step-card-front {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

/* Back face — starts pre-rotated */
.step-card-back {
  background: var(--c-green-900);
  border: 1px solid var(--c-green-700);
  transform: rotateY(180deg);
}

.step-card__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-green-600);
  color: white;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
}

.step-card__icon {
  font-size: 28px;
  margin-bottom: var(--sp-3);
}

.step-card__title {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--c-green-900);
  margin-bottom: 0;
}

.step-card__body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}

/* ============================================================
   CONTACT  (.contact-section)
   ============================================================ */
.contact-section {
  background: linear-gradient(135deg, var(--c-green-900) 0%, var(--c-green-700) 100%);
}

.contact-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--sp-16);
  align-items: start;
}

.contact-text {
  color: white;
}

.contact-text .section-title {
  color: white;
}

.contact-text .section-sub {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-6);
}

.contact-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.form-input.error {
  border-color: rgba(255, 100, 100, 0.7);
  background: rgba(255, 80, 80, 0.06);
}

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

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--sp-2);
  font-size: 16px;
  padding: 16px;
}

/* Honeypot — visually hidden, real users never see or tab to it */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#form-success,
#form-error {
  display: none;
  border-radius: var(--r-md);
  padding: var(--sp-4);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  text-align: center;
  margin-top: var(--sp-4);
}

#form-success {
  background: rgba(40, 200, 100, 0.15);
  border: 1px solid rgba(40, 200, 100, 0.3);
}

#form-error {
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.35);
}

#form-success.visible,
#form-error.visible {
  display: block;
}

/* Shake animation for validation failure */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15%       { transform: translateX(-6px); }
  30%       { transform: translateX(6px); }
  45%       { transform: translateX(-4px); }
  60%       { transform: translateX(4px); }
  75%       { transform: translateX(-2px); }
  90%       { transform: translateX(2px); }
}

.btn-shake {
  animation: shake 0.45s var(--ease);
}

/* ============================================================
   FOOTER  (.footer)
   ============================================================ */
.footer {
  background: var(--c-green-900);
  padding: var(--sp-16) 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-10);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--sp-3);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--sp-4);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--dur) var(--ease);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: var(--sp-6);
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--dur) var(--ease);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.blog-card {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--c-green-50) 0%, var(--c-green-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}

.blog-card-body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-green-600);
  margin-bottom: var(--sp-2);
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--c-green-900);
  line-height: 1.3;
  margin-bottom: var(--sp-3);
  flex: 1;
}

.blog-card-meta {
  font-size: 12px;
  color: var(--c-muted);
}

.blog-card-link {
  display: block;
  margin-top: var(--sp-4);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-green-600);
  transition: color var(--dur) var(--ease);
}

.blog-card-link:hover {
  color: var(--c-green-700);
}

/* ============================================================
   ARTICLE STYLES
   ============================================================ */
.article-hero {
  background: var(--c-green-50);
  border-bottom: 1px solid var(--c-green-100);
  padding: calc(72px + var(--sp-12)) 0 var(--sp-12);
  text-align: center;
}

.article-hero .section-label {
  margin-bottom: var(--sp-4);
}

.article-hero h1 {
  max-width: 720px;
  margin: 0 auto var(--sp-5);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  font-size: 13px;
  color: var(--c-muted);
}

.article-meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-border);
  display: inline-block;
}

.article-last-updated {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: var(--sp-3);
  text-align: center;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-6);
}

.article-body h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--c-green-900);
  margin: 48px 0 16px;
}

.article-body p {
  margin-bottom: 20px;
  color: var(--c-muted);
  font-size: 17px;
  line-height: 1.75;
}

.article-body .lead {
  font-size: 20px;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 32px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px var(--sp-6);
  color: var(--c-muted);
  font-size: 17px;
  line-height: 1.75;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body strong {
  color: var(--c-text);
  font-weight: 600;
}

.article-cta {
  background: var(--c-green-50);
  border: 1px solid var(--c-green-100);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  text-align: center;
  margin: 48px 0;
}

.article-cta h3 {
  color: var(--c-green-900);
  margin-bottom: var(--sp-3);
}

.article-cta p {
  margin-bottom: var(--sp-6);
  font-size: 16px;
}

.article-footer-nav {
  border-top: 1px solid var(--c-border);
  padding: var(--sp-8) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-footer-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-green-600);
  transition: color var(--dur) var(--ease);
}

.article-footer-nav a:hover {
  color: var(--c-green-700);
}

/* ============================================================
   PAGE HERO  (services, industries pages)
   ============================================================ */
.page-hero {
  background: var(--c-green-50);
  border-bottom: 1px solid var(--c-green-100);
  padding: calc(72px + var(--sp-10)) 0 var(--sp-10);
  text-align: center;
}

.page-hero h1 {
  margin: 0 auto var(--sp-4);
  max-width: 600px;
}

.page-hero .section-sub {
  margin: 0 auto;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.service-card {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-card:hover {
  border-color: var(--c-green-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--c-green-50);
  border: 1px solid var(--c-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--sp-5);
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-green-900);
  margin-bottom: var(--sp-2);
}

.service-card__body {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}

.service-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.service-card__features li {
  font-size: 13px;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.service-card__features li::before {
  content: '✓';
  color: var(--c-green-600);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   INDUSTRIES PAGE
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.industry-card {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: center;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.industry-card:hover {
  border-color: var(--c-green-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.industry-card__emoji {
  font-size: 36px;
  margin-bottom: var(--sp-3);
}

.industry-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-green-900);
  margin-bottom: var(--sp-2);
}

.industry-card__body {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.5;
}

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

/* 1024px — tablet landscape */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hide connector arrows in 2-col layout */
  .step-card:not(:last-child)::after {
    display: none;
  }

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

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

/* 768px — tablet portrait */
@media (max-width: 768px) {
  /* Grids */
  .outcome-grid    { grid-template-columns: repeat(2, 1fr); }
  .usecases-grid   { grid-template-columns: repeat(2, 1fr); }
  .why-grid        { grid-template-columns: 1fr; }
  .blog-grid       { grid-template-columns: repeat(2, 1fr); }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }

  /* Feature / contact split to single column */
  .feature-inner  { grid-template-columns: 1fr; }
  .contact-inner  { grid-template-columns: 1fr; gap: var(--sp-10); }

  /* Nav — hide desktop links, show hamburger pushed to the far right.
     (nav-links carried margin-left:auto on desktop; once it's hidden the
     hamburger needs its own auto-margin or it collapses next to the logo.) */
  .nav-links   { display: none; }
  .nav-actions { display: none; }
  .nav-toggle  { display: flex; margin-left: auto; }

  /* Roomier tap targets in the mobile drawer */
  .nav-mobile a { padding: var(--sp-3) 0; }

  /* Trim the very tall hero top padding on phones */
  .hero { padding: calc(72px + var(--sp-12)) 0 var(--sp-16); }

  /* Keep the 3-up stat pill from getting cramped between 481–768px */
  .hero-stat { padding: var(--sp-3) var(--sp-5); }
}

/* 480px — small mobile */
@media (max-width: 480px) {
  /* All multi-col grids collapse to 1 */
  .outcome-grid    { grid-template-columns: 1fr; }
  .usecases-grid   { grid-template-columns: 1fr; }
  .blog-grid       { grid-template-columns: 1fr; }
  .services-grid   { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr; }
  .steps-grid      { grid-template-columns: 1fr; }

  /* Hero stats stack vertically */
  .hero-stats {
    flex-direction: column;
  }

  .hero-stat {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
    width: 100%;
  }

  .hero-stat:last-child {
    border-bottom: none;
  }

  /* Strip wraps sensibly */
  .strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
  }

  /* Tighten hero rhythm + body copy on small phones (320–480px) */
  .hero { padding: calc(72px + var(--sp-8)) 0 var(--sp-12); }
  .section-sub { font-size: 16px; margin-bottom: var(--sp-8); }

  /* Stack CTAs full-width on narrow screens — avoids clipped nowrap labels
     and gives big, easy tap targets */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ─────────────────────────────────────────────────────
   UTILITIES
───────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* Newsletter section */
.newsletter-form {
  display: flex;
  gap: var(--sp-3);
  max-width: 480px;
  margin: var(--sp-6) auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form .form-input {
  flex: 1;
  min-width: 200px;
  background: var(--c-white);
  border-color: var(--c-border);
  color: var(--c-text);
}
.newsletter-form .form-input::placeholder { color: var(--c-muted); }
.newsletter-note {
  font-size: 13px;
  color: var(--c-muted);
  text-align: center;
  margin-top: var(--sp-3);
}

/* ================================================================
   ANIMATIONS — PHASE 1 : SCROLL PROGRESS + LOGO INTRO
   ================================================================ */

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-green-600), #34d399);
  z-index: 10001;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
}

#logo-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(160deg, #f8faf9 0%, #edf7f1 40%, #f8faf9 75%, #fef8ec 100%);
  pointer-events: none;
}

#logo-intro-logo {
  position: fixed;
  left: 0;
  top: 0;
  width: 148px;
  height: 44px;
  transform-origin: top left;
  opacity: 0;
  will-change: transform;
}

/* Hero h1 two-line structure */
.hero-h1__line1 {
  color: var(--c-green-900);
}

.hero-h1__line2 {
  color: var(--c-green-600);
}

/* ================================================================
   ANIMATIONS — PHASE 2 : HERO TYPEWRITER + 3D TILT
   ================================================================ */

/* Badge, sub, actions, stats: start hidden for staggered reveal */
#hero-pill-el,
#hero-sub-el,
#hero-actions-el,
#hero-stats-el {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#hero-pill-el.anim-visible,
#hero-sub-el.anim-visible,
#hero-actions-el.anim-visible,
#hero-stats-el.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* h1 hidden until typewriter starts */
#hero-h1-el          { visibility: hidden; }
#hero-h1-el.typing-ready { visibility: visible; }

/* Gradient text for line 2 (overrides Phase-1 color) */
.hero-h1__line2 {
  background: linear-gradient(90deg, var(--c-green-700), var(--c-green-600) 50%, #34d399);
  background-size: 200% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* One-time sheen sweep triggered by .sheen class from JS */
@keyframes sheen-sweep {
  from { background-position: 0% 0; }
  to   { background-position: 100% 0; }
}

.hero-h1__line2.sheen {
  animation: sheen-sweep 0.8s ease-out forwards;
}

/* Blinking cursor placed by JS during typing */
.tw-cursor {
  display: inline-block;
  width: 3px;
  height: 0.8em;
  background: var(--c-green-600);
  margin-left: 2px;
  vertical-align: text-bottom;
  border-radius: 1px;
  animation: tw-blink 0.7s step-end infinite;
}

@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* 3D tilt container — will-change for compositor promotion */
#hero-inner-3d { will-change: transform; }

/* Reduced-motion: skip all animations, show final state */
@media (prefers-reduced-motion: reduce) {
  #hero-pill-el,
  #hero-sub-el,
  #hero-actions-el,
  #hero-stats-el {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  #hero-h1-el             { visibility: visible !important; }
  .hero-h1__line2.sheen   { animation: none !important; }
}

/* ================================================================
   ANIMATIONS — PHASE 3 : "WHAT WE SOLVE" CARDS — 3D TILT + SPOTLIGHT
   Stagger scroll-reveal already handled by existing .reveal system.
   JS (Section 11) handles tilt transform + spotlight background.
   ================================================================ */

.outcome-card {
  will-change: transform;
}

/* Enhanced hover shadow — JS overrides the transform via inline style */
.outcome-card:hover {
  box-shadow: 0 16px 40px rgba(21, 90, 60, 0.14), 0 4px 12px rgba(0, 0, 0, 0.07);
}

@media (prefers-reduced-motion: reduce) {
  .outcome-card:hover {
    transform: none !important;
  }
}

/* ================================================================
   ANIMATIONS — PHASE 4 : "USE CASES" CARDS — HOVER + BADGE FILL
   Stagger scroll-reveal already handled by existing .reveal system.
   ================================================================ */

/* Enhanced hover lift (overrides existing -2px) */
.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(21, 90, 60, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Number badge: add transition + fill green on hover */
.usecase-card__num {
  transition: background 0.25s ease, color 0.25s ease;
}

.usecase-card:hover .usecase-card__num {
  background: var(--c-green-600);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .usecase-card:hover {
    transform: none !important;
  }
}
