:root {
  --bg: #070b16;
  --bg-2: #0a0f1e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eef2f8;
  --muted: #9aa6bd;
  --faint: #6b7689;
  --accent: #34e5a5;
  --accent-2: #3aa0ff;
  --accent-3: #7c5cff;
  --warn: #ffb547;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --maxw: 1180px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

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

/* ---------- Background aurora ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(1200px 600px at 70% -10%, rgba(58,160,255,.10), transparent 60%),
  radial-gradient(900px 600px at 10% 10%, rgba(52,229,165,.08), transparent 55%),
  var(--bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.blob-1 { width: 520px; height: 520px; background: #1d7a5a; top: -160px; right: -120px; animation: drift 22s ease-in-out infinite; }
.blob-2 { width: 460px; height: 460px; background: #1f4f8f; bottom: -180px; left: -120px; animation: drift 26s ease-in-out infinite reverse; }
.blob-3 { width: 380px; height: 380px; background: #4a2f8f; top: 40%; left: 50%; animation: drift 30s ease-in-out infinite; }
.grid-overlay { position: absolute; inset: 0; background-image:
  linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%); }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(40px,30px) scale(1.08);} }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem;
  padding: .7rem 1.25rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease; white-space: nowrap; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #1fb583); color: #04120c;
  box-shadow: 0 12px 30px -10px rgba(52,229,165,.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(52,229,165,.7); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); transform: translateY(-2px); }

/* ---------- Glass ---------- */
.glass { background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7,11,22,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #04120c;
  background: linear-gradient(135deg, var(--accent), #1fb583); box-shadow: 0 8px 20px -8px rgba(52,229,165,.7); }
.brand-mark svg { width: 18px; height: 18px; }
.brand-name span { color: var(--accent); }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 500; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.4rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(52,229,165,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,229,165,.6);} 70% { box-shadow: 0 0 0 10px rgba(52,229,165,0);} 100% { box-shadow: 0 0 0 0 rgba(52,229,165,0);} }
.hero h1 { font-family: var(--display); font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }
.grad-text { background: linear-gradient(120deg, var(--accent), var(--accent-2) 60%, var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 32rem; margin: 1.4rem 0 2rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 2.2rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-trust strong { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--text); }
.hero-trust span { font-size: .85rem; color: var(--faint); }

/* Dashboard mock */
.hero-visual { position: relative; }
.dash { padding: 14px; box-shadow: var(--shadow); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }
.dash-top { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; border-bottom: 1px solid var(--border); }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2b3242; }
.dash-dots i:nth-child(1){ background:#ff5f57;} .dash-dots i:nth-child(2){ background:#febc2e;} .dash-dots i:nth-child(3){ background:#28c840;}
.dash-title { font-size: .82rem; color: var(--muted); flex: 1; }
.dash-live { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--accent); }
.dash-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; }
.dash-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.dash-stat .label { font-size: .75rem; color: var(--faint); display: block; }
.dash-stat .value { font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.dash-stat .value small { font-size: .8rem; color: var(--muted); }
.dash-stat .trend { font-size: .72rem; }
.trend.up { color: var(--accent); }
.dash-chart { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px; }
.dash-chart svg { width: 100%; height: 90px; }
.dash-chart .line { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.4s ease forwards .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash-rows { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.dash-rows .row { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; }
.dash-rows .amt { margin-left: auto; color: var(--text); font-weight: 600; }
.dash-rows .state { font-size: .72rem; color: var(--accent); min-width: 74px; text-align: right; }
.dash-rows .state.offline { color: var(--warn); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.ok { background: var(--accent); } .dot.warn { background: var(--warn); }

.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; box-shadow: var(--shadow); }
.float-card strong { display: block; font-size: .85rem; } .float-card small { color: var(--faint); font-size: .72rem; }
.fc-icon { font-size: 1.3rem; }
.card-receipt { top: -22px; right: -10px; animation: floaty 6s ease-in-out infinite .5s; }
.card-pay { bottom: -26px; left: -18px; animation: floaty 8s ease-in-out infinite 1s; }

/* marquee */
.marquee { margin-top: 60px; border-block: 1px solid var(--border); padding: 16px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: scroll 28s linear infinite; color: var(--faint); font-weight: 500; font-size: .95rem; }
.marquee-track span { white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.015), transparent); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.section-head h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.feature:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.feature-wide { grid-column: span 1; }
.f-icon { font-size: 1.8rem; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); margin-bottom: 1rem; }
.feature h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: .96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: s; }
.step { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); position: relative; overflow: hidden; }
.step::before { content: ""; position: absolute; inset: 0 auto auto 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--accent), transparent); opacity: .7; }
.step-num { font-family: var(--display); font-size: 2.4rem; font-weight: 700; color: rgba(255,255,255,.12); display: block; margin-bottom: .4rem; }
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 1rem; }
.split-copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; }
.checks { list-style: none; display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.8rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--text); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; color: #04120c; background: linear-gradient(135deg, var(--accent), #1fb583); border-radius: 50%; }
.flow { padding: 28px; box-shadow: var(--shadow); }
.flow-step { display: flex; align-items: center; gap: 14px; }
.flow-step strong { display: block; font-size: .98rem; } .flow-step small { color: var(--faint); font-size: .82rem; }
.fs-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent-2); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(58,160,255,.15); }
.flow-step.warn .fs-dot { background: var(--warn); box-shadow: 0 0 0 4px rgba(255,181,71,.15); }
.flow-step.ok .fs-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(52,229,165,.18); }
.flow-line { width: 2px; height: 26px; margin-left: 6px; background: linear-gradient(var(--border-strong), transparent); }

/* Stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { padding: 28px; text-align: center; }
.stat-card strong { font-family: var(--display); font-size: 2.6rem; font-weight: 700; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.stat-card span { color: var(--muted); font-size: .9rem; }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust { padding: 26px; transition: transform .3s, border-color .3s; }
.trust:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.trust h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.trust p { color: var(--muted); font-size: .92rem; }

/* CTA */
.cta-section { padding-block: 60px 96px; }
.cta { position: relative; text-align: center; padding: 64px 32px; overflow: hidden; border-color: var(--border-strong); }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(600px 200px at 50% 0%, rgba(52,229,165,.18), transparent 70%); pointer-events: none; }
.cta h2 { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.8rem); position: relative; }
.cta p { color: var(--muted); max-width: 40rem; margin: 1rem auto 2rem; position: relative; font-size: 1.05rem; }
.cta-form { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-form input { background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: .95rem 1.2rem; border-radius: 999px; min-width: 280px; font-size: 1rem; font-family: var(--font); }
.cta-form input:focus { outline: none; border-color: var(--accent); }
.cta-note { display: block; color: var(--faint); margin-top: 1.2rem; font-size: .85rem; position: relative; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { padding: 4px 22px; transition: border-color .2s; }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 600; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 18px; font-size: .96rem; }
.faq-item[open] { border-color: var(--border-strong); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin-top: 1rem; max-width: 24rem; font-size: .95rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-size: .9rem; margin-bottom: .9rem; }
.footer-cols a { display: block; color: var(--muted); font-size: .9rem; padding: .25rem 0; transition: color .2s; }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--faint); font-size: .85rem; flex-wrap: wrap; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; }
  .feature-grid, .steps, .trust-grid, .stat-band { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(10,15,30,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 12px 24px; }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav.open .nav-cta { display: flex; position: absolute; top: 320px; left: 0; right: 0; padding: 16px 24px; background: rgba(10,15,30,.96); }
  .hero { padding-top: 120px; }
  .hero-trust { gap: 1.4rem; }
  .feature-grid, .steps, .trust-grid, .stat-band { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
