/* ═══════════════════════════════════════════════════════════
   NEXTBILL — Premium Fintech Landing
   Design system · vanilla CSS · no frameworks
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Color system */
  --bg: #F9FDFB;
  --bg-alt: #F1FAF5;
  --surface: #FFFFFF;
  --glass: rgba(255, 255, 255, .72);
  --border: rgba(60, 115, 95, .08);
  --border-strong: rgba(60, 115, 95, .14);
  --text: #0E1B17;
  --text-2: #556F66;

  /* Accent palette — green-forward, with warm + rose for semantics */
  --green: #10B981;        /* primary */
  --green-deep: #047857;   /* text-safe green for links */
  --teal: #0D9488;
  --emerald: #34D399;      /* light mint */
  --lime: #84CC16;
  --cyan: #06B6D4;
  --yellow: #F7C948;
  --orange: #FF944D;
  --rose: #F43F5E;         /* reserved: overdue / low stock / outflow */

  /* Typography */
  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  /* Spacing · 8pt system */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px;
  --s12: 96px; --s15: 120px;

  /* Radii */
  --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --r-xl: 36px; --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 250ms; --t-med: 350ms; --t-slow: 500ms; --t-slower: 700ms;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(10, 30, 25, .04);
  --shadow-md: 0 10px 34px rgba(18, 70, 55, .08);
  --shadow-lg: 0 24px 64px rgba(18, 70, 55, .12);
  --shadow-float: 0 18px 44px rgba(22, 80, 62, .14);

  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}

::selection { background: rgba(16, 185, 129, .22); }

:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed; top: -60px; left: var(--s3);
  background: var(--text); color: #fff;
  padding: var(--s1) var(--s3); border-radius: var(--r-pill);
  z-index: 300; font-size: 14px;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--s2); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 880px; }

.section { padding-block: clamp(72px, 9vw, 128px); }
.section-alt { background: var(--bg-alt); }

/* ── Cursor glow ───────────────────────────────────────── */
.cursor-glow {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 30%),
    rgba(16, 185, 129, .07), rgba(13, 148, 136, .04) 40%, transparent 65%);
  opacity: 0;
  transition: opacity var(--t-slower) var(--ease);
}
body.has-cursor .cursor-glow { opacity: 1; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  will-change: transform;
}
.btn svg { transition: transform var(--t-fast) var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }

.btn-primary {
  color: #fff;
  /* stops kept dark enough for white label text to clear 4.5:1 */
  background: linear-gradient(135deg, #05835C, #047857 48%, #0B7F76);
  box-shadow: 0 10px 26px rgba(4, 120, 87, .34), inset 0 1px 0 rgba(255,255,255,.24);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #069A6D, #05865F 48%, #0C8B81);
  box-shadow: 0 16px 38px rgba(4, 120, 87, .46), inset 0 1px 0 rgba(255,255,255,.24);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--text);
  background: var(--glass);
  box-shadow: inset 0 0 0 1.5px var(--border-strong), var(--shadow-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px rgba(16, 185, 129,.4), var(--shadow-md); transform: translateY(-2px); }

.btn-ghost { padding: 11px 18px; color: var(--text-2); font-weight: 700; }
.btn-ghost:hover { color: var(--text); }

.btn-light {
  color: var(--text); background: #fff;
  box-shadow: 0 12px 30px rgba(8, 38, 28, .22);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(8, 38, 28, .3); }

.btn-glass {
  color: #fff; background: rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,.26); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* Ripple */
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transform: scale(0); pointer-events: none;
  animation: ripple 600ms var(--ease) forwards;
}
.btn-outline .ripple, .btn-light .ripple { background: rgba(16, 185, 129, .18); }
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }

/* ── Chips / badges ────────────────────────────────────── */
.chip {
  font-family: var(--font-head); font-weight: 700; font-size: 11px;
  padding: 3px 10px; border-radius: var(--r-pill); letter-spacing: .02em;
}
.chip-emerald { color: #0B815A; background: rgba(52, 211, 153, .16); }
.chip-blue { color: #047857; background: rgba(16, 185, 129, .14); }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  color: #047857;
  background: var(--glass);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .22), var(--shadow-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.badge-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .5);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ac, var(--green));
  margin-bottom: var(--s2);
}
.eyebrow::before {
  content: ''; width: 22px; height: 2.5px; border-radius: 2px;
  background: var(--ac, var(--green));
}

/* ── Section heads ─────────────────────────────────────── */
.section-head { max-width: 620px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  margin-bottom: var(--s2);
}
.section-head p { color: var(--text-2); font-size: 17px; max-width: 54ch; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center p { margin-inline: auto; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-split {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s4); flex-wrap: wrap;
}

/* ── Reveal on scroll ──────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slower) var(--ease), transform var(--t-slower) var(--ease);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ═══════════════════ HEADER ═══════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: center;
  padding: var(--s2) var(--gutter) 0;
  pointer-events: none;
}
.nav-capsule {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--s3);
  width: 100%; max-width: 1240px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 8px 32px rgba(18, 70, 55, .1);
  padding: 10px 10px 10px 22px;
  transition: max-width var(--t-slow) var(--ease), padding var(--t-slow) var(--ease),
              box-shadow var(--t-slow) var(--ease);
}
.site-header.is-shrunk .nav-capsule {
  max-width: 1090px;
  padding-block: 6px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65), 0 12px 40px rgba(18, 70, 55, .16);
}
.nav-logo img { height: 30px; width: auto; transition: height var(--t-slow) var(--ease); }
.site-header.is-shrunk .nav-logo img { height: 26px; }

.nav-menu { display: flex; align-items: center; gap: var(--s3); flex: 1; justify-content: space-between; }

.nav-links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; z-index: 1;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--text-2);
  padding: 8px 13px; border-radius: var(--r-pill);
  transition: color var(--t-fast) var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }

.nav-ink {
  position: absolute; z-index: 0; top: 50%; left: 0;
  height: 34px; width: 60px;
  transform: translateY(-50%);
  background: rgba(16, 185, 129, .1);
  border-radius: var(--r-pill);
  opacity: 0;
  transition: left var(--t-med) var(--ease), width var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-links:hover .nav-ink, .nav-links.has-active .nav-ink { opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: var(--s1); }

.nav-toggle { display: none; }

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: clamp(120px, 14vh, 160px);
  padding-bottom: var(--s10);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-grid { position: absolute; inset: 0; mask-image: radial-gradient(80% 70% at 50% 35%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(80% 70% at 50% 35%, #000 30%, transparent 75%); }

.blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
  animation: blobDrift 16s ease-in-out infinite alternate;
}
.blob-a { width: 560px; height: 560px; top: -160px; right: -80px; background: radial-gradient(circle at 35% 35%, rgba(16, 185, 129,.32), rgba(13, 148, 136,.16) 60%, transparent 75%); }
.blob-b { width: 460px; height: 460px; bottom: -140px; left: -140px; background: radial-gradient(circle at 60% 40%, rgba(52,211,153,.2), rgba(6, 182, 212,.14) 60%, transparent 75%); animation-delay: -5s; }
.blob-c { width: 340px; height: 340px; top: 30%; left: 38%; background: radial-gradient(circle at 50% 50%, rgba(247, 201, 72,.16), transparent 70%); animation-delay: -9s; }
@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -30px) scale(1.08); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.hero-title {
  font-size: clamp(40px, 5.4vw, 74px);
  margin: var(--s3) 0 var(--s3);
}
.word-rotator {
  position: relative; display: block;
  height: 1.16em; overflow: hidden;
}
.word {
  position: absolute; inset: 0;
  color: var(--wc, var(--green));
  opacity: 0;
  transform: translateY(105%) rotate(2deg);
  transition: transform 600ms var(--ease), opacity 500ms var(--ease);
  will-change: transform;
}
.word.is-current { opacity: 1; transform: none; }
.word.is-leaving { opacity: 0; transform: translateY(-105%) rotate(-2deg); }

.hero-sub {
  color: var(--text-2);
  font-size: clamp(16px, 1.35vw, 18px);
  max-width: 52ch;
  margin-bottom: var(--s4);
}
.hero-cta { display: flex; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s4); }

.hero-proof { display: flex; gap: var(--s3); flex-wrap: wrap; }
.hero-proof li {
  display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--text-2); font-weight: 500;
}

/* Hero illustration */
.hero-art { position: relative; }
.hero-art-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin-inline: auto;
}
.hero-ribbon { position: absolute; inset: -4%; width: 108%; height: 108%; }
.ribbon-path { animation: ribbonSway 12s ease-in-out infinite alternate; transform-origin: center; }
.ribbon-path-2 { animation-duration: 15s; animation-delay: -6s; }
@keyframes ribbonSway {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-16px) rotate(1.2deg); }
}
.draw-path {
  stroke-dashoffset: 0;
  animation: dashMove 30s linear infinite;
}
@keyframes dashMove { to { stroke-dashoffset: -640; } }

.pulse-ring { transform-origin: center; transform-box: fill-box; animation: ringPulse 3s var(--ease) infinite; }
.pulse-ring-2 { animation-delay: 1s; }
.pulse-ring-3 { animation-delay: 2s; }
@keyframes ringPulse {
  0% { transform: scale(.6); opacity: .35; }
  80% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.fl-card {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), var(--shadow-float);
  will-change: transform;
  animation: floatY 6s ease-in-out infinite alternate;
}
.fl-card[data-float="2"] { animation-duration: 7s; animation-delay: -2s; }
.fl-card[data-float="3"] { animation-duration: 5.5s; animation-delay: -1s; }
.fl-card[data-float="4"] { animation-duration: 6.5s; animation-delay: -3.4s; }
.fl-card[data-float="5"] { animation-duration: 7.5s; animation-delay: -4.2s; }
@keyframes floatY {
  from { transform: translateY(-7px) translate(var(--px, 0), var(--py, 0)); }
  to { transform: translateY(9px) translate(var(--px, 0), var(--py, 0)); }
}

.fl-invoice {
  top: 12%; left: 4%;
  width: min(270px, 56%);
  padding: var(--s2);
}
.fl-invoice-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fl-invoice-head strong { font-family: var(--font-head); font-size: 13.5px; display: block; letter-spacing: -.01em; }
.fl-invoice-head small { color: var(--text-2); font-size: 11.5px; }
.fl-invoice-head .chip { margin-left: auto; }
.fl-avatar {
  width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 12px; color: #fff;
  background: linear-gradient(135deg, var(--av), color-mix(in srgb, var(--av) 60%, #0D9488));
}
.fl-lines { display: grid; gap: 7px; margin-bottom: 12px; }
.fl-lines i { display: block; height: 7px; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, #E4F2EB, #EFF9F4); }
.fl-invoice-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px dashed var(--border-strong); padding-top: 10px;
}
.fl-invoice-foot small { color: var(--text-2); font-size: 11px; }
.fl-invoice-foot strong { font-family: var(--font-head); font-size: 16px; }

.fl-chart {
  right: 0; top: 30%;
  width: min(230px, 46%);
  padding: var(--s2);
}
.fl-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.fl-chart-head small { color: var(--text-2); font-size: 11.5px; font-weight: 500; }
.spark-line { stroke-dasharray: 300; stroke-dashoffset: 300; animation: sparkDraw 2.2s var(--ease) .6s forwards; }
@keyframes sparkDraw { to { stroke-dashoffset: 0; } }

.fl-gst {
  left: 0; bottom: 18%;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
}
.fl-gst strong, .fl-ai strong, .fl-pay strong { font-family: var(--font-head); font-size: 13px; display: block; letter-spacing: -.01em; }
.fl-gst small, .fl-ai small, .fl-pay small { color: var(--text-2); font-size: 11px; }
.gst-ring-val { animation: gstSweep 2.4s var(--ease) .4s backwards; }
@keyframes gstSweep { from { stroke-dashoffset: 94.2; } }

.fl-ai {
  right: 6%; bottom: 6%;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 18px 12px 12px;
}
.ai-spark {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(13, 148, 136, .14);
}
.ai-spark svg { animation: sparkSpin 5s linear infinite; }
@keyframes sparkSpin { to { transform: rotate(360deg); } }

.fl-pay {
  right: 14%; top: 4%;
  display: flex; align-items: center; gap: 11px;
  padding: 11px 18px 11px 12px;
}
.pay-check {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #3ED9A4, #22B583);
  box-shadow: 0 6px 14px rgba(52, 211, 153, .4);
}

.hero-scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border-radius: 14px;
  box-shadow: inset 0 0 0 2px rgba(102, 112, 133, .3);
}
.hero-scroll-hint span {
  position: absolute; top: 7px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 3px;
  background: var(--text-2);
  animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ═══════════════════ TRUSTED ═══════════════════ */
.trusted { padding: var(--s6) 0 var(--s10); }
.trusted-label {
  text-align: center; color: var(--text-2);
  font-size: 13.5px; font-weight: 500; letter-spacing: .04em;
  margin-bottom: var(--s4);
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-set { display: flex; gap: var(--s2); padding-right: var(--s2); }
.logo-chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 14.5px;
  color: #47605A;
  white-space: nowrap;
  background: var(--glass);
  padding: 12px 22px; border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), var(--shadow-sm);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.logo-chip:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), var(--shadow-md); }
.logo-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* ═══════════════════ FEATURES · BENTO ═══════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: var(--s3);
}
.bento-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s4);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm);
  overflow: hidden;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  will-change: transform;
}
.bento-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%),
    color-mix(in srgb, var(--ac) 9%, transparent), transparent 65%);
  opacity: 0; transition: opacity var(--t-med) var(--ease);
  pointer-events: none;
}
.bento-card:hover { --lift: -6px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 26%, transparent), var(--shadow-lg); }
.bento-card:hover::after { opacity: 1; }

.bento-card h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -.02em; }
.bento-card p { color: var(--text-2); font-size: 14.5px; max-width: 42ch; }

.bento-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 15px;
  color: var(--ac);
  background: color-mix(in srgb, var(--ac) 11%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 18%, transparent);
  margin-bottom: var(--s2);
  transition: transform var(--t-med) var(--ease);
}
.bento-card:hover .bento-icon { transform: scale(1.08) rotate(-4deg); }

.text-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  /* darkened so any accent clears 4.5:1 on white */
  color: color-mix(in srgb, var(--ac, var(--green)) 58%, #06332A);
  margin-top: var(--s2);
}
.text-link svg { transition: transform var(--t-fast) var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* placements */
.b-invoice { grid-column: span 7; grid-row: span 3; display: flex; gap: var(--s4); align-items: center; }
.b-gst { grid-column: span 5; grid-row: span 3; }
.b-eway { grid-column: span 4; grid-row: span 2; }
.b-inventory { grid-column: span 4; grid-row: span 2; }
.b-purchase { grid-column: span 4; grid-row: span 2; }
.b-payments { grid-column: span 12; grid-row: span 2; display: flex; gap: var(--s5); align-items: center; justify-content: space-between; }

.bento-copy { flex: 1; min-width: 0; }

/* invoice stack visual */
.invoice-stack { position: relative; width: 44%; max-width: 250px; aspect-ratio: .82; flex-shrink: 0; }
.mini-invoice {
  position: absolute; inset: 0;
  background: #fff; border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-md);
  padding: var(--s2);
  transition: transform var(--t-slow) var(--ease);
}
.mi-2 { transform: rotate(-6deg) translate(-14px, 10px); opacity: .6; }
.mi-3 { transform: rotate(6deg) translate(14px, 18px); opacity: .35; }
.b-invoice:hover .mi-1 { transform: translateY(-8px) rotate(-1.5deg); }
.b-invoice:hover .mi-2 { transform: rotate(-9deg) translate(-20px, 12px); }
.b-invoice:hover .mi-3 { transform: rotate(9deg) translate(20px, 22px); }
.mi-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mi-logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #10B981, #0D9488); }
.mi-rows { display: grid; gap: 8px; }
.mi-rows i { height: 8px; border-radius: 4px; width: var(--w); background: linear-gradient(90deg, #E4F2EB, #EFF9F4); }
.mi-total {
  margin-top: 16px; padding-top: 12px;
  border-top: 1px dashed var(--border-strong);
  display: flex; justify-content: space-between; align-items: baseline;
}
.mi-total small { font-size: 11px; color: var(--text-2); }
.mi-total strong { font-family: var(--font-head); font-size: 17px; }

/* GST meter */
.gst-meter { position: relative; width: 150px; margin: var(--s3) auto 0; }
.gst-meter-num {
  position: absolute; inset: 0;
  display: grid; place-content: center; text-align: center;
}
.gst-meter-num strong { font-family: var(--font-head); font-size: 26px; font-weight: 800; }
.gst-meter-num small { font-size: 11px; color: var(--text-2); }
.b-gst.is-in .gst-meter-val { animation: meterSweep 1.8s var(--ease) .3s forwards; }
@keyframes meterSweep { to { stroke-dashoffset: 0; } }

/* e-way route */
.eway-route { margin-top: var(--s2); }

/* inventory bars */
.inv-bars {
  display: flex; align-items: flex-end; gap: 9px;
  height: 64px; margin-top: var(--s3);
}
.inv-bars i {
  flex: 1; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #5EEAD4, #0D9488);
  height: var(--h);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 700ms var(--ease);
  transition-delay: var(--d);
}
.b-inventory.is-in .inv-bars i { transform: scaleY(1); }
.b-inventory:hover .inv-bars i { filter: brightness(1.08); }

/* payments timeline */
.pay-timeline {
  display: flex; align-items: center; gap: 0;
  flex: 1; max-width: 560px; min-width: 300px;
}
.pay-step {
  flex: 1; position: relative; text-align: center;
}
.pay-step::before {
  content: ''; position: absolute;
  top: 8px; left: -50%; width: 100%; height: 3px;
  background: #DCEFE7; z-index: 0;
}
.pay-step:first-child::before { display: none; }
.pay-step.done::before, .pay-step.active::before { background: linear-gradient(90deg, #06B6D4, #10B981); }
.pay-step span {
  position: relative; z-index: 1;
  display: inline-block; width: 19px; height: 19px; border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 3px #D2EADF;
}
.pay-step.done span { background: #06B6D4; box-shadow: inset 0 0 0 3px #06B6D4, 0 4px 10px rgba(6, 182, 212,.4); }
.pay-step.active span {
  box-shadow: inset 0 0 0 3px #06B6D4;
  animation: stepPulse 1.8s var(--ease) infinite;
}
@keyframes stepPulse {
  0% { box-shadow: inset 0 0 0 3px #06B6D4, 0 0 0 0 rgba(6, 182, 212,.4); }
  70% { box-shadow: inset 0 0 0 3px #06B6D4, 0 0 0 9px rgba(6, 182, 212,0); }
  100% { box-shadow: inset 0 0 0 3px #06B6D4, 0 0 0 0 rgba(6, 182, 212,0); }
}
.pay-step small { display: block; margin-top: 8px; font-size: 11.5px; color: var(--text-2); font-weight: 500; }

/* ═══════════════════ FLOW ═══════════════════ */
.flow-track { position: relative; }
.flow-connector {
  position: absolute; top: 8px; left: 0; width: 100%; height: 120px;
  overflow: visible;
}
#flowPath {
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset 2.6s var(--ease);
}
.flow-track.is-in #flowPath { stroke-dashoffset: 0; }

.flow-steps {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s2);
  padding-top: 116px;
}
.flow-step { text-align: center; padding: 0 var(--s1); }
.flow-node {
  display: grid; place-items: center;
  width: 62px; height: 62px; margin: 0 auto var(--s2);
  border-radius: 21px;
  color: var(--ac);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ac) 26%, transparent),
              0 12px 28px color-mix(in srgb, var(--ac) 18%, transparent);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.flow-step:hover .flow-node {
  transform: translateY(-6px) scale(1.06);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ac) 40%, transparent),
              0 18px 36px color-mix(in srgb, var(--ac) 28%, transparent);
}
.flow-step strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 15.5px; letter-spacing: -.01em; }
.flow-step small { display: block; color: var(--text-2); font-size: 12.5px; margin-top: 4px; line-height: 1.5; }

/* ═══════════════════ MODULES ═══════════════════ */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
}
.module-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: var(--s3);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.module-card::before {
  content: '';
  position: absolute; top: 0; left: var(--s3); right: var(--s3); height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--ac);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.module-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 24%, transparent), var(--shadow-md); }
.module-card:hover::before { transform: scaleX(1); }
.module-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 13px;
  color: var(--ac);
  background: color-mix(in srgb, var(--ac) 11%, #fff);
  margin-bottom: var(--s2);
  transition: transform var(--t-med) var(--ease);
}
.module-card:hover .module-icon { transform: scale(1.12) rotate(-5deg); }
.module-card h3 { font-size: 16px; margin-bottom: 4px; }
.module-card p { color: var(--text-2); font-size: 13px; line-height: 1.55; }

/* ═══════════════════ AI ═══════════════════ */
.ai-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(13, 148, 136, .1), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(16, 185, 129, .09), transparent 60%),
    linear-gradient(150deg, #FBFEFC, #EEFAF5 60%, #EAF7F1);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4.5vw, 72px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), var(--shadow-lg);
  overflow: hidden;
}
.ai-panel h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: var(--s2); }
.ai-lede { color: var(--text-2); font-size: 16.5px; margin-bottom: var(--s4); max-width: 46ch; }

.ai-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s3); }
.ai-list li { display: flex; gap: 13px; align-items: flex-start; }
.ai-li-ic {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 11px;
  color: var(--ac);
  background: color-mix(in srgb, var(--ac) 12%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 20%, transparent);
  margin-top: 2px;
}
.ai-list strong { display: block; font-family: var(--font-head); font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.ai-list small { color: var(--text-2); font-size: 12.5px; line-height: 1.55; }

.ai-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  justify-self: center;
  width: 100%;
}
#neuralCanvas { width: 100%; height: 100%; }
.ai-core {
  position: absolute; top: 50%; left: 50%;
  width: 62px; height: 62px;
  transform: translate(-50%, -50%);
  border-radius: 22px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #0D9488, #10B981);
  box-shadow: 0 14px 34px rgba(13, 148, 136, .4), inset 0 1px 0 rgba(255,255,255,.3);
  animation: coreBreath 4s var(--ease) infinite alternate;
}
@keyframes coreBreath {
  from { transform: translate(-50%, -50%) scale(1); box-shadow: 0 14px 34px rgba(13, 148, 136,.4), inset 0 1px 0 rgba(255,255,255,.3); }
  to { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 20px 48px rgba(13, 148, 136,.55), inset 0 1px 0 rgba(255,255,255,.3); }
}

/* ═══════════════════ INDUSTRIES ═══════════════════ */
.industry-row {
  display: flex;
  gap: var(--s2);
  min-height: 380px;
}
.industry-card {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s4);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm);
  overflow: hidden;
  cursor: pointer;
  transition: flex-grow var(--t-slow) var(--ease), transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}
.industry-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(340px 260px at 85% -10%, color-mix(in srgb, var(--ac) 16%, transparent), transparent 70%);
  opacity: .55;
  transition: opacity var(--t-slow) var(--ease);
}
.industry-card:hover, .industry-card:focus-visible {
  flex-grow: 2.1;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ac) 30%, transparent), var(--shadow-lg);
}
.industry-card:hover::before, .industry-card:focus-visible::before { opacity: 1; }
.ind-icon {
  position: absolute; top: var(--s3); left: var(--s3);
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 15px;
  color: var(--ac);
  background: color-mix(in srgb, var(--ac) 12%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 20%, transparent);
  transition: transform var(--t-slow) var(--ease);
}
.industry-card:hover .ind-icon, .industry-card:focus-visible .ind-icon { transform: scale(1.12) rotate(-6deg); }
.industry-card h3 {
  position: relative;
  font-size: 19px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: flex-start;
  transition: all var(--t-slow) var(--ease);
  white-space: nowrap;
}
.industry-card p {
  position: relative;
  color: var(--text-2); font-size: 13.5px; line-height: 1.6;
  max-height: 0; opacity: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease), margin var(--t-slow) var(--ease);
}
.industry-card:hover h3, .industry-card:focus-visible h3 {
  writing-mode: horizontal-tb;
  transform: none;
}
.industry-card:hover p, .industry-card:focus-visible p {
  max-height: 120px; opacity: 1; margin-top: 8px;
}

/* ═══════════════════ TEMPLATES CAROUSEL ═══════════════════ */
.carousel-nav { display: flex; gap: var(--s1); }
.car-btn {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--border-strong), var(--shadow-sm);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.car-btn:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(16, 185, 129,.35); }
.car-btn:disabled { opacity: .35; pointer-events: none; }

.carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: var(--s2) 0 var(--s4);
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel-track {
  display: flex; gap: var(--s3);
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  width: max-content;
}
.tpl-card {
  scroll-snap-align: center;
  width: min(300px, 74vw);
  flex-shrink: 0;
}
.tpl-paper {
  position: relative;
  aspect-ratio: .78;
  background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), var(--shadow-md);
  padding: var(--s3);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.tpl-card:hover .tpl-paper { transform: translateY(-8px) rotate(-1deg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), var(--shadow-lg); }
.tpl-band {
  position: absolute; top: 0; left: 0; right: 0; height: 52px;
  background: linear-gradient(120deg, var(--ac), color-mix(in srgb, var(--ac) 55%, #0D9488));
  opacity: .9;
}
.tpl-band-soft { opacity: .28; }
.tpl-paper-side { display: flex; gap: var(--s2); padding: 0; }
.tpl-side {
  width: 30%;
  background: linear-gradient(180deg, var(--ac), color-mix(in srgb, var(--ac) 55%, #0E1B17));
  opacity: .85;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.tpl-body { flex: 1; padding: var(--s3) var(--s3) var(--s3) 0; display: flex; flex-direction: column; }
.tpl-paper-side .tpl-head { margin-top: 0; }
.tpl-head {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 64px; margin-bottom: var(--s2);
}
.tpl-paper-side .tpl-head { margin-top: var(--s1); }
.tpl-logo { width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--ac) 80%, #0E1B17); }
.tpl-logo-round { border-radius: 50%; }
.tpl-no { font-family: var(--font-head); font-weight: 800; font-size: 12px; color: var(--text-2); letter-spacing: .06em; }
.tpl-rows { display: grid; gap: 10px; flex: 1; }
.tpl-rows i { height: 9px; border-radius: 5px; width: var(--w); background: linear-gradient(90deg, #E4F2EB, #EFF9F4); }
.tpl-total {
  margin-top: var(--s2); padding-top: var(--s2);
  border-top: 1.5px dashed var(--border-strong);
  display: flex; justify-content: space-between; align-items: center;
}
.tpl-total i { width: 34%; height: 9px; border-radius: 5px; background: #E4F2EB; }
.tpl-total b { width: 26%; height: 13px; border-radius: 6px; background: color-mix(in srgb, var(--ac) 70%, #0E1B17); }
.tpl-card figcaption {
  margin-top: var(--s2);
  text-align: center;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--text-2);
}

/* ═══════════════════ COMPARE ═══════════════════ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
  max-width: 1080px;
  margin-inline: auto;
}
.compare-card {
  border-radius: var(--r-lg);
  padding: var(--s5);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.compare-card header { margin-bottom: var(--s3); }
.compare-card h3 { font-size: 22px; margin-top: var(--s2); }
.compare-card ul { display: grid; gap: 14px; margin-bottom: var(--s4); }
.compare-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }

.compare-old {
  background: #F0F6F3;
  box-shadow: inset 0 0 0 1px var(--border);
  color: #55706A;
}
.compare-old h3 { color: #55706A; }
.compare-tag {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .1em;
  color: #93A8A0;
  background: #fff;
  padding: 6px 14px; border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  display: inline-flex; align-items: center;
}
.compare-tag-new { box-shadow: inset 0 0 0 1px rgba(16, 185, 129,.25); padding: 6px 14px; }
.x-ic {
  flex-shrink: 0; margin-top: 4px;
  display: grid; place-items: center;
  width: 21px; height: 21px; border-radius: 50%;
  color: #93A8A0; background: #fff;
  box-shadow: inset 0 0 0 1px var(--border-strong);
}
.compare-new {
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px rgba(52, 211, 153, .3), var(--shadow-lg);
  position: relative;
}
.compare-new:hover { transform: translateY(-6px); }
.ok-ic {
  flex-shrink: 0; margin-top: 4px;
  display: grid; place-items: center;
  width: 21px; height: 21px; border-radius: 50%;
  color: #0B815A; background: rgba(52, 211, 153, .15);
}
.compare-meter small { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 8px; }
.meter {
  height: 10px; border-radius: 6px; background: rgba(60, 115, 95,.12);
  overflow: hidden; margin-bottom: 8px;
}
.meter i {
  display: block; height: 100%; width: 0; border-radius: 6px;
  background: var(--mc);
  transition: width 1.4s var(--ease) .3s;
}
.compare-card.is-in .meter i { width: var(--w); }
.compare-meter strong { font-family: var(--font-head); font-size: 17px; }

/* ═══════════════════ STATS ═══════════════════ */
.stats { padding-block: clamp(48px, 6vw, 88px); }
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
  background:
    radial-gradient(600px 300px at 12% 0%, rgba(16, 185, 129,.14), transparent 60%),
    radial-gradient(600px 300px at 88% 100%, rgba(13, 148, 136,.13), transparent 60%),
    var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), var(--shadow-md);
  padding: clamp(32px, 4vw, 56px);
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(34px, 3.6vw, 52px);
  letter-spacing: -.03em;
  background: linear-gradient(120deg, #059669, #0B7F76);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat:nth-child(2) strong { background-image: linear-gradient(120deg, #059669, #0E7490); }
.stat:nth-child(3) strong { background-image: linear-gradient(120deg, #0B7F76, #4D7C0F); }
.stat:nth-child(4) strong { background-image: linear-gradient(120deg, #0E7490, #047857); }
.stat small { color: var(--text-2); font-size: 14px; font-weight: 500; }

/* ═══════════════════ TESTIMONIALS ═══════════════════ */
.slider { max-width: 880px; margin-inline: auto; }
.slider-viewport { overflow: hidden; border-radius: var(--r-xl); }
.slider-track {
  display: flex;
  transition: transform var(--t-slower) var(--ease);
}
.t-card {
  flex: 0 0 100%;
  background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), var(--shadow-md);
  padding: clamp(28px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.t-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--ac), color-mix(in srgb, var(--ac) 50%, #0D9488));
}
.t-stars { color: var(--yellow); letter-spacing: 4px; font-size: 17px; margin-bottom: var(--s2); }
.t-card p {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55; letter-spacing: -.015em;
  color: var(--text);
  margin-bottom: var(--s3);
}
.t-card footer { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 15px; color: #fff;
  background: linear-gradient(135deg, var(--av), color-mix(in srgb, var(--av) 55%, #0E1B17));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--av) 35%, transparent);
}
.t-card footer strong { font-family: var(--font-head); display: block; font-size: 15px; }
.t-card footer small { color: var(--text-2); font-size: 13px; }

.slider-dots { display: flex; justify-content: center; gap: 9px; margin-top: var(--s3); }
.slider-dots button {
  width: 9px; height: 9px; border-radius: var(--r-pill);
  background: rgba(60, 115, 95,.24);
  transition: all var(--t-med) var(--ease);
}
.slider-dots button.is-active { width: 28px; background: linear-gradient(90deg, #10B981, #0D9488); }

/* ═══════════════════ PRICING ═══════════════════ */
.pricing { position: relative; overflow: hidden; }
.pricing-bg { position: absolute; inset: 0; pointer-events: none; }
.blob-p1 { width: 480px; height: 480px; top: -10%; left: -6%; background: radial-gradient(circle, rgba(13, 148, 136,.14), transparent 70%); }
.blob-p2 { width: 520px; height: 520px; bottom: -20%; right: -8%; background: radial-gradient(circle, rgba(16, 185, 129,.14), transparent 70%); animation-delay: -7s; }

.price-card {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 52px);
  text-align: center;
  box-shadow: inset 0 0 0 1.5px rgba(16, 185, 129, .2), var(--shadow-lg);
}
.price-glow {
  position: absolute; inset: -2px; z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--pg-angle, 0deg), #10B981, #0D9488, #84CC16, #06B6D4, #10B981);
  filter: blur(26px);
  opacity: .32;
  animation: glowSpin 9s linear infinite;
}
@property --pg-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes glowSpin { to { --pg-angle: 360deg; } }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 800; font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, #047857, #0B7F76);
  padding: 7px 18px; border-radius: var(--r-pill);
  box-shadow: 0 8px 20px rgba(4, 120, 87,.4);
}
.price-card h3 { font-size: 24px; margin-bottom: var(--s2); }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.price-currency { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--text-2); }
.price-value {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(58px, 6vw, 76px);
  letter-spacing: -.04em; line-height: 1;
}
.price-period { font-size: 16px; color: var(--text-2); font-weight: 500; }
.price-note { font-size: 12.5px; color: var(--text-2); margin: var(--s1) 0 var(--s3); }
.price-list {
  display: grid; gap: 12px;
  text-align: left;
  margin-bottom: var(--s4);
  padding-top: var(--s3);
  border-top: 1px dashed var(--border-strong);
}
.price-list li { display: flex; gap: 11px; align-items: center; font-size: 14.5px; }
.price-list svg { flex-shrink: 0; }
.price-fine { display: block; margin-top: var(--s2); font-size: 12px; color: var(--text-2); }

/* ═══════════════════ FAQ ═══════════════════ */
.faq-list { display: grid; gap: var(--s2); }
.faq-item {
  background: var(--glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--t-med) var(--ease);
}
.faq-item[open] { box-shadow: inset 0 0 0 1.5px rgba(16, 185, 129,.25), var(--shadow-md); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  letter-spacing: -.01em;
  padding: 20px 24px;
  transition: color var(--t-fast) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #047857; }
.faq-chev {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(16, 185, 129, .1);
  position: relative;
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.faq-chev::before, .faq-chev::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 11px; height: 2.2px; border-radius: 2px;
  background: #047857;
  transform: translate(-50%, -50%);
  transition: transform var(--t-med) var(--ease);
}
.faq-chev::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-chev { transform: rotate(45deg); background: rgba(16, 185, 129, .16); }
.faq-body { padding: 0 24px; }
.faq-body p {
  color: var(--text-2); font-size: 14.5px;
  padding-bottom: 22px;
  max-width: 68ch;
}
.faq-item .faq-body { animation: faqOpen var(--t-med) var(--ease); }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ═══════════════════ FINAL CTA ═══════════════════ */
.cta-panel {
  position: relative;
  text-align: center;
  border-radius: var(--r-xl);
  padding: clamp(56px, 7vw, 110px) clamp(24px, 4vw, 64px);
  overflow: hidden;
  background: linear-gradient(135deg, #05835C, #047857 42%, #0A6E6A 78%, #0E6A85);
  box-shadow: 0 30px 80px rgba(13, 148, 136, .35);
}
.cta-mesh { position: absolute; inset: 0; }
.blob-cta1 { width: 420px; height: 420px; top: -30%; left: -6%; background: radial-gradient(circle, rgba(6, 182, 212,.5), transparent 68%); }
.blob-cta2 { width: 480px; height: 480px; bottom: -35%; right: -8%; background: radial-gradient(circle, rgba(132, 204, 22,.42), transparent 68%); animation-delay: -6s; }
.blob-cta3 { width: 320px; height: 320px; top: 10%; right: 26%; background: radial-gradient(circle, rgba(247,201,72,.32), transparent 68%); animation-delay: -10s; }
.cta-panel h2 {
  position: relative;
  color: #fff;
  font-size: clamp(32px, 4.6vw, 60px);
  margin-bottom: var(--s2);
  text-shadow: 0 2px 24px rgba(6, 42, 32, .18);
}
.cta-panel p {
  position: relative;
  color: rgba(255,255,255,.94);
  font-size: 17px;
  margin-bottom: var(--s5);
}
.cta-actions { position: relative; display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; }

/* ═══════════════════ FOOTER ═══════════════════ */
.site-footer {
  position: relative;
  background: var(--bg-alt);
  padding: clamp(64px, 7vw, 96px) 0 0;
  overflow: hidden;
}
.footer-top {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) 2fr;
  gap: clamp(40px, 5vw, 88px);
  padding-bottom: var(--s8);
}
.footer-brand p {
  color: var(--text-2); font-size: 14px;
  margin: var(--s3) 0; max-width: 38ch;
}
.newsletter {
  display: flex; gap: var(--s1);
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 20px;
  box-shadow: inset 0 0 0 1.5px var(--border-strong), var(--shadow-sm);
  max-width: 400px;
  transition: box-shadow var(--t-fast) var(--ease);
}
.newsletter:focus-within { box-shadow: inset 0 0 0 1.5px rgba(16, 185, 129,.5), var(--shadow-md); }
.newsletter input {
  flex: 1; min-width: 0; border: 0; outline: 0;
  font: inherit; font-size: 14px; color: var(--text);
  background: transparent;
}
.newsletter input::placeholder { color: #93A8A0; }
.newsletter-msg { font-size: 12.5px; margin-top: var(--s1); color: #0B815A; font-weight: 500; min-height: 20px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
}
.footer-cols h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--text); margin-bottom: var(--s2);
}
.footer-cols ul { display: grid; gap: 10px; }
.footer-cols a {
  font-size: 14px; color: var(--text-2);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.footer-cols a:hover { color: #047857; padding-left: 4px; }

.footer-bottom {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-block: var(--s3);
}
.footer-bottom small { color: var(--text-2); font-size: 13px; }
.footer-social { display: flex; gap: var(--s1); }
.footer-social a {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--text-2);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  transition: all var(--t-fast) var(--ease);
}
.footer-social a:hover {
  color: #fff; background: linear-gradient(135deg, #059669, #0B7F76);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(4, 120, 87,.35);
}

.footer-watermark {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(110px, 17vw, 270px);
  line-height: .82;
  letter-spacing: -.05em;
  text-align: center;
  background: linear-gradient(180deg, rgba(16, 185, 129, .1), rgba(13, 148, 136, .02) 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  user-select: none;
  pointer-events: none;
  transform: translateY(12%);
}

/* ═══════════════════ NAV DROPDOWNS ═══════════════════ */
.has-drop { position: relative; }
.nav-drop-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--text-2);
  padding: 8px 13px; border-radius: var(--r-pill);
  transition: color var(--t-fast) var(--ease);
}
.nav-drop-btn svg { transition: transform var(--t-med) var(--ease); opacity: .7; }
.nav-drop-btn:hover, .has-drop:hover .nav-drop-btn, .has-drop.is-open .nav-drop-btn { color: var(--text); }
.has-drop:hover .nav-drop-btn svg, .has-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }

.nav-drop {
  position: absolute; z-index: 20;
  top: calc(100% + 12px); left: 0;
  width: 330px; max-width: calc(100vw - 40px);
  display: grid; gap: 3px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 20px 52px rgba(18, 70, 55, .18);
  padding: 10px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top left;
  /* visibility flips instantly when opening, and only after the fade when closing */
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease),
              visibility 0s linear var(--t-med);
}
.nav-drop::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-drop:hover .nav-drop, .has-drop.is-open .nav-drop {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s;
}
.nav-drop-grid { width: 520px; grid-template-columns: 1fr 1fr; }
.nav-drop-sm { width: 270px; }

.nav-drop a {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--text);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.nav-drop a:hover { background: rgba(16, 185, 129, .08); transform: translateX(2px); }
.nav-drop strong { display: block; font-family: var(--font-head); font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.nav-drop small { display: block; font-size: 11.5px; color: var(--text-2); line-height: 1.45; margin-top: 1px; }
.drop-ic {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  color: var(--ac);
  background: color-mix(in srgb, var(--ac) 12%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 20%, transparent);
  transition: transform var(--t-fast) var(--ease);
}
.nav-drop a:hover .drop-ic { transform: scale(1.1) rotate(-6deg); }

/* ═══════════════════ HERO RATING ═══════════════════ */
.hero-rating { display: flex; align-items: center; gap: 14px; margin-top: var(--s3); }
.rating-avatars { display: flex; }
.rating-avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 11px; color: #fff;
  background: linear-gradient(135deg, var(--av), color-mix(in srgb, var(--av) 55%, #0E1B17));
  box-shadow: 0 0 0 2.5px var(--bg);
  margin-left: -10px;
  transition: transform var(--t-fast) var(--ease);
}
.rating-avatars span:first-child { margin-left: 0; }
.rating-avatars:hover span { transform: translateY(-3px); }
.rating-stars { color: var(--yellow); letter-spacing: 2px; font-size: 13px; display: block; line-height: 1.2; }
.rating-copy small { font-size: 12.5px; color: var(--text-2); }
.rating-copy strong { color: var(--text); font-family: var(--font-head); }

.grad-text {
  background: linear-gradient(120deg, #059669, #0B7F76 55%, #4D7C0F);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.chip-yellow { color: #96690A; background: rgba(247, 201, 72, .2); }
.chip-pink { color: #BE123C; background: rgba(244, 63, 94, .14); }

/* ═══════════════════ PRODUCT DEMO ═══════════════════ */
.demo { position: relative; }
.demo-shell { max-width: 1120px; margin-inline: auto; }

.demo-tabs {
  display: flex; gap: var(--s1); flex-wrap: wrap; justify-content: center;
  margin-bottom: var(--s4);
}
.demo-tab {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--text-2);
  padding: 11px 20px; border-radius: var(--r-pill);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all var(--t-med) var(--ease);
}
.demo-tab svg { opacity: .55; transition: opacity var(--t-med) var(--ease); }
.demo-tab:hover { color: var(--text); transform: translateY(-2px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 30%, transparent), var(--shadow-sm); }
.demo-tab.is-active {
  color: #fff;
  background: linear-gradient(120deg, color-mix(in srgb, var(--ac) 52%, #04443A),
                            color-mix(in srgb, var(--ac) 34%, #04443A));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--ac) 38%, transparent);
}
.demo-tab.is-active svg { opacity: 1; }
.tab-progress {
  position: absolute; bottom: 0; left: 0; height: 3px; width: 0;
  background: rgba(255,255,255,.75);
  border-radius: 3px;
}
.demo-tab.is-active .tab-progress { animation: tabFill var(--dwell, 6s) linear forwards; }
@keyframes tabFill { from { width: 0; } to { width: 100%; } }

.demo-window {
  position: relative;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 30px 80px rgba(18, 70, 55, .18);
  overflow: hidden;
}
.demo-window::before {
  content: '';
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.32) 45%, transparent 58%);
  transform: translateX(-100%);
  animation: glassSheen 7s var(--ease) 1.5s infinite;
}
@keyframes glassSheen {
  0% { transform: translateX(-100%); }
  22%, 100% { transform: translateX(100%); }
}

.demo-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.5);
}
.demo-chrome span[class^="dot-"] { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #FF6058; } .dot-y { background: #FFBD2E; } .dot-g { background: #28CA42; }
.demo-url {
  margin-left: var(--s2);
  font-size: 12px; color: var(--text-2); font-weight: 500;
  background: rgba(60, 115, 95,.07);
  padding: 4px 16px; border-radius: var(--r-pill);
}
.demo-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 11px;
  color: #0B815A;
  background: rgba(52,211,153,.14);
  padding: 4px 12px; border-radius: var(--r-pill);
}
.demo-live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--emerald);
  animation: pulse 2s var(--ease) infinite;
}

.demo-body { display: flex; min-height: 500px; }

.demo-side {
  flex-shrink: 0;
  width: 62px;
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  padding: 18px 0;
  border-right: 1px solid var(--border);
  background: rgba(250,252,255,.6);
}
.ds-logo { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, #10B981, #0D9488); margin-bottom: 8px; }
.ds-ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(60, 115, 95,.09); transition: background var(--t-med) var(--ease); }
.ds-ic.is-on { background: rgba(16, 185, 129,.18); box-shadow: inset 0 0 0 1px rgba(16, 185, 129,.3); }

.demo-scenes { position: relative; flex: 1; min-width: 0; }
.scene {
  position: absolute; inset: 0;
  padding: var(--s3);
  display: flex; flex-direction: column; gap: var(--s2);
  opacity: 0; visibility: hidden;
  transform: translateY(14px) scale(.99);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease),
              visibility 0s linear var(--t-slow);
}
.scene.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), visibility 0s;
}
.scene.is-active > * { animation: sceneIn 600ms var(--ease) backwards; }
.scene.is-active > *:nth-child(2) { animation-delay: 80ms; }
.scene.is-active > *:nth-child(3) { animation-delay: 160ms; }
.scene.is-active > *:nth-child(4) { animation-delay: 240ms; }
@keyframes sceneIn { from { opacity: 0; transform: translateY(12px); } }

.scene-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.scene-top h4 { font-size: 17px; letter-spacing: -.02em; }
.scene-top small { color: var(--text-2); font-size: 12px; }
.scene-btn {
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  color: #fff; white-space: nowrap;
  background: linear-gradient(120deg, color-mix(in srgb, var(--ac) 58%, #05493E),
                            color-mix(in srgb, var(--ac) 40%, #05493E));
  padding: 9px 17px; border-radius: var(--r-pill);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--ac) 32%, transparent);
}
.scene-btn-sm { padding: 6px 13px; font-size: 11.5px; }

.scene-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.s-stat {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fff; border-radius: var(--r-sm);
  padding: 13px 16px;
  box-shadow: inset 0 0 0 1px var(--border);
}
.s-stat small { color: var(--text-2); font-size: 11.5px; width: 100%; }
.s-stat strong { font-family: var(--font-head); font-size: 21px; letter-spacing: -.02em; }

.inv-rows { display: grid; gap: 7px; }
.inv-row {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border-radius: var(--r-sm);
  padding: 11px 15px;
  box-shadow: inset 0 0 0 1px var(--border);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.inv-row:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1px rgba(16, 185, 129,.28), var(--shadow-sm); }
.ir-av {
  width: 31px; height: 31px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 11px; color: #fff;
  background: linear-gradient(135deg, var(--av), color-mix(in srgb, var(--av) 55%, #0E1B17));
}
.ir-name { flex: 1; min-width: 0; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; }
.ir-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11px; color: var(--text-2); }
.inv-row > strong { font-family: var(--font-head); font-size: 14px; }

.gst-scene { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.gst-ring-big { position: relative; width: 132px; flex-shrink: 0; }
.scene.is-active .gsb-val { animation: meterSweep 1.6s var(--ease) .3s forwards; }
.gsb-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gsb-num strong { font-family: var(--font-head); font-size: 23px; }
.gsb-num small { font-size: 10.5px; color: var(--text-2); }
.gst-cells { flex: 1; min-width: 220px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1); }
.g-cell {
  background: #fff; border-radius: var(--r-sm); padding: 11px 14px;
  box-shadow: inset 0 0 0 1px var(--border);
}
.g-cell small { display: block; font-size: 11px; color: var(--text-2); }
.g-cell strong { font-family: var(--font-head); font-size: 16px; letter-spacing: -.02em; }
.g-cell-due { background: rgba(255,148,77,.09); box-shadow: inset 0 0 0 1px rgba(255,148,77,.25); }
.g-cell-due strong { color: #B54708; font-size: 14px; }
.gst-check-list { display: flex; gap: var(--s1); flex-wrap: wrap; }
.g-check {
  font-size: 11.5px; font-weight: 500; color: #0B815A;
  background: rgba(52,211,153,.13); padding: 6px 13px; border-radius: var(--r-pill);
}

.stock-chart { display: flex; align-items: flex-end; gap: var(--s2); height: 175px; padding-top: var(--s2); }
.sc-col {
  flex: 1; display: grid; grid-template-rows: 1fr auto; gap: 8px;
  height: 100%; text-align: center;
}
.sc-col i {
  align-self: end;
  width: 100%; border-radius: 8px 8px 4px 4px;
  height: var(--h);
  background: linear-gradient(180deg, #FFB784, #FF944D);
  transform-origin: bottom; transform: scaleY(0);
  transition: transform 700ms var(--ease);
}
.scene.is-active .sc-col i { transform: scaleY(1); }
.scene.is-active .sc-col:nth-child(2) i { transition-delay: 90ms; }
.scene.is-active .sc-col:nth-child(3) i { transition-delay: 180ms; }
.scene.is-active .sc-col:nth-child(4) i { transition-delay: 270ms; }
.scene.is-active .sc-col:nth-child(5) i { transition-delay: 360ms; }
.scene.is-active .sc-col:nth-child(6) i { transition-delay: 450ms; }
.sc-col small { font-size: 11px; color: var(--text-2); }
.sc-low i { background: linear-gradient(180deg, #FB7185, #F43F5E); }
.stock-alert {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,148,77,.08); border-radius: var(--r-sm);
  padding: 12px 15px;
  box-shadow: inset 0 0 0 1px rgba(255,148,77,.25);
  font-size: 12.5px; color: #7A3A08;
}
.stock-alert span:nth-child(2) { flex: 1; }
.sa-ic {
  flex-shrink: 0; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  animation: pulse 2.4s var(--ease) infinite;
}

.pay-feed { display: grid; gap: 8px; }
.pf-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--r-sm);
  padding: 12px 15px;
  box-shadow: inset 0 0 0 1px var(--border);
}
.pf-ic {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, #22D3EE, #06B6D4);
  box-shadow: 0 6px 14px rgba(6, 182, 212,.35);
}
.pf-txt { flex: 1; min-width: 0; }
.pf-txt strong { display: block; font-family: var(--font-head); font-size: 13.5px; }
.pf-txt small { font-size: 11px; color: var(--text-2); }
.pay-meter-row { display: flex; align-items: center; gap: var(--s2); margin-top: auto; }
.pay-meter-row small { font-size: 12px; color: var(--text-2); white-space: nowrap; }
.pay-meter-row .meter { flex: 1; margin: 0; }
.scene.is-active .pay-meter-row .meter i { width: var(--w); }
.pay-meter-row strong { font-family: var(--font-head); font-size: 15px; color: #0E7490; }

.ai-chat { display: grid; gap: 11px; }
.ac-msg {
  max-width: 78%;
  font-size: 13.5px; line-height: 1.6;
  padding: 12px 17px; border-radius: 18px;
}
.ac-user {
  justify-self: end;
  background: linear-gradient(120deg, #059669, #0B7F76);
  color: #fff; border-bottom-right-radius: 6px;
  box-shadow: 0 8px 18px rgba(4, 120, 87,.28);
}
.ac-bot {
  display: flex; align-items: flex-start; gap: 9px;
  background: #fff; border-bottom-left-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--border);
}
.ac-bot strong { font-family: var(--font-head); }
.ac-spark { color: var(--teal); font-size: 15px; line-height: 1.3; animation: sparkSpin 5s linear infinite; }
.ac-card {
  background: rgba(13, 148, 136,.06); border-radius: var(--r-md);
  padding: 15px 17px;
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136,.22);
}
.ac-card strong { display: block; font-family: var(--font-head); font-size: 14px; }
.ac-card small { display: block; font-size: 12px; color: var(--text-2); margin: 3px 0 12px; }
.ac-actions { display: flex; align-items: center; gap: var(--s2); }
.ac-skip { font-size: 12px; color: var(--text-2); font-weight: 500; }

/* GST mini trend */
.mini-trend { margin-top: auto; }
.mini-trend > small { display: block; font-size: 11px; color: var(--text-2); margin-bottom: 9px; }
.mt-bars { display: flex; align-items: flex-end; gap: 10px; height: 84px; }
.mt-bars span {
  /* grid (not flex) so the bar's % height resolves against the track and never gets shrunk by the label */
  flex: 1; display: grid; grid-template-rows: 1fr auto; gap: 6px;
  height: 100%; text-align: center;
  font-size: 10.5px; color: var(--text-2);
}
.mt-bars i {
  align-self: end;
  width: 100%; height: var(--h); border-radius: 6px 6px 3px 3px;
  background: rgba(52, 211, 153, .32);
  transform-origin: bottom; transform: scaleY(0);
  transition: transform 650ms var(--ease);
}
.scene.is-active .mt-bars i { transform: scaleY(1); }
.scene.is-active .mt-bars span:nth-child(3) i { transition-delay: 70ms; }
.scene.is-active .mt-bars span:nth-child(4) i { transition-delay: 140ms; }
.scene.is-active .mt-bars span:nth-child(5) i { transition-delay: 210ms; }
.scene.is-active .mt-bars span:nth-child(6) i { transition-delay: 280ms; }
.scene.is-active .mt-bars span:nth-child(7) i { transition-delay: 350ms; }
.mt-now i { background: linear-gradient(180deg, #5EE0B0, #34D399); }
.mt-now { color: var(--text); font-weight: 600; }

/* Inventory movements */
.stock-moves { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: auto; }
.sm-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  color: var(--text);
  background: #fff; padding: 8px 14px; border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--border);
}
.sm-item small { font-family: var(--font-body); font-weight: 400; font-size: 10.5px; color: var(--text-2); }
.sm-in, .sm-out { width: 7px; height: 7px; border-radius: 50%; }
.sm-in { background: var(--emerald); }
.sm-out { background: var(--rose); }

/* AI suggestion chips */
.ac-suggest { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.ac-suggest small { font-size: 11px; color: var(--text-2); }
.ac-chip {
  font-size: 11.5px; font-weight: 500; color: #0F766E;
  background: rgba(13, 148, 136, .09);
  padding: 7px 14px; border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, .18);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.ac-chip:hover { background: rgba(13, 148, 136, .16); transform: translateY(-2px); }

.demo-caption { text-align: center; margin-top: var(--s3); font-size: 14px; color: var(--text-2); }
.demo-caption .text-link { margin-top: 0; }

/* ═══════════════════ PO PIPELINE ═══════════════════ */
.po-pipeline { display: flex; align-items: center; gap: 7px; margin-top: var(--s3); flex-wrap: wrap; }
.po-chip {
  font-family: var(--font-head); font-weight: 700; font-size: 11px;
  color: var(--text-2);
  background: #fff; padding: 6px 12px; border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}
.po-chip-mid { color: #4D7C0F; background: rgba(132, 204, 22,.13); box-shadow: inset 0 0 0 1px rgba(132, 204, 22,.26); }
.po-chip-done { color: #0B815A; background: rgba(52,211,153,.14); box-shadow: inset 0 0 0 1px rgba(52,211,153,.25); }

/* ═══════════════════ MID CTA BAND ═══════════════════ */
.midcta { padding-block: var(--s6); }
.midcta-band {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); flex-wrap: wrap;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 60px);
  overflow: hidden;
  background: linear-gradient(120deg, #08211B, #0C3A2E 55%, #093C3A);
  box-shadow: 0 24px 60px rgba(8, 40, 30, .32);
}
.midcta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(520px 300px at 8% 120%, rgba(16, 185, 129,.42), transparent 62%),
    radial-gradient(460px 280px at 92% -20%, rgba(132, 204, 22,.32), transparent 62%);
}
.midcta-copy, .midcta-action { position: relative; }
.midcta-copy h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 8px; }
.midcta-copy p { color: rgba(255,255,255,.86); font-size: 15px; max-width: 46ch; }
.midcta-action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.midcta-action small { color: rgba(255,255,255,.78); font-size: 12px; }

/* ═══════════════════ TRUST STRIP ═══════════════════ */
.trust-strip {
  display: flex; justify-content: center; gap: var(--s3); flex-wrap: wrap;
  margin-top: var(--s5);
}
.trust-strip li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
  background: var(--glass);
  padding: 9px 18px; border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.trust-strip li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--border-strong), var(--shadow-sm); }

.cta-eyebrow {
  position: relative;
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
  padding: 8px 20px; border-radius: var(--r-pill);
  margin-bottom: var(--s3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.cta-fine { position: relative; display: block; margin-top: var(--s3); font-size: 12.5px; color: rgba(255,255,255,.86); }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1200px) {
  .b-invoice { grid-column: span 12; }
  .b-gst { grid-column: span 6; grid-row: span 2; }
  .b-eway { grid-column: span 6; }
  .b-inventory { grid-column: span 6; }
  .b-purchase { grid-column: span 6; }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); gap: var(--s4) var(--s2); padding-top: 0; }
  .flow-connector { display: none; }
}

@media (max-width: 1024px) {
  .nav-links a { padding: 8px 10px; font-size: 13.5px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-proof { justify-content: center; }
  .hero-art-stage { max-width: 520px; }
  .ai-panel { grid-template-columns: 1fr; }
  .ai-visual { max-width: 420px; }
  .industry-row { flex-wrap: wrap; min-height: 0; }
  .industry-card { flex: 1 1 calc(33.3% - var(--s2)); min-height: 210px; }
  .industry-card h3 { writing-mode: horizontal-tb; transform: none; }
  .industry-card p { max-height: none; opacity: 1; margin-top: 8px; }
  .ind-icon { position: static; margin-bottom: auto; }
  .industry-card { justify-content: flex-start; gap: var(--s2); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: var(--s4) var(--s3); }
}

@media (max-width: 1000px) {
  .nav-menu {
    position: absolute;
    top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border-radius: var(--r-lg);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), var(--shadow-lg);
    padding: var(--s3);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px) scale(.98);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease),
                visibility 0s linear var(--t-med);
  }
  .nav-menu.is-open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s;
  }
  .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links a { padding: 11px 14px; font-size: 15px; border-radius: var(--r-sm); }
  .nav-links a:hover { background: rgba(16, 185, 129,.07); }
  .nav-ink { display: none; }
  .nav-actions { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--border); justify-content: stretch; }
  .nav-actions .btn { flex: 1; justify-content: center; }
  .nav-capsule { position: relative; }
  .nav-toggle {
    display: grid; place-items: center; gap: 5px;
    width: 42px; height: 42px;
    margin-left: auto;
    border-radius: 50%;
  }
  .nav-toggle span {
    display: block; width: 20px; height: 2.2px; border-radius: 2px;
    background: var(--text);
    transition: transform var(--t-med) var(--ease);
  }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.6px) rotate(-45deg); }
}

@media (max-width: 900px) {
  .b-payments { flex-direction: column; align-items: flex-start; }
  .pay-timeline { width: 100%; max-width: none; min-width: 0; }
  .compare-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: var(--s4) var(--s2); }
  .ai-list { grid-template-columns: 1fr; }
  .industry-card { flex: 1 1 calc(50% - var(--s2)); }
}

@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .hero { padding-top: 110px; }
  .hero-title { font-size: clamp(34px, 10vw, 44px); }
  .hero-cta { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-cta .btn { width: 100%; }
  .b-gst, .b-eway, .b-inventory, .b-purchase { grid-column: span 12; grid-row: auto; }
  .b-invoice { flex-direction: column; align-items: flex-start; }
  .invoice-stack { width: 70%; max-width: 220px; align-self: center; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .industry-card { flex: 1 1 100%; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .section-head-split { flex-direction: column; align-items: flex-start; }
  .fl-invoice { left: 0; }
  .fl-chart { right: 0; }
}

@media (max-width: 400px) {
  .module-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; border-radius: var(--r-lg); padding: var(--s2); }
  .newsletter input { padding: 8px 4px; }
}

/* ── New-section responsive ─────────────────────────── */
@media (max-width: 1180px) {
  .nav-links a, .nav-drop-btn { padding: 8px 9px; font-size: 13px; }
  .nav-logo img { height: 26px; }
}

@media (max-width: 1024px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .midcta-band { flex-direction: column; align-items: flex-start; }
  .midcta-action { width: 100%; }
}

@media (max-width: 1000px) {
  /* dropdowns become inline accordions inside the mobile sheet */
  .nav-menu { max-height: min(74vh, 620px); overflow-y: auto; }
  .nav-drop-btn {
    display: flex; width: 100%; justify-content: space-between;
    padding: 11px 14px; font-size: 15px; border-radius: var(--r-sm);
  }
  .nav-drop-btn:hover { background: rgba(16, 185, 129,.07); }
  .nav-drop {
    position: static; width: auto; max-width: none;
    grid-template-columns: 1fr;
    opacity: 1; visibility: visible; transform: none;
    background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 2px 0 6px 10px;
    display: none;
  }
  .has-drop:hover .nav-drop { display: none; }
  .has-drop.is-open .nav-drop { display: grid; animation: faqOpen var(--t-med) var(--ease); }
  .nav-drop::before { display: none; }
  .nav-drop small { display: none; }
  .nav-drop a { padding: 9px 12px; }

  .demo-side { display: none; }
  .demo-body { min-height: 470px; }
  .demo-tab { font-size: 13px; padding: 10px 16px; }
}

@media (max-width: 640px) {
  .hero-rating { justify-content: center; }
  .demo-tabs { gap: 6px; }
  .demo-tab { padding: 9px 14px; font-size: 12.5px; }
  .demo-tab svg { display: none; }
  .demo-body { min-height: 620px; }
  .scene { padding: var(--s2); }
  .scene-stat-row { grid-template-columns: 1fr; }
  .gst-cells { grid-template-columns: 1fr; }
  .gst-ring-big { margin-inline: auto; }
  .stock-chart { height: 140px; }
  .stock-alert { flex-wrap: wrap; font-size: 12px; }
  .ac-msg { max-width: 92%; }
  .demo-url { display: none; }
  .trust-strip { gap: var(--s1); }
  .trust-strip li { font-size: 12px; padding: 8px 14px; }
}

@media (max-width: 400px) {
  .footer-cols { grid-template-columns: 1fr; }
  .scene-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .demo-body { min-height: 840px; }
  .gst-cells { gap: 6px; }
  .inv-row { padding: 10px 12px; gap: 9px; }
  .ir-name { font-size: 12.5px; }
  .inv-row > strong { font-size: 12.5px; }
}

/* ═══════════════════ REDUCED MOTION ═══════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
