/* ─── Variables ──────────────────────────────────────────────── */
:root {
  --bg:        #030712;
  --bg2:       #060d1a;
  --glass:     rgba(255,255,255,.04);
  --glass2:    rgba(255,255,255,.07);
  --border:    rgba(255,255,255,.08);
  --border2:   rgba(255,255,255,.14);
  --indigo:    #818cf8;
  --cyan:      #06b6d4;
  --violet:    #a78bfa;
  --green:     #4ade80;
  --text:      #e2e8f0;
  --muted:     #64748b;
  --muted2:    #94a3b8;
  --white:     #ffffff;
  --radius:    16px;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3 { font-family: var(--font-head); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

/* ─── Noise Overlay ──────────────────────────────────────────── */
.noise {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .15;
}


/* ─── Scroll Reveal ──────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ─── Gradient text ──────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.accent { color: var(--indigo); }
.logo-erp {
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px;
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: all .25s; position: relative;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(129,140,248,.3);
}
.btn--primary:hover { box-shadow: 0 8px 32px rgba(129,140,248,.35); }
.btn--ghost {
  background: var(--glass); border: 1px solid var(--border2);
  color: var(--muted2); backdrop-filter: blur(8px);
}
.btn--ghost:hover { color: var(--white); border-color: rgba(255,255,255,.25); background: var(--glass2); }
.btn--outline-price {
  background: transparent; border: 1px solid var(--border2);
  color: var(--muted2);
}
.btn--outline-price:hover { border-color: var(--indigo); color: var(--white); background: rgba(129,140,248,.06); }
.btn--full { width: 100%; justify-content: center; }
.nav__cta {
  padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  color: var(--white); transition: all .2s;
}
.nav__cta:visited,
.nav__cta:active { color: var(--white); }
.nav__cta:hover { box-shadow: 0 4px 20px rgba(129,140,248,.3); }

/* ─── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .3s, border-color .3s;
}
.nav.scrolled {
  background: rgba(3,7,18,.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav__logo {
  font-family: var(--font-head); font-size: 20px; font-weight: 800;
  letter-spacing: -.5px; display: flex; align-items: center; gap: 8px;
  color: var(--white);
}
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s; position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--indigo); transform: scaleX(0);
  transition: transform .25s; transform-origin: left;
}
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__hamburger span { display: block; width: 22px; height: 1.5px; background: var(--muted2); border-radius: 2px; }

/* Mobile nav slide-down */
.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; top: 68px; left: 0; right: 0; z-index: 998;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px; gap: 4px;
  transform: translateY(-16px); opacity: 0; pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-nav a {
  display: block; padding: 14px 16px; border-radius: 10px;
  font-size: 16px; font-weight: 600; color: var(--muted2); text-decoration: none;
  transition: background .15s, color .15s;
}
.mobile-nav a:hover { background: var(--glass); color: var(--white); }
.mobile-nav__backdrop {
  display: none; position: fixed; inset: 0; z-index: 997;
  background: rgba(0,0,0,.4); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.mobile-nav__backdrop.open { opacity: 1; pointer-events: all; }
[data-theme="light"] .mobile-nav { background: #cdd6e2; border-bottom-color: rgba(0,0,0,.12); }
[data-theme="light"] .mobile-nav a { color: #374151; }
[data-theme="light"] .mobile-nav a:hover { background: rgba(0,0,0,.06); color: #0f172a; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 68px;
  --sx: 50%; --sy: 50%;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--sx) var(--sy), rgba(129,140,248,.07), transparent 60%);
  z-index: 1;
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora__blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .15;
}
.a1 {
  width: 700px; height: 700px; top: -200px; left: -100px;
  background: radial-gradient(circle, #4f46e5, transparent 70%);
  animation: drift1 18s ease-in-out infinite;
}
.a2 {
  width: 500px; height: 500px; top: -100px; right: 0;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  animation: drift2 22s ease-in-out infinite;
}
.a3 {
  width: 400px; height: 400px; bottom: 0; left: 40%;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  animation: drift3 16s ease-in-out infinite; opacity: .10;
}
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(60px,-40px) scale(1.15)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,60px) scale(1.1)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-50px)} }

.hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(129,140,248,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(129,140,248,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black, transparent);
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
  padding: 80px 0 100px;
}
.hero__content {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 28px; text-align: left;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px; border-radius: 999px;
  background: rgba(129,140,248,.1); border: 1px solid rgba(129,140,248,.25);
  font-size: 13px; font-weight: 600; color: var(--indigo); letter-spacing: .3px;
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:.6} }

.hero__headline {
  font-size: clamp(38px, 5.5vw, 70px); font-weight: 800;
  line-height: 1.06; letter-spacing: -2.5px; color: var(--white);
}
.typewriter-wrap { display: block; min-height: 1.15em; }
.tw-cursor {
  display: inline-block; font-weight: 200; color: var(--indigo);
  animation: blink .9s step-end infinite; margin-left: 2px;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero__sub {
  max-width: 480px; font-size: 17px; color: var(--muted2); line-height: 1.78;
}
.hero__cta-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* Trust strip */
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.trust__item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--muted2); font-weight: 500;
}

/* ── HERO VISUAL ──────────────────────────────────────────── */
.hero__visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  padding: 48px 24px;
}
.hv-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(129,140,248,.16) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{opacity:.6;transform:scale(1)} 50%{opacity:1;transform:scale(1.08)} }

.hv-main {
  position: relative; z-index: 2; width: 320px;
  background: rgba(6,13,26,.9);
  border: 1px solid rgba(129,140,248,.22);
  border-radius: 18px; padding: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 48px 100px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.04), 0 0 60px rgba(129,140,248,.1);
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
  animation: floatBob 5s ease-in-out infinite;
}
.hv-titlebar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hv-dots { display: flex; gap: 5px; }
.hv-dots span { width: 8px; height: 8px; border-radius: 50%; }
.hv-dots span:nth-child(1) { background: #f87171; }
.hv-dots span:nth-child(2) { background: #fbbf24; }
.hv-dots span:nth-child(3) { background: #4ade80; }
.hv-url {
  flex: 1; text-align: center; font-size: 10px; color: var(--muted);
  background: rgba(255,255,255,.04); border-radius: 4px; padding: 3px 8px;
}
.hv-live {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; color: var(--green);
  text-transform: uppercase; letter-spacing: .8px;
}
.hv-kpis {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 16px;
}
.hv-kpi {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05);
  border-top: 2px solid var(--kc); border-radius: 10px; padding: 10px 6px; text-align: center;
}
.hv-kpi__v {
  display: block; font-family: var(--font-head); font-size: 14px;
  font-weight: 700; color: var(--white); letter-spacing: -.3px;
}
.hv-kpi__l {
  display: block; font-size: 9px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .4px; margin: 3px 0 2px;
}
.hv-kpi__d { font-size: 10px; font-weight: 700; }
.hv-up   { color: var(--green); }
.hv-down { color: #f87171; }
.hv-chart__label {
  font-size: 10px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 10px; font-weight: 600;
}
.hv-bars {
  display: flex; align-items: flex-end; gap: 5px; height: 56px;
}
.hv-bar-col {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 4px; height: 100%; justify-content: flex-end;
}
.hv-bar-col span { font-size: 8px; color: var(--muted); }
.hv-bar {
  width: 100%; height: var(--h);
  background: rgba(129,140,248,.18); border-radius: 3px 3px 0 0;
}
.hv-bar--active {
  background: linear-gradient(to top, #818cf8, #06b6d4);
  box-shadow: 0 0 14px rgba(129,140,248,.45);
}

/* Floating notification cards */
.hv-float {
  position: absolute; z-index: 3;
  background: rgba(6,13,26,.92); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 11px 14px;
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0,0,0,.55);
  white-space: nowrap;
}
.hv-float strong { display: block; color: var(--white); font-size: 12px; font-weight: 600; line-height: 1.3; }
.hv-float span   { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.hv-float__icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hv-float--1 { top: 0px; right: -24px;  animation: floatBob 4.5s ease-in-out infinite .4s; }
.hv-float--2 { bottom: 90px; left: -32px; animation: floatBob 5.2s ease-in-out infinite 1s; }
.hv-float--3 { bottom: 0px; right: 8px;  animation: floatBob 4.2s ease-in-out infinite 1.6s; }
.hero__stats {
  display: flex; align-items: center; gap: 40px;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 48px;
  backdrop-filter: blur(12px);
}
.stat { text-align: center; }
.stat__num {
  display: inline-block; font-family: var(--font-head); font-size: 34px;
  font-weight: 800; color: var(--white); letter-spacing: -1.5px;
}
.stat__label { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.stat__suffix { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--indigo); letter-spacing: -0.5px; }
.stat__divider { width: 1px; height: 52px; background: var(--border); }

.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-pill {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted);
}
.scroll-pill__dot {
  width: 6px; height: 24px; border: 1px solid var(--border2); border-radius: 999px;
  position: relative; overflow: hidden;
}
.scroll-pill__dot::after {
  content: ''; position: absolute; width: 4px; height: 6px;
  background: var(--indigo); border-radius: 999px; top: 2px; left: 0;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot { 0%{top:2px;opacity:1} 80%{top:14px;opacity:.2} 100%{top:2px;opacity:1} }

/* ─── SECTION HEADER ─────────────────────────────────────────── */
.section__header { text-align: center; margin-bottom: 64px; }
.section__tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px; color: var(--indigo); margin-bottom: 14px;
}
.section__header h2 {
  font-size: clamp(28px, 4.5vw, 48px); font-weight: 800;
  color: var(--white); letter-spacing: -1.5px; margin-bottom: 16px; line-height: 1.1;
}
.section__header p { max-width: 520px; margin: 0 auto; color: var(--muted2); font-size: 17px; }

/* ─── SERVICES ───────────────────────────────────────────────── */
.services { background: var(--bg); }
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s cubic-bezier(.23,1,.32,1), box-shadow .3s;
  transform-style: preserve-3d;
}
.card:hover { border-color: var(--card-accent, var(--indigo)); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.card__glow {
  position: absolute; width: 120px; height: 120px; border-radius: 50%;
  background: var(--card-accent, var(--indigo)); filter: blur(60px); opacity: 0;
  pointer-events: none; transform: translate(-50%,-50%); transition: opacity .4s;
}
.card:hover .card__glow { opacity: .15; }
.card__icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(var(--ic, 129,140,248),.12);
  border: 1px solid rgba(var(--ic, 129,140,248),.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--ic, var(--indigo));
}
.card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--muted2); line-height: 1.7; }
.card__arrow {
  position: absolute; top: 28px; right: 28px;
  font-size: 18px; color: var(--muted); opacity: 0;
  transition: opacity .25s, transform .25s;
}
.card:hover .card__arrow { opacity: 1; transform: translate(3px,-3px); }

/* ─── WHY US ─────────────────────────────────────────────────── */
.why { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); }
.why__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why__text .section__tag { display: block; }
.why__text h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  color: var(--white); letter-spacing: -1.5px; margin: 14px 0 36px; line-height: 1.1;
}
.why__list { display: flex; flex-direction: column; gap: 28px; }
.why__list li { display: flex; gap: 16px; align-items: flex-start; }
.why__check {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.why__list strong { display: block; font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.why__list p { font-size: 14px; color: var(--muted2); }

.code-block {
  background: #080f1e; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 80px rgba(79,70,229,.1), 0 40px 80px rgba(0,0,0,.4);
}
.code-block__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.code-block__file { margin-left: auto; font-size: 12px; color: var(--muted); font-family: var(--font-body); }
.code-block pre {
  padding: 28px; font-family: 'Fira Code','JetBrains Mono','Courier New',monospace;
  font-size: 13.5px; line-height: 2; overflow-x: auto;
}
.code-block__footer {
  padding: 12px 18px; border-top: 1px solid var(--border);
  display: flex; gap: 8px;
}
.cb-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: rgba(129,140,248,.1); border: 1px solid rgba(129,140,248,.2); color: var(--indigo);
}
.kw { color: #a78bfa; } .fn { color: #60a5fa; } .str { color: #4ade80; }
.num { color: #fb923c; } .cm { color: #475569; font-style: italic; }

/* ─── STACK / MARQUEE ────────────────────────────────────────── */
.stack { background: var(--bg2); }
.marquee-wrap { position: relative; overflow: hidden; padding: 8px 0; }
.marquee-wrap::before, .marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 200px; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--bg2), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg2), transparent); }
.marquee { display: flex; overflow: hidden; }
.marquee__inner {
  display: flex; gap: 16px; flex-shrink: 0;
  animation: marquee 28s linear infinite;
  padding: 4px 0;
}
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.mpill {
  flex-shrink: 0; padding: 10px 22px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--border);
  font-size: 14px; font-weight: 500; color: var(--muted2);
  transition: all .25s; cursor: default; white-space: nowrap;
}
.mpill:hover { color: var(--white); border-color: var(--indigo); background: rgba(129,140,248,.08); }

/* ─── PRICING ────────────────────────────────────────────────── */
.pricing { background: var(--bg); }
.pricing__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.pricing__card {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 32px; display: flex; flex-direction: column; gap: 20px;
  position: relative; transition: transform .3s, box-shadow .3s;
}
.pricing__card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.pricing__card--featured {
  background: linear-gradient(160deg, rgba(79,70,229,.15), rgba(6,182,212,.08));
  border-color: transparent;
}
.pricing__card--featured::before {
  content: ''; position: absolute; inset: -1px; border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, var(--indigo), var(--cyan), var(--violet), var(--indigo));
  background-size: 300%; z-index: -1;
  animation: borderSpin 5s linear infinite;
}
@keyframes borderSpin { 0%{background-position:0% 50%} 100%{background-position:300% 50%} }
.pricing__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  color: var(--white); font-size: 11px; font-weight: 700;
  padding: 5px 18px; border-radius: 999px; white-space: nowrap; letter-spacing: .5px;
}
.pricing__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--indigo); }
.pricing__price {
  font-family: var(--font-head); font-size: 38px; font-weight: 800;
  color: var(--white); letter-spacing: -1.5px; line-height: 1;
}
.pricing__price span { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pricing__desc { font-size: 14px; color: var(--muted2); line-height: 1.65; }
.pricing__features { display: flex; flex-direction: column; gap: 13px; flex: 1; }
.pricing__features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.pcheck {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--green);
}
.pricing__note { text-align: center; margin-top: 36px; font-size: 13px; color: var(--muted); }
.pricing__note a { color: var(--indigo); text-decoration: underline; }

/* ─── FOUNDER ────────────────────────────────────────────────── */
.founder { background: var(--bg2); }
.founder__card {
  display: flex; gap: 56px; align-items: flex-start;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 56px;
  max-width: 900px; margin: 0 auto;
  transition: border-color .3s;
}
.founder__card:hover { border-color: rgba(129,140,248,.3); }
.founder__left { display: flex; flex-direction: column; align-items: center; gap: 16px; flex-shrink: 0; }
.founder__avatar {
  width: 120px; height: 120px; border-radius: 50%; position: relative;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--white);
}
.founder__avatar-ring {
  position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid rgba(129,140,248,.25);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse { 0%,100%{transform:scale(1);opacity:.4} 50%{transform:scale(1.05);opacity:.8} }
.founder__social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--glass2); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--muted2);
  transition: all .2s;
}
.social-btn:hover { color: var(--white); border-color: var(--indigo); }
.founder__info { display: flex; flex-direction: column; gap: 10px; }
.founder__info h3 {
  font-size: 32px; font-weight: 800; color: var(--white); letter-spacing: -1px;
}
.founder__title { font-size: 13px; font-weight: 600; color: var(--indigo); text-transform: uppercase; letter-spacing: 1.5px; }
.founder__divider { width: 48px; height: 2px; background: linear-gradient(90deg, var(--indigo), transparent); margin: 4px 0; }
.founder__bio { font-size: 15px; color: var(--muted2); line-height: 1.8; }
.founder__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact { background: var(--bg); }
.contact__inner { max-width: 700px; margin: 0 auto; }
.contact__form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--muted2); letter-spacing: .3px; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 16px;
  color: var(--white); font-family: var(--font-body); font-size: 14px;
  outline: none; transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(129,140,248,.12);
}
.form-group select option { background: #0d1729; }
.form-note { text-align: center; font-size: 14px; min-height: 20px; margin-top: 4px; }

/* ─── PREVIEW SECTION ───────────────────────────────────────── */
.preview { background: var(--bg2); }

/* ── New two-column preview layout ── */
.preview__wrap {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 20px; align-items: start; margin-bottom: 32px;
}
.preview__tablist {
  display: flex; flex-direction: column; gap: 4px;
  max-height: 520px; overflow-y: auto; padding-right: 4px;
  scrollbar-width: thin; scrollbar-color: rgba(129,140,248,.3) transparent;
}
.preview__tablist::-webkit-scrollbar { width: 4px; }
.preview__tablist::-webkit-scrollbar-thumb { background: rgba(129,140,248,.3); border-radius: 2px; }
.ptab2-divider {
  padding: 12px 14px 4px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--muted);
}

.ptab2 {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 12px;
  border: 1px solid transparent; background: transparent;
  cursor: pointer; text-align: left; width: 100%; transition: all .2s;
  color: var(--muted2);
}
.ptab2:hover { background: var(--glass); border-color: var(--border); }
.ptab2.active {
  background: rgba(129,140,248,.1); border-color: rgba(129,140,248,.28);
}
.ptab2__icon {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all .2s;
}
.ptab2.active .ptab2__icon {
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  border-color: transparent; color: var(--white);
}
.ptab2__text { flex: 1; min-width: 0; }
.ptab2__name { display: block; font-size: 13px; font-weight: 600; color: var(--muted2); transition: color .2s; }
.ptab2.active .ptab2__name { color: var(--white); }
.ptab2__desc { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.ptab2__arrow { font-size: 18px; color: var(--indigo); opacity: 0; transition: opacity .2s; line-height: 1; }
.ptab2.active .ptab2__arrow { opacity: 1; }

/* Browser wrap with glow */
.preview__browser-wrap { position: relative; }
.preview__browser-glow {
  position: absolute; inset: -2px; border-radius: 16px; z-index: 0;
  background: linear-gradient(135deg, rgba(129,140,248,.25), rgba(6,182,212,.2));
  filter: blur(24px); opacity: .7; pointer-events: none;
}

/* Browser chrome */
.browser {
  position: relative; z-index: 1;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(129,140,248,.2);
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(129,140,248,.08);
}
.browser__bar {
  display: flex; align-items: center; gap: 8px;
  background: #0d1424; padding: 10px 16px; border-bottom: 1px solid var(--border);
}
.browser__right { margin-left: auto; display: flex; align-items: center; }
.bdot { width: 11px; height: 11px; border-radius: 50%; }
.bdot--r { background: #ff5f57; } .bdot--y { background: #febc2e; } .bdot--g { background: #28c840; }
.browser__url {
  margin: 0 auto; background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 14px; font-size: 11px; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.browser__body { background: #060d1a; height: 480px; overflow: hidden; }

/* Screen fade */
@keyframes screenFadeIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
.erp-screen:not(.hidden) { animation: screenFadeIn .25s ease; }

/* ERPNext Shell */
.erp-shell { display: flex; height: 100%; }

/* Sidebar */
.erp-sidebar {
  width: 160px; background: #080f1e; border-right: 1px solid rgba(255,255,255,.06);
  padding: 16px 0; flex-shrink: 0; display: flex; flex-direction: column; gap: 4px;
}
.erp-logo {
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 8px;
  font-size: 13px; font-weight: 700; color: var(--white);
}
.erp-logo__icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
}
.erp-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; }
.erp-nav__item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px; font-size: 12px;
  color: var(--muted); cursor: default; transition: all .15s;
}
.erp-nav__item.active { background: rgba(129,140,248,.15); color: var(--indigo); font-weight: 600; }
.erp-nav__item:hover { background: rgba(255,255,255,.04); color: var(--muted2); }

/* Main area */
.erp-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.erp-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.06);
  background: #080f1e;
}
.erp-topbar__title { font-size: 13px; font-weight: 700; color: var(--white); }
.erp-topbar__actions { display: flex; align-items: center; gap: 10px; }
.erp-search {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 10px; font-size: 11px; color: var(--muted);
}
.erp-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  font-size: 10px; font-weight: 700; color: var(--white);
  display: flex; align-items: center; justify-content: center;
}

/* Screens */
.erp-screen { padding: 16px; overflow-y: auto; height: 100%; }
.erp-screen.hidden { display: none; }

/* KPI cards */
.erp-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 14px; }
.erp-kpi {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 12px; position: relative; overflow: hidden;
}
.erp-kpi::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--kc);
}
.erp-kpi__label { display: block; font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.erp-kpi__val { display: block; font-size: 18px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; font-family: var(--font-head); }
.erp-kpi__delta { display: inline-block; font-size: 10px; font-weight: 600; margin-top: 4px; padding: 2px 6px; border-radius: 4px; }
.erp-kpi__delta.up { background: rgba(74,222,128,.12); color: #4ade80; }
.erp-kpi__delta.down { background: rgba(251,146,60,.12); color: #fb923c; }

/* Charts */
.erp-charts { display: grid; grid-template-columns: 1fr 200px; gap: 12px; }
.erp-chart-bar, .erp-chart-donut {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 14px;
}
.erp-chart__title { font-size: 11px; font-weight: 600; color: var(--muted2); margin-bottom: 12px; }
.erp-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.erp-bar-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.erp-bar {
  width: 100%; height: var(--h); border-radius: 4px 4px 0 0;
  background: rgba(129,140,248,.3); transition: background .2s;
}
.erp-bar.active { background: var(--indigo); box-shadow: 0 0 12px rgba(129,140,248,.4); }
.erp-bar-wrap span { font-size: 9px; color: var(--muted); }

.donut-wrap { display: flex; align-items: center; gap: 12px; }
.donut-svg { width: 80px; height: 80px; flex-shrink: 0; }
.donut-legend { display: flex; flex-direction: column; gap: 6px; }
.donut-legend span { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted2); }
.donut-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* Form screen */
.erp-breadcrumb { font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.erp-breadcrumb strong { color: var(--muted2); }
.erp-form { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; overflow: hidden; }
.erp-form__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02);
}
.erp-docstatus { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.erp-docstatus.draft { background: rgba(100,116,139,.15); color: #94a3b8; }
.erp-form__btns { display: flex; gap: 6px; }
.erp-btn { padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 600; border: 1px solid var(--border2); background: rgba(255,255,255,.05); color: var(--muted2); cursor: default; }
.erp-btn.primary { background: linear-gradient(135deg, var(--indigo), var(--cyan)); border-color: transparent; color: var(--white); }
.erp-fields { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.erp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.erp-field label { display: block; font-size: 10px; color: var(--muted); margin-bottom: 4px; }
.erp-input {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 6px; padding: 6px 10px; font-size: 11px; color: var(--white);
  display: flex; align-items: center; gap: 6px;
}
.erp-input.linked { color: var(--indigo); }
.erp-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.erp-badge.approved { background: rgba(74,222,128,.12); color: #4ade80; }
.erp-badge.submitted { background: rgba(129,140,248,.12); color: var(--indigo); }
.erp-badge.pending { background: rgba(251,146,60,.12); color: #fb923c; }
.erp-badge.draft { background: rgba(100,116,139,.12); color: #94a3b8; }
.erp-table-mini { border: 1px solid rgba(255,255,255,.06); border-radius: 6px; overflow: hidden; font-size: 10px; }
.erp-table-mini__head { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; padding: 6px 10px; background: rgba(255,255,255,.05); color: var(--muted); font-weight: 600; }
.erp-table-mini__row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; padding: 6px 10px; border-top: 1px solid rgba(255,255,255,.04); color: var(--muted2); }
.erp-table-mini__total { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; padding: 7px 10px; border-top: 1px solid rgba(255,255,255,.06); background: rgba(129,140,248,.05); color: var(--white); font-weight: 700; }

/* List screen */
.erp-list-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.erp-list-title { font-size: 14px; font-weight: 700; color: var(--white); }
.erp-count { background: rgba(129,140,248,.15); color: var(--indigo); font-size: 11px; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.erp-list-actions { display: flex; gap: 8px; align-items: center; }
.erp-list-table { border: 1px solid rgba(255,255,255,.06); border-radius: 10px; overflow: hidden; }
.erp-list-row { display: grid; grid-template-columns: 90px 1.5fr 80px 100px 90px; padding: 8px 14px; font-size: 11px; border-top: 1px solid rgba(255,255,255,.04); color: var(--muted2); align-items: center; }
.erp-list-row.head { background: rgba(255,255,255,.04); color: var(--muted); font-weight: 600; font-size: 10px; border-top: none; }
.erp-list-row:hover { background: rgba(255,255,255,.02); }
.erp-link { color: var(--indigo); font-weight: 600; }

/* Notification bell */
.erp-notif {
  position: relative; width: 26px; height: 26px; border-radius: 6px;
  background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center;
  cursor: default; color: var(--muted); flex-shrink: 0;
}
.erp-notif__dot {
  position: absolute; top: 4px; right: 4px; width: 6px; height: 6px;
  border-radius: 50%; background: #f87171; border: 1.5px solid #060d1a;
}

/* Recent activity feed */
.erp-recent {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 12px; margin-top: 0;
}
.erp-activity { display: flex; flex-direction: column; gap: 7px; }
.erp-act-row { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.erp-act-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dc); flex-shrink: 0; }
.erp-act-text { flex: 1; color: var(--muted2); }
.erp-act-time { color: var(--muted); white-space: nowrap; }

/* Workflow canvas */
.wf-canvas {
  display: flex; align-items: center; gap: 8px;
  padding: 14px; background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06); border-radius: 10px;
  margin-bottom: 12px; overflow-x: auto;
}
.wf-state {
  flex-shrink: 0; min-width: 90px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1);
  padding: 10px; text-align: center; display: flex; flex-direction: column; gap: 5px;
}
.wf-state--draft   { border-color: rgba(100,116,139,.5); background: rgba(100,116,139,.08); }
.wf-state--review  { border-color: rgba(251,146,60,.5);  background: rgba(251,146,60,.07);  }
.wf-state--approved{ border-color: rgba(74,222,128,.5);  background: rgba(74,222,128,.07);  }
.wf-state--complete{ border-color: rgba(129,140,248,.5); background: rgba(129,140,248,.07); }
.wf-state__label { font-size: 10px; font-weight: 700; color: var(--white); }
.wf-action {
  display: inline-block; font-size: 9px; padding: 3px 8px; border-radius: 4px;
  background: rgba(255,255,255,.07); color: var(--muted2); cursor: default;
}
.wf-action--approve { background: rgba(74,222,128,.15); color: #4ade80; }
.wf-action--reject  { background: rgba(248,113,113,.15); color: #f87171; }
.wf-arrow { color: var(--muted); font-size: 16px; flex-shrink: 0; }

/* Light mode preview */
[data-theme="light"] .ptab2:hover { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.1); }
[data-theme="light"] .ptab2.active { background: rgba(129,140,248,.08); border-color: rgba(129,140,248,.3); }
[data-theme="light"] .ptab2__name { color: #64748b; }
[data-theme="light"] .ptab2.active .ptab2__name { color: #0f172a; }
[data-theme="light"] .ptab2__icon { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.08); }
[data-theme="light"] .preview__browser-glow { opacity: .3; }
[data-theme="light"] .erp-recent { background: rgba(0,0,0,.02); border-color: rgba(0,0,0,.06); }
[data-theme="light"] .wf-canvas { background: rgba(0,0,0,.02); border-color: rgba(0,0,0,.06); }

/* Feature chips */
.preview__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--muted2);
}
.chip__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ─── FILE UPLOAD ────────────────────────────────────────────── */
.req-star { color: #f87171; }
.label-hint { font-size: 12px; font-weight: 400; color: var(--muted); }
.upload-zone {
  border: 1.5px dashed var(--border2); border-radius: 10px;
  padding: 28px 20px; text-align: center; cursor: pointer;
  transition: border-color .25s, background .25s;
  background: var(--glass);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--indigo); background: rgba(129,140,248,.06);
}
.upload-zone.has-file { border-style: solid; border-color: #4ade80; background: rgba(74,222,128,.04); }
.upload-zone__icon { margin-bottom: 10px; }
.upload-zone__text { font-size: 14px; font-weight: 600; color: var(--muted2); margin-bottom: 4px; }
.upload-zone__hint { font-size: 12px; color: var(--muted); }
.upload-zone__file {
  margin-top: 10px; font-size: 13px; font-weight: 600;
  color: #4ade80; word-break: break-all;
}

/* ─── PAY GATE ───────────────────────────────────────────────── */
.pay-gate { display: flex; flex-direction: column; gap: 14px; }
.pay-gate__info {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(129,140,248,.07); border: 1px solid rgba(129,140,248,.2);
  border-radius: 10px; padding: 14px 16px;
  font-size: 14px; color: var(--muted2); line-height: 1.5;
}
.pay-gate__info strong { color: var(--white); }
.pay-gate__info svg { flex-shrink: 0; margin-top: 1px; }

.upi-box {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.upi-qr {
  display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0;
}
.upi-qr img { width: 130px; height: 130px; border-radius: 8px; display: block; }
.upi-qr span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.upi-details { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.upi-id-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.upi-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.upi-id { font-size: 14px; font-weight: 600; color: var(--white); font-family: monospace; }
.copy-btn {
  padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
  background: rgba(129,140,248,.12); border: 1px solid rgba(129,140,248,.25);
  color: var(--indigo); cursor: pointer; transition: all .2s;
}
.copy-btn:hover { background: rgba(129,140,248,.2); }
.upi-amount {
  font-family: var(--font-head); font-size: 28px; font-weight: 800;
  color: var(--white); letter-spacing: -1px; line-height: 1;
}
.upi-amount span { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.btn--upi {
  padding: 10px 18px; font-size: 14px; width: fit-content;
  display: inline-flex; align-items: center; gap: 6px;
}
@media (max-width: 560px) {
  .upi-box { flex-direction: column; align-items: center; }
  .upi-qr img { width: 150px; height: 150px; }
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); background: var(--bg2); padding: 56px 0 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 280px; }
.footer__links { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; }
.footer__links a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid var(--border); padding: 20px 24px;
  display: flex; justify-content: space-between; font-size: 13px; color: #334155;
}

/* ─── MODAL ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.75);
  backdrop-filter: blur(10px); z-index: 999;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: #080f1e; border: 1px solid rgba(129,140,248,.25);
  border-radius: var(--radius); padding: 44px; width: 100%; max-width: 600px;
  max-height: 90vh; overflow-y: auto; position: relative;
  transform: translateY(30px) scale(.97); transition: transform .35s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(129,140,248,.1);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: none; color: var(--muted); font-size: 26px;
  cursor: pointer; line-height: 1; transition: color .2s;
}
.modal__close:hover { color: var(--white); }
.modal__header { margin-bottom: 28px; }
.modal__header h3 { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--white); margin: 10px 0 6px; letter-spacing: -.5px; }
.modal__header p { font-size: 14px; color: var(--muted2); }
.modal__form { display: flex; flex-direction: column; gap: 18px; }

/* ─── THEME TOGGLE BUTTON ────────────────────────────────────── */
.nav__theme {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--glass); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; color: var(--muted2); flex-shrink: 0;
}
.nav__theme:hover { color: var(--white); border-color: var(--indigo); background: rgba(129,140,248,.1); }
.nav__theme .icon-sun  { display: none; }
.nav__theme .icon-moon { display: block; }
[data-theme="light"] .nav__theme .icon-sun  { display: block; }
[data-theme="light"] .nav__theme .icon-moon { display: none; }

/* ─── LIGHT MODE ─────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:     #d9e2ec;
  --bg2:    #cdd6e2;
  --glass:  rgba(0,0,0,.06);
  --glass2: rgba(0,0,0,.10);
  --border:  rgba(0,0,0,.12);
  --border2: rgba(0,0,0,.18);
  --text:   #1e293b;
  --muted:  #4a5568;
  --muted2: #374151;
}
[data-theme="light"] body { background: #d9e2ec; color: #1e293b; }

/* Nav */
[data-theme="light"] .nav.scrolled { background: rgba(217,226,236,.92); border-bottom-color: rgba(0,0,0,.12); }
[data-theme="light"] .nav__logo { color: #0f172a; }
[data-theme="light"] .nav__links a { color: #64748b; }
[data-theme="light"] .nav__links a:hover,
[data-theme="light"] .nav__links a.active { color: #0f172a; }
[data-theme="light"] .nav__hamburger span { background: #475569; }

/* Hero */
[data-theme="light"] .hero { background: #d9e2ec; }
[data-theme="light"] .hero::after {
  background: radial-gradient(600px circle at var(--sx) var(--sy), rgba(99,102,241,.06), transparent 60%);
}
[data-theme="light"] .hero__headline { color: #0f172a; }
[data-theme="light"] .hero__sub { color: #374151; }
[data-theme="light"] .hero__sub strong { color: #0f172a !important; }
[data-theme="light"] .hero__badge { background: rgba(129,140,248,.14); color: var(--indigo); border-color: rgba(129,140,248,.3); }
[data-theme="light"] .trust__item { color: #4a5568; }

/* Hero visual — main card */
[data-theme="light"] .hv-main {
  background: #e4edf6;
  border-color: rgba(129,140,248,.28);
  box-shadow: 0 24px 64px rgba(0,0,0,.14), 0 0 0 1px rgba(129,140,248,.12);
}
[data-theme="light"] .hv-titlebar { border-bottom-color: rgba(0,0,0,.08); }
[data-theme="light"] .hv-url { color: #4a5568; background: rgba(0,0,0,.07); }

/* KPI tiles */
[data-theme="light"] .hv-kpi { background: #d9e2ec; border-color: rgba(0,0,0,.1); }
[data-theme="light"] .hv-kpi__v { color: #0f172a; }
[data-theme="light"] .hv-kpi__l { color: #4a5568; }

/* Bar chart */
[data-theme="light"] .hv-chart__label { color: #4a5568; }
[data-theme="light"] .hv-bar { background: rgba(99,102,241,.2); }
[data-theme="light"] .hv-bar-col span { color: #64748b; }

/* Floating notification chips */
[data-theme="light"] .hv-float {
  background: #e4edf6;
  border-color: rgba(0,0,0,.14);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
[data-theme="light"] .hv-float strong { color: #0f172a; }
[data-theme="light"] .hv-float span { color: #4a5568; }

/* Grid, aurora, misc */
[data-theme="light"] .hero__grid {
  background-image: linear-gradient(rgba(99,102,241,.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99,102,241,.08) 1px, transparent 1px);
}
[data-theme="light"] .aurora__blob { opacity: .10; }
[data-theme="light"] .noise { opacity: .08; }
[data-theme="light"] .scroll-pill { color: #64748b; }
[data-theme="light"] .scroll-pill__dot { border-color: rgba(0,0,0,.2); }

/* Sections */
[data-theme="light"] .services  { background: #d9e2ec; }
[data-theme="light"] .preview   { background: #cdd6e2; }
[data-theme="light"] .why       { background: linear-gradient(180deg,#d9e2ec 0%,#cdd6e2 100%); }
[data-theme="light"] .contact   { background: #d9e2ec; }
[data-theme="light"] .footer    { background: #cdd6e2; border-top-color: rgba(0,0,0,.12); }
[data-theme="light"] .footer__bottom { border-top-color: rgba(0,0,0,.08); color: #94a3b8; }
[data-theme="light"] .footer__bottom span { color: #94a3b8; }
[data-theme="light"] .footer__links a { color: #64748b; }
[data-theme="light"] .footer__brand p { color: #64748b; }

/* Section headers */
[data-theme="light"] .section__header h2 { color: #0f172a; }
[data-theme="light"] .section__header p  { color: #475569; }

/* Cards */
[data-theme="light"] .card { background: #e4edf6; border-color: rgba(0,0,0,.12); box-shadow: 0 2px 12px rgba(0,0,0,.10); }
[data-theme="light"] .card h3 { color: #0f172a; }
[data-theme="light"] .card p  { color: #64748b; }
[data-theme="light"] .card__arrow { color: #94a3b8; }

/* Why section */
[data-theme="light"] .why__text h2 { color: #0f172a; }
[data-theme="light"] .why__list strong { color: #0f172a; }
[data-theme="light"] .why__list p { color: #64748b; }

/* Preview tabs / chips */
[data-theme="light"] .ptab { background: #dde8f4; border-color: rgba(0,0,0,.14); color: #4a5568; }
[data-theme="light"] .ptab:hover { color: #0f172a; border-color: rgba(0,0,0,.2); }
[data-theme="light"] .chip { background: #dde8f4; border-color: rgba(0,0,0,.12); color: #4a5568; }
[data-theme="light"] .browser { border-color: rgba(0,0,0,.12); box-shadow: 0 20px 60px rgba(0,0,0,.1); }

/* Forms */
[data-theme="light"] .form-group label { color: #475569; }
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea { background: #cdd6e2; border-color: rgba(0,0,0,.16); color: #1e293b; }
[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder { color: #7a8fa6; }
[data-theme="light"] .form-group select option { background: #cdd6e2; color: #1e293b; }
[data-theme="light"] .upload-zone { background: #cdd6e2; border-color: rgba(0,0,0,.16); }
[data-theme="light"] .upload-zone:hover,
[data-theme="light"] .upload-zone.dragover { background: rgba(129,140,248,.05); border-color: var(--indigo); }
[data-theme="light"] .upload-zone__text { color: #475569; }
[data-theme="light"] .upload-zone__hint { color: #94a3b8; }
[data-theme="light"] .upload-zone__file { color: #166534; }
[data-theme="light"] .nav__cta,
[data-theme="light"] .nav__cta:visited,
[data-theme="light"] .nav__cta:active { color: #0f172a; }
[data-theme="light"] .btn--primary { color: #0f172a; }

/* Pay gate */
[data-theme="light"] .upi-box { background: #cdd6e2; border-color: rgba(0,0,0,.14); }
[data-theme="light"] .upi-label { color: #64748b; }
[data-theme="light"] .upi-id { color: #0f172a; }
[data-theme="light"] .upi-qr span { color: #64748b; }
[data-theme="light"] .upi-amount { color: #0f172a; }
[data-theme="light"] .upi-amount span { color: #64748b; }

/* Modal */
[data-theme="light"] .modal { background: #d9e2ec; border-color: rgba(129,140,248,.3); box-shadow: 0 40px 100px rgba(0,0,0,.2); }
[data-theme="light"] .modal__header h3 { color: #0f172a; }
[data-theme="light"] .modal__header p  { color: #64748b; }
[data-theme="light"] .modal__close { color: #94a3b8; }
[data-theme="light"] .modal__close:hover { color: #0f172a; }
[data-theme="light"] .modal-overlay { background: rgba(0,0,0,.45); }

/* Marquee */
[data-theme="light"] .stack { background: #cdd6e2; }
[data-theme="light"] .marquee-wrap::before { background: linear-gradient(to right, #cdd6e2, transparent); }
[data-theme="light"] .marquee-wrap::after  { background: linear-gradient(to left, #cdd6e2, transparent); }
[data-theme="light"] .mpill { background: #d9e2ec; border-color: rgba(0,0,0,.12); color: #374151; }
[data-theme="light"] .mpill:hover { color: #0f172a; border-color: var(--indigo); }

/* ANIMATIONS ──────────────────────────────────────────────────── */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2,1fr); }
  .pricing__cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .preview__wrap { grid-template-columns: 1fr; }
  .preview__tablist { flex-direction: row; flex-wrap: wrap; gap: 8px; max-height: none; overflow-y: visible; }
  .ptab2 { width: auto; flex: 1 1 calc(33% - 8px); }
  .ptab2__desc { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__content { align-items: center; text-align: center; }
  .hero__sub { text-align: center; max-width: 600px; }
  .hero__trust { justify-content: center; }
  .hero__visual { display: flex; }
  .hv-float--2 { left: -10px; }
  .hv-float--1 { right: -10px; }
}
@media (max-width: 900px) {
  .why__inner { grid-template-columns: 1fr; }
  .why__visual { display: none; }
}
@media (max-width: 640px) {
  /* Base */
  .section { padding: 64px 0; }
  .section__header { margin-bottom: 36px; }
  .container { padding: 0 16px; }

  /* Nav */
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .mobile-nav__backdrop { display: block; }

  /* Hero */
  .hero__inner { padding: 48px 0 64px; gap: 32px; }
  .hero__headline { letter-spacing: -1.5px; font-size: clamp(32px, 8vw, 42px); }
  .hero__sub { font-size: 15px; }
  .hero__cta-group { justify-content: center; flex-direction: column; align-items: center; }
  .hero__cta-group .btn { width: 100%; max-width: 280px; text-align: center; justify-content: center; }
  .hero__visual { padding: 16px 8px; }
  .hv-float { display: none; }
  .hv-main { width: 100%; max-width: 340px; transform: none; }
  .trust__item { font-size: 12px; }

  /* Preview tabs — 2 per row on mobile */
  .ptab2 { flex: 1 1 calc(50% - 6px); }
  .ptab2-divider { flex: 1 1 100%; }

  /* Preview browser — collapse sidebar to icon-only */
  .erp-sidebar { width: 44px; padding: 12px 0; }
  .erp-logo { display: none; }
  .erp-nav__item { font-size: 0; padding: 9px; justify-content: center; gap: 0; }
  .browser__body { height: 380px; }

  /* Cards, form, etc. */
  .cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Modal */
  .modal { padding: 28px 20px; }
  .modal__header { margin-bottom: 20px; }

  /* Why section */
  .why__inner { gap: 32px; }

  /* Founder */
  .founder__card { flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; gap: 24px; }
  .founder__divider { margin: 4px auto; }
  .founder__tags { justify-content: center; }

  /* Footer */
  .footer__inner { flex-direction: column; gap: 28px; }
  .footer__links { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer__bottom { flex-direction: column; gap: 6px; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .hero__inner { padding: 36px 0 52px; }
  .hero__headline { font-size: clamp(28px, 7.5vw, 36px); letter-spacing: -1px; }
  .hero__sub { font-size: 14px; }
  .hv-main { max-width: 100%; }

  /* Preview tabs — single column on very small screens */
  .ptab2 { flex: 1 1 100%; }

  /* Impact counter — smaller number on mobile */
  .impact__number { font-size: 48px; }

  /* Section header */
  .section__header h2 { font-size: 26px; }
  .section__header p { font-size: 15px; }

  /* Browser body shorter */
  .browser__body { height: 320px; }

  /* UPI box */
  .upi-box { flex-direction: column; align-items: center; }
}

/* ─── SCROLL PROGRESS ────────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  z-index: 9999; transition: width .08s linear;
  box-shadow: 0 0 8px rgba(129,140,248,.6);
}

/* ─── HERO FLOATS ────────────────────────────────────────────── */
.hero__floats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 600px;
}
.hfloat {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.2);
  font-size: 13px; font-weight: 500; color: var(--muted2);
  animation: floatBob 4s ease-in-out infinite;
}
.hfloat--1 { animation-delay: 0s; }
.hfloat--2 { animation-delay: .6s; }
.hfloat--3 { animation-delay: 1.2s; }
.hfloat--4 { animation-delay: 1.8s; }
.hfloat--5 { animation-delay: 2.4s; }
@keyframes floatBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* ─── TECH STACK ─────────────────────────────────────────────── */
.techstack {
  padding: 32px 0 40px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.techstack__label {
  text-align: center; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px; color: var(--muted);
  margin-bottom: 24px;
}
.ts-wrap::before { background: linear-gradient(to right, var(--bg2), transparent); }
.ts-wrap::after  { background: linear-gradient(to left,  var(--bg2), transparent); }
.ts-inner { animation-duration: 35s; }
.ts-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--muted2);
  white-space: nowrap; flex-shrink: 0;
  transition: all .25s;
}
.ts-pill:hover { color: var(--white); border-color: var(--indigo); background: rgba(129,140,248,.08); }
.ts-pill--featured {
  border-color: rgba(129,140,248,.35);
  background: rgba(129,140,248,.08);
  color: var(--white);
}
.ts-icon {
  width: 26px; height: 26px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ─── PROCESS ────────────────────────────────────────────────── */
.process { background: var(--bg2); }
.process__grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.process__step {
  display: flex; flex-direction: column; gap: 14px; position: relative;
}
.process__top {
  display: flex; align-items: center; gap: 0;
}
.process__num {
  font-family: var(--font-head); font-size: 13px; font-weight: 800;
  color: var(--indigo); letter-spacing: 1px; flex-shrink: 0;
  background: rgba(129,140,248,.1); border: 1px solid rgba(129,140,248,.2);
  border-radius: 8px; padding: 4px 10px;
}
.process__connector {
  flex: 1; height: 1px; margin-left: 10px;
  background: linear-gradient(90deg, rgba(129,140,248,.4), transparent);
}
.process__icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(129,140,248,.08); border: 1px solid rgba(129,140,248,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--pc, var(--indigo));
  transition: transform .3s, box-shadow .3s;
}
.process__step:hover .process__icon-wrap {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(129,140,248,.2);
}
.process__step h3 {
  font-size: 16px; font-weight: 700; color: var(--white); letter-spacing: -.3px;
}
.process__step p { font-size: 14px; color: var(--muted2); line-height: 1.7; }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials { background: var(--bg); }
.testi__grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.testi {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.testi::before {
  content: '\201C';
  position: absolute; top: -8px; right: 24px;
  font-size: 100px; font-family: Georgia, serif;
  color: rgba(129,140,248,.08); line-height: 1; pointer-events: none;
}
.testi:hover {
  transform: translateY(-6px);
  border-color: rgba(129,140,248,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.testi__top { display: flex; align-items: center; justify-content: space-between; }
.testi__stars { display: flex; gap: 3px; }
.testi__tag {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--indigo); background: rgba(129,140,248,.1);
  border: 1px solid rgba(129,140,248,.2); border-radius: 999px; padding: 3px 10px;
}
.testi__quote {
  font-size: 14px; color: var(--muted2); line-height: 1.8; flex: 1;
  font-style: italic;
}
.testi__author { display: flex; align-items: center; gap: 12px; }
.testi__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--av, var(--indigo));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 13px; font-weight: 800; color: var(--white);
}
.testi__info strong { display: block; font-size: 14px; font-weight: 700; color: var(--white); }
.testi__info span { font-size: 12px; color: var(--muted); }

/* ─── LIGHT MODE additions ───────────────────────────────────── */
[data-theme="light"] .techstack { background: #cdd6e2; border-color: rgba(0,0,0,.12); }
[data-theme="light"] .ts-wrap::before { background: linear-gradient(to right, #cdd6e2, transparent); }
[data-theme="light"] .ts-wrap::after  { background: linear-gradient(to left,  #cdd6e2, transparent); }
[data-theme="light"] .ts-pill { background: #d9e2ec; border-color: rgba(0,0,0,.12); color: #374151; }
[data-theme="light"] .ts-pill--featured { background: rgba(129,140,248,.08); border-color: rgba(129,140,248,.3); color: #1e293b; }
[data-theme="light"] .process { background: #cdd6e2; }
[data-theme="light"] .process__step h3 { color: #0f172a; }
[data-theme="light"] .process__step p { color: #64748b; }
[data-theme="light"] .testimonials { background: #d9e2ec; }
[data-theme="light"] .testi { background: #cdd6e2; border-color: rgba(0,0,0,.12); }
[data-theme="light"] .testi:hover { border-color: rgba(129,140,248,.3); box-shadow: 0 20px 60px rgba(0,0,0,.1); }
[data-theme="light"] .testi__quote { color: #475569; }
[data-theme="light"] .testi__info strong { color: #0f172a; }
[data-theme="light"] .testi__info span { color: #64748b; }
[data-theme="light"] .hfloat { background: rgba(74,222,128,.06); border-color: rgba(74,222,128,.2); color: #475569; }

/* ─── IMPACT METRICS ─────────────────────────────────────────── */
.impact {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
}
.impact__bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.impact__orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .18; animation: impactDrift 8s ease-in-out infinite;
}
.impact__orb--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #818cf8, transparent 70%);
  top: -160px; left: -100px;
  animation-delay: 0s;
}
.impact__orb--2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  bottom: -100px; right: 5%;
  animation-delay: -3s;
}
.impact__orb--3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #a78bfa, transparent 70%);
  top: 40%; left: 50%;
  animation-delay: -5s;
}
@keyframes impactDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(24px,-18px) scale(1.06); }
  66%      { transform: translate(-16px,22px) scale(.96); }
}

.impact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.impact__card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 28px 36px;
  text-align: center;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .35s;
}
.impact__card:hover {
  transform: translateY(-8px);
  border-color: var(--border2);
}

/* animated spinning ring */
.impact__ring {
  position: absolute; inset: -1px; border-radius: 21px;
  background: transparent;
  border: 2px solid transparent;
  background-clip: padding-box;
  animation: impactRingPulse 3s ease-in-out infinite;
  pointer-events: none;
}
.impact__card:hover .impact__ring {
  border-color: color-mix(in srgb, var(--ring-color) 45%, transparent);
  box-shadow: 0 0 28px -4px var(--ring-color), inset 0 0 28px -8px var(--ring-color);
}
@keyframes impactRingPulse {
  0%,100% { opacity: .5; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.01); }
}

.impact__inner { position: relative; z-index: 1; }

.impact__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
}

.impact__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 10px;
}

.impact__desc {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.impact__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 12px rgba(167,139,250,.5));
}

/* light mode */
[data-theme="light"] .impact { background: #cdd6e2; }
[data-theme="light"] .impact__card { background: #d9e2ec; border-color: rgba(0,0,0,.12); }
[data-theme="light"] .impact__card:hover { border-color: rgba(129,140,248,.3); box-shadow: 0 20px 60px rgba(0,0,0,.1); }
[data-theme="light"] .impact__label { color: #0f172a; }
[data-theme="light"] .impact__desc  { color: #64748b; }
[data-theme="light"] .impact__orb   { opacity: .1; }

/* ─── RESPONSIVE additions ───────────────────────────────────── */
@media (max-width: 1024px) {
  .impact__grid { grid-template-columns: repeat(2,1fr); }
  .process__grid { grid-template-columns: repeat(2,1fr); }
  .testi__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .impact__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .testi__grid { grid-template-columns: 1fr; }
  .process__connector { display: none; }
  .hero__floats { gap: 8px; }
}
