@import url('./theme.css');

/* ─────────────────────────────────────────────
   Reset & Base
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ─────────────────────────────────────────────
   Utility Classes
───────────────────────────────────────────── */
.hidden { display: none !important; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.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;
}

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

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

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ─────────────────────────────────────────────
   Navigation
───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6,6,9,0.80);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  color: #fff;
  letter-spacing: -0.05em;
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
}

.nav__logo-text {
  font-weight: 700;
  color: var(--text);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav__links li a {
  padding: 6px 13px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav__links li a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__link {
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-xs);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 24px rgba(124,58,237,0.35);
}

.nav__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(124,58,237,0.5);
}

.nav__mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.nav__mobile-toggle:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

/* ─────────────────────────────────────────────
   Buttons
───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 40px rgba(124,58,237,0.45), 0 4px 20px rgba(0,0,0,0.4);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.btn-primary:hover {
  opacity: 0.93;
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(124,58,237,0.6), 0 8px 30px rgba(0,0,0,0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: rgba(124,58,237,0.45);
  background: rgba(124,58,237,0.07);
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────
   Hero Section
───────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124,58,237,0.16) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-glow 7s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -25%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(45,212,191,0.10) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-glow 9s ease-in-out infinite reverse;
}

/* Third glow — blue center-right */
.hero .hero__glow-mid {
  position: absolute;
  top: 40%;
  right: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-glow 11s ease-in-out infinite;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 16px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.10);
  border: 1px solid rgba(124,58,237,0.28);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #c4b5fd;
  width: fit-content;
  animation: fadeInUp 0.5s ease both;
  position: relative;
}

.hero__badge::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,58,237,0.4), rgba(45,212,191,0.3), rgba(124,58,237,0.4));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  animation: fadeInUp 0.5s ease 0.08s both;
}

.hero__title .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 500px;
  animation: fadeInUp 0.5s ease 0.16s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.5s ease 0.24s both;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeInUp 0.5s ease 0.32s both;
}

.hero__trust-text {
  font-size: 12.5px;
  color: var(--text-dim);
}

.hero__trust-text strong {
  color: var(--text-muted);
}

.hero__trust-dot {
  width: 3px;
  height: 3px;
  background: var(--text-dim);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__panel {
  animation: fadeInUp 0.6s ease 0.18s both;
}

/* ─────────────────────────────────────────────
   Signal Panel (.sp) — Live Demo Hero Card
───────────────────────────────────────────── */
.sp {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sp::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, rgba(124,58,237,0.25) 0%, rgba(45,212,191,0.10) 50%, transparent 80%);
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  z-index: 1;
}

/* ── Status bar */
.sp__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.sp__live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.sp__dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--green);
  animation: blink 2.5s ease-in-out infinite;
}

.sp__conf {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.sp__conf--hi {
  color: #a78bfa;
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.25);
}

/* ── Device identity */
.sp__device {
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sp__brand {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  min-height: 14px;
}

.sp__model {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 3px 0 8px;
}

.sp__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sp__chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.07);
}

.sp__chip--blue   { background: rgba(29,126,248,0.12); color: #60a5fa; border-color: rgba(29,126,248,0.2); }
.sp__chip--purple { background: rgba(129,140,248,0.12); color: #a78bfa; border-color: rgba(129,140,248,0.2); }
.sp__chip--dim    { background: rgba(255,255,255,0.03); color: var(--text-dim); }
.sp__chip--fam    { background: rgba(45,212,191,0.08); color: #2dd4bf; border-color: rgba(45,212,191,0.15); }

/* ── eSIM section */
.sp__esim {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.015);
}

.sp__esim-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sp__esim-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.sp__esim-icon--yes { background: rgba(16,185,129,0.1); color: var(--green); border-color: rgba(16,185,129,0.2); }
.sp__esim-icon--no  { background: rgba(244,63,94,0.1);  color: var(--red);   border-color: rgba(244,63,94,0.2); }

.sp__esim-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sp__esim-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 1px;
  transition: color 0.3s;
}

.sp__esim-kvs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.sp__kv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
}

.sp__kv > span:first-child {
  color: var(--text-dim);
  font-weight: 500;
  flex-shrink: 0;
}

.sp__kv > span:last-child {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Intelligence section */
.sp__intel {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sp__intel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp__sec-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sp__plan-pill {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a78bfa;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  padding: 2px 8px;
  border-radius: 999px;
}

.sp__profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-height: 24px;
}

.sp__profile-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid;
}

.sp__profile-conf {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
}

.sp__profile-why {
  width: 100%;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 1px;
}

.sp__profile-ph {
  font-size: 12px;
  color: var(--text-dim);
}

.sp__headline {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  font-style: italic;
  padding: 8px 10px;
  background: rgba(255,255,255,0.025);
  border-radius: var(--radius-xs);
  border-left: 2px solid rgba(124,58,237,0.4);
}

.sp__scores {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp__score {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp__score-lbl {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
  width: 72px;
  flex-shrink: 0;
}

.sp__score-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
}

.sp__score-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease, background 0.4s;
  width: 0%;
}

.sp__score-n {
  font-size: 11.5px;
  font-weight: 700;
  width: 22px;
  text-align: right;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: color 0.4s;
}

/* ── Signals section */
.sp__sigs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sp__sig-col {
  padding: 10px 12px;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sp__sig-col:last-child { border-right: none; }

.sp__sig-hd {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3px;
}

.sp__sig-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sp__sig-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sp__sig-txt {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Footer */
.sp__foot {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
}

.sp__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.sp__btn:hover {
  color: var(--text);
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.07);
}

/* ── Accordions */
.sp__acc {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sp__acc-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: rgba(255,255,255,0.02);
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: background var(--transition);
  text-align: left;
}

.sp__acc-hd:hover {
  background: rgba(124,58,237,0.06);
}

.sp__acc-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.sp__acc-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid;
}

.sp__acc-badge--free       { color: #94a3b8; background: rgba(148,163,184,0.08); border-color: rgba(148,163,184,0.15); }
.sp__acc-badge--starter    { color: #a78bfa; background: rgba(124,58,237,0.10); border-color: rgba(124,58,237,0.20); }
.sp__acc-badge--growth     { color: #60a5fa; background: rgba(29,126,248,0.10);  border-color: rgba(29,126,248,0.20); }
.sp__acc-badge--enterprise { color: #f59e0b; background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.20); }

.sp__acc-arrow {
  font-size: 10px;
  color: var(--text-dim);
  transition: transform 0.22s ease;
  display: inline-block;
  margin-left: 2px;
}

.sp__acc--open .sp__acc-arrow { transform: rotate(180deg); }

.sp__acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.sp__acc--open .sp__acc-body { max-height: 1400px; }

/* ── KV rows inside accordion body */
.sp__rows { display: flex; flex-direction: column; }

.sp__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
}

.sp__row > span:first-child {
  color: var(--text-dim);
  font-weight: 500;
  flex-shrink: 0;
}

.sp__row > span:last-child {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sp__row > span:last-child code {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--text-muted);
}

.sp__row--sep {
  padding: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
  border: none;
}

/* ── Profile block inside accordion */
.sp__profile-wrap {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── Scores inside accordion */
.sp__scores--pad {
  padding: 10px 16px 8px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Key signals chips row */
.sp__keysigs {
  padding: 8px 16px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── Compact 2-col details grid (Free / Starter) */
.sp__deets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sp__deet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--surface);
  font-size: 11.5px;
}

.sp__deet > span:first-child { color: var(--text-dim); font-weight: 500; flex-shrink: 0; }
.sp__deet > span:last-child  { color: var(--text); font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 110px; }
.sp__deet--full { grid-column: 1 / -1; }

/* ── Auth verdict cards (Growth / Enterprise) */
.sp__verdicts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sp__verdicts:has(.sp__verd:nth-child(4)) {
  grid-template-columns: 1fr 1fr;
}

.sp__verd {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 12px;
  background: var(--surface);
}

.sp__verd > span:first-child { font-size: 9.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-dim); }
.sp__verd > span:last-child  { font-size: 12px; font-weight: 700; color: var(--text); }

/* ── 2-column signals variant */
.sp__sigs--2 { grid-template-columns: 1fr 1fr; }

/* ── Plan lock pills */
.sp__lock {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1px 7px;
  border-radius: 99px;
  line-height: 1.8;
}

.sp__lock--starter    { color: #a78bfa; background: rgba(124,58,237,0.12); }
.sp__lock--growth     { color: #60a5fa; background: rgba(29,126,248,0.12); }
.sp__lock--enterprise { color: #f59e0b; background: rgba(245,158,11,0.12); }

/* ── Recommendation */
.sp__reason {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.4;
  margin-top: 2px;
  font-style: italic;
}

.sp__recommendation {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  padding: 8px 10px;
  background: rgba(29,126,248,0.06);
  border-radius: var(--radius-xs);
  border-left: 2px solid rgba(29,126,248,0.35);
}

.sp__recommendation::before {
  content: 'Recommendation · ';
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #60a5fa;
  display: block;
  margin-bottom: 3px;
}

/* ── Risk context narrative */
.sp__riskctx {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 16px 12px;
  padding: 8px 10px;
  background: rgba(244,63,94,0.05);
  border-radius: var(--radius-xs);
  border-left: 2px solid rgba(244,63,94,0.3);
}

/* ── JSON block */
.sp__json {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: #030409;
  padding: 14px 16px;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(124,58,237,0.3) transparent;
}

.sp__json::-webkit-scrollbar { width: 4px; }
.sp__json::-webkit-scrollbar-track { background: transparent; }
.sp__json::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.3); border-radius: 99px; }

.sp__json pre {
  font-family: 'Fira Code','Cascadia Code','JetBrains Mono',ui-monospace,monospace;
  font-size: 11.5px;
  color: #a78bfa;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

/* Plan tier badge on dp-cards */
.dp-plan-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 99px;
  position: absolute;
  top: 16px;
  right: 16px;
}
.dp-plan-tag--free       { background: rgba(124,58,237,.12); color: #a78bfa; border: 1px solid rgba(124,58,237,.2); }
.dp-plan-tag--starter    { background: rgba(16,185,129,.10); color: var(--green);  border: 1px solid rgba(16,185,129,.2); }
.dp-plan-tag--growth     { background: rgba(244,63,94,.10);  color: var(--red);    border: 1px solid rgba(244,63,94,.2); }
.dp-plan-tag--enterprise { background: rgba(45,212,191,.10); color: var(--teal);   border: 1px solid rgba(45,212,191,.2); }

/* Plan tier badge inside hero demo group titles */
.demo-plan-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 99px;
  margin-left: 5px;
  vertical-align: middle;
}
.demo-plan-tag--free       { background: rgba(124,58,237,.18); color: #c4b5fd; }
.demo-plan-tag--starter    { background: rgba(16,185,129,.12); color: var(--green); }
.demo-plan-tag--growth     { background: rgba(244,63,94,.10);  color: var(--red); }
.demo-plan-tag--enterprise { background: rgba(45,212,191,.12); color: var(--teal); }

/* Lock pill — shown when a field requires a higher plan */
.demo-lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 2px 8px;
  border-radius: 99px;
  vertical-align: middle;
}
.demo-lock-pill--starter    { background: rgba(16,185,129,.08);  color: #34d399; border: 1px solid rgba(16,185,129,.18); }
.demo-lock-pill--growth     { background: rgba(244,63,94,.08);   color: #fb7185; border: 1px solid rgba(244,63,94,.18); }
.demo-lock-pill--enterprise { background: rgba(45,212,191,.08);  color: var(--teal); border: 1px solid rgba(45,212,191,.18); }

/* ── Intelligence demo components ─────────────────────────────────────────── */
.demo-row--full {
  padding: 8px 0 4px;
  border: none;
}
.demo-row--full:hover { background: none; }

/* Score bars (Growth+) */
.demo-scores-wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  margin-bottom: 4px;
}
.demo-score {
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-score__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
  width: 72px;
  flex-shrink: 0;
}
.demo-score__track {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.demo-score__fill {
  height: 100%;
  border-radius: 999px;
  transition: width .5s ease;
}
.demo-score__val {
  font-size: 12px;
  font-weight: 700;
  width: 24px;
  text-align: right;
  flex-shrink: 0;
}

/* Insight chips */
.demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 6px 0 2px;
}
.demo-chip {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-transform: lowercase;
  letter-spacing: .01em;
}

/* Intelligence sub-section divider inside accordion groups */
.demo-intel-sep {
  padding: 10px 12px 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border-top: 1px solid var(--border-soft);
  margin-top: 2px;
}

/* Headline + recommendation card (Starter+) */
.demo-intel-card {
  margin: 2px 12px 6px;
  padding: 9px 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 2px solid var(--purple);
  border-radius: var(--radius-xs);
}
.demo-intel-card__headline {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}
.demo-intel-card__rec {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* Risk context narrative (Enterprise) */
.demo-intel-risk {
  margin: 2px 12px 6px;
  padding: 8px 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 2px solid rgba(244,63,94,0.5);
  border-radius: var(--radius-xs);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────
   Section Base
───────────────────────────────────────────── */
.section {
  padding: 108px 0;
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  margin-bottom: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,0.10);
  border: 1px solid rgba(124,58,237,0.22);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  width: fit-content;
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 14px 0 18px;
  color: var(--text);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
}

.section-sub--center {
  margin-left: auto;
  margin-right: auto;
}

/* ─────────────────────────────────────────────
   How It Works — Steps
───────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
  position: relative;
}

/* Connector line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(33.33% - 8px);
  right: calc(33.33% - 8px);
  height: 1px;
  background: linear-gradient(90deg, rgba(124,58,237,0.3), rgba(45,212,191,0.3));
  pointer-events: none;
}

.step-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 40px rgba(124,58,237,0.06);
}

.step-num {
  font-size: 52px;
  font-weight: 900;
  color: rgba(124,58,237,0.12);
  line-height: 1;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.step-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(45,212,191,0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #c4b5fd;
  border: 1px solid rgba(124,58,237,0.2);
}

.step-icon svg,
.step-icon i {
  width: 22px;
  height: 22px;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.step-connector {
  display: none;
}

/* ─────────────────────────────────────────────
   Features Grid
───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 50px rgba(124,58,237,0.08);
}

.feature-card:hover::before {
  opacity: 0.6;
}

.feature-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
}

.feature-icon svg,
.feature-icon i {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex-shrink: 0;
}

.feature-icon--indigo {
  background: rgba(124,58,237,0.15);
  color: #c4b5fd;
  border: 1px solid rgba(124,58,237,0.2);
}

.feature-icon--green {
  background: rgba(16,185,129,0.12);
  color: var(--green);
  border: 1px solid rgba(16,185,129,0.2);
}

.feature-icon--blue {
  background: rgba(59,130,246,0.12);
  color: var(--blue);
  border: 1px solid rgba(59,130,246,0.2);
}

.feature-icon--purple {
  background: rgba(167,139,250,0.12);
  color: var(--purple);
  border: 1px solid rgba(167,139,250,0.2);
}

.feature-icon--yellow {
  background: rgba(245,158,11,0.12);
  color: var(--yellow);
  border: 1px solid rgba(245,158,11,0.2);
}

.feature-icon--red {
  background: rgba(244,63,94,0.12);
  color: var(--red);
  border: 1px solid rgba(244,63,94,0.2);
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 9px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   Code Section
───────────────────────────────────────────── */
.code-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 40%, var(--surface) 60%, var(--bg) 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.code-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.code-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 108px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.code-section__inner > * {
  min-width: 0;
}

.code-section__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.code-section__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.code-section__list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.code-section__list-item-dot {
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.code-card {
  background: #020307;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(124,58,237,0.08);
}

.code-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: #030408;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dot--red    { background: #ff5f57; }
.code-dot--yellow { background: #ffbd2e; }
.code-dot--green  { background: #28c840; }

.code-card__filename {
  font-size: 12px;
  color: var(--text-dim);
  font-family: 'Fira Code','Cascadia Code',ui-monospace,monospace;
  margin-left: 4px;
}

.code-card__body {
  padding: 20px 22px;
  font-family: 'Fira Code','Cascadia Code','JetBrains Mono',ui-monospace,monospace;
  font-size: 13px;
  line-height: 1.75;
  overflow-x: auto;
}

/* Syntax highlighting */
.c-comment { color: #374151; font-style: italic; }
.c-tag     { color: #f87171; }
.c-attr    { color: #fb923c; }
.c-str     { color: #6ee7b7; }
.c-key     { color: #93c5fd; }
.c-fn      { color: #c4b5fd; }
.c-val     { color: #fbbf24; }
.c-punct   { color: #4b5563; }
.c-text    { color: #f0f1ff; }

/* ─────────────────────────────────────────────
   Benefits Section
───────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.benefit-item {
  display: flex;
  gap: 18px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.25), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.benefit-item:hover {
  border-color: rgba(16,185,129,0.2);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 40px rgba(16,185,129,0.04);
}

.benefit-item:hover::before {
  opacity: 1;
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(16,185,129,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(16,185,129,0.18);
}

.benefit-icon svg,
.benefit-icon i {
  width: 18px;
  height: 18px;
  stroke: var(--green);
  color: var(--green);
}

.benefit-content {}

.benefit-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.benefit-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   Data Points Section
───────────────────────────────────────────── */
.dp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.dp-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.dp-card:hover {
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(124,58,237,0.06);
}

.dp-card__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 18px;  
}

.dp-card__title {
  font-size: 14px;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.dp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dp-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.dp-dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--indigo);
}

.dp-dot--green  { background: var(--green); }
.dp-dot--red    { background: var(--red); }
.dp-dot--purple { background: var(--purple); }
.dp-dot--orange { background: var(--orange); }

/* ─────────────────────────────────────────────
   Pricing Section
───────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.1);
}

.pricing-card--featured {
  background: linear-gradient(160deg, #100d1e 0%, #0d0e17 100%);
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 0 60px rgba(124,58,237,0.15), 0 8px 32px rgba(0,0,0,0.4);
  position: relative;
  padding: 32px;
}

.pricing-card--featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, rgba(124,58,237,0.7) 0%, rgba(59,130,246,0.3) 50%, rgba(45,212,191,0.2) 100%);
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}

.pricing-card__popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(124,58,237,0.5);
}

.pricing-card__plan {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.pricing-card--featured .pricing-card__plan {
  color: #c4b5fd;
}

.pricing-card__price {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin: 14px 0 4px;
  letter-spacing: -0.04em;
  color: var(--text);
}

.pricing-card__price sup {
  font-size: 20px;
  font-weight: 700;
  vertical-align: super;
}

.pricing-card__period {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.pricing-card__limit {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.pricing-feature-group {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding-top: 10px;
  padding-bottom: 2px;
  list-style: none;
}

.pricing-feature i,
.pricing-feature svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: var(--green);
  color: var(--green);
}

.btn-pricing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9px;
  margin-top: 24px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-pricing--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.09);
  color: var(--text-muted);
}

.btn-pricing--outline:hover {
  border-color: rgba(124,58,237,0.4);
  color: var(--text);
  background: rgba(124,58,237,0.07);
}

.btn-pricing--featured {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 30px rgba(124,58,237,0.35);
}

.btn-pricing--featured:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 0 50px rgba(124,58,237,0.5);
}

.btn-pricing--subtle {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: var(--text-muted);
}

.btn-pricing--subtle:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

.btn-pricing--enterprise {
  background: rgba(45,212,191,0.08);
  border-color: rgba(45,212,191,0.2);
  color: var(--teal);
}

.btn-pricing--enterprise:hover {
  background: rgba(45,212,191,0.14);
  border-color: rgba(45,212,191,0.35);
}

/* Pricing value props */
.pricing-value-props {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 28px 32px;
  background: rgba(139,92,246,0.06);
  border: 1px solid rgba(139,92,246,0.14);
  border-radius: 12px;
}

.pricing-value-prop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pricing-value-prop__stat {
  font-size: 28px;
  font-weight: 700;
  color: #a78bfa;
  line-height: 1;
}

.pricing-value-prop__label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

.pricing-value-props__disclaimer {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.6;
}

.pricing-see-more {
  text-align: center;
  margin-top: 40px;
}

.pricing-see-more a {
  font-size: 14px;
  font-weight: 600;
  color: #a78bfa;
  transition: color var(--transition);
}

.pricing-see-more a:hover {
  color: var(--teal);
}

/* ─────────────────────────────────────────────
   Feature Comparison Table
───────────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 64px;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.compare-table thead th {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: var(--surface);
}

.compare-table thead th:first-child {
  border-radius: 10px 0 0 0;
}

.compare-table thead th:last-child {
  border-radius: 0 10px 0 0;
}

.compare-table thead th.featured-col {
  color: #c4b5fd;
  background: rgba(124,58,237,0.08);
}

.compare-table tbody tr:hover td {
  background: rgba(255,255,255,0.018);
}

.compare-table tbody td {
  color: var(--text-muted);
}

.compare-table tbody td:first-child {
  font-weight: 500;
  color: var(--text);
}

.compare-table tbody td.featured-col {
  background: rgba(124,58,237,0.04);
}

.compare-table .check {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}

.compare-table .cross {
  color: var(--text-dim);
  font-size: 16px;
}

/* ─────────────────────────────────────────────
   FAQ Section
───────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover {
  border-color: rgba(124,58,237,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.faq-question {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   CTA Section
───────────────────────────────────────────── */
.cta-section {
  padding: 130px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.13) 0%, rgba(59,130,246,0.06) 50%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(45,212,191,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--text);
}

.cta-section__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   Billing Toggle (Pricing Page)
───────────────────────────────────────────── */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.billing-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}

.billing-label--active {
  color: var(--text);
  font-weight: 600;
}

.billing-switch {
  width: 44px;
  height: 24px;
  background: rgba(124,58,237,0.2);
  border-radius: 12px;
  border: 1px solid rgba(124,58,237,0.3);
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}

.billing-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--indigo);
  border-radius: 50%;
  transition: transform var(--transition);
}

.billing-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green);
}

/* ─────────────────────────────────────────────
   Pricing Page Hero
───────────────────────────────────────────── */
.pricing-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-hero__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────
   Footer
───────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 56px 0 0;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  width: fit-content;
}

.footer__logo-icon {
  width: 30px;
  height: 30px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 0 16px rgba(124,58,237,0.4);
}

.footer__desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer__col {}

.footer__col-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__col-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__col-links a:hover {
  color: var(--text);
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 13px;
  color: var(--text-dim);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer__bottom-links a:hover {
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   Floating Orb (reusable)
───────────────────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.45;
  animation: float 9s ease-in-out infinite;
}

.orb--indigo {
  background: rgba(124,58,237,0.4);
}

.orb--purple {
  background: rgba(167,139,250,0.3);
}

/* ─────────────────────────────────────────────
   Responsive — 1024px
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .code-section__inner {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─────────────────────────────────────────────
   Responsive — 768px
───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 64px 24px 48px;
    gap: 44px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero__panel {
    order: -1;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps::before {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .dp-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 72px 0;
  }

  .cta-section {
    padding: 88px 0;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-section__actions .btn-primary,
  .cta-section__actions .btn-ghost {
    text-align: center;
    justify-content: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .compare-table {
    font-size: 12px;
    display: block;
    overflow-x: auto;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
  }

  .code-section__inner {
    padding: 64px 24px;
  }
}

@media (max-width: 480px) {
  .pricing-card--featured {
    margin-top: 18px;
  }

  .nav__actions .nav__link {
    display: none;
  }
}

/* ─────────────────────────────────────────────
   Mobile Navigation Drawer
───────────────────────────────────────────── */
.nav__drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(13,14,23,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 16px 20px;
  flex-direction: column;
  gap: 2px;
  z-index: 98;
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
  animation: fadeInUp 0.15s ease both;
}

.nav__drawer.nav__drawer--open {
  display: flex;
}

.nav__drawer-link {
  display: flex;
  align-items: center;
  padding: 13px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}

.nav__drawer-link:hover,
.nav__drawer-link:active {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.nav__drawer-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 8px 4px;
}

.nav__drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 0;
  padding: 14px;
  background: var(--gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(124,58,237,0.4);
}

/* Overlay when drawer is open */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(0,0,0,0.6);
  z-index: 97;
}

.nav__overlay--open {
  display: block;
}

/* ─────────────────────────────────────────────
   Responsive — 480px (small phones)
───────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero__inner {
    padding: 52px 16px 36px;
  }

  .hero__title {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
  }

  .hero__sub {
    font-size: 1rem;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn-primary,
  .hero__actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 62px 0;
  }

  .section__inner,
  .cta-section__inner {
    padding: 0 16px;
  }

  .code-section__inner {
    padding: 52px 16px;
    gap: 36px;
  }

  .code-card__body {
    font-size: 11.5px;
    padding: 14px 16px;
  }

  .code-card__header {
    padding: 10px 14px;
  }
}
