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

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

:root {
  --glow-orange: rgba(245, 158, 11, 0.12);
  /* Increased intensity */
  --glow-charcoal: rgba(0, 0, 0, 0.04);
  --glow-footer: radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.08) 0%, transparent 70%);

  /* Colors — Light Theme Refined */
  --bg-primary: #ffffff;
  --bg-soft: #fcfcfc;
  --bg-card: #ffffff;
  --surface: #f8fafc;

  --border: rgba(0, 0, 0, 0.05);
  --bg-main: #fff;
  --bg-alt: #f8fafc;
  /* Visible contrast for sections */

  --border: #e2e8f0;
  --border-strong: rgba(0, 0, 0, 0.08);

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #666;
  --text-main: #111;
  --text-light: #999;

  /* Primary Accent - Shifting to deep contrast Sarvam style */
  --accent: #111111;
  --accent-main: #111827;
  /* Deep charcoal/black for primary buttons */
  --accent-charcoal: #111;
  --accent-secondary: #444;
  --accent-orange: #f59e0b;
  --accent-violet: #7c3aed;

  --green: #059669;
  --red: #dc2626;

  /* Shadows — Minimal & Premium */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.06);
  --shadow-nav: 0 12px 32px rgba(0, 0, 0, 0.05);

  /* Typography */
  --font: 'Inter', -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: 4rem;
  --fs-5xl: 5.5rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-5xl: 12rem;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --duration: 0.4s;
  --duration-slow: 0.7s;
}

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

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* ─── UTILITIES ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.accent {
  color: var(--accent);
}

.gradient-text {
  color: var(--accent-orange);
}

.accent-orange {
  color: var(--accent-orange);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn--primary:hover {
  background: #333;
  /* Slightly lighter charcoal on hover */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn--gradient {
  background: var(--accent);
  color: #fff;
}

.btn--gradient:hover {
  background: #000;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn--lg {
  font-size: var(--fs-base);
  padding: 0.9rem 2.2rem;
}

.btn--secondary {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn--secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn--outline:hover {
  background: #f8fafc;
  border-color: #000;
  transform: translateY(-2px);
}

/* ─── NAVIGATION (Pill Style) ─── */
.nav {
  position: fixed;
  top: var(--space-md);
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform var(--duration) var(--ease);
  pointer-events: none;
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.6rem 1.75rem;
  border-radius: 500px;
  max-width: var(--container-width);
  margin: 0 auto;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
  pointer-events: auto;
  transition: all var(--duration) var(--ease);
}

.nav.scrolled .nav__container {
  padding: 0.45rem 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .nav {
    top: var(--space-sm);
    padding: 0 var(--space-sm);
  }

  .nav__container {
    padding: 0.5rem 1rem;
    width: 100%;
  }

  .nav__logo {
    font-size: var(--fs-md);
  }
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav__logo-icon {
  font-size: var(--fs-xl);
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__links a {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
  position: relative;
  font-weight: 500;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--duration) var(--ease);
}

.nav__links a:hover {
  color: var(--accent);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a.active {
  color: var(--accent);
  font-weight: 600;
}

.nav__links a.active::after {
  width: 100%;
}

/* Nav CTA Polish — Ultra-Premium Style */
.nav .nav__links a.nav__cta {
  padding: 0.75rem 1.85rem !important;
  font-size: 0.9rem !important;
  background: #000 !important;
  color: #fff !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  opacity: 1 !important;
  margin-left: 0.5rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.nav .nav__links a.nav__cta:hover {
  background: #111 !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border-color: var(--accent-orange) !important;
  color: #fff !important;
}

.nav .nav__links a.nav__cta .cta-arrow {
  margin-left: 0.4rem;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  font-size: 1.1em;
  line-height: 1;
}

.nav .nav__links a.nav__cta:hover .cta-arrow {
  transform: translateX(3px);
  color: var(--accent-orange);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO & MESH GLOWS ─── */
.hero {
  position: relative;
  min-height: 70vh;
  /* Tighter inner hero */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--space-xl) 6rem;
  overflow: hidden;
  background: #fff;
}

.glow-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.glow-mesh__item {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.glow-mesh__item--1 {
  top: -10%;
  left: 20%;
  width: 50vw;
  height: 50vw;
  background: var(--glow-orange);
  animation: meshMove 15s infinite alternate;
}

.glow-mesh__item--2 {
  top: 10%;
  right: 10%;
  width: 40vw;
  height: 40vw;
  background: var(--glow-charcoal);
  animation: meshMove 18s infinite alternate-reverse;
}

@keyframes meshMove {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  100% {
    transform: translate(5%, 5%) rotate(10deg) scale(1.1);
  }
}



@keyframes heroFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(10px, -10px) scale(1.04);
  }

  100% {
    transform: translate(25px, -25px) scale(1.08);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.8rem;
  color: var(--accent-charcoal);
  margin-bottom: var(--space-xl);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-lg);
  color: #000;
  text-align: center;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}



.hero__row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  /* Tighter gap for better alignment */
  white-space: nowrap;
}

.hero__rotator-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
}

/* Hero Rotator — Grid Stacking for Zero Jumps */
.rotator {
  display: inline-grid;
  vertical-align: bottom;
  color: var(--accent-orange);
  text-align: left;
}

.rotator__item {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
  visibility: hidden;
  position: absolute;
}

.rotator__item.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  position: relative;
}

/* Shrink to active content for perfect centering */
.rotator__item:not(.active) {
  pointer-events: none;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--accent);
}

.hero__stat-suffix {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--accent);
}

.hero__stat-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-xs);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── SECTIONS ─── */
.section {
  padding: var(--space-5xl) 0;
}

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

.section--gradient {
  background: var(--accent-main);
  /* Dark background */
  color: #fff;
}

.section--gradient .section__tag {
  color: var(--accent-orange);
}

.section--gradient .section__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.section__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.7;
}

.rotating-text.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.rotating-text.fade-in {
  opacity: 0;
  transform: translateY(10px);
}

/* ─── CARDS ─── */
.cards-grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

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

.card {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--border-accent);
}

.card--flat {
  box-shadow: none;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.card--flat:hover {
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
}

.card--accent-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-orange);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card--accent-top:hover::before {
  opacity: 1;
}



.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all var(--duration) var(--ease);
  color: var(--accent-charcoal);
}

.card:hover .card__icon {
  background: var(--accent-orange);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}

.card:hover .card__icon svg {
  color: #fff;
}

.card__number {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  line-height: 1;
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--duration) var(--ease);
}

.card__link:hover {
  gap: 10px;
}

.card__link svg {
  width: 16px;
  height: 16px;
}

/* ─── STEPPER (How It Works) ─── */
.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
  counter-reset: step;
}

.stepper__step {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
  position: relative;
}

.stepper__step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.stepper__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  transition: all var(--duration) var(--ease);
  color: var(--accent-charcoal);
}

.stepper__step:hover .stepper__icon {
  background: #000;
  color: #fff;
}

.stepper__number {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.stepper__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.stepper__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── SPLIT SECTION ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse>* {
  direction: ltr;
}

.split__content {
  max-width: 520px;
}

.split__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
}

.split__title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.split__desc {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.split__visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* ─── FEATURE LIST ─── */
.feature-list {
  margin-bottom: var(--space-xl);
}

.feature-list li {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}

/* ─── TABS ─── */
.tabs__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.tabs__btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.tabs__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.tabs__btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.tabs__btn-icon {
  font-size: var(--fs-base);
}

.tabs__panel {
  display: none;
  animation: tabFadeIn 0.4s var(--ease);
}

.tabs__panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tabs__panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.tabs__panel-content h3 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.tabs__panel-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* ─── METRIC CARDS ─── */
.metric-card {
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.metric-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.metric-card__value {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 2px;
}

.metric-card__label {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

/* ─── ATTRIBUTION / FEATURE CARDS ─── */
.attribution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.attribution__feature {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.attribution__feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.attribution__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.attribution__icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.attribution__feature h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 4px;
}

.attribution__feature p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── TRUST / COMPLIANCE ─── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.trust-badge {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.trust-badge:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.trust-badge__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.trust-badge h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.trust-badge p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── INTEGRATIONS ─── */
.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.integration-chip {
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease);
  cursor: default;
}

.integration-chip:hover {
  box-shadow: var(--shadow-md);
  color: var(--accent);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

/* ─── COMPARISON TABLE ─── */
.comparison {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.comparison__header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison__header div {
  padding: var(--space-md) var(--space-lg);
}

.comparison__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background var(--duration) var(--ease);
}

.comparison__row:last-child {
  border-bottom: none;
}

.comparison__row:hover {
  background: var(--bg-alt);
}

.comparison__row div {
  padding: var(--space-md) var(--space-lg);
  font-size: var(--fs-sm);
}

.comparison__row div:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

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

.comparison__row .cross {
  color: var(--text-muted);
}

/* ─── METRICS STRIP ─── */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.metrics-strip__item {
  padding: var(--space-xl) var(--space-md);
}

.metrics-strip__number {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.metrics-strip__label {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.section--gradient .metrics-strip__number {
  color: #fff;
}

.section--gradient .metrics-strip__label {
  color: rgba(255, 255, 255, 0.75);
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: #111827;
  /* Solid Charcoal for premium feel */
  padding: var(--space-4xl) 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: 50vw;
  background: var(--accent-orange);
  filter: blur(120px);
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
  color: #fff;
}

.cta-section p {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}

.cta-section .btn--white {
  background: #fff;
  color: #111827;
  border: none;
}

.cta-section .btn--white:hover {
  background: var(--accent-orange);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.cta-section h2,
.cta-section p {
  position: relative;
  z-index: 2;
}

/* ─── ROI CALCULATOR ─── */
.roi-calc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-3xl);
}

.roi-calc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 768px) {
  .roi-calc__grid {
    grid-template-columns: 1fr;
  }
}

.roi-calc__inputs .form-group {
  margin-bottom: var(--space-xl);
}

.roi-calc__inputs label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.roi-calc__inputs input[type="range"] {
  width: 100%;
  margin: var(--space-sm) 0;
  accent-color: var(--accent-orange);
}

.roi-calc__value-display {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-main);
}

.roi-calc__results {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.roi-card {
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  text-align: center;
}

.roi-card--dark {
  background: var(--accent-main);
  color: #fff;
}

.roi-card__label {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  margin-bottom: var(--space-xs);
}

.roi-card__value {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.roi-card__desc {
  font-size: var(--fs-xs);
  opacity: 0.7;
}

.roi-card--dark .roi-card__value {
  color: #fff;
}

/* ─── FORM ─── */
.form-card {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.form-card h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.form-card>p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xl);
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.form__input,
.form__select {
  width: 100%;
  padding: 0.7rem var(--space-md);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  font-family: var(--font);
  font-size: var(--fs-sm);
  color: var(--text-primary);
  transition: all var(--duration) var(--ease);
  outline: none;
}

.form__input:focus,
.form__select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--bg-primary);
}

.form__input::placeholder {
  color: var(--text-muted);
}

/* ─── NUMBERED FEATURES ─── */
.numbered-list {
  max-width: 700px;
  counter-reset: numbered;
}

.numbered-list__item {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border);
  counter-increment: numbered;
  transition: padding-left var(--duration) var(--ease);
}

.numbered-list__item:hover {
  padding-left: var(--space-sm);
}

.numbered-list__item::before {
  content: counter(numbered, decimal-leading-zero);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  flex-shrink: 0;
  min-width: 50px;
}

.numbered-list__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: 4px;
}

.numbered-list__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── PAGE HERO (inner pages) ─── */

.page-hero {
  padding: 10rem 0 var(--space-3xl);
  text-align: center;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(26, 86, 219, 0.06) 0%, transparent 70%);
}

.page-hero__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  position: relative;
}

.page-hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* ─── FOOTER (Redesign) ─── */
.footer {
  background: #fff;
  padding: 8rem 0 4rem;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: var(--glow-footer);
  pointer-events: none;
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: 6rem;
}

@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

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

.footer__brand-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.footer__brand-logo span {
  color: var(--accent-orange);
}

.footer__brand-desc {
  max-width: 250px;
  color: var(--text-muted);
  font-size: var(--fs-md);
  line-height: 1.6;
}

.footer__heading {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main);
  margin-bottom: var(--space-xl);
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--fs-md);
  transition: color var(--duration) var(--ease);
}

.footer__links a:hover {
  color: var(--accent-orange);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-2xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: var(--fs-sm);
}

@media (max-width: 576px) {
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* Compliance Badges moved to end of file */



/* ─── SCROLL REVEAL/* ─── ANIMATIONS (Sarvam Style) ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Children Logic */
.stagger-children>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stagger-children.visible>* {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(1) {
  transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(2) {
  transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger-children.visible>*:nth-child(4) {
  transition-delay: 0.4s;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 4rem;
    --fs-4xl: 3.25rem;
    --fs-3xl: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav {
    top: 1rem;
    width: calc(100% - 2rem);
  }

  .nav__links {
    display: none;
    /* Hide on mobile for now, or add mobile menu panel */
  }

  .hero {
    padding-top: 8rem;
  }

  .hero__title {
    font-size: 3rem;
  }
}

/* ─── RESPONSIVE — TABLET ─── */
@media (max-width: 1024px) {
  .hero__title {
    font-size: var(--fs-4xl);
  }

  .page-hero__title {
    font-size: var(--fs-3xl);
  }

  .section__title {
    font-size: var(--fs-2xl);
  }

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

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

  .split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .split--reverse {
    direction: ltr;
  }

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

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

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

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

/* ─── RESPONSIVE — MOBILE ─── */
@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 7rem var(--space-md) var(--space-3xl);
  }

  .hero__title {
    font-size: var(--fs-2xl);
  }

  .hero__subtitle {
    font-size: var(--fs-base);
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .hero__stat-divider {
    width: 40px;
    height: 1px;
  }

  .page-hero {
    padding: 7rem 0 var(--space-2xl);
  }

  .page-hero__title {
    font-size: var(--fs-2xl);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .section__title {
    font-size: var(--fs-xl);
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    font-size: var(--fs-lg);
    color: var(--text-primary);
  }

  .nav__toggle {
    display: flex;
  }

  .stepper,
  .cards-grid--2,
  .cards-grid--3,
  .cards-grid--4,
  .trust-grid,
  .attribution-grid {
    grid-template-columns: 1fr;
  }

  .tabs__nav {
    flex-wrap: wrap;
  }

  .comparison__header,
  .comparison__row {
    grid-template-columns: 1.5fr 1fr 1fr;
    font-size: var(--fs-xs);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .numbered-list__item {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* ─── COOKIE NOTICE ─── */
.cookie-notice {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - var(--space-2xl));
  max-width: 500px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  transition: transform 0.6s var(--ease);
}

.cookie-notice.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-notice__content p {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-notice__close {
  padding: 0.5rem 1rem !important;
  font-size: var(--fs-xs) !important;
}

/* ─── LEGAL PAGES ─── */
.legal {
  padding: var(--space-5xl) 0;
}

.legal__content {
  max-width: 800px;
  margin: 0 auto;
}

.legal__content h1,
.legal__content h2,
.legal__content h3 {
  font-family: var(--font-display);
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
}

.legal__content p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

/* ─── 404 PAGE ─── */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-orange);
  margin-bottom: var(--space-md);
}

.error-page p {
  font-size: var(--fs-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

/* ─── FOOTER BADGES ─── */
.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
}

.footer__badge:hover {
  background: #fff;
  border-color: var(--accent-orange);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.footer__badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent-orange);
  stroke-width: 2.5px;
}