:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --emerald-50: #ecfdf5;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --rose-50: #fff1f2;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --amber-50: #fffbeb;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --display: "Bricolage Grotesque", "Instrument Sans", sans-serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--slate-50);
  color: var(--slate-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(37, 99, 235, 0.18);
}

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

img,
svg {
  display: block;
}

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container-x {
  margin: 0 auto;
  max-width: 80rem;
  padding: 0 1rem;
}

.section-pad {
  padding: 6rem 0;
}

.font-display,
.h2,
h1,
h2,
h3 {
  font-family: var(--display);
}

.h2 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--slate-900);
}

.body-lg {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate-600);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(191, 219, 254, 0.7);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-600);
  backdrop-filter: blur(12px);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
}

.glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.glass-card {
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.btn-primary,
.btn-secondary,
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.btn-primary {
  background: var(--slate-900);
  color: #fff;
  box-shadow: 0 20px 30px -12px rgba(15, 23, 42, 0.35);
}

.btn-primary:hover {
  background: var(--slate-800);
  transform: scale(1.04);
}

.btn-primary:active,
.btn-secondary:active,
.btn-white:active {
  transform: scale(0.95);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  border: 1px solid var(--slate-200);
  background: rgba(255, 255, 255, 0.8);
  color: var(--slate-900);
}

.btn-secondary:hover {
  border-color: var(--slate-300);
  background: #fff;
  transform: scale(1.04);
}

.btn-white {
  background: #fff;
  color: var(--slate-900);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.35);
}

.btn-white:hover {
  background: var(--slate-100);
  transform: scale(1.04);
}

.field {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1rem;
  color: var(--slate-900);
  outline: none;
}

.field:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px var(--blue-100);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  color: #fff;
  box-shadow: 0 10px 20px -8px rgba(37, 99, 235, 0.45);
}

.num-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(37, 99, 235, 0.4);
  font-size: 3.75rem;
  font-weight: 900;
  line-height: 1;
}

.card-hover {
  transition: transform 0.5s, box-shadow 0.5s, border-color 0.5s;
}

.card-hover:hover {
  transform: translateY(-6px);
  border-color: var(--blue-200);
  box-shadow: 0 30px 60px -24px rgba(37, 99, 235, 0.25);
}

/* Header */
.site-header {
  position: fixed;
  inset: 1rem 0 auto;
  z-index: 50;
  padding: 0 1rem;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 72rem;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  box-shadow: 0 8px 30px -18px rgba(15, 23, 42, 0.2);
  transition: box-shadow 0.5s;
}

.header-bar.is-scrolled {
  box-shadow: 0 16px 50px -20px rgba(29, 78, 216, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6, #22d3ee);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(59, 130, 246, 0.6);
}

.logo-text {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.desktop-nav button {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
}

.desktop-nav button:hover {
  color: var(--slate-900);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-cta {
  display: none;
  padding: 0.65rem 1.25rem;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: #fff;
  color: var(--slate-700);
}

.mobile-menu {
  display: none;
  margin: 0.5rem auto 0;
  max-width: 72rem;
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.25);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
}

.mobile-menu .btn-primary {
  margin-top: 0.5rem;
  text-align: center;
  justify-content: center;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 4rem;
}

.blob {
  pointer-events: none;
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
}

.blob-a {
  left: -10rem;
  top: 2.5rem;
  width: 480px;
  height: 480px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(103, 232, 249, 0.25));
}

.blob-b {
  right: -10rem;
  top: 8rem;
  width: 480px;
  height: 480px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(125, 211, 252, 0.2));
}

.blob-c {
  bottom: 0;
  left: 33%;
  width: 380px;
  height: 380px;
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.2), rgba(103, 232, 249, 0.2));
}

.hero-stage {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: none;
}

.float {
  animation: floatY 5s ease-in-out infinite;
}

.float-d1 { animation-duration: 5s; animation-delay: 0.6s; }
.float-d2 { animation-duration: 6.5s; animation-delay: 1.1s; }
.float-d3 { animation-duration: 5.2s; animation-delay: 0.3s; }
.float-d4 { animation-duration: 5.6s; animation-delay: 0.4s; }
.float-d5 { animation-duration: 6.2s; animation-delay: 1.2s; }
.float-d6 { animation-duration: 5s; animation-delay: 0.9s; }
.float-d7 { animation-duration: 6.8s; animation-delay: 1.6s; }
.float-d8 { animation-duration: 6s; }

.pos-invoice { position: absolute; left: 3%; top: 12%; }
.pos-badges { position: absolute; right: 3%; top: 10%; display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.pos-mini-tl { position: absolute; left: 13%; top: 9%; transform: rotate(-6deg); }
.pos-receipt { position: absolute; left: 8%; bottom: 5%; transform: rotate(3deg); }
.pos-mini-br { position: absolute; right: 10%; bottom: 12%; transform: rotate(6deg); }
.pos-mini-tr { position: absolute; right: 20%; top: 7%; transform: rotate(-3deg); }

.hero-copy {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero h1 {
  margin: 2rem auto 0;
  max-width: 56rem;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.line {
  display: block;
  overflow: hidden;
  padding: 0.25rem 0;
}

.line > span {
  display: block;
  animation: rise 1s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.line:nth-child(1) > span { animation-delay: 0.25s; }
.line:nth-child(2) > span { animation-delay: 0.37s; }
.line:nth-child(3) > span { animation-delay: 0.49s; }

.word-right {
  display: inline-block;
  border-radius: 1rem;
  border: 1px solid rgba(191, 219, 254, 0.8);
  background: linear-gradient(90deg, #f0f9ff, #eff6ff, #ecfeff);
  padding: 0 1rem;
  box-shadow: 0 12px 44px -12px rgba(59, 130, 246, 0.5);
}

.word-right span {
  background: linear-gradient(90deg, #1d4ed8, #3b82f6, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 1.75rem auto 0;
  max-width: 36rem;
  animation: fadeUp 0.8s 0.65s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  animation: fadeUp 0.8s 0.78s both;
}

.hero-mobile-visuals {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3.5rem;
}

.invoice-card {
  width: 15rem;
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
}

.scan-beam {
  position: absolute;
  left: 0;
  height: 3.5rem;
  width: 100%;
  background: linear-gradient(to bottom, transparent, rgba(103, 232, 249, 0.4), transparent);
  animation: scan 3.4s ease-in-out infinite;
}

.kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.muted {
  margin: 1rem 0 0;
  font-size: 11px;
  color: var(--slate-400);
}

.amount {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.bars { margin-top: 1rem; display: grid; gap: 0.5rem; }
.bar { height: 8px; border-radius: 999px; background: var(--slate-100); }
.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-66 { width: 66%; }

.scan-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--blue-100);
  background: rgba(239, 246, 255, 0.8);
  padding: 0.35rem 0.75rem;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-600);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-500), #8b5cf6);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.invoice-base {
  margin: -0.5rem auto 0;
  height: 2rem;
  width: 11rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--blue-500), #4f46e5);
  opacity: 0.9;
  transform: perspective(400px) rotateX(58deg);
  box-shadow: 0 24px 50px -12px rgba(59, 130, 246, 0.7);
}

.invoice-glow {
  margin: -0.25rem auto 0;
  height: 8px;
  width: 14rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.4);
  filter: blur(8px);
}

.status-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.2);
}

.status-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  color: #fff;
}

.status-badge small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.status-badge strong {
  display: block;
  font-size: 0.875rem;
}

.mini-bill {
  display: flex;
  width: 9rem;
  height: 4rem;
  align-items: center;
  gap: 0.6rem;
  border-radius: 1rem;
  padding: 0 0.85rem;
}

.dollar-disc {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 2px dashed var(--blue-200);
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: #fff;
  font-family: var(--display);
  font-weight: 900;
}

.mini-bill .lines { flex: 1; }
.hair { display: block; height: 6px; border-radius: 999px; background: rgba(226, 232, 240, 0.7); }
.hair + .hair { margin-top: 6px; width: 66%; }
.mini-amt { font-family: var(--display); font-size: 12px; font-weight: 900; color: var(--blue-600); }

.receipt { width: 11rem; }
.receipt-body {
  border-radius: 1rem 1rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  padding: 1rem 1rem 0.5rem;
  backdrop-filter: blur(16px);
}

.receipt-top { display: flex; align-items: center; justify-content: space-between; }
.check-mini {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: #fff;
}

.receipt-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  border-top: 1px dashed var(--blue-200);
  padding-top: 0.5rem;
}

.shield-visual { position: relative; display: grid; place-items: center; }
.ring {
  position: absolute;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  border: 2px dashed var(--blue-200);
}
.glow-orb {
  position: absolute;
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.3);
  filter: blur(24px);
}
.shield-core {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, #2563eb, #0ea5e9, #22d3ee);
  color: #fff;
  box-shadow: 0 20px 50px -12px rgba(37, 99, 235, 0.65);
}
.shield-base {
  margin-top: 1rem;
  height: 1.5rem;
  width: 8rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #e2e8f0, rgba(203, 213, 225, 0.7));
  transform: perspective(300px) rotateX(60deg);
}

/* Shared cards */
.white-card {
  border-radius: 1.5rem;
  border: 1px solid var(--slate-100);
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.split-2 {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.stats-3,
.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 1.25rem;
}

.stats-3 { margin-top: 2.5rem; }
.grid-4, .grid-3 { margin-top: 4rem; }

.stat-value {
  margin: 0;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 900;
}

.stat-label {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--slate-500);
}

.bill-visual { position: relative; max-width: 28rem; margin: 0 auto; }
.bill-halo {
  position: absolute;
  inset: -2rem;
  border-radius: 3rem;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(125, 211, 252, 0.2), rgba(103, 232, 249, 0.2));
  filter: blur(24px);
}

.bill-doc { position: relative; padding: 1.75rem; }
.bill-head { display: flex; align-items: center; justify-content: space-between; }
.issue-pill {
  border-radius: 999px;
  background: var(--rose-50);
  color: var(--rose-500);
  padding: 0.25rem 0.65rem;
  font-size: 10px;
  font-weight: 700;
}

.row-list { margin-top: 1.5rem; }
.row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.875rem;
}
.row span:last-child { font-weight: 700; }

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 4rem;
  margin-top: 1.5rem;
}

.mini-chart span {
  flex: 1;
  border-radius: 0.5rem 0.5rem 0 0;
  background: linear-gradient(to top, rgba(37, 99, 235, 0.8), rgba(56, 189, 248, 0.8));
}

.flag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 1rem;
  padding: 0.6rem 0.85rem;
  box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.25);
}

.flag-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid;
}

.flag.rose .flag-icon { color: var(--rose-500); background: var(--rose-50); border-color: #fecdd3; }
.flag.amber .flag-icon { color: var(--amber-500); background: var(--amber-50); border-color: #fde68a; }
.flag small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-400); }
.flag strong { display: block; font-size: 0.875rem; color: var(--rose-500); }
.flag-tr { right: -0.75rem; top: 2rem; }
.flag-ml { left: -0.75rem; top: 50%; }
.flag-br { right: -0.75rem; bottom: 2.5rem; }

.engine { position: relative; overflow: hidden; }
.engine-blob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.15), rgba(186, 230, 253, 0.15));
  filter: blur(120px);
}

.center { text-align: center; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }

.engine-grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.chip-col {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.chip {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.6rem;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  box-shadow: 0 12px 32px -14px rgba(15, 23, 42, 0.2);
}

.chip-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  color: #fff;
}

.chip span { font-size: 0.875rem; font-weight: 700; color: var(--slate-700); }

.engine-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 16rem;
  height: 16rem;
  margin: 0 auto;
}

.core-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px dashed rgba(191, 219, 254, 0.8);
}

.core-ring-inner {
  position: absolute;
  inset: 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--blue-100);
}

.core-glow {
  position: absolute;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(96, 165, 250, 0.4));
  filter: blur(24px);
}

.core-ai {
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, #2563eb, #0ea5e9, #22d3ee);
  color: #fff;
  font-family: var(--display);
  font-size: 1.875rem;
  font-weight: 900;
  box-shadow: 0 24px 60px -16px rgba(37, 99, 235, 0.65);
}

.tint-blue { background: linear-gradient(135deg, #3b82f6, #22d3ee); }
.tint-cyan { background: linear-gradient(135deg, #06b6d4, #38bdf8); }
.tint-emerald { background: linear-gradient(135deg, #10b981, #2dd4bf); }
.tint-amber { background: linear-gradient(135deg, #f59e0b, #fb923c); }
.tint-indigo { background: linear-gradient(135deg, #6366f1, #3b82f6); }
.tint-rose { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.tint-violet { background: linear-gradient(135deg, #8b5cf6, #e879f9); }
.tint-purple { background: linear-gradient(135deg, #a855f7, #8b5cf6); }
.tint-blue-dark { background: linear-gradient(135deg, #2563eb, #38bdf8); }
.tint-teal { background: linear-gradient(135deg, #34d399, #14b8a6); }
.tint-green { background: linear-gradient(135deg, #34d399, #22c55e); }
.tint-pink { background: linear-gradient(135deg, #fb7185, #ec4899); }

.check-card h3,
.step-card h3,
.industry-card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.check-card p,
.step-card p,
.industry-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate-500);
}

.bg-soft { background: rgba(255, 255, 255, 0.5); }

.step-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
}

.step-card .icon-tile {
  margin-top: 1.5rem;
  transition: transform 0.5s;
}

.step-card:hover .icon-tile {
  transform: scale(1.1) rotate(-6deg);
}

.industry-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  height: 100%;
}

.console {
  position: relative;
  padding: 1.25rem;
  box-shadow: 0 50px 120px -50px rgba(29, 78, 216, 0.35);
}

.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.dots { display: flex; gap: 0.4rem; }
.dots span { width: 10px; height: 10px; border-radius: 999px; }
.dot-rose { background: #fda4af; }
.dot-amber { background: #fcd34d; }
.dot-green { background: #6ee7b7; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: var(--emerald-50);
  color: var(--emerald-600);
  padding: 0.2rem 0.75rem;
  font-size: 10px;
  font-weight: 700;
}

.live-pill .pulse-dot { width: 6px; height: 6px; background: var(--emerald-500); }

.tiles { display: grid; gap: 1rem; }
.tile-head { display: flex; align-items: center; gap: 0.75rem; }
.tile-head span { font-size: 0.75rem; font-weight: 600; color: var(--slate-500); }
.tile-value { margin: 0.75rem 0 0; font-family: var(--display); font-size: 1.5rem; font-weight: 900; }

.dash-split { display: grid; gap: 1rem; margin-top: 1rem; }
.chart-wrap { min-height: 230px; }
.chart-wrap svg { width: 100%; height: 230px; }

.cat { margin-bottom: 1rem; }
.cat-row { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.4rem; }
.track { height: 8px; overflow: hidden; border-radius: 999px; background: var(--slate-100); }
.track > span { display: block; height: 100%; border-radius: 999px; }

.recovery-toast {
  position: absolute;
  top: -1.75rem;
  right: 1rem;
}

.recovery-panel {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  background: linear-gradient(135deg, #020617, #172554, #082f49);
  padding: 4rem 1.5rem;
}

.recovery-panel .eyebrow {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #67e8f9;
}

.recovery-panel h2 {
  margin: 1.5rem 0 0;
  color: #fff;
  font-size: 2.25rem;
}

.recovery-panel p.lead {
  margin: 1.5rem 0 0;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
}

.recovery-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.recovery-stat {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}
.recovery-stat p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.875rem;
  font-weight: 900;
  color: #fff;
}
.recovery-stat span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--slate-400);
}

.compare { display: grid; gap: 1.5rem; max-width: 56rem; margin: 4rem auto 0; }
.compare-card { padding: 2rem; }
.compare-card h3 { margin: 0.75rem 0 0; font-size: 1.5rem; }
.old h3 { color: var(--slate-500); }
.compare-card ul { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1rem; }
.compare-card li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.875rem; color: var(--slate-500); }
.new-shell {
  border-radius: 1.5rem;
  padding: 1.5px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9, #22d3ee);
  box-shadow: 0 30px 80px -30px rgba(37, 99, 235, 0.5);
}
.new-shell .inner { border-radius: calc(1.5rem - 1.5px); background: #fff; padding: 2rem; height: 100%; }
.new-head { display: flex; align-items: center; justify-content: space-between; }
.rec-pill {
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  color: #fff;
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mark {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 999px;
}
.mark-x { background: var(--rose-50); color: var(--rose-400); }
.mark-ok { background: linear-gradient(135deg, #34d399, #14b8a6); color: #fff; }
.new .inner li { color: var(--slate-700); font-weight: 500; }

.faq-list { max-width: 48rem; margin: 3.5rem auto 0; display: grid; gap: 0.75rem; }
.faq-item {
  border-radius: 1rem;
  border: 1px solid var(--slate-100);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.faq-item.is-open { box-shadow: 0 20px 50px -24px rgba(37, 99, 235, 0.3); }
.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
}
.chevron { transition: transform 0.3s; }
.faq-item.is-open .chevron { transform: rotate(180deg); }
.faq-body {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate-500);
}
.faq-item.is-open .faq-body { display: block; }

.demo-card {
  display: grid;
  gap: 3rem;
  padding: 2rem;
  box-shadow: 0 50px 120px -50px rgba(76, 29, 149, 0.35);
}

.perks { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.perks li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--slate-700); }

.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
.success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 1.5rem;
  border: 1px solid #d1fae5;
  background: rgba(236, 253, 245, 0.6);
  padding: 2.5rem;
  min-height: 20rem;
}
.success h3 { margin: 1.5rem 0 0; font-size: 1.5rem; }
.success p { margin: 0.75rem 0 0; max-width: 20rem; color: var(--slate-500); font-size: 0.875rem; }
.hidden { display: none !important; }
.hint { margin: 0; text-align: center; font-size: 0.75rem; color: var(--slate-400); }
.spin { animation: spin 0.8s linear infinite; }

.site-footer {
  border-top: 1px solid var(--slate-100);
  background: rgba(255, 255, 255, 0.7);
  padding: 4rem 0;
}
.footer-grid { display: grid; gap: 3rem; }
.site-footer p.blurb { margin: 1.25rem 0 0; max-width: 20rem; font-size: 0.875rem; line-height: 1.7; color: var(--slate-500); }
.pills { display: flex; gap: 0.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pills span {
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: #fff;
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-cols p { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate-400); }
.footer-cols ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.65rem; }
.footer-cols button { font-size: 0.875rem; font-weight: 500; color: var(--slate-600); }
.footer-cols button:hover { color: var(--slate-900); }
.legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3.5rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 2rem;
  font-size: 0.75rem;
  color: var(--slate-400);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.toast-host {
  position: fixed;
  top: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: grid;
  gap: 0.5rem;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  border-radius: 0.9rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.35);
  background: #fff;
  border: 1px solid var(--slate-200);
}
.toast.ok { border-color: #a7f3d0; color: #065f46; background: #ecfdf5; }
.toast.err { border-color: #fecaca; color: #9f1239; background: #fff1f2; }

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

@keyframes rise {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes scan {
  0% { top: -25%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 115%; opacity: 0; }
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
  .hero h1 { font-size: 3.75rem; }
  .h2 { font-size: 3rem; }
  .stats-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .legal { flex-direction: row; justify-content: space-between; }
  .console { padding: 2rem; }
  .recovery-panel { padding: 4rem 3rem; }
  .demo-card { padding: 3rem; }
  .container-x { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .section-pad { padding: 8rem 0; }
  .desktop-nav { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .hero { padding: 11rem 0 6rem; }
  .hero h1 { font-size: 4.5rem; }
  .hero-stage { display: block; perspective: 1400px; }
  .hero-mobile-visuals { display: none; }
  .split-2 { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .engine-grid { grid-template-columns: 1fr auto 1fr; }
  .chip-col { flex-direction: column; }
  .chip-col.end { align-items: flex-end; }
  .chip-col.start { align-items: flex-start; }
  .dash-split { grid-template-columns: 2fr 1fr; }
  .recovery-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
  .compare { grid-template-columns: 1fr 1fr; }
  .demo-card { grid-template-columns: 1fr 1fr; padding: 4rem; }
  .footer-grid { grid-template-columns: 1.4fr 2fr; }
  .container-x { padding: 0 2rem; }
  .flag-tr { right: -2rem; }
  .flag-ml { left: -2.5rem; }
}

@media (min-width: 1280px) {
  .hero h1 { font-size: 5.4rem; }
  .pos-invoice { left: 6%; }
  .pos-badges { right: 6%; }
  .pos-mini-tl { left: 17%; }
  .pos-receipt { left: 12%; }
  .pos-mini-br { right: 14%; }
}

@media (prefers-reduced-motion: reduce) {
  .float, .scan-beam, .pulse-dot, .line > span, .hero-sub, .hero-ctas, .reveal, .spin {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
