@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@600;700;800&display=swap');

:root {
  /* Colors */
  --bg-primary: #04060B;
  --bg-secondary: #0A0D14;
  --bg-surface: #0F1419;
  --bg-card: rgba(15, 20, 30, 0.6);
  --bg-card-hover: rgba(25, 33, 52, 0.8);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #475569;
  
  --accent-violet: #7C3AED;
  --accent-violet-light: #A855F7;
  --accent-cyan: #06B6D4;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  
  --gradient-primary: linear-gradient(135deg, #7C3AED, #A855F7, #C084FC);
  --gradient-accent: linear-gradient(135deg, #06B6D4, #22D3EE);
  
  --glow-violet: rgba(124, 58, 237, 0.3);
  --glow-cyan: rgba(6, 182, 212, 0.2);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

/* Selection */
::selection {
  background: var(--glow-violet);
  color: #fff;
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--glow-violet); }
  50% { box-shadow: 0 0 40px var(--glow-violet), 0 0 10px var(--accent-violet-light); }
}

@keyframes spin-slow {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-emerald { color: var(--accent-emerald); }
.text-violet { color: var(--accent-violet-light); }
.text-cyan { color: var(--accent-cyan); }
.text-amber { color: var(--accent-amber); }

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

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 24px; }
.mt-6 { margin-top: 32px; }

.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 24px; }
.mb-6 { margin-bottom: 32px; }

/* Section Headers */
.section__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-violet-light);
  margin-bottom: 12px;
  display: block;
}

.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
  color: white;
}

.section__desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}
.text-center .section__desc {
  margin: 0 auto;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal--active {
  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; }
.reveal--delay-5 { transition-delay: 0.5s; }


/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 6, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.nav__logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
}

.nav__logo-dot {
  color: var(--accent-violet-light);
}

.nav__links {
  display: flex;
  gap: 32px;
  margin-left: 48px;
}

.nav__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav__links a:hover {
  color: white;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent-violet-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.nav__mobile-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.nav__mobile-menu.active {
  display: flex;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn--primary {
  background: var(--accent-violet);
  color: white;
  box-shadow: 0 0 25px var(--glow-violet);
}

.btn--primary:hover {
  background: #6D28D9;
  transform: translateY(-2px);
  box-shadow: 0 0 35px var(--glow-violet);
}

.btn--ghost {
  background: rgba(255,255,255,0.03);
  color: white;
  border-color: var(--border);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
}

.btn--glow {
  background: var(--accent-violet);
  color: white;
  animation: glow-pulse 3s infinite;
}
.btn--glow:hover {
  transform: translateY(-2px);
  background: #6D28D9;
}

.btn--full {
  width: 100%;
  padding: 13px;
}

.btn--lg {
  padding: 15px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}


/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 120px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__glow-1 {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-violet) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero__glow-2 {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--accent-violet-light);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  animation: pulse 2s infinite;
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: white;
}

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

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.metric {
  background: var(--bg-secondary);
  padding: 28px 20px;
  text-align: center;
  transition: background 0.3s ease;
}

.metric:hover {
  background: var(--bg-surface);
}

.metric__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
}

.metric__label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* ==========================================================================
   Logo Marquee
   ========================================================================== */
.marquee {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee__label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 600;
}

.marquee__track {
  display: flex;
  gap: 64px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee__track:hover {
  animation-play-state: paused;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.marquee__item:hover {
  opacity: 1;
  color: white;
}


/* ==========================================================================
   How It Works (Steps)
   ========================================================================== */
.steps {
  padding: 100px 0;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  position: relative;
}

.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -16px;
  width: 32px;
  height: 2px;
  border-top: 2px dashed var(--border-hover);
  z-index: -1;
}

.step__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: inline-block;
}

.step__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--accent-violet-light);
  font-size: 24px;
}

.step__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.step__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ==========================================================================
   Bento Features Grid
   ========================================================================== */
.bento {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.bento__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 16px;
  margin-top: 60px;
}

.bento__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.bento__card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--accent-violet) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.bento__card:hover::before {
  opacity: 0.15;
}

.bento__card > * {
  position: relative;
  z-index: 1;
}

.bento__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.bento__card--lg {
  grid-column: span 2;
}

.bento__card--tall {
  grid-row: span 2;
}

.bento__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-violet-light);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  font-size: 20px;
}

.bento__card:hover .bento__icon {
  transform: scale(1.1);
}

.bento__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.bento__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ==========================================================================
   Demo Section
   ========================================================================== */
.demo {
  padding: 100px 0;
}

.demo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.demo__info {
  text-align: left;
}

.demo__personas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.demo__persona {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: white;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.demo__persona--active,
.demo__persona:hover {
  background: rgba(124,58,237,0.1);
  border-color: var(--accent-violet);
}

.demo__phone {
  background: #080B12;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.demo__phone-header {
  background: var(--bg-surface);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.demo__phone-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
}

.demo__phone-name {
  font-size: 14px;
  font-weight: 700;
  color: white;
  display: block;
}

.demo__phone-status {
  font-size: 11px;
  color: var(--text-secondary);
}

.demo__phone-body {
  height: 320px;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo__bubble {
  max-width: 82%;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  animation: float 0.3s ease-out;
}

.demo__bubble--received {
  background: var(--bg-surface);
  color: white;
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.demo__bubble--sent {
  background: var(--accent-violet);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.demo__phone-input {
  background: var(--bg-surface);
  padding: 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border);
}

.demo__phone-input input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: white;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s ease;
}

.demo__phone-input input:focus {
  border-color: var(--accent-violet);
}

.demo__phone-input button {
  background: var(--accent-violet);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.demo__phone-input button:hover {
  background: #6D28D9;
}


/* ==========================================================================
   ROI Calculator
   ========================================================================== */
.roi {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.roi__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
}

.roi__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.roi__inputs label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.roi__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  outline: none;
  margin-bottom: 24px;
}

.roi__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-violet);
  cursor: pointer;
  box-shadow: 0 0 10px var(--glow-violet);
  transition: transform 0.2s ease;
}

.roi__slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--accent-violet);
  cursor: pointer;
  box-shadow: 0 0 10px var(--glow-violet);
  transition: transform 0.2s ease;
}

.roi__slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.roi__value-display {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-violet-light);
  display: block;
  margin-top: 8px;
  margin-bottom: 24px;
}

.roi__results {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.roi__result-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.roi__result-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.roi__result-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}

.roi__result-mini span {
  font-size: 11px;
  color: var(--text-secondary);
  display: block;
}

.roi__result-mini strong {
  font-size: 17px;
  font-weight: 700;
  color: white;
}


/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing {
  padding: 100px 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  align-items: center;
}

.pricing__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
}

.pricing__card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.pricing__card--featured {
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 0 40px var(--glow-violet);
  transform: scale(1.02);
  z-index: 2;
  background: rgba(20, 25, 38, 0.8);
}

.pricing__card--featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--gradient-primary);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.4);
}

.pricing__plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.pricing__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin: 10px 0 4px;
}

.pricing__price-period {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing__features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.pricing__feature {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing__feature::before {
  content: '✓';
  color: var(--accent-emerald);
  font-weight: 700;
}


/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-violet) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
}

.cta-banner__desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}


/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

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

.footer__heading {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.footer__link {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: white;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}


/* ==========================================================================
   Graph/Analytics Components (For backward compat & admin)
   ========================================================================== */
.chart-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.chart-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.chart-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.chart-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
}

.chart-card__badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.chart-card__badge--cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.chart-card__badge--emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.chart-card__badge--violet {
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent-violet-light);
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.chart-card__bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 200px;
  padding: 10px 0 0;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.vbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  flex: 1;
  max-width: 75px;
}

.vbar__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.vbar__value--glow {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.vbar__track {
  width: 32px;
  height: 140px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px 8px 4px 4px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
}

.vbar--hero .vbar__track {
  width: 38px;
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.25);
}

.vbar__fill {
  width: 100%;
  border-radius: 6px 6px 0 0;
  transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vbar__fill--muted {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.4) 0%, rgba(71, 85, 105, 0.2) 100%);
}

.vbar__fill--violet {
  background: linear-gradient(180deg, #C084FC 0%, #7C3AED 100%);
  box-shadow: 0 -4px 16px rgba(168, 85, 247, 0.6);
}

.vbar__fill--emerald {
  background: linear-gradient(180deg, #34D399 0%, #059669 100%);
  box-shadow: 0 -4px 16px rgba(16, 185, 129, 0.6);
}

.vbar__label {
  font-size: 11.5px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 10px;
  line-height: 1.3;
}

.vbar--hero .vbar__label strong {
  color: #FFFFFF;
}

.chart-card__caption {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Citations Section */
.citations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.citation {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.3s;
}

.citation:hover {
  border-color: var(--border-hover);
}

.citation__source {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--accent-violet-light);
  margin-bottom: 8px;
}

.citation__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.citation__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.citation__text strong {
  color: #FFFFFF;
}

/* Responsive Charts */
@media (max-width: 1024px) {
  .charts-grid,
  .citations-grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   Modal Styles (Auth, Dashboard, Admin)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 11, 0.88);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-card, .glass-modal {
  background: #0F1419;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.modal-wide {
  max-width: 780px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s;
}
.modal-close:hover { color: white; }

.auth-form-step { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.form-group input,
.form-group textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: white;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.auth-toggle-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 16px;
}
.auth-toggle-text a {
  color: var(--accent-violet-light);
  text-decoration: none;
  font-weight: 600;
}
.auth-toggle-text a:hover { text-decoration: underline; }

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dashboard-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.dash-tab {
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.dash-tab:hover {
  color: white;
}

.dash-tab.active {
  color: white;
  border-bottom-color: var(--accent-violet);
}

.dash-tab-body { display: none; }
.dash-tab-body.active { display: block; }

.allocated-number-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  color: var(--accent-emerald);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.biz-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.biz-option-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.biz-option-card:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.02); }
.biz-option-card.active { border-color: var(--accent-violet); background: rgba(124, 58, 237, 0.05); }

.copy-input-row {
  display: flex;
  gap: 8px;
}
.copy-input-row input { flex: 1; }

.webhook-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}
.comparison-table th { font-weight: 600; color: var(--text-secondary); }

.matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 24px;
}

.card-badge, .badge-emerald, .badge-red, .badge-cyan, .badge-amber, .badge-purple {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-emerald { background: rgba(16, 185, 129, 0.1); color: var(--accent-emerald); }
.badge-red { background: rgba(239, 68, 68, 0.1); color: #EF4444; }
.badge-cyan { background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan); }
.badge-amber { background: rgba(245, 158, 11, 0.1); color: var(--accent-amber); }
.badge-purple { background: rgba(124, 58, 237, 0.1); color: var(--accent-violet-light); }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__title { font-size: 3.5rem; }
  .steps__grid, .bento__grid { gap: 20px; }
  .bento__card { padding: 24px; }
  .demo__grid { gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__mobile-toggle { display: block; }
  
  .hero__title { font-size: 2.5rem; }
  .hero__metrics { grid-template-columns: 1fr 1fr; }
  
  .steps__grid { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  
  .bento__grid { grid-template-columns: 1fr; }
  .bento__card--lg { grid-column: auto; }
  .bento__card--tall { grid-row: auto; }
  
  .demo__grid { grid-template-columns: 1fr; text-align: center; }
  .demo__info { text-align: center; }
  .demo__personas { align-items: center; }
  .demo__persona { width: 100%; max-width: 400px; justify-content: center; }
  
  .roi__grid { grid-template-columns: 1fr; }
  
  .pricing__grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing__card--featured { transform: scale(1); }
  .pricing__card--featured:hover { transform: translateY(-4px); }
  
  .footer__grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .footer__brand { align-items: center; }
  .footer__bottom { flex-direction: column; gap: 16px; }
  
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__metrics { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .roi__card { padding: 24px; }
  .modal-card { padding: 24px; }
}

/* ==========================================================================
   Accessibility & Print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  body {
    background: white;
    color: black;
  }
  .hero__canvas, .hero__glow-1, .hero__glow-2, .cta-banner::before {
    display: none;
  }
  .bento__card, .pricing__card, .roi__card, .step {
    border: 1px solid #ccc;
    background: transparent;
    box-shadow: none;
  }
}
