/* ============================================================
   1. RESET & BASE  (horizontal-scroll killer)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
  font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Prevent flex/grid children from forcing overflow */
img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 { font-family: 'Halant', serif; font-weight: 400; line-height: 1.15; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; color: #a1a1a1; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }

:root {
  --primary: #7936fc;
  --primary-light: #a477fc;
  --primary-dark: #4404bc;
  --primary-glow: rgba(121, 54, 252, 0.35);
  --bg: #000000;
  --bg-card: #0d0d0d;
  --bg-card-2: #131318;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: #a1a1a1;
  --text-dim: #6e6e78;
  --success: #00e7b9;
  --warning: #ffb27e;
  --grad: linear-gradient(180deg, #4404bc 0%, #7936fc 47%, #a477fc 100%);
  --grad-soft: linear-gradient(180deg, rgba(121,54,252,0.18) 0%, rgba(121,54,252,0.02) 100%);
  --radius: 20px;
  --radius-pill: 100px;
  --ease: cubic-bezier(0.44, 0, 0.56, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container-pad: 20px;
  --container-max: 1200px;
}

/* ============================================================
   2. CONTAINER (never overflows)
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* All sections clip their own decorative overflow */
section {
  position: relative;
  overflow: hidden;
  overflow: clip;
}

.section { padding: 100px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.75rem, 5vw, 3.25rem); }
.section-head p { font-size: 1rem; margin-top: 14px; }

/* ============================================================
   3. TYPOGRAPHY / BUTTONS / PILLS
   ============================================================ */
.grad-text {
  background: linear-gradient(135deg, #a477fc 0%, #7936fc 50%, #4404bc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(121,54,252,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:active { transform: scale(0.98); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: #fff;
  box-shadow: inset 0 4px 20px rgba(255,255,255,0.05);
}
.btn-ghost:active { transform: scale(0.98); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 15px 30px; font-size: 15px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  background: rgba(121,54,252,0.15);
  border: 1px solid rgba(121,54,252,0.25);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  color: var(--primary-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 100%;
}
.pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 10px var(--primary-light);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.5; } }

/* ============================================================
   4. HEADER / NAV  (fully responsive)
   ============================================================ */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100%;
  padding: 12px 16px 0;
  padding-top: max(12px, env(safe-area-inset-top));
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 8px 8px 8px 20px;
  min-height: 56px;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 30px rgba(0,0,0,0.4);
  pointer-events: auto;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav-wrap.scrolled .nav {
  background: rgba(10, 10, 15, 0.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 40px rgba(0,0,0,0.55);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Halant', serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
  flex-shrink: 0;
  min-width: 0;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-family: 'Halant', serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
  flex-shrink: 0;
}

/* Desktop nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }

.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-cta .login {
  padding: 10px 16px;
  font-size: 14px;
  color: #fff;
  border-radius: var(--radius-pill);
}
.nav-cta .login:hover { background: rgba(255,255,255,0.06); }

/* Hamburger — hidden by default (desktop) */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 4px 16px rgba(121,54,252,0.4);
  place-items: center;
  position: relative;
  flex-shrink: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease);
}
.hamburger:active { transform: scale(0.94); }
.hamburger span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.hamburger span:nth-child(1) { transform: translateY(-4px); }
.hamburger span:nth-child(2) { transform: translateY(4px); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { transform: rotate(-45deg); }

/* ============================================================
   5. MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: linear-gradient(180deg, #06060a 0%, #0a0a12 100%);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  overflow: hidden;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mm-top {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Halant', serif;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
  min-width: 0;
}
.mm-brand .brand-mark {
  width: 32px;
  height: 32px;
  font-size: 16px;
  border-radius: 9px;
}
.mm-close {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.mm-close:active { transform: scale(0.92); }
.mm-close::before,
.mm-close::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.mm-close::before { transform: rotate(45deg); }
.mm-close::after  { transform: rotate(-45deg); }

.mm-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 10px 16px 20px;
}

.mm-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 16px 14px 8px;
}
.mm-body > .mm-label:first-child { padding-top: 4px; }

.mm-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 14px 16px;
  margin-bottom: 2px;
  border-radius: 14px;
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid transparent;
  -webkit-tap-highlight-color: transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.mm-link::after {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a1' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .5;
}
.mm-link:active {
  background: rgba(121,54,252,0.14);
  color: #fff;
  border-color: rgba(121,54,252,0.28);
}
.mm-link.is-active {
  background: rgba(121,54,252,0.12);
  color: #fff;
  border-color: rgba(121,54,252,0.25);
}
.mm-link.is-active::after {
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a477fc' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}

.mm-bottom {
  flex-shrink: 0;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease);
}
.mm-btn:active { transform: scale(0.98); }
.mm-btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}
.mm-btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(121,54,252,0.4);
}
.mm-btn svg { flex-shrink: 0; }

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  max-width: 100%;
  background: radial-gradient(circle, rgba(121,54,252,0.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(1.85rem, 6vw, 4.2rem);
  margin: 22px auto 18px;
  max-width: 900px;
}
.hero h1 .line-muted { color: var(--text-dim); display: block; }
.hero-sub {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 1rem;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Dashboard mock */
.hero-visual {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(121,54,252,0.08) 0%, rgba(121,54,252,0) 60%);
  border: 1px solid var(--border);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 80px rgba(121,54,252,0.15);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 70%, transparent 100%);
  mask-image: linear-gradient(#000 70%, transparent 100%);
}
.dash {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 420px;
  background: rgba(13,13,18,0.9);
}
.dash-side {
  border-right: 1px solid var(--border);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0,0,0,0.3);
}
.dash-side .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Halant', serif;
  font-size: 16px;
  margin-bottom: 20px;
}
.dash-side .logo .brand-mark { width: 20px; height: 20px; font-size: 12px; border-radius: 6px; }
.dash-side .item { padding: 9px 12px; border-radius: 10px; font-size: 13px; color: var(--text-dim); }
.dash-side .item.active { background: rgba(121,54,252,0.15); color: var(--primary-light); }

.dash-main { padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.dash-top h4 { font-family: 'Geist', sans-serif; font-size: 15px; font-weight: 500; color: #fff; }
.dash-top .search {
  flex: 1;
  max-width: 240px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-dim);
}
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.stat .label { font-size: 11px; color: var(--text-dim); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.stat .val { font-size: 18px; font-family: 'Geist', sans-serif; font-weight: 600; color: #fff; }
.stat .val .up { font-size: 11px; color: var(--success); margin-left: 6px; }

.dash-chart {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  min-height: 140px;
}
.dash-chart .bars { display: flex; align-items: flex-end; gap: 6px; height: 100px; margin-top: 10px; }
.dash-chart .bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
  transform-origin: bottom;
  transform: scaleY(0);
  animation: barGrow 1.2s var(--ease-out) forwards;
}
@keyframes barGrow { to { transform: scaleY(1); } }

/* ============================================================
   7. TRUST
   ============================================================ */
.trust { padding: 30px 0 10px; text-align: center; }
.trust p { font-size: 12px; color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 32px;
  opacity: 0.55;
}
.trust-logos span { font-family: 'Halant', serif; font-size: 17px; color: #fff; }

/* ============================================================
   8. STATS SECTION
   ============================================================ */
.stats-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: radial-gradient(ellipse at 15% 50%, rgba(121,54,252,0.12) 0%, transparent 55%),
              radial-gradient(ellipse at 85% 50%, rgba(68,4,188,0.1) 0%, transparent 55%),
              linear-gradient(180deg, #050508 0%, #080810 50%, #050508 100%);
}
.stats-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.stats-left { max-width: 520px; }
.indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.indicator-pill .line { width: 36px; height: 1px; background: linear-gradient(90deg, transparent, rgba(164,119,252,0.6)); }
.indicator-pill .line.right { background: linear-gradient(270deg, transparent, rgba(164,119,252,0.6)); }
.indicator-pill .dot-s {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 12px var(--primary-light);
}
.stats-title { font-size: clamp(1.75rem, 5vw, 3rem); margin-bottom: 28px; color: #fff; }
.stats-title .grad-text { background: linear-gradient(135deg, #b8a2ff 0%, #8b6fff 60%, #6a4df0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 6px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  max-width: 100%;
}
.avatar-stack { display: flex; flex-shrink: 0; }
.avatar-stack img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #0a0a12; object-fit: cover; margin-left: -10px; }
.avatar-stack img:first-child { margin-left: 0; }
.rating-content { display: flex; flex-direction: column; min-width: 0; }
.rating-top { display: flex; align-items: center; gap: 6px; font-family: 'Geist', sans-serif; font-size: 13px; font-weight: 600; color: #fff; }
.rating-stars { color: #fbbf24; letter-spacing: -0.05em; font-size: 13px; }
.rating-sub { font-size: 11px; color: var(--text-dim); }

.stats-right { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.stat-block { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat-number {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.stat-number.c-1 { background-image: linear-gradient(180deg, #6FA3FF 0%, #3D6EFF 100%); }
.stat-number.c-2 { background-image: linear-gradient(180deg, #BCA8FF 0%, #8B6FFF 100%); }
.stat-number.c-3 { background-image: linear-gradient(180deg, #A78BFA 0%, #7C5CF6 100%); }
.stat-number.c-4 { background-image: linear-gradient(180deg, #F0A0FF 0%, #D96FF9 100%); }
.stat-label { font-size: 14px; color: var(--text-muted); }

/* ============================================================
   9. FEATURES / PLATFORM / BENTO
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(121,54,252,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(121,54,252,0.15);
  border: 1px solid rgba(121,54,252,0.25);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 20px;
  position: relative;
  z-index: 1;
}
.feature-card h3 { font-family: 'Geist', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 6px; position: relative; z-index: 1; }
.feature-card p { font-size: 13.5px; position: relative; z-index: 1; }

.platform-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.bento:hover { transform: translateY(-4px); border-color: rgba(121,54,252,0.35); }
.bento h3 { font-family: 'Geist', sans-serif; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.bento p { font-size: 13.5px; }
.bento.span-2 { grid-column: span 2; }
.bento .num { font-family: 'Halant', serif; font-size: 40px; color: var(--primary-light); opacity: 0.4; line-height: 1; margin-bottom: 12px; }

/* ============================================================
   10. INTEGRATIONS ORBIT
   ============================================================ */
.orbit-stage {
  position: relative;
  width: min(560px, 88%);
  aspect-ratio: 1 / 1;
  margin: 30px auto 0;
  --orbit-radius: 40%;
}
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.06);
  transform: translate(-50%, -50%);
}
.orbit-ring.r1 { width: 100%; height: 100%; }
.orbit-ring.r2 { width: 78%; height: 78%; border-color: rgba(121,54,252,0.15); }
.orbit-ring.r3 { width: 46%; height: 46%; }
.orbit-center-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 62%; height: 62%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(121,54,252,0.5) 0%, rgba(121,54,252,0.1) 45%, transparent 72%);
  filter: blur(28px);
  z-index: 1;
}
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(80px, 20%, 116px);
  height: clamp(80px, 20%, 116px);
  transform: translate(-50%, -50%);
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff 0%, #ece7ff 100%);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 24px 60px rgba(121,54,252,0.42), 0 0 90px rgba(121,54,252,0.35);
  display: grid;
  place-items: center;
  z-index: 3;
}
.orbit-center svg { width: 58%; height: 58%; }
.orbit-item {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(52px, 13%, 78px);
  height: clamp(52px, 13%, 78px);
  margin-top: calc(clamp(52px, 13%, 78px) / -2);
  margin-left: calc(clamp(52px, 13%, 78px) / -2);
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 0%, #f2effc 100%);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 4px 14px rgba(121,54,252,0.18);
  display: grid;
  place-items: center;
  z-index: 2;
  transform: rotate(var(--angle)) translateY(calc(-1 * var(--orbit-radius) * 5.6)) rotate(calc(-1 * var(--angle)));
}
.orbit-item svg { width: 52%; height: 52%; }

.integrations-meta { margin-top: 50px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 32px; }
.integrations-meta .item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.integrations-meta .item strong { color: #fff; font-weight: 500; }
.integrations-meta .dot-m { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-light); box-shadow: 0 0 10px var(--primary-light); }

/* ============================================================
   11. HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: rgba(121,54,252,0.35); }
.step-num { font-family: 'Halant', serif; font-size: 36px; line-height: 1; margin-bottom: 16px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step h3 { font-family: 'Geist', sans-serif; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13.5px; }

/* ============================================================
   12. PARTNER
   ============================================================ */
.partner {
  background: linear-gradient(180deg, rgba(121,54,252,0.12) 0%, rgba(68,4,188,0.05) 100%);
  border: 1px solid rgba(121,54,252,0.2);
  border-radius: 26px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.partner::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(121,54,252,0.35) 0%, transparent 65%);
  pointer-events: none;
}
.partner > * { position: relative; z-index: 1; }
.partner h2 { font-size: clamp(1.5rem, 4.5vw, 2.75rem); margin: 18px 0 16px; }
.partner p { max-width: 560px; margin: 0 auto 28px; }
.partner-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0 28px; text-align: left; }
.perk { background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.perk .emoji { font-size: 20px; margin-bottom: 8px; display: block; }
.perk h4 { font-family: 'Geist', sans-serif; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.perk p { font-size: 12.5px; }

/* ============================================================
   13. PRICING
   ============================================================ */
.pricing-toggle { display: flex; justify-content: center; margin-bottom: 32px; }
.toggle-wrap {
  display: inline-flex;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  position: relative;
}
.toggle-wrap .slider {
  position: absolute;
  top: 4px; left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--grad);
  border-radius: var(--radius-pill);
  transition: transform .4s var(--ease);
}
.toggle-wrap.yearly .slider { transform: translateX(100%); }
.toggle-wrap button {
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  border-radius: var(--radius-pill);
  position: relative;
  z-index: 1;
  min-width: 96px;
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
  position: relative;
}
.price-card:hover { transform: translateY(-5px); border-color: rgba(121,54,252,0.35); }
.price-card.popular {
  background: linear-gradient(180deg, rgba(121,54,252,0.18) 0%, rgba(121,54,252,0.02) 100%);
  border-color: rgba(121,54,252,0.4);
}
.price-card.free {
  background: linear-gradient(180deg, rgba(43, 119, 41, 0.18) 0%, rgba(80, 20, 199, 0.02) 100%);
  border-color: rgba(121,54,252,0.4);
}
.price-card.popular::after {
  content: 'POPULAR';
  position: absolute;
  top: -12px; left: 24px;
  background: linear-gradient(90deg, var(--warning), #ff520d);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.price-card.free::after {
  content: 'FREE';
  position: absolute;
  top: -12px; left: 24px;
  background: linear-gradient(90deg, var(--primary-dark), #23a112);
  color: #f8f4f4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.price-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.price-top h3 { font-family: 'Geist', sans-serif; font-size: 18px; font-weight: 600; }
.price-amount { font-family: 'Halant', serif; font-size: 42px; line-height: 1; letter-spacing: -0.04em; margin-bottom: 6px; transition: opacity .25s var(--ease); }
.price-amount small { font-size: 13px; font-family: 'Geist', sans-serif; color: var(--text-muted); }
.price-desc { font-size: 14px; margin-bottom: 22px; min-height: 42px; }
.price-points { list-style: none; margin: 0 0 24px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); }
.price-points li::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(121,54,252,0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a477fc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / 10px;
  margin-top: 3px;
}
.price-card .btn { width: 100%; }

/* ============================================================
   14. FAQ
   ============================================================ */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  transition: color .25s var(--ease);
}
.faq-q:hover { color: var(--primary-light); }
.faq-q .icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--primary-dark), var(--primary-light));
  position: relative;
  transition: transform .35s var(--ease);
}
.faq-q .icon::before,
.faq-q .icon::after {
  content: '';
  position: absolute;
  background: #fff;
  border-radius: 2px;
  top: 50%;
  left: 50%;
}
.faq-q .icon::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-q .icon::after  { width: 2px; height: 10px; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-item.open .faq-q .icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q .icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .3s var(--ease); }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }
.faq-a p { font-size: 15px; }

/* ============================================================
   15. FINAL CTA
   ============================================================ */
.final-cta { text-align: center; padding: 80px 0 50px; position: relative; }
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  max-width: 100%;
  background: radial-gradient(ellipse, rgba(121,54,252,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { font-size: clamp(1.75rem, 5vw, 3rem); margin: 18px 0 18px; }
.final-cta p { max-width: 540px; margin: 0 auto 28px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   16. FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  margin-top: 50px;
  background: linear-gradient(180deg, transparent 0%, rgba(121,54,252,0.05) 100%);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 320px; margin-bottom: 14px; }
.footer-brand a { color: var(--text-muted); font-size: 14px; }
.footer-brand a:hover { color: var(--primary-light); }
.footer-col h4 { font-family: 'Geist', sans-serif; font-size: 12px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-muted); }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
}
.footer-bottom .socials { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom .socials a:hover { color: var(--primary-light); }

/* ============================================================
   17. REVEAL + LOADER
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .06s; }
.reveal-d2 { transition-delay: .12s; }
.reveal-d3 { transition-delay: .18s; }
.reveal-d4 { transition-delay: .24s; }
.reveal-d5 { transition-delay: .3s; }
.reveal-d6 { transition-delay: .36s; }

.loader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: var(--grad);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-family: 'Halant', serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 60px var(--primary-glow);
}
.loader-bar { width: 150px; height: 3px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 3px; animation: loaderSlide 1.2s var(--ease) infinite; }
@keyframes loaderSlide { 0% { transform: translateX(-150%); } 100% { transform: translateX(400%); } }

/* ============================================================
   18. RESPONSIVE — TABLET ≤1024px
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none !important; }
  .hamburger { display: grid !important; }

  .stats-wrap { grid-template-columns: 1fr; gap: 40px; }
  .stats-left { max-width: 100%; }
  .stats-right { gap: 30px 26px; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .platform-bento { grid-template-columns: repeat(2, 1fr); }
  .bento.span-2 { grid-column: span 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .partner-perks { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}

/* ============================================================
   19. RESPONSIVE — MOBILE ≤768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --container-pad: 16px; }

  .section { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }

  /* Nav tighter */
  .nav-wrap {
    padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  }
  .nav { padding: 7px 7px 7px 16px; min-height: 52px; gap: 8px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-mark { width: 24px; height: 24px; font-size: 13px; border-radius: 7px; }
  .hamburger { width: 42px; height: 42px; min-width: 42px; }

  /* Hero */
  .hero { padding: 110px 0 50px; }
  .hero h1 { font-size: clamp(1.65rem, 8vw, 2.4rem); }
  .hero-sub { font-size: .95rem; margin-bottom: 26px; }
  .hero-cta { gap: 10px; margin-bottom: 40px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero::before { width: 480px; height: 480px; top: -200px; }

  /* Stats */
  .stats-section { padding: 60px 0; }
  .stats-right { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .stats-title { font-size: clamp(1.5rem, 6.5vw, 2.1rem); }
  .indicator-pill { gap: 8px; font-size: 11px; }
  .indicator-pill .line { width: 26px; }
  .stat-number { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .stat-label { font-size: 12.5px; }

  /* Grids */
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .platform-bento { grid-template-columns: 1fr; gap: 12px; }
  .bento.span-2 { grid-column: span 1; }

  .partner { padding: 40px 20px; border-radius: 22px; }
  .partner-perks { grid-template-columns: 1fr; gap: 12px; }
  .partner h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); }

  .trust { padding: 24px 0 14px; }
  .trust-logos { gap: 14px 24px; }
  .trust-logos span { font-size: 15px; }

  .dash-main { padding: 16px 14px; gap: 12px; }
  .dash-top { flex-direction: column; align-items: stretch; gap: 8px; }
  .dash-top .search { max-width: 100%; width: 100%; }
  .dash-stats { grid-template-columns: 1fr; }

  .price-card { padding: 24px 20px; }
  .price-amount { font-size: 36px; }
  .toggle-wrap button { padding: 9px 16px; font-size: 12px; min-width: 84px; }

  .faq-q { font-size: 15px; padding: 18px 0; }
  .faq-a p { font-size: 14px; }

  /* Orbit smaller */
  .orbit-stage { width: min(420px, 92%); }
  .orbit-item { border-radius: 14px; }
  .orbit-center { border-radius: 18px; }
  .integrations-meta { gap: 12px 20px; margin-top: 36px; }
  .integrations-meta .item { font-size: 12px; }

  .footer { padding: 44px 0 22px; margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-bottom .socials { justify-content: center; }

  .final-cta { padding: 60px 0 36px; }
  .final-cta .cta-row .btn { flex: 1 1 100%; }
}

/* ============================================================
   20. RESPONSIVE — SMALL PHONES ≤400px
   ============================================================ */
@media (max-width: 400px) {
  :root { --container-pad: 14px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 22px; height: 22px; font-size: 12px; border-radius: 6px; }
  .hamburger { width: 40px; height: 40px; min-width: 40px; }

  .hero h1 { font-size: 1.55rem; }
  .hero-sub { font-size: .9rem; }

  .stats-right { grid-template-columns: 1fr; gap: 20px; }
  .stat-number { font-size: 2rem; }

  .toggle-wrap button { padding: 8px 12px; font-size: 11px; min-width: 72px; }
  .price-amount { font-size: 32px; }

  .step { padding: 20px 16px; }
  .step-num { font-size: 28px; }
  .bento { padding: 20px 16px; min-height: 150px; }
  .bento .num { font-size: 30px; }
  .feature-card { padding: 20px 16px; }

  .mm-link { font-size: 15px; padding: 12px 14px; min-height: 48px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
