/* ═══════════════════════════════════════════════════════════
   LUMINARY — Design System
   Palette: Deep Space Navy + Electric Violet + Warm White
   Fonts: Bricolage Grotesque (display) + Plus Jakarta Sans (body)
═══════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy-950: #04070F;
  --navy-900: #0A0F1E;
  --navy-800: #111827;
  --navy-700: #1E2A3A;
  --navy-600: #2D3F55;

  --violet-600: #7C3AED;
  --violet-500: #8B5CF6;
  --violet-400: #A78BFA;
  --violet-300: #C4B5FD;
  --violet-100: #EDE9FE;

  --white:      #FFFFFF;
  --off-white:  #F8F7FF;
  --muted:      #94A3B8;
  --border:     rgba(124, 58, 237, 0.18);
  --border-sub: rgba(255, 255, 255, 0.07);

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.35), 0 1px 4px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.25);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

em { font-style: italic; color: var(--violet-400); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--violet-600);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--violet-500); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124,58,237,0.4); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--violet-400); color: var(--violet-300); background: rgba(124,58,237,0.08); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--off-white); }

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}
.btn-ghost-light:hover { color: var(--white); }

.btn-sm  { font-size: 0.875rem; padding: 0.5rem 1.125rem; }
.btn-lg  { font-size: 1.0625rem; padding: 0.875rem 1.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.nav-header.scrolled {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-sub);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-mark {
  color: var(--violet-400);
  font-size: 1.1rem;
  animation: spin-slow 8s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--off-white); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  background: rgba(10,15,30,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-sub);
  padding: 1.5rem;
}
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-mobile a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--off-white); background: var(--border-sub); }
.nav-mobile .btn-primary,
.nav-mobile .btn-ghost { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: 68px;
  overflow: hidden;
}

/* Mesh background */
.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.mesh-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
  top: -150px; left: -100px;
  animation: float1 12s ease-in-out infinite;
}
.mesh-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
  top: 100px; right: -80px;
  opacity: 0.3;
  animation: float2 15s ease-in-out infinite;
}
.mesh-orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #C4B5FD 0%, transparent 70%);
  bottom: 0; left: 40%;
  opacity: 0.2;
  animation: float1 18s ease-in-out infinite reverse;
}
.mesh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 30px) scale(0.97); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-40px, 20px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: clamp(3rem, 8vh, 6rem);
  padding-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-full);
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--violet-300);
  margin-bottom: 1.5rem;
  width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 6px #22C55E;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-social-proof strong { color: var(--off-white); }

.avatar-stack {
  display: flex;
}
.avatar-stack img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--navy-900);
  margin-left: -10px;
  object-fit: cover;
}
.avatar-stack img:first-child { margin-left: 0; }

/* Dashboard card */
.hero-dashboard {
  position: relative;
  z-index: 1;
}

.dashboard-card {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  backdrop-filter: blur(12px);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.dashboard-card:hover {
  transform: perspective(1000px) rotateY(-1deg) rotateX(0deg);
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-sub);
  background: rgba(255,255,255,0.03);
}
.dashboard-dots {
  display: flex;
  gap: 5px;
}
.dashboard-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--navy-600);
}
.dashboard-dots span:nth-child(1) { background: #FF5F57; }
.dashboard-dots span:nth-child(2) { background: #FEBC2E; }
.dashboard-dots span:nth-child(3) { background: #28C840; }
.dashboard-title {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}

.dashboard-body {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dash-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-md);
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.dash-stat__label {
  font-size: 0.6875rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dash-stat__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.dash-stat__delta {
  font-size: 0.75rem;
  font-weight: 600;
}
.dash-stat__delta.up { color: #22C55E; }

.dash-chart {
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-md);
  padding: 1rem;
  height: 80px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100%;
}
.bar {
  flex: 1;
  height: var(--h);
  background: rgba(124,58,237,0.35);
  border-radius: 3px 3px 0 0;
  transition: height 1s cubic-bezier(0.4,0,0.2,1);
  animation: bar-grow 1.2s cubic-bezier(0.4,0,0.2,1) both;
}
.bar--active {
  background: var(--violet-500);
  box-shadow: 0 0 12px rgba(124,58,237,0.5);
}
@keyframes bar-grow {
  from { height: 0; }
}

.dash-activity {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.activity-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.activity-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.activity-dot--green  { background: #22C55E; box-shadow: 0 0 6px #22C55E; }
.activity-dot--violet { background: var(--violet-400); box-shadow: 0 0 6px var(--violet-400); }
.activity-dot--blue   { background: #60A5FA; box-shadow: 0 0 6px #60A5FA; }
.activity-time {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--navy-600);
}

/* Logos */
.hero-logos {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border-sub);
  margin-top: 1rem;
}
.logos-label {
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.logo-pill {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.25);
  padding: 0.375rem 1rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.logo-pill:hover { color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.15); }

/* ══════════════════════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--violet-400);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════ */
.features {
  padding: clamp(5rem, 10vh, 8rem) 0;
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.feature-card {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(124,58,237,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.feature-card:hover::before { opacity: 1; }

.feature-card--large {
  grid-column: 1 / 3;
}
.feature-card--wide {
  grid-column: 2 / 4;
}
.feature-card--accent {
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(17,24,39,0.8) 100%);
  border-color: rgba(124,58,237,0.35);
}

.feature-card__icon {
  width: 52px; height: 52px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-400);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.feature-card:hover .feature-card__icon {
  background: rgba(124,58,237,0.25);
  box-shadow: 0 0 20px rgba(124,58,237,0.2);
}

.feature-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.625rem;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Workflow demo */
.feature-card__visual { margin-top: 1.5rem; }
.workflow-demo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.wf-node {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  color: var(--off-white);
  font-weight: 500;
  white-space: nowrap;
}
.wf-node--trigger { border-color: rgba(34,197,94,0.3); }
.wf-node--action  { border-color: rgba(124,58,237,0.4); background: rgba(124,58,237,0.1); }
.wf-node--output  { border-color: rgba(96,165,250,0.3); }
.wf-arrow { color: var(--muted); font-size: 1.125rem; }

/* Integration pills */
.integration-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.integration-pills span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--violet-300);
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
}

/* Collab avatars */
.collab-avatars {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 1.5rem;
}
.collab-avatars img {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--navy-800);
  margin-left: -8px;
  object-fit: cover;
}
.collab-avatars img:first-child { margin-left: 0; }
.collab-more {
  margin-left: 0.75rem;
  font-size: 0.8125rem;
  color: var(--violet-300);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   STATS BAND
══════════════════════════════════════════════════════════ */
.stats-band {
  background: rgba(124,58,237,0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
  min-width: 120px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--white) 0%, var(--violet-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.9375rem;
  color: var(--muted);
  text-align: center;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════ */
.testimonials {
  padding: clamp(5rem, 10vh, 8rem) 0;
}

.carousel-wrapper { position: relative; }

.carousel {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  min-width: 100%;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  backdrop-filter: blur(8px);
}

.testimonial-stars {
  color: #FBBF24;
  font-size: 1.125rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  color: var(--off-white);
  line-height: 1.55;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  object-fit: cover;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
}
.testimonial-author span {
  font-size: 0.875rem;
  color: var(--muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.carousel-btn:hover { background: rgba(124,58,237,0.2); border-color: var(--violet-400); }

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--navy-600);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.carousel-dot.active {
  background: var(--violet-500);
  width: 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px rgba(124,58,237,0.5);
}

/* ══════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════ */
.pricing {
  padding: clamp(5rem, 10vh, 8rem) 0;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 3.5rem;
}
.toggle-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toggle-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #22C55E;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius-full);
  padding: 0.125rem 0.5rem;
}

.toggle-switch {
  width: 48px; height: 26px;
  background: var(--navy-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}
.toggle-switch[aria-checked="true"] {
  background: var(--violet-600);
  border-color: var(--violet-500);
}
.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.toggle-switch[aria-checked="true"] .toggle-thumb {
  transform: translateX(22px);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.pricing-card--featured {
  background: linear-gradient(160deg, rgba(124,58,237,0.2) 0%, rgba(17,24,39,0.9) 60%);
  border-color: rgba(124,58,237,0.5);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--violet-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.pricing-card__header { margin-bottom: 1.75rem; }

.plan-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--violet-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  transition: var(--transition);
}
.price-period {
  font-size: 0.9375rem;
  color: var(--muted);
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--off-white);
}
.check {
  font-size: 0.875rem;
  color: #22C55E;
  font-weight: 700;
  flex-shrink: 0;
}
.check.muted { color: var(--navy-600); }
.muted { color: var(--muted); }

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 2.5rem;
}

/* ══════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════ */
.cta-band {
  position: relative;
  padding: clamp(5rem, 10vh, 7rem) 0;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(124,58,237,0.08) 100%);
  border-top: 1px solid var(--border);
}
.mesh-orb--cta1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
  top: -200px; left: -100px;
  opacity: 0.3;
}
.mesh-orb--cta2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
  bottom: -150px; right: -50px;
  opacity: 0.2;
}
.cta-mesh { position: absolute; inset: 0; pointer-events: none; }

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-inner p {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy-950);
  border-top: 1px solid var(--border-sub);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition);
}
.footer-social a:hover { color: var(--off-white); background: rgba(124,58,237,0.15); border-color: var(--border); }

.footer-nav {
  display: contents;
}
.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--off-white);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--off-white); }

.footer-bottom {
  border-top: 1px solid var(--border-sub);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badge { margin-inline: auto; }
  .hero-sub   { margin-inline: auto; }
  .hero-cta   { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-dashboard { display: none; }
  .hero-logos { grid-column: 1; }

  .features-bento {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card--large { grid-column: 1 / -1; }
  .feature-card--wide  { grid-column: 1 / -1; }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .pricing-card--featured { transform: scale(1); }
  .pricing-card--featured:hover { transform: translateY(-4px); }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-nav   { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; grid-column: 1 / -1; }

  .stats-inner { justify-content: center; }
  .stat-divider { display: none; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile.open { display: block; }

  .hero-headline { font-size: 2.25rem; }

  .features-bento {
    grid-template-columns: 1fr;
  }
  .feature-card--large,
  .feature-card--wide { grid-column: 1; }

  .workflow-demo { flex-direction: column; align-items: flex-start; }
  .wf-arrow { transform: rotate(90deg); }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 2rem;
  }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav   { display: flex; flex-direction: column; gap: 2rem; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost-light { text-align: center; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}