/* ========================================
   PERSONIFI DESIGN SYSTEM
   Premium — Ramp / Stripe / Mercury tier
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  /* Primary */
  --brand-primary: #1A2B4A;
  --brand-accent: #2E5BFF;
  --brand-accent-hover: #1A45D6;
  --brand-accent-light: rgba(46, 91, 255, 0.08);
  --brand-accent-glow: rgba(46, 91, 255, 0.25);

  /* Neutrals */
  --neutral-900: #0F1728;
  --neutral-800: #1D2939;
  --neutral-700: #344054;
  --neutral-600: #475467;
  --neutral-400: #98A2B3;
  --neutral-300: #D0D5DD;
  --neutral-200: #E4E7EC;
  --neutral-100: #F2F4F7;
  --neutral-50: #F9FAFB;
  --white: #FFFFFF;

  /* Status */
  --success: #12B76A;
  --warning: #F79009;
  --error: #F04438;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-tight: 640px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-2xl: 24px;

  /* Shadows — layered for depth */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-2xl: 0 32px 80px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 40px rgba(46, 91, 255, 0.15), 0 0 80px rgba(46, 91, 255, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);

  /* Transitions — premium easing */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--neutral-600);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Typography --- */
.display {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--neutral-900);
}

h1, .h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--neutral-900);
}

h2, .h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--neutral-900);
}

h3, .h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--neutral-700);
}

h4, .h4 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--neutral-700);
}

.body-lg {
  font-size: 20px;
  line-height: 1.7;
  color: var(--neutral-600);
}

.body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--neutral-600);
}

.body-sm {
  font-size: 14px;
  line-height: 1.6;
  color: var(--neutral-600);
}

.caption {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--neutral-400);
  letter-spacing: 0.02em;
}

.overline {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 16px;
  display: inline-block;
  background: var(--brand-accent-light);
  padding: 6px 14px;
  border-radius: 100px;
}

/* Gradient text for hero emphasis */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-accent) 0%, #7C3AED 50%, var(--brand-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.container--narrow {
  max-width: var(--container-narrow);
}

.container--tight {
  max-width: var(--container-tight);
}

.section {
  padding: 120px 0;
  position: relative;
}

.section--gray {
  background: var(--neutral-50);
}

.section--dark {
  background: var(--neutral-900);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark .overline {
  color: var(--white);
}

.section--dark .overline {
  background: rgba(46, 91, 255, 0.15);
}

.section--dark p,
.section--dark .body-lg {
  color: var(--neutral-400);
}

.section--gradient {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(46, 91, 255, 0.08) 0%, transparent 100%),
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(124, 58, 237, 0.05) 0%, transparent 100%),
    linear-gradient(180deg, #FAFBFF 0%, #F9FAFB 40%, var(--white) 100%);
}

/* Subtle mesh gradient for premium sections */
.section--mesh {
  background:
    radial-gradient(ellipse 50% 80% at 20% 40%, rgba(46, 91, 255, 0.04) 0%, transparent 100%),
    radial-gradient(ellipse 50% 80% at 80% 60%, rgba(124, 58, 237, 0.03) 0%, transparent 100%),
    var(--white);
}

/* Grid */
.grid {
  display: grid;
  gap: 32px;
}

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

.grid--6-6 { grid-template-columns: 1fr 1fr; }
.grid--5-7 { grid-template-columns: 5fr 7fr; }
.grid--7-5 { grid-template-columns: 7fr 5fr; }

/* Flex */
.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--col { flex-direction: column; }
.flex--gap-sm { gap: 8px; }
.flex--gap-md { gap: 16px; }
.flex--gap-lg { gap: 24px; }
.flex--gap-xl { gap: 32px; }

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

/* Max widths for centered text */
.max-w-600 { max-width: 600px; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }

/* Spacing helpers */
.mb-0 { margin-bottom: 0; }
.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; }
.mb-7 { margin-bottom: 48px; }
.mb-8 { margin-bottom: 64px; }

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 1000;
  transition: all var(--transition-slow);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--neutral-200);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

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

.nav__logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 30px;
  width: auto;
}

.footer__logo img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}

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

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--neutral-600);
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

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

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

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

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

.nav__mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--border-radius);
}

.nav__mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--neutral-900);
  position: relative;
  transition: var(--transition-base);
}

.nav__mobile-toggle span::before,
.nav__mobile-toggle span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--neutral-900);
  left: 0;
  transition: var(--transition-base);
}

.nav__mobile-toggle span::before { top: -6px; }
.nav__mobile-toggle span::after { top: 6px; }

.nav__mobile-toggle.open span {
  background: transparent;
}
.nav__mobile-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav__mobile-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--neutral-700);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.mobile-menu a:hover {
  background: var(--neutral-50);
  color: var(--brand-accent);
}

.mobile-menu__actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
}

.btn--primary {
  background: var(--brand-accent);
  color: var(--white);
  padding: 14px 28px;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(46, 91, 255, 0.25), 0 1px 2px rgba(46, 91, 255, 0.15);
}

.btn--primary:hover {
  background: var(--brand-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 91, 255, 0.3), 0 2px 8px rgba(46, 91, 255, 0.2);
}

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

.btn--secondary {
  background: transparent;
  color: var(--neutral-900);
  padding: 14px 28px;
  font-size: 16px;
  border: 1.5px solid var(--neutral-200);
}

.btn--secondary:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  background: var(--brand-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--neutral-700);
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
}

.btn--ghost:hover {
  color: var(--brand-accent);
  background: var(--brand-accent-light);
  border-radius: 10px;
}

.btn--white {
  background: var(--white);
  color: var(--neutral-900);
  padding: 14px 28px;
  font-size: 16px;
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn--outline-white {
  background: transparent;
  color: white;
  padding: 14px 28px;
  font-size: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 17px;
  border-radius: 12px;
}

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

.btn--icon svg {
  width: 16px;
  height: 16px;
}

/* Arrow for link-style buttons */
.btn--arrow::after {
  content: '\2192';
  transition: transform var(--transition-fast);
}

.btn--arrow:hover::after {
  transform: translateX(4px);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--border-radius-xl);
  padding: 32px;
  transition: all var(--transition-slow);
  position: relative;
}

.card:hover {
  border-color: rgba(46, 91, 255, 0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card--flat {
  border: none;
  background: var(--neutral-50);
}

.card--flat:hover {
  background: var(--neutral-100);
  box-shadow: none;
  transform: translateY(-2px);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(46, 91, 255, 0.1) 0%, rgba(124, 58, 237, 0.08) 100%);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand-accent);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 8px;
}

.card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--neutral-600);
}

/* Stat card */
.stat-card {
  text-align: center;
  padding: 32px;
}

.stat-card__number {
  font-size: 48px;
  font-weight: 700;
  color: var(--brand-accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: 15px;
  color: var(--neutral-600);
}

/* --- Hero Sections --- */
.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% -10%, rgba(46, 91, 255, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(124, 58, 237, 0.06) 0%, transparent 100%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(46, 91, 255, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

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

.hero--centered h1,
.hero--centered .body-lg {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.hero--centered .hero__actions {
  justify-content: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-accent-light);
  color: var(--brand-accent);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(46, 91, 255, 0.12);
}

/* Product mockup — elevated with perspective */
.product-mockup {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--border-radius-2xl);
  padding: 0;
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
}

.product-mockup:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.14), 0 8px 32px rgba(0, 0, 0, 0.06);
}

.product-mockup__bar {
  display: flex;
  gap: 6px;
  padding: 16px 20px;
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
}

.product-mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neutral-200);
}

.product-mockup__content {
  background: var(--white);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Dashboard mockup elements */
.mockup-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--neutral-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-header__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
}

.mockup-body {
  padding: 20px;
  flex: 1;
}

.mockup-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.mockup-stat {
  background: var(--neutral-50);
  border-radius: var(--border-radius);
  padding: 16px;
}

.mockup-stat__label {
  font-size: 11px;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.mockup-stat__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
}

.mockup-stat__value--green {
  color: var(--success);
}

.mockup-chart {
  height: 120px;
  background: linear-gradient(180deg, rgba(46, 91, 255, 0.05) 0%, transparent 100%);
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.mockup-chart__line {
  position: absolute;
  bottom: 20%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-accent);
  clip-path: polygon(0% 60%, 10% 55%, 20% 40%, 30% 45%, 40% 30%, 50% 35%, 60% 20%, 70% 25%, 80% 15%, 90% 10%, 100% 5%, 100% 100%, 0% 100%);
  opacity: 0.3;
}

.mockup-chart__line--top {
  height: 2px;
  background: var(--brand-accent);
  clip-path: polygon(0% 60%, 10% 55%, 20% 40%, 30% 45%, 40% 30%, 50% 35%, 60% 20%, 70% 25%, 80% 15%, 90% 10%, 100% 5%);
  bottom: auto;
  top: 0;
}

.mockup-table {
  width: 100%;
  margin-top: 16px;
}

.mockup-table__row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  padding: 10px 0;
  border-bottom: 1px solid var(--neutral-100);
  font-size: 13px;
  color: var(--neutral-600);
  align-items: center;
}

.mockup-table__row--header {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-400);
}

.mockup-table__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.mockup-table__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.mockup-table__status--pending::before {
  background: var(--warning);
}

.mockup-table__amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--neutral-900);
}

/* --- Feature Sections --- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

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

.feature-visual {
  background: linear-gradient(135deg, var(--neutral-50) 0%, #F0F2FF 100%);
  border-radius: var(--border-radius-2xl);
  padding: 40px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--neutral-200);
  transition: all 0.6s var(--ease-out-expo);
  overflow: hidden;
}

.feature-visual:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-visual__placeholder {
  font-size: 14px;
  color: var(--neutral-400);
  text-align: center;
}

/* --- Steps --- */
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
}

.step__number {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-accent) 0%, #4F6AFF 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(46, 91, 255, 0.3);
}

.step__content h3 {
  margin-bottom: 8px;
}

.steps-connector {
  width: 2px;
  height: 32px;
  background: linear-gradient(180deg, var(--brand-accent) 0%, var(--neutral-200) 100%);
  margin-left: 25px;
  border-radius: 1px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--neutral-900) 0%, #1A2744 50%, #0F1728 100%);
  border-radius: var(--border-radius-2xl);
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 20%, rgba(46, 91, 255, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 36px;
}

.cta-banner p {
  color: var(--neutral-400);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.7;
}

/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid var(--neutral-200);
}

.faq-item:first-child {
  border-top: 1px solid var(--neutral-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--neutral-900);
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--brand-accent);
}

.faq-question__icon {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
  background: var(--neutral-50);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.faq-item.open .faq-question__icon {
  background: var(--brand-accent-light);
}

.faq-question__icon::before,
.faq-question__icon::after {
  content: '';
  position: absolute;
  background: var(--neutral-600);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-question__icon::before,
.faq-item.open .faq-question__icon::after {
  background: var(--brand-accent);
}

.faq-question__icon::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-question__icon::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-question__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 28px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--neutral-600);
}

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

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

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--neutral-200);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 16px;
  color: var(--neutral-900);
  background: var(--white);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 4px rgba(46, 91, 255, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--neutral-400);
}

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

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

/* --- Login Split Layout --- */
.login-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.login-form-wrapper {
  width: 100%;
  max-width: 400px;
}

.login-hero-side {
  background: linear-gradient(135deg, var(--neutral-900) 0%, #1A2744 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.login-hero-content {
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.login-hero-content h2 {
  color: var(--white);
  font-size: 36px;
  margin-bottom: 24px;
}

.login-hero-content p {
  color: var(--neutral-400);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.login-hero-content .tagline {
  color: var(--brand-accent);
  font-weight: 600;
  font-size: 18px;
  margin-top: 32px;
}

.login-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  background:
    radial-gradient(circle at 30% 50%, var(--brand-accent) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, #7C3AED 0%, transparent 50%);
}

/* Form divider */
.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--neutral-200);
}

.form-divider span {
  font-size: 13px;
  color: var(--neutral-400);
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--neutral-100);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.tab {
  flex: 1;
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-600);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab.active {
  background: var(--white);
  color: var(--neutral-900);
  box-shadow: var(--shadow-sm);
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--neutral-100);
  color: var(--neutral-700);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
}

.badge--accent {
  background: var(--brand-accent-light);
  color: var(--brand-accent);
}

/* --- Footer --- */
.footer {
  background: var(--neutral-900);
  padding: 80px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 91, 255, 0.3), transparent);
}

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

.footer__brand p {
  color: var(--neutral-400);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer__col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  font-size: 14px;
  color: var(--neutral-400);
  padding: 6px 0;
  transition: all var(--transition-fast);
}

.footer__links a:hover {
  color: var(--white);
  transform: translateX(2px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copyright {
  font-size: 13px;
  color: var(--neutral-400);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: var(--neutral-400);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer__social a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* --- Resource Cards --- */
.resource-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--border-radius-xl);
  padding: 32px;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  border-color: rgba(46, 91, 255, 0.3);
  box-shadow: 0 12px 40px rgba(46, 91, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.resource-card__tag {
  display: inline-flex;
  background: var(--brand-accent-light);
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  align-self: flex-start;
  border: 1px solid rgba(46, 91, 255, 0.1);
}

.resource-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.resource-card__text {
  font-size: 14px;
  color: var(--neutral-600);
  line-height: 1.7;
  flex: 1;
}

.resource-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-accent);
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
  transition: gap var(--transition-fast);
}

.resource-card__link:hover {
  gap: 10px;
}

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

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

/* Hero content should be visible on load */
.hero .reveal,
.page-header .reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* Fade up from further for more drama */
.reveal--deep {
  transform: translateY(60px);
}

.reveal--deep.visible {
  transform: translateY(0);
}

/* Scale in */
.reveal--scale {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

/* --- Social Proof --- */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 32px 0;
  opacity: 0.4;
}

.social-proof__item {
  font-size: 18px;
  font-weight: 600;
  color: var(--neutral-400);
  letter-spacing: -0.01em;
}

/* --- Pricing (custom, no tiers) --- */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--border-radius-2xl);
  padding: 56px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent), #7C3AED, var(--brand-accent));
}

.pricing-factors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.pricing-factor {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--neutral-50);
  border-radius: var(--border-radius);
  font-size: 14px;
  color: var(--neutral-700);
}

.pricing-factor svg {
  width: 18px;
  height: 18px;
  color: var(--brand-accent);
  flex-shrink: 0;
}

/* --- Page header (inner pages) --- */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(46, 91, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  margin-bottom: 20px;
}

.page-header .body-lg {
  max-width: 640px;
  margin: 0 auto;
}

/* --- Decorative elements --- */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb--blue {
  background: rgba(46, 91, 255, 0.12);
}

.glow-orb--purple {
  background: rgba(124, 58, 237, 0.08);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1, .h1 { font-size: 44px; }
  h2, .h2 { font-size: 34px; }
  h3, .h3 { font-size: 24px; }
  .display { font-size: 52px; }

  .section { padding: 80px 0; }
  .hero { padding: 140px 0 80px; }
  .page-header { padding: 130px 0 60px; }

  .hero--split { grid-template-columns: 1fr; gap: 48px; }
  .feature-split { grid-template-columns: 1fr; gap: 48px; }
  .feature-split--reverse { direction: ltr; }

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

  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .cta-banner { padding: 56px 40px; }
}

@media (max-width: 768px) {
  h1, .h1 { font-size: 36px; }
  h2, .h2 { font-size: 30px; }
  h3, .h3 { font-size: 22px; }
  .display { font-size: 40px; }
  .body-lg { font-size: 18px; }

  .section { padding: 64px 0; }
  .hero { padding: 120px 0 60px; }
  .page-header { padding: 110px 0 48px; }

  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__mobile-toggle { display: flex; }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--6-6,
  .grid--5-7,
  .grid--7-5 {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

  .login-split {
    grid-template-columns: 1fr;
  }

  .login-hero-side {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    padding: 48px 24px;
  }

  .cta-banner h2 {
    font-size: 28px;
  }

  .mockup-stat-row {
    grid-template-columns: 1fr;
  }

  .mockup-table__row {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .social-proof {
    flex-wrap: wrap;
    gap: 24px;
  }

  .feature-visual {
    min-height: 260px;
    padding: 24px;
  }

  .feature-split {
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  h1, .h1 { font-size: 30px; }
  h2, .h2 { font-size: 26px; }

  .card { padding: 24px; }
  .pricing-card { padding: 32px; }

  .hero { padding: 110px 0 48px; }
}

/* --- Print --- */
@media print {
  .nav, .footer, .cta-banner, .btn { display: none; }
  .section { padding: 24px 0; }
}
