/* ============================================================
   AROBIX — Premium Finance SaaS
   Design System: Deep Space + Electric Blue + Cyan
   Typography:  Space Grotesk (display) + Inter (body)
   Built for NexKeys Agency
   ============================================================ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:         #080C14;
  --bg-2:       #0D1220;
  --bg-card:    rgba(255,255,255,0.04);
  --bg-card-hv: rgba(255,255,255,0.07);

  /* Brand */
  --blue:       #0055FF;
  --blue-light: #3377FF;
  --cyan:       #00D4FF;
  --gold:       #FFB547;
  --green:      #10B981;
  --red:        #FF6B6B;
  --purple:     #7C3AED;

  /* Glow */
  --blue-glow:  rgba(0,85,255,0.35);
  --cyan-glow:  rgba(0,212,255,0.25);

  /* Text */
  --text:       #FFFFFF;
  --text-2:     rgba(255,255,255,0.65);
  --text-3:     rgba(255,255,255,0.38);

  /* Borders */
  --border:     rgba(255,255,255,0.08);
  --border-hv:  rgba(255,255,255,0.18);

  /* Gradients */
  --grad-blue:  linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
  --grad-text:  linear-gradient(135deg, #3377FF 0%, #00D4FF 100%);

  /* Typography */
  --font-head:  'Space Grotesk', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w:      1160px;
  --nav-h:      72px;
  --r:          16px;
  --r-sm:       10px;
  --r-pill:     100px;

  /* Motion */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  cursor: none;
}
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { border: none; font-family: inherit; cursor: none; }
input, textarea { font-family: inherit; }

/* Restore cursor on touch */
@media (pointer: coarse) {
  body, button, a { cursor: auto; }
}

/* Screen reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

/* ── CUSTOM CURSOR ───────────────────────────────────────── */
#cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--cyan); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s var(--ease), height .2s var(--ease);
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1.5px solid rgba(0,212,255,0.4);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s;
}
body.cursor-hover #cursor { width: 5px; height: 5px; }
body.cursor-hover #cursor-ring {
  width: 48px; height: 48px;
  border-color: var(--blue-light);
}
@media (pointer: coarse) { #cursor, #cursor-ring { display: none; } }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: 120px 0; }
@media (max-width: 768px) {
  .section-pad { padding: 80px 0; }
  .container   { padding: 0 16px; }
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 600; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-light {
  background: linear-gradient(135deg,#fff 0%, #a8d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: '';
  display: inline-block; width: 20px; height: 1.5px;
  background: var(--cyan);
}

.section-header {
  max-width: 600px;
  margin-bottom: 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { color: var(--text-2); font-size: 17px; line-height: 1.75; }
@media (max-width: 768px) {
  .section-header { margin-bottom: 44px; }
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  letter-spacing: .01em; white-space: nowrap;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .2s;
}
.btn::before {
  content: ''; position: absolute;
  inset: 0; background: rgba(255,255,255,.06);
  opacity: 0; transition: opacity .25s;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 0 28px var(--blue-glow);
}
.btn-primary:hover { box-shadow: 0 0 48px rgba(0,85,255,.5); }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-2);
  background: var(--bg-card);
}
.btn-ghost:hover { border-color: var(--border-hv); color: var(--text); }

.btn-white {
  background: #fff; color: var(--bg);
  font-weight: 700;
}
.btn-white:hover { background: rgba(255,255,255,.9); }

.btn-outline-white {
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  background: transparent;
}
.btn-outline-white:hover { border-color: #fff; color: #fff; }

.btn-sm   { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* Shimmer sweep on .magnetic buttons (inert until hover) */
.magnetic::after {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.15),transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--ease);
}
.magnetic:hover::after { left: 140%; }

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1200; height: var(--nav-h);
  transition: background .4s, border-color .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8,12,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: var(--nav-h);
}

.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: 18px;
  font-weight: 700; letter-spacing: .06em;
  color: var(--text); text-decoration: none;
  flex-shrink: 0;
}

.nav {
  display: flex; align-items: center; gap: 36px;
}
.nav-link {
  font-family: var(--font-head); font-size: 14px;
  font-weight: 500; color: var(--text-2);
  transition: color .2s; position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--grad-text);
  transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.header-actions {
  display: flex; align-items: center; gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer;
  transition: border-color .2s;
}
.hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--text-2);
  transition: transform .3s var(--ease), opacity .3s, width .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
#mainNav.mobile-open {
  display: flex; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,12,20,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px 36px;
  gap: 8px; z-index: 1100;
  animation: slide-down .35s var(--ease);
}
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: none; }
}
#mainNav.mobile-open .nav-link {
  font-size: 18px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
#mainNav.mobile-open .nav-cta {
  margin-top: 12px;
  display: inline-flex; width: 100%;
  justify-content: center;
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible          { opacity: 1; transform: none; }
.reveal-d1               { transition-delay: .1s; }
.reveal-d2               { transition-delay: .2s; }
.reveal-d3               { transition-delay: .3s; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 80px) 0 0;
  min-height: 100svh;
  display: flex; flex-direction: column;
}

/* Background layers */
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}

.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .18;
}
.blob-1 {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -200px; left: -100px;
  animation: blob-drift 12s ease-in-out infinite alternate;
}
.blob-2 {
  width: 500px; height: 500px;
  background: var(--cyan);
  top: 10%; right: -150px;
  animation: blob-drift 16s ease-in-out infinite alternate-reverse;
}
.blob-3 {
  width: 400px; height: 400px;
  background: var(--purple);
  bottom: 10%; left: 30%;
  opacity: .10;
  animation: blob-drift 20s ease-in-out infinite alternate;
}
@keyframes blob-drift {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.12) translate(30px,20px); }
}

#particleCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Hero content layout */
.hero-layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  padding-bottom: 80px;
}

/* Left side: Copy */
.hero-copy { max-width: 560px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0,212,255,.3);
  background: rgba(0,212,255,.06);
  font-family: var(--font-head); font-size: 12px;
  font-weight: 600; color: var(--cyan);
  margin-bottom: 28px;
  animation: badge-pulse 3s ease-in-out infinite;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: dot-blink 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); }
  50%      { box-shadow: 0 0 0 6px rgba(0,212,255,.06); }
}
@keyframes dot-blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}

.hero-title {
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.title-highlight {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-2); line-height: 1.75;
  max-width: 480px; margin-bottom: 36px;
}

/* Subscribe form */
.subscribe-form { margin-bottom: 32px; }
.subscribe-inner {
  display: flex; gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 5px 5px 5px 20px;
  transition: border-color .25s, box-shadow .25s;
  max-width: 460px;
}
.subscribe-inner:focus-within {
  border-color: rgba(0,85,255,.6);
  box-shadow: 0 0 0 3px rgba(0,85,255,.12);
}
.subscribe-inner input {
  flex: 1; border: none; background: transparent;
  color: var(--text); font-size: 14px;
  outline: none; min-width: 0;
}
.subscribe-inner input::placeholder { color: var(--text-3); }
.subscribe-inner .btn { flex-shrink: 0; font-size: 13px; padding: 11px 20px; }

.form-note {
  font-size: 12px; color: var(--text-3);
  margin-top: 10px; padding-left: 4px;
}
.form-success {
  font-size: 13px; color: var(--green);
  margin-top: 8px; padding-left: 4px;
  min-height: 20px;
}

/* Trust strip inside hero */
.hero-trust {
  display: flex; align-items: center; gap: 14px;
}
.trust-avatars {
  display: flex;
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 11px;
  font-weight: 700; color: #fff;
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.hero-trust p { font-size: 13px; color: var(--text-2); }
.hero-trust strong { color: var(--text); }

/* ── DASHBOARD MOCK ──────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.dashboard-mock {
  width: 100%; max-width: 480px;
  background: rgba(13,18,32,0.9);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 32px 80px rgba(0,0,0,.6),
    0 0 80px rgba(0,85,255,.08);
  backdrop-filter: blur(20px);
  animation: float-card 6s ease-in-out infinite;
}
@keyframes float-card {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.dm-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dm-title {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-size: 13px;
  font-weight: 600; color: var(--text);
}
.dm-dot { width: 7px; height: 7px; border-radius: 50%; }
.dm-dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.dm-period { font-size: 12px; color: var(--text-3); }

/* Stats row */
.dm-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 12px; margin-bottom: 20px;
}
.dm-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.ds-label { font-size: 10px; color: var(--text-3); font-weight: 500; }
.ds-value {
  font-family: var(--font-head); font-size: 15px;
  font-weight: 700; color: var(--text);
}
.ds-delta { font-size: 10px; font-weight: 600; }
.ds-delta.up   { color: var(--green); }
.ds-delta.down { color: var(--gold); }

/* Bar chart */
.dm-chart { margin-bottom: 20px; }
.dc-label {
  font-size: 11px; color: var(--text-3);
  margin-bottom: 10px; font-weight: 500;
}
.dc-bars {
  display: flex; align-items: flex-end;
  gap: 8px; height: 64px;
}
.dc-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: rgba(0,85,255,.25);
  height: var(--h);
  position: relative;
  transition: background .3s;
  cursor: default;
}
.dc-bar::after {
  content: attr(data-label);
  position: absolute; bottom: -18px; left: 50%;
  transform: translateX(-50%);
  font-size: 9px; color: var(--text-3);
  white-space: nowrap;
}
.dc-bar.active { background: var(--grad-blue); }
.dc-bar:hover  { background: rgba(0,85,255,.45); }

/* Invoice rows */
.dm-invoices {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 28px;
}
.di-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  border-radius: var(--r-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: background .2s, border-color .2s;
}
.di-row:hover { background: var(--bg-card-hv); border-color: var(--border-hv); }

.di-avatar {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.di-info { flex: 1; min-width: 0; }
.di-info span { display: block; font-size: 12px; font-weight: 600; color: var(--text); }
.di-info small { font-size: 10px; color: var(--text-3); }
.di-amount {
  font-family: var(--font-head); font-size: 12px;
  font-weight: 700; color: var(--text); flex-shrink: 0;
}
.di-amount.paid    { color: var(--green); }
.di-amount.pending { color: var(--gold); }

/* Floating cards */
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(13,18,32,0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  z-index: 2;
}
.fc-title { font-family: var(--font-head); font-size: 12px; font-weight: 700; color: var(--text); }
.fc-sub   { font-size: 11px; color: var(--text-2); }

.float-card-1 { top: -20px; left: -40px; }
.float-card-2 { bottom: -16px; right: -20px; }

.float-anim-1 { animation: float-1 5s ease-in-out infinite; }
.float-anim-2 { animation: float-2 7s ease-in-out infinite; }

@keyframes float-1 {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-8px) rotate(0deg); }
}
@keyframes float-2 {
  0%,100% { transform: translateY(0) rotate(1deg); }
  50%      { transform: translateY(8px) rotate(0deg); }
}

/* ── LOGO STRIP ──────────────────────────────────────────── */
.logo-strip {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: rgba(255,255,255,.015);
}
.strip-label {
  font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 18px;
}
.strip-logos {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.logo-text {
  font-family: var(--font-head); font-size: 14px;
  font-weight: 700; color: var(--text-3);
  letter-spacing: .04em; text-transform: uppercase;
  transition: color .2s;
}
.logo-text:hover { color: var(--text-2); }
.logo-sep { color: var(--border); }

/* ── STATS SECTION ───────────────────────────────────────── */
.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 60px 0;
}
.stats-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center; gap: 0;
}
.stat-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 16px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head); font-size: clamp(36px,4vw,56px);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 13px; color: var(--text-3);
  font-weight: 500; letter-spacing: .02em;
}
.stat-divider {
  width: 1px; height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── FEATURES BENTO ──────────────────────────────────────── */
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color .35s, background .35s, transform .35s var(--ease), box-shadow .35s;
  position: relative; overflow: hidden;
}
.bento-card::before {
  content: ''; position: absolute;
  inset: 0; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(0,85,255,.06), transparent);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
  border-color: var(--border-hv);
  background: var(--bg-card-hv);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.bento-card h3 { margin: 16px 0 10px; }
.bento-card p  { font-size: 14px; color: var(--text-2); line-height: 1.75; }

.bento-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}

/* Large card spans 2 cols */
.bento-large {
  grid-column: span 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; align-items: start;
}
.bento-large .bento-visual { grid-column: 1; grid-row: 1 / 4; }

/* Wide card spans 2 cols */
.bento-wide {
  grid-column: span 2;
  display: flex; flex-direction: column; gap: 16px;
}

/* Invoice mini-preview inside bento */
.invoice-preview {
  background: rgba(0,0,0,.3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.inv-line {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-2);
}
.inv-amount { font-size: 22px; font-weight: 700; font-family: var(--font-head); color: var(--text); }
.inv-meta   { font-size: 11px; color: var(--text-3); }
.inv-status { font-size: 10px; font-weight: 700; }
.paid-badge {
  background: rgba(16,185,129,.15);
  color: var(--green);
  padding: 2px 8px; border-radius: 20px;
  border: 1px solid rgba(16,185,129,.25);
}
.inv-bar {
  height: 3px; background: var(--border); border-radius: 2px;
  position: relative; overflow: hidden;
}
.inv-bar::after {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--p); background: var(--green);
}

/* Integration pills */
.integration-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.int-pill {
  padding: 5px 12px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 12px; font-weight: 600;
  color: var(--text-2);
  transition: background .2s, border-color .2s, color .2s;
}
.int-pill:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--c,var(--blue));
  color: var(--text);
}
.int-pill.more { color: var(--text-3); }

/* ── HOW IT WORKS ────────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; position: relative;
}
.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  transition: border-color .3s, transform .35s var(--ease);
}
.step-card:hover {
  border-color: rgba(0,85,255,.4);
  transform: translateY(-4px);
}
.step-num {
  font-family: var(--font-head); font-size: 48px;
  font-weight: 800; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .3; margin-bottom: 16px;
  display: block;
}
.step-body h3 { margin-bottom: 10px; }
.step-body p  { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.step-connector {
  display: none;
  position: absolute; right: -13px; top: 44px;
  width: 26px; height: 26px;
  background: var(--bg-2); border-radius: 50%;
  border: 1px solid var(--border);
  z-index: 1;
}
.step-card:not(:last-child) .step-connector { display: block; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testi-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
  display: flex; flex-direction: column; gap: 20px;
}
.testi-card:hover {
  border-color: var(--border-hv);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.testi-card.testi-featured {
  border-color: rgba(0,85,255,.4);
  background: rgba(0,85,255,.06);
}
.testi-stars { font-size: 14px; color: var(--gold); letter-spacing: 2px; }
.testi-card > p {
  font-size: 15px; color: var(--text-2); line-height: 1.8;
  flex: 1;
}
.testi-card > p strong { color: var(--text); }
.testi-card footer {
  display: flex; align-items: center; gap: 12px;
}
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 13px;
  font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-card footer div { display: flex; flex-direction: column; gap: 2px; }
.testi-card footer strong { font-size: 14px; font-weight: 600; }
.testi-card footer span  { font-size: 12px; color: var(--text-3); }

/* ── PRICING ─────────────────────────────────────────────── */
.pricing-toggle {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 48px;
}
.toggle-label {
  font-size: 14px; font-weight: 600; color: var(--text-3);
  transition: color .25s;
}
.toggle-label.active { color: var(--text); }
.toggle-switch {
  position: relative;
  width: 48px; height: 26px; border-radius: var(--r-pill);
  background: var(--bg-card); border: 1px solid var(--border);
  cursor: pointer; transition: background .3s;
}
.toggle-switch.on { background: var(--grad-blue); border-color: transparent; }
.toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--text-3);
  transition: transform .3s var(--ease), background .3s;
}
.toggle-switch.on .toggle-thumb {
  transform: translateX(22px); background: #fff;
}
.savings-badge {
  background: rgba(16,185,129,.15);
  color: var(--green); font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: var(--r-pill);
  border: 1px solid rgba(16,185,129,.25);
  margin-left: 4px;
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; align-items: start;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
  position: relative;
  transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
}
.price-card:hover {
  border-color: var(--border-hv);
  transform: translateY(-4px);
}
.price-card-featured {
  border-color: rgba(0,85,255,.5);
  background: rgba(0,85,255,.07);
  box-shadow: 0 0 0 1px rgba(0,85,255,.2), 0 32px 64px rgba(0,85,255,.1);
}
.price-card-featured:hover { box-shadow: 0 0 0 1px rgba(0,85,255,.4), 0 40px 80px rgba(0,85,255,.15); }

.pc-popular {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-blue);
  color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 16px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.pc-name {
  font-family: var(--font-head); font-size: 13px;
  font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 12px;
}
.pc-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 8px;
}
.pc-amount {
  font-family: var(--font-head); font-size: 44px;
  font-weight: 700; color: var(--text); line-height: 1;
}
.pc-period { font-size: 14px; color: var(--text-3); }
.pc-desc   { font-size: 14px; color: var(--text-2); margin-bottom: 28px; line-height: 1.6; }
.pc-features {
  display: flex; flex-direction: column;
  gap: 12px; margin-bottom: 32px;
}
.pc-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-2);
}
.pc-header { margin-bottom: 28px; }

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  position: relative; overflow: hidden;
  padding: 120px 0; text-align: center;
  background: var(--bg-2);
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-blob-1 {
  position: absolute; width: 600px; height: 600px;
  background: var(--blue); filter: blur(120px);
  opacity: .12; top: -150px; left: -100px;
  animation: blob-drift 14s ease-in-out infinite alternate;
}
.cta-blob-2 {
  position: absolute; width: 400px; height: 400px;
  background: var(--cyan); filter: blur(100px);
  opacity: .08; bottom: -100px; right: -50px;
  animation: blob-drift 18s ease-in-out infinite alternate-reverse;
}
.cta-inner {
  position: relative; z-index: 1;
  max-width: 640px; margin: 0 auto;
}
.cta-inner h2 { font-size: clamp(36px,4.5vw,58px); margin-bottom: 20px; }
.cta-inner p  { font-size: 17px; color: var(--text-2); margin-bottom: 36px; }
.cta-actions  { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-note     { font-size: 12px; color: var(--text-3); margin-top: 20px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px; color: var(--text-3); line-height: 1.75;
  max-width: 260px; margin-bottom: 20px;
}
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  transition: background .2s, border-color .2s, color .2s;
}
.social-link:hover {
  background: var(--bg-card-hv);
  border-color: var(--border-hv); color: var(--text);
}

.footer-col-title {
  font-family: var(--font-head); font-size: 11px;
  font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a  { font-size: 14px; color: var(--text-2); transition: color .2s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom { padding: 24px 0; }
.footer-bottom-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-3); }
.nk-credit { color: var(--cyan); transition: color .2s; }
.nk-credit:hover { color: var(--blue-light); }
.footer-badges {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.badge-item {
  font-size: 11px; font-weight: 600;
  color: var(--text-3);
  padding: 4px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

/* ≤ 1100px */
@media (max-width: 1100px) {
  .features-bento   { grid-template-columns: repeat(2,1fr); }
  .bento-large      { grid-column: span 2; }
  .bento-wide       { grid-column: span 2; }
  .steps-grid       { grid-template-columns: repeat(2,1fr); }
  .step-card:nth-child(2) .step-connector { display: none; }
  .stats-grid       { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-divider:nth-child(4) { display: none; }
  .stat-card:nth-child(5),
  .stat-card:nth-child(7)    { border-top: 1px solid var(--border); }
}

/* ≤ 900px — hero stacks */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 60px;
  }
  .hero-copy   { max-width: 100%; }
  .hero-sub    { margin: 0 auto 32px; }
  .hero-trust  { justify-content: center; }
  .subscribe-inner { max-width: 100%; }
  .subscribe-form  { display: flex; flex-direction: column; align-items: center; }
  .subscribe-inner { width: 100%; max-width: 480px; }
  .hero-visual { width: 100%; justify-content: center; }
  .dashboard-mock { max-width: 420px; }
  .float-card  { display: none; }
  .section-header { max-width: 100%; text-align: center; }
  .section-header .eyebrow { justify-content: center; }

  /* nav */
  .nav          { display: none; }
  .hamburger    { display: flex; }
  .btn-sm.nav-cta-desktop { display: none; }

  .testi-grid   { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

/* ≤ 768px */
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
  .steps-grid   { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .features-bento { grid-template-columns: 1fr; }
  .bento-large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .bento-wide  { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .dashboard-mock { padding: 16px; }
  .dm-stats { grid-template-columns: 1fr 1fr; }
  .dm-stats .dm-stat:last-child { grid-column: span 2; }
}

/* ≤ 480px */
@media (max-width: 480px) {
  .hero-badge    { font-size: 11px; }
  .subscribe-inner { flex-direction: column; padding: 12px; border-radius: var(--r); }
  .subscribe-inner .btn { width: 100%; justify-content: center; }
  .strip-logos { gap: 14px; }
  .logo-text   { font-size: 12px; }
  .pricing-toggle { flex-wrap: wrap; justify-content: center; }
  .dm-stats { grid-template-columns: 1fr; }
  .dm-stats .dm-stat:last-child { grid-column: span 1; }
}

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}