/* ============================================
   InteliVoice Design System — styles.css
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Primary Palette */
  --deep-space: #0A0A0F;
  --midnight: #0D1117;
  --indigo: #6366F1;
  --indigo-dark: #4F46E5;
  --indigo-light: #818CF8;
  --cyan: #22D3EE;
  --cyan-glow: rgba(34, 211, 238, 0.15);

  /* Supporting */
  --white: #FFFFFF;
  --silver: #94A3B8;
  --glass: #1E2433;
  --green: #10B981;

  /* Light sections */
  --light-bg: #F8FAFC;
  --light-card: #FFFFFF;
  --indigo-tint: #EEF2FF;

  /* Text on light */
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-200: #E2E8F0;

  /* Shadows & Effects */
  --glow-indigo: 0 0 60px rgba(99, 102, 241, 0.15);
  --glow-indigo-strong: 0 0 40px rgba(99, 102, 241, 0.3);
  --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.15);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1280px;
  --section-pad: 100px;
  --section-pad-mobile: 56px;
  --grid-gap: 24px;
  --nav-height: 72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--silver);
  background: var(--deep-space);
  overflow-x: hidden;
}

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

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--deep-space); }
::-webkit-scrollbar-thumb { background: var(--glass); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--indigo); }

::selection {
  background: rgba(99, 102, 241, 0.3);
  color: var(--white);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}

.display-h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1, .h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.02em;
}

h3, .h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.4;
}

h4, .h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.body-large {
  font-size: 18px;
  line-height: 1.7;
}

.body-small {
  font-size: 14px;
  line-height: 1.6;
}

.mono {
  font-family: var(--font-mono);
}

/* On light backgrounds */
.light-section h1,
.light-section h2,
.light-section h3,
.light-section h4 {
  color: var(--slate-700);
}

.light-section {
  color: var(--slate-600);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 800px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--dark {
  background: var(--deep-space);
}

.section--navy {
  background: var(--midnight);
}

.section--light {
  background: var(--light-bg);
}

.section--indigo {
  background: var(--indigo);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Grid */
.grid {
  display: grid;
  gap: var(--grid-gap);
}

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

@media (max-width: 1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Two-column layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split--55-45 {
  grid-template-columns: 55fr 45fr;
}

.split--60-40 {
  grid-template-columns: 60fr 40fr;
}

@media (max-width: 900px) {
  .split, .split--55-45, .split--60-40 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Eyebrow Tag --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  line-height: 1;
}

.eyebrow--dark {
  background: rgba(99, 102, 241, 0.12);
  color: var(--indigo-light);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.eyebrow--light {
  background: var(--indigo-tint);
  color: var(--indigo);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s;
}

.btn--primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
}

.btn--primary:hover {
  background: var(--indigo-dark);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

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

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(99, 102, 241, 0.5);
}

.btn--ghost:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: var(--indigo);
}

.btn--ghost-light {
  background: transparent;
  color: var(--indigo);
  border: 1.5px solid var(--slate-200);
}

.btn--ghost-light:hover {
  border-color: var(--indigo);
  background: rgba(99, 102, 241, 0.04);
}

.btn--white {
  background: var(--white);
  color: var(--indigo);
}

.btn--white:hover {
  background: #F1F5F9;
  transform: translateY(-1px);
}

.btn--white-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

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

.btn--full {
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn .arrow {
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
  border-bottom-color: rgba(99, 102, 241, 0.15);
  background: rgba(10, 10, 15, 0.95);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  z-index: 1001;
}

.nav__logo-icon {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 24px;
}

.nav__logo-icon span {
  display: block;
  width: 3px;
  background: var(--indigo);
  border-radius: 2px;
  animation: logoPulse 1.5s ease-in-out infinite alternate;
}

.nav__logo-icon span:nth-child(1) { height: 8px; animation-delay: 0s; }
.nav__logo-icon span:nth-child(2) { height: 16px; animation-delay: 0.15s; }
.nav__logo-icon span:nth-child(3) { height: 24px; animation-delay: 0.3s; }
.nav__logo-icon span:nth-child(4) { height: 16px; animation-delay: 0.45s; }
.nav__logo-icon span:nth-child(5) { height: 8px; animation-delay: 0.6s; }

@keyframes logoPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.nav__logo-text {
  background: linear-gradient(135deg, var(--white), var(--indigo-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--silver);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--indigo);
  border-radius: 1px;
  transition: width 0.25s var(--ease-out);
}

.nav__link:hover, .nav__link.active {
  color: var(--white);
}

.nav__link:hover::after, .nav__link.active::after {
  width: 100%;
}

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

.nav__login {
  font-size: 15px;
  font-weight: 500;
  color: var(--silver);
  padding: 8px 16px;
  transition: color 0.2s;
}

.nav__login:hover { color: var(--white); }

.nav__cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  background: var(--indigo);
  color: var(--white);
  border-radius: 8px;
  transition: all 0.2s;
}

.nav__cta:hover {
  background: var(--indigo-dark);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s var(--ease-out);
}

.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out);
  z-index: 999;
}

.nav__mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav__mobile a {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
}

.nav__mobile a:hover {
  color: var(--indigo-light);
}

@media (max-width: 900px) {
  .nav__links, .nav__actions { display: none; }
  .nav__hamburger { display: flex; }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero--centered {
  text-align: center;
}

.hero--centered .hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Radial glow */
.hero__glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  animation: glowFloat 8s ease-in-out infinite alternate;
}

@keyframes glowFloat {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Grid pattern overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

/* Noise texture */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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

.hero__subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--silver);
  margin-top: 20px;
  max-width: 580px;
  line-height: 1.7;
}

.hero--centered .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-group {
  margin-top: 32px;
}

.hero__trust {
  margin-top: 24px;
  font-size: 14px;
  color: var(--silver);
  opacity: 0.7;
}

.hero__trust span {
  margin: 0 8px;
}

/* Hero product mockup */
.hero__visual {
  position: relative;
  z-index: 2;
}

.hero__mockup {
  background: var(--glass);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  box-shadow: var(--glow-indigo);
}

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

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

.hero__mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero__mockup-live {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__mockup-label {
  font-size: 13px;
  color: var(--silver);
}

/* Waveform */
.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 60px;
}

.waveform--large {
  height: 80px;
  gap: 4px;
}

.waveform__bar {
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--indigo), var(--cyan));
  animation: waveAnim 1s ease-in-out infinite alternate;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.waveform__bar:nth-child(1) { height: 20%; animation-delay: 0s; }
.waveform__bar:nth-child(2) { height: 50%; animation-delay: 0.1s; }
.waveform__bar:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.waveform__bar:nth-child(4) { height: 60%; animation-delay: 0.3s; }
.waveform__bar:nth-child(5) { height: 100%; animation-delay: 0.4s; }
.waveform__bar:nth-child(6) { height: 70%; animation-delay: 0.5s; }
.waveform__bar:nth-child(7) { height: 40%; animation-delay: 0.6s; }
.waveform__bar:nth-child(8) { height: 90%; animation-delay: 0.35s; }
.waveform__bar:nth-child(9) { height: 55%; animation-delay: 0.15s; }
.waveform__bar:nth-child(10) { height: 30%; animation-delay: 0.45s; }
.waveform__bar:nth-child(11) { height: 75%; animation-delay: 0.25s; }
.waveform__bar:nth-child(12) { height: 45%; animation-delay: 0.55s; }

@keyframes waveAnim {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.hero__mockup-info {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__mockup-caller {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}

.hero__mockup-timer {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--cyan);
}

/* Background waveform (decorative) */
.waveform-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.04;
}

.waveform-bg svg {
  width: 100%;
  height: 100%;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--midnight);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

.stats-bar__item {
  text-align: center;
  position: relative;
}

.stats-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,0.06);
}

.stats-bar__number {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats-bar__number--indigo {
  color: var(--indigo-light);
}

.stats-bar__label {
  font-size: 14px;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .stats-bar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .stats-bar__item:not(:last-child)::after { display: none; }
}

/* --- Feature Cards (Dark) --- */
.card {
  background: var(--glass);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo-light);
  font-size: 22px;
}

.card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-top: 20px;
}

.card__body {
  font-size: 15px;
  color: var(--silver);
  margin-top: 8px;
  line-height: 1.6;
}

/* Feature Cards (Light) */
.card--light {
  background: var(--light-card);
  border: 1px solid #E2E8F0;
  box-shadow: var(--card-shadow);
}

.card--light:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(99, 102, 241, 0.2);
}

.card--light::before { display: none; }

.card--light .card__icon {
  background: var(--indigo-tint);
  color: var(--indigo);
}

.card--light .card__title {
  color: var(--slate-700);
}

.card--light .card__body {
  color: var(--slate-600);
}

/* --- Pricing Cards --- */
.pricing-card {
  background: var(--light-card);
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: all 0.3s var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.pricing-card--featured {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
  transform: scale(1.02);
  box-shadow: var(--glow-indigo-strong);
}

.pricing-card--featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--cyan);
  color: var(--deep-space);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card__label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--indigo);
  margin-bottom: 12px;
}

.pricing-card--featured .pricing-card__label {
  color: rgba(255,255,255,0.8);
}

.pricing-card__price {
  font-size: 48px;
  font-weight: 800;
  color: var(--slate-700);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-card--featured .pricing-card__price {
  color: var(--white);
}

.pricing-card__price-suffix {
  font-size: 16px;
  font-weight: 500;
  color: var(--silver);
}

.pricing-card--featured .pricing-card__price-suffix {
  color: rgba(255,255,255,0.7);
}

.pricing-card__desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate-600);
}

.pricing-card--featured .pricing-card__desc {
  color: rgba(255,255,255,0.8);
}

.pricing-card__features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--slate-600);
}

.pricing-card--featured .pricing-card__feature {
  color: rgba(255,255,255,0.85);
}

.pricing-card__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 2px;
}

.pricing-card--featured .pricing-card__check {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.pricing-card .btn {
  margin-top: 32px;
}

/* --- Testimonial Card --- */
.testimonial-card {
  background: var(--light-card);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: all 0.3s var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.testimonial-card__quote-mark {
  font-size: 56px;
  line-height: 1;
  color: var(--indigo);
  font-weight: 800;
  margin-bottom: 8px;
}

.testimonial-card__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-600);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.testimonial-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-700);
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--silver);
}

/* Dark testimonials */
.testimonial-card--dark {
  background: var(--glass);
  border-color: rgba(99, 102, 241, 0.1);
}

.testimonial-card--dark .testimonial-card__text {
  color: var(--silver);
}

.testimonial-card--dark .testimonial-card__name {
  color: var(--white);
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
}

.comparison-table th {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.comparison-table th:first-child {
  color: var(--silver);
  background: rgba(255,255,255,0.02);
}

.comparison-table th.highlight {
  background: var(--indigo);
  color: var(--white);
}

.comparison-table th:last-child {
  background: rgba(255,255,255,0.04);
  color: var(--silver);
}

.comparison-table td {
  padding: 14px 20px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.comparison-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.01);
}

.comparison-table td:first-child {
  color: var(--silver);
}

.comparison-table .check {
  color: var(--green);
  font-weight: 700;
}

.comparison-table .cross {
  color: #EF4444;
  font-weight: 700;
}

.comparison-table .maybe {
  color: var(--silver);
  font-style: italic;
}

/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.light-section .faq-item {
  border-bottom-color: #E2E8F0;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.light-section .faq-item__question {
  color: var(--slate-700);
}

.faq-item__question:hover {
  color: var(--indigo-light);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--indigo-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s var(--ease-out);
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--indigo);
  color: var(--white);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer-inner {
  padding-bottom: 20px;
  padding-left: 0;
  border-left: 3px solid var(--indigo);
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--silver);
}

.light-section .faq-item__answer-inner {
  color: var(--slate-600);
}

/* --- Steps / How It Works --- */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.steps__line {
  position: absolute;
  top: 24px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--indigo) 0,
    var(--indigo) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.step__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.step__text {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    gap: 32px;
  }
  .steps__line {
    display: none;
  }
  .step {
    text-align: left;
    display: flex;
    gap: 16px;
    padding: 0;
  }
  .step__number {
    margin: 0;
    flex-shrink: 0;
  }
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--indigo);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-group {
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* --- Form Fields --- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--silver);
  margin-bottom: 6px;
}

.light-section .form-label {
  color: var(--slate-600);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-main);
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  outline: none;
  transition: all 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--midnight);
  color: var(--white);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* --- Footer --- */
.footer {
  background: var(--deep-space);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.footer__tagline {
  font-size: 14px;
  color: var(--silver);
  opacity: 0.7;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 16px;
  transition: all 0.2s;
}

.footer__social-link:hover {
  color: var(--indigo-light);
  background: rgba(99, 102, 241, 0.1);
}

.footer__column-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

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

.footer__link {
  font-size: 14px;
  color: var(--silver);
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--white);
}

.footer__newsletter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__newsletter-text {
  font-size: 14px;
  color: var(--silver);
}

.footer__newsletter-form {
  display: flex;
  gap: 8px;
}

.footer__newsletter-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-main);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--white);
  outline: none;
  transition: all 0.2s;
}

.footer__newsletter-input:focus {
  border-color: var(--indigo);
}

.footer__newsletter-input::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.footer__newsletter-btn {
  padding: 10px 16px;
  background: var(--indigo);
  color: var(--white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.footer__newsletter-btn:hover {
  background: var(--indigo-dark);
}

.footer__bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--silver);
  opacity: 0.6;
}

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

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

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 32px 0;
}

.tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--silver);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab:hover {
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--white);
}

.tab.active {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
}

.tab--light {
  border-color: #E2E8F0;
  color: var(--slate-600);
}

.tab--light:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.tab--light.active {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
}

/* --- Use Case Sections --- */
.use-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.use-case--reverse {
  direction: rtl;
}

.use-case--reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .use-case, .use-case--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }
}

.use-case__visual {
  background: var(--glass);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.use-case__visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, 0.05), transparent 60%);
}

.use-case__visual-icon {
  font-size: 80px;
  position: relative;
  z-index: 1;
  filter: grayscale(0.2);
}

.light-section .use-case__visual {
  background: var(--white);
  border-color: #E2E8F0;
  box-shadow: var(--card-shadow);
}

.use-case__content h2 {
  margin-bottom: 16px;
}

.use-case__problem,
.use-case__solution {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
}

.use-case__problem strong,
.use-case__solution strong {
  color: var(--white);
  font-weight: 600;
}

.light-section .use-case__problem strong,
.light-section .use-case__solution strong {
  color: var(--slate-700);
}

.use-case__capabilities {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.use-case__capability {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.use-case__capability-check {
  flex-shrink: 0;
  color: var(--indigo-light);
  font-size: 14px;
}

.light-section .use-case__capability-check {
  color: var(--indigo);
}

.use-case__outcome {
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  color: var(--indigo-light);
  margin: 20px 0;
}

.light-section .use-case__outcome {
  color: var(--indigo);
}

/* --- Addons Table --- */
.addons-grid {
  display: grid;
  gap: 16px;
}

.addon-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  background: var(--light-card);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  transition: all 0.2s;
}

.addon-row:hover {
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: var(--card-shadow);
}

.addon-row__name {
  font-weight: 600;
  color: var(--slate-700);
}

.addon-row__desc {
  font-size: 14px;
  color: var(--slate-600);
}

.addon-row__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--indigo);
  text-align: right;
}

@media (max-width: 768px) {
  .addon-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .addon-row__price { text-align: left; }
}

/* --- Section subheading spacing --- */
.section__header {
  max-width: 700px;
  margin-bottom: 56px;
}

.section__header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section__header p {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.7;
}

/* --- Value Cards (About) --- */
.value-card {
  text-align: center;
  padding: 40px 32px;
}

.value-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.value-card__icon--indigo {
  background: var(--indigo-tint);
  color: var(--indigo);
}

/* --- Contact option cards --- */
.contact-card {
  background: var(--light-card);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(99, 102, 241, 0.2);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--indigo-tint);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.contact-card h3 {
  color: var(--slate-700);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 15px;
  color: var(--slate-600);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* --- Feature Deep Dive (alternating two-col) --- */
.feature-dive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-dive--reverse {
  direction: rtl;
}

.feature-dive--reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .feature-dive, .feature-dive--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }
}

.feature-dive__visual {
  background: var(--glass);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-dive__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.06), transparent 70%);
}

.feature-dive__icon {
  font-size: 72px;
  position: relative;
  z-index: 1;
}

.feature-dive__content .eyebrow {
  margin-bottom: 12px;
}

.feature-dive__content h2 {
  margin-bottom: 16px;
}

.feature-dive__content > p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.feature-list__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.feature-list__check {
  flex-shrink: 0;
  color: var(--indigo-light);
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Responsive padding --- */
@media (max-width: 768px) {
  .section {
    padding: var(--section-pad-mobile) 0;
  }
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 48px;
  }
  .cta-banner {
    padding: 56px 0;
  }
}

/* --- Utility --- */
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* Glass form card */
.glass-card {
  background: var(--glass);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--glow-indigo);
}

/* Feature navigation tabs row */
.feature-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0;
}

.feature-tab {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--silver);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.feature-tab:hover {
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

.feature-tab.active {
  color: var(--white);
  background: rgba(99, 102, 241, 0.15);
}

/* Team placeholder cards */
.team-card {
  background: var(--glass);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.team-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
}

.team-card__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.team-card__role {
  font-size: 14px;
  color: var(--silver);
  margin-top: 4px;
}

/* Origin story accent */
.origin-text {
  border-left: 3px solid var(--indigo);
  padding-left: 24px;
}

/* Contact form on dark */
.contact-form-card {
  max-width: 640px;
  margin: 0 auto;
}

/* Privacy note */
.privacy-note {
  font-size: 13px;
  color: var(--silver);
  opacity: 0.6;
  margin-top: 12px;
  text-align: center;
}

/* Response promise */
.response-info {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.response-info h3 {
  margin-bottom: 12px;
}

.response-info a {
  color: var(--indigo-light);
  transition: color 0.2s;
}

.response-info a:hover {
  color: var(--white);
}

/* Page top padding for non-hero pages */
.page-top {
  padding-top: var(--nav-height);
}

/* Inline SVG icons (simple check, X, etc.) */
.icon-check::before { content: '\2713'; }
.icon-x::before { content: '\2717'; }
