/* ===================================================================
   LUNAR DESIGN SYSTEM -- styles.css
   Dark cosmic theme with glassmorphism, glow effects, star fields
   =================================================================== */

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

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ===== CUSTOM PROPERTIES ===== */
:root {
  /* Background Colors — professional deep navy */
  --color-bg-deepest: #0c1222;
  --color-bg-deep: #111827;
  --color-bg-dark: #162032;
  --color-bg-medium: #1c2940;
  --color-bg-lighter: #243352;

  /* Lunar Glow Colors */
  --color-lunar-white: #f0f0f5;
  --color-lunar-silver: #c4c9d4;
  --color-lunar-muted: #8892a8;
  --color-lunar-dim: #5a6380;
  --color-lunar-glow: rgba(240,240,245,0.08);

  /* Accent -- Cosmic Purple */
  --color-purple-700: #6d28d9;
  --color-purple-600: #7c3aed;
  --color-purple-500: #8b5cf6;
  --color-purple-400: #a855f7;
  --color-purple-300: #c084fc;
  --color-purple-100: rgba(124,58,237,0.12);

  /* Accent -- Electric Blue */
  --color-blue-600: #2563eb;
  --color-blue-500: #3b82f6;
  --color-blue-400: #60a5fa;
  --color-blue-100: rgba(59,130,246,0.12);

  /* Accent -- Teal */
  --color-teal-600: #0d9488;
  --color-teal-500: #14b8a6;
  --color-teal-400: #2dd4bf;
  --color-teal-100: rgba(20,184,166,0.12);

  /* Semantic */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #111827 0%, #1c2940 40%, #162032 100%);
  --gradient-purple-blue: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  --gradient-purple-teal: linear-gradient(135deg, #7c3aed 0%, #14b8a6 100%);
  --gradient-text: linear-gradient(135deg, #c084fc 0%, #60a5fa 50%, #2dd4bf 100%);
  --gradient-glow: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  --gradient-card-border: linear-gradient(135deg, rgba(124,58,237,0.3) 0%, rgba(59,130,246,0.3) 100%);
  --gradient-mesh-1: radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.1) 0%, transparent 50%);
  --gradient-mesh-2: radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.08) 0%, transparent 50%);
  --gradient-mesh-3: radial-gradient(ellipse at 50% 80%, rgba(20,184,166,0.06) 0%, transparent 50%);

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Type Scale */
  --text-display: 2.5rem;
  --text-h1: 2.25rem;
  --text-h2: 1.75rem;
  --text-h3: 1.375rem;
  --text-h4: 1.125rem;
  --text-body-lg: 1.0625rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-xs: 0.75rem;

  /* Spacing (4px grid) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.6);
  --shadow-glow-sm: 0 0 15px rgba(124,58,237,0.3);
  --shadow-glow-md: 0 0 30px rgba(124,58,237,0.2), 0 0 60px rgba(59,130,246,0.1);
  --shadow-glow-lg: 0 0 40px rgba(124,58,237,0.3), 0 0 80px rgba(59,130,246,0.15), 0 0 120px rgba(20,184,166,0.1);
}

/* Tablet+ type scale */
@media (min-width: 768px) {
  :root {
    --text-display: 3.5rem;
    --text-h1: 2.75rem;
    --text-h2: 2rem;
    --text-h3: 1.5rem;
    --text-h4: 1.175rem;
    --text-body-lg: 1.125rem;
    --text-body: 1.0625rem;
    --text-small: 0.9375rem;
    --text-xs: 0.8125rem;
  }
}

/* Desktop+ type scale */
@media (min-width: 1024px) {
  :root {
    --text-display: 4.5rem;
    --text-h1: 3.5rem;
    --text-h2: 2.5rem;
    --text-h3: 1.75rem;
    --text-h4: 1.25rem;
    --text-body-lg: 1.25rem;
  }
}

/* ===== BODY ===== */
body {
  font-family: var(--font-body);
  color: var(--color-lunar-silver);
  font-size: var(--text-body);
  line-height: 1.7;
  background-color: var(--color-bg-deepest);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  background: var(--color-purple-600);
  color: var(--color-lunar-white);
  padding: var(--sp-3) var(--sp-6);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 700;
  font-size: var(--text-small);
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  position: fixed;
  top: 0;
  outline: 2px solid var(--color-purple-400);
  outline-offset: 2px;
}

/* ===== FOCUS INDICATORS ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-purple-400);
  outline-offset: 2px;
}

/* ===== STAR FIELD BACKGROUND ===== */
.star-field {
  position: relative;
  overflow: hidden;
}
.star-field::before,
.star-field::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.star-field::before {
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 65%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,0.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 45%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 80%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 15% 90%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 45% 50%, rgba(255,255,255,0.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 95% 30%, rgba(255,255,255,0.35) 50%, transparent 50%);
  background-size: 250px 250px;
  animation: twinkle 8s ease-in-out infinite alternate;
}
.star-field::after {
  background-image:
    radial-gradient(1.5px 1.5px at 20% 40%, rgba(255,255,255,0.5) 50%, transparent 50%),
    radial-gradient(2px 2px at 60% 25%, rgba(196,201,212,0.4) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 80% 70%, rgba(255,255,255,0.45) 50%, transparent 50%),
    radial-gradient(2px 2px at 40% 85%, rgba(196,201,212,0.35) 50%, transparent 50%);
  background-size: 300px 300px;
  animation: twinkle 12s ease-in-out infinite alternate-reverse;
}

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

/* ===== GRADIENT MESH BACKGROUND ===== */
.mesh-bg {
  position: relative;
}
.mesh-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--gradient-mesh-1),
    var(--gradient-mesh-2),
    var(--gradient-mesh-3);
  pointer-events: none;
  z-index: 0;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-lunar-white);
  line-height: 1.15;
}

h1 { font-size: var(--text-h1); font-weight: 800; letter-spacing: -0.015em; line-height: 1.1; }
h2 { font-size: var(--text-h2); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
h3 { font-size: var(--text-h3); font-weight: 700; letter-spacing: -0.005em; line-height: 1.25; }
h4 { font-size: var(--text-h4); font-weight: 600; line-height: 1.35; }

.text-display {
  font-size: var(--text-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

a {
  color: var(--color-blue-400);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--color-purple-400); }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--sp-8); }
}
.container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
@media (min-width: 768px) {
  .container--wide { padding: 0 var(--sp-8); }
}
.section-padding {
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-12);
}
@media (min-width: 768px) {
  .section-padding { padding-top: var(--sp-16); padding-bottom: var(--sp-16); }
}
@media (min-width: 1024px) {
  .section-padding { padding-top: var(--sp-24); padding-bottom: var(--sp-24); }
}

/* ===== GLASSMORPHISM CARD ===== */
.glass-card {
  background: rgba(22, 32, 50, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.glass-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-glow-sm);
  transform: translateY(-4px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-purple-blue);
  color: var(--color-lunar-white);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(124,58,237,0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(124,58,237,0.5);
  transform: translateY(-2px);
  color: var(--color-lunar-white);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(124,58,237,0.3);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-lunar-white);
  font-weight: 600;
  padding: 13px 30px;
  border-radius: var(--radius-md);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
  color: var(--color-lunar-white);
}

.btn-hero {
  background: var(--gradient-purple-blue);
  color: var(--color-lunar-white);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 18px 44px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(124,58,237,0.4);
}
.btn-hero:hover {
  box-shadow: 0 8px 35px rgba(124,58,237,0.6);
  transform: translateY(-3px);
  color: var(--color-lunar-white);
}

.btn-ghost {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--color-purple-300);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 24px;
  border-radius: var(--radius-md);
}
.btn-ghost:hover {
  background: rgba(124,58,237,0.25);
  border-color: rgba(124,58,237,0.5);
  color: var(--color-purple-300);
}

/* ===== BADGE (PILL) ===== */
.badge {
  display: inline-block;
  background: var(--color-purple-100);
  color: var(--color-purple-300);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(124,58,237,0.2);
}

/* ===== INPUT FIELDS ===== */
.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-lunar-white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-lunar-dim);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-purple-500);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
  outline: none;
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235a6380' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
}
.form-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-lunar-silver);
  margin-bottom: var(--sp-2);
}

/* ===== GLOW BORDER ===== */
.glow-border {
  position: relative;
}
.glow-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--gradient-purple-teal);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.glow-border:hover::before {
  opacity: 1;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar--scrolled {
  background: rgba(17,24,39,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.navbar__inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .navbar__inner { padding: 0 var(--sp-8); }
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  color: var(--color-lunar-white);
  flex-shrink: 0;
}
.navbar__logo svg { display: block; }

.navbar__links {
  display: none;
  list-style: none;
  gap: var(--sp-8);
  align-items: center;
}
@media (min-width: 1024px) {
  .navbar__links { display: flex; }
}
.navbar__links a {
  color: var(--color-lunar-silver);
  font-size: var(--text-small);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.navbar__links a:hover {
  color: var(--color-purple-400);
}
.navbar__links a.active {
  color: var(--color-purple-400);
  border-bottom-color: var(--color-purple-400);
}

.navbar__cta {
  display: none;
}
@media (min-width: 1024px) {
  .navbar__cta { display: inline-flex; }
}

.navbar__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
@media (min-width: 1024px) {
  .navbar__hamburger { display: none; }
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-lunar-white);
  position: relative;
  transition: background 0.3s;
}
.navbar__hamburger span::before,
.navbar__hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-lunar-white);
  transition: transform 0.3s;
}
.navbar__hamburger span::before { top: -7px; }
.navbar__hamburger span::after { top: 7px; }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(12,18,34,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  padding: var(--sp-8);
}
.mobile-menu--open {
  transform: translateY(0);
}
.mobile-menu__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu__close svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-lunar-white);
}
.mobile-menu__links {
  list-style: none;
  text-align: center;
  width: 100%;
  max-width: 400px;
}
.mobile-menu__links li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu__links a {
  display: block;
  padding: var(--sp-5) 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-lunar-white);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu__links a:hover {
  color: var(--color-purple-400);
}
.mobile-menu__cta {
  margin-top: var(--sp-8);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-bg-deepest);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-16) var(--sp-6) var(--sp-8);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
.footer__brand p {
  color: var(--color-lunar-muted);
  font-size: var(--text-small);
  margin-top: var(--sp-4);
  line-height: 1.6;
}
.footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, border-color 0.2s;
}
.footer__social a:hover {
  background: rgba(124,58,237,0.2);
  border-color: rgba(124,58,237,0.3);
}
.footer__social svg {
  width: 16px;
  height: 16px;
  fill: var(--color-lunar-muted);
}
.footer__col-title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-lunar-dim);
  margin-bottom: var(--sp-4);
  font-weight: 600;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer__col a {
  color: var(--color-lunar-muted);
  font-size: var(--text-small);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--color-lunar-white);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--sp-6);
  margin-top: var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer__bottom span {
  font-size: var(--text-xs);
  color: var(--color-lunar-dim);
}

/* ===== HERO SECTIONS ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: var(--gradient-hero);
  position: relative;
}
.hero--short {
  min-height: auto;
  max-height: none;
  padding-top: calc(72px + var(--sp-16));
  padding-bottom: var(--sp-16);
}
@media (min-width: 1024px) {
  .hero--short {
    padding-top: calc(72px + var(--sp-24));
    padding-bottom: var(--sp-24);
  }
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
@media (min-width: 1024px) {
  .hero__content--left { text-align: left; }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.hero__badge { margin-bottom: var(--sp-6); }
.hero__title {
  margin-bottom: var(--sp-6);
}
.hero__subtitle {
  font-size: var(--text-body-lg);
  color: var(--color-lunar-silver);
  margin-bottom: var(--sp-8);
  max-width: 600px;
}
@media (min-width: 1024px) {
  .hero__subtitle { margin-left: 0; }
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__actions {
    flex-direction: row;
    justify-content: flex-start;
  }
}
.hero__secondary-link {
  color: var(--color-lunar-muted);
  font-weight: 600;
  font-size: var(--text-small);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: color 0.2s;
}
.hero__secondary-link:hover { color: var(--color-lunar-white); }
.hero__secondary-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  animation: float-arrow 2s ease-in-out infinite;
}
@keyframes float-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Hero Mockup Card */
.hero__mockup {
  display: none;
}
@media (min-width: 768px) {
  .hero__mockup { display: block; }
}
.mockup-card {
  background: rgba(22,32,50,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-2xl);
  padding: var(--sp-6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-xl);
  animation: float 20s ease-in-out infinite;
}
.mockup-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-card__title {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--color-lunar-white);
}
.mockup-card__badge {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-teal-400);
  background: var(--color-teal-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(20,184,166,0.2);
}
.mockup-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
}
.mockup-card__label {
  font-size: var(--text-xs);
  color: var(--color-lunar-muted);
}
.mockup-card__value {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-lunar-white);
  font-family: var(--font-mono);
}
.mockup-card__confidence {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}
.mockup-card__confidence--high {
  color: var(--color-success);
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.2);
}
.mockup-card__confidence--review {
  color: var(--color-warning);
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.2);
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-12);
  text-align: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }
}
.stats-bar__number {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 800;
  display: block;
  margin-bottom: var(--sp-1);
}
.stats-bar__label {
  font-size: var(--text-xs);
  color: var(--color-lunar-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Floating Decorative Elements */
.floating-moon {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(124,58,237,0.1);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.3;
}
.floating-moon::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 10%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: var(--color-bg-deepest);
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}
.glow-orb--purple {
  width: 200px;
  height: 200px;
  background: rgba(124,58,237,0.08);
  top: 30%;
  left: 10%;
}
.glow-orb--blue {
  width: 150px;
  height: 150px;
  background: rgba(59,130,246,0.06);
  bottom: 20%;
  right: 15%;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(2deg); }
  66% { transform: translateY(8px) rotate(-1deg); }
}
@keyframes orbit {
  0% { transform: rotate(0deg) translateX(40px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(40px) rotate(-360deg); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

/* ===== SECTION DIVIDER ===== */
/* Subtle dividers between sections instead of alternating background colors */
.section-divider {
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== SOCIAL PROOF BAR ===== */
.social-proof {
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
}
.social-proof__label {
  font-size: var(--text-xs);
  color: var(--color-lunar-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: var(--sp-5);
}
.social-proof__firms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}
.social-proof__pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-5);
  color: var(--color-lunar-dim);
  font-size: var(--text-xs);
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s;
}
.social-proof__pill:hover {
  color: var(--color-lunar-muted);
  border-color: rgba(255,255,255,0.1);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--sp-12);
}
.section-header .badge { margin-bottom: var(--sp-4); }
.section-header h2 { margin-bottom: var(--sp-4); }
.section-header p {
  color: var(--color-lunar-silver);
  font-size: var(--text-body-lg);
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  position: relative;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
  text-align: center;
  position: relative;
}
.step-card__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-xl);
  background: var(--color-purple-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  transition: transform 0.3s;
}
.step-card__icon:hover { transform: scale(1.1); }
.step-card__icon svg {
  width: 32px;
  height: 32px;
}
.step-card__number {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-purple-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.step-card h3 { margin-bottom: var(--sp-3); }
.step-card p {
  color: var(--color-lunar-silver);
  font-size: var(--text-body);
}

/* Step Connectors */
.step-connector {
  display: none;
}
@media (min-width: 768px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 36px;
    left: calc(33.333% + 16px);
    width: calc(33.333% - 32px);
    border-top: 2px dashed rgba(255,255,255,0.1);
  }
  .step-connector--2 {
    left: calc(66.666% + 16px);
    width: calc(33.333% - 32px);
  }
}

/* ===== BENTO FEATURE GRID ===== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 768px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
}
/* All bento items are symmetrical — equal sizing */
.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card__icon svg {
  width: 32px;
  height: 32px;
}
.feature-card h3 {
  margin-bottom: var(--sp-3);
}
.feature-card p {
  color: var(--color-lunar-silver);
  font-size: var(--text-body);
}
.bento-cta {
  text-align: center;
  margin-top: var(--sp-10);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  position: relative;
  padding-top: var(--sp-10);
}
.testimonial-card__quote-mark {
  position: absolute;
  top: var(--sp-6);
  left: var(--sp-6);
  font-size: 4rem;
  color: var(--color-purple-400);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card blockquote {
  color: var(--color-lunar-silver);
  font-size: var(--text-body);
  margin-bottom: var(--sp-6);
  font-style: normal;
  line-height: 1.7;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-lunar-white);
  font-size: var(--text-xs);
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-card__avatar--purple { background: var(--gradient-purple-blue); }
.testimonial-card__avatar--blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.testimonial-card__avatar--teal { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
.testimonial-card__name {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--color-lunar-white);
}
.testimonial-card__title {
  font-size: var(--text-xs);
  color: var(--color-lunar-muted);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner h2 { margin-bottom: var(--sp-4); }
.cta-banner p {
  color: var(--color-lunar-silver);
  font-size: var(--text-body-lg);
  margin-bottom: var(--sp-8);
}
.cta-banner__fine-print {
  margin-top: var(--sp-4);
  font-size: var(--text-xs);
  color: var(--color-lunar-dim);
}

/* ===== FEATURES PAGE ===== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
}
@media (min-width: 1024px) {
  .feature-block { grid-template-columns: 1fr 1fr; }
  .feature-block--reverse .feature-block__text { order: 2; }
  .feature-block--reverse .feature-block__visual { order: 1; }
}
.feature-block__text .badge { margin-bottom: var(--sp-4); }
.feature-block__text h2 { margin-bottom: var(--sp-5); }
.feature-block__text p {
  color: var(--color-lunar-silver);
  margin-bottom: var(--sp-5);
}
.feature-block__text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.feature-block__text li {
  padding-left: var(--sp-6);
  position: relative;
  color: var(--color-lunar-silver);
}
.feature-block__text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%232dd4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.feature-block__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Confidence mini-cards */
.confidence-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.confidence-card {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.confidence-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.confidence-card__dot--green { background: var(--color-success); }
.confidence-card__dot--amber { background: var(--color-warning); }
.confidence-card__dot--red { background: var(--color-error); }
.confidence-card__label {
  font-weight: 700;
  font-size: var(--text-small);
  color: var(--color-lunar-white);
}
.confidence-card__desc {
  font-size: var(--text-small);
  color: var(--color-lunar-muted);
}

/* Integration cards */
.integration-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-5);
}
@media (min-width: 768px) {
  .integration-cards { grid-template-columns: repeat(3, 1fr); }
}
.integration-card {
  padding: var(--sp-5);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.integration-card__name {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--color-lunar-white);
  margin-bottom: var(--sp-2);
}
.integration-card__desc {
  font-size: var(--text-xs);
  color: var(--color-lunar-muted);
}

/* Security feature list */
.security-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin: var(--sp-5) 0;
}
@media (min-width: 768px) {
  .security-list { grid-template-columns: 1fr 1fr; }
}
.security-list li {
  padding-left: var(--sp-6);
  position: relative;
  color: var(--color-lunar-silver);
  font-size: var(--text-small);
}
.security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%232dd4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Compliance badges */
.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.compliance-badge {
  background: rgba(22, 32, 50, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  text-align: center;
}
.compliance-badge__title {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--color-lunar-white);
}
.compliance-badge__subtitle {
  font-size: var(--text-xs);
  color: var(--color-lunar-muted);
  margin-top: var(--sp-1);
}

/* Role cards */
.role-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-5);
}
@media (min-width: 768px) {
  .role-cards { grid-template-columns: repeat(3, 1fr); }
}
.role-card {
  padding: var(--sp-5);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.role-card__name {
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--color-lunar-white);
  margin-bottom: var(--sp-2);
}
.role-card__desc {
  font-size: var(--text-small);
  color: var(--color-lunar-muted);
}

/* Audit log list */
.audit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin: var(--sp-5) 0;
}
.audit-list li {
  padding-left: var(--sp-6);
  position: relative;
  color: var(--color-lunar-silver);
}
.audit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%232dd4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Feature visual diagrams */
.feature-visual-diagram {
  width: 100%;
  max-width: 400px;
  padding: var(--sp-6);
}

/* ===== PRICING PAGE ===== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}
.pricing-toggle__label {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--color-lunar-muted);
  transition: color 0.3s;
}
.pricing-toggle__label--active { color: var(--color-lunar-white); }
.pricing-toggle__switch {
  width: 56px;
  height: 30px;
  background: var(--color-bg-lighter);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
  padding: 0;
}
.pricing-toggle__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--gradient-purple-blue);
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.pricing-toggle__switch[aria-checked="true"]::after {
  transform: translateX(26px);
}
.pricing-toggle__save {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-teal-400);
  background: var(--color-teal-100);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(20,184,166,0.2);
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: start;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card {
  position: relative;
}
.pricing-card--featured {
  border: 2px solid rgba(124,58,237,0.4);
  box-shadow: var(--shadow-glow-sm);
}
@media (min-width: 768px) {
  .pricing-card--featured { transform: scale(1.03); }
}
.pricing-card__popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-purple-blue);
  color: var(--color-lunar-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 20px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.pricing-card__name {
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--color-lunar-white);
  margin-bottom: var(--sp-4);
}
.pricing-card__price {
  margin-bottom: var(--sp-4);
}
.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 800;
  color: var(--color-lunar-white);
}
.pricing-card__period {
  font-size: var(--text-body);
  color: var(--color-lunar-muted);
  margin-left: var(--sp-1);
}
.pricing-card__annual-note {
  font-size: var(--text-xs);
  color: var(--color-lunar-dim);
  display: block;
  margin-top: var(--sp-1);
}
.pricing-card__desc {
  font-size: var(--text-body);
  color: var(--color-lunar-silver);
  margin-bottom: var(--sp-6);
}
.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.pricing-card__features li {
  font-size: var(--text-small);
  color: var(--color-lunar-silver);
  padding-left: var(--sp-6);
  position: relative;
}
.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%232dd4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.pricing-card .btn { width: 100%; }

/* ===== PRICING CALCULATOR ===== */
/* ===== PRICING PAGE LAYOUT ===== */
.pricing-page {
  padding-top: calc(72px + var(--sp-10));
  padding-bottom: var(--sp-12);
}
@media (min-width: 1024px) {
  .pricing-page { padding-top: calc(72px + var(--sp-16)); padding-bottom: var(--sp-16); }
}
.pricing-page__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--sp-8);
}
.pricing-page__header .badge { margin-bottom: var(--sp-3); }
.pricing-page__header h1 {
  font-size: var(--text-h1);
  margin-bottom: var(--sp-3);
}
.pricing-page__header p {
  color: var(--color-lunar-silver);
  font-size: var(--text-body);
}
@media (min-width: 768px) {
  .pricing-page__header h1 { font-size: var(--text-display); }
  .pricing-page__header p { font-size: var(--text-body-lg); }
}

/* Two-column layout on desktop */
.pricing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .pricing-layout {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.pricing-layout__input {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.pricing-layout__result {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

/* Enterprise spans full width across both columns */
.pricing-layout > .pricing-enterprise {
  grid-column: 1 / -1;
}

.pricing-calc {
  max-width: 900px;
  margin: 0 auto;
}

/* Input group — number input flanked by stepper buttons */
.pricing-input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: 0;
}
.pricing-stepper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--color-lunar-white);
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  flex-shrink: 0;
  line-height: 1;
  font-family: var(--font-heading);
}
.pricing-stepper:hover {
  background: rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.4);
}
.pricing-stepper:active {
  transform: scale(0.93);
}
.pricing-input {
  width: 200px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  color: var(--color-lunar-white);
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 800;
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
  transition: border-color 0.3s, box-shadow 0.3s;
  -moz-appearance: textfield;
}
.pricing-input::-webkit-outer-spin-button,
.pricing-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pricing-input:focus {
  border-color: var(--color-purple-500);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.15);
  outline: none;
}
.pricing-input-label {
  font-size: var(--text-body);
  color: var(--color-lunar-muted);
  text-align: center;
  margin-top: var(--sp-2);
}

/* Cost breakdown card */
.pricing-breakdown {
  background: rgba(22, 32, 50, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: var(--sp-6);
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .pricing-breakdown { padding: var(--sp-8); }
}

/* CTA inside breakdown card */
.pricing-breakdown__cta {
  text-align: center;
  padding-top: var(--sp-5);
  margin-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.pricing-breakdown__cta p {
  font-size: var(--text-xs);
  color: var(--color-lunar-dim);
  margin-top: var(--sp-3);
}

/* Total cost hero display */
.pricing-total {
  text-align: center;
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pricing-total__amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--sp-1);
}
@media (min-width: 768px) {
  .pricing-total__amount { font-size: 3.5rem; }
}
.pricing-total__period {
  font-size: var(--text-body-lg);
  color: var(--color-lunar-muted);
  font-weight: 500;
}

/* Composition bar — visual base vs overage */
.pricing-bar {
  margin-bottom: var(--sp-5);
}
.pricing-bar__track {
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  display: flex;
  margin-bottom: var(--sp-3);
}
.pricing-bar__base {
  height: 100%;
  background: var(--gradient-purple-blue);
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  transition: width 0.4s ease;
  min-width: 4px;
}
.pricing-bar__overage {
  height: 100%;
  background: var(--color-teal-400);
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: width 0.4s ease;
}
.pricing-bar__legend {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.pricing-bar__legend-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--color-lunar-muted);
}
.pricing-bar__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pricing-bar__dot--base {
  background: var(--gradient-purple-blue);
}
.pricing-bar__dot--overage {
  background: var(--color-teal-400);
}

/* Three-column stats below the bar */
.pricing-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-4);
  text-align: center;
}
@media (max-width: 500px) {
  .pricing-stats { grid-template-columns: 1fr; gap: var(--sp-6); }
}
.pricing-stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 800;
  color: var(--color-lunar-white);
  margin-bottom: var(--sp-1);
}
.pricing-stat__label {
  font-size: var(--text-xs);
  color: var(--color-lunar-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Everything included grid */
.pricing-includes {
  background: rgba(22, 32, 50, 0.3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .pricing-includes { padding: var(--sp-8); }
}
.pricing-includes h3 {
  font-size: var(--text-h4);
  color: var(--color-lunar-white);
  margin-bottom: var(--sp-4);
  text-align: center;
}
.pricing-includes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  list-style: none;
}
@media (max-width: 500px) {
  .pricing-includes__grid { grid-template-columns: 1fr; }
}
.pricing-includes__grid li {
  font-size: var(--text-small);
  color: var(--color-lunar-silver);
  padding-left: var(--sp-6);
  position: relative;
}
.pricing-includes__grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%232dd4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Enterprise callout — matches calculator card style */
.pricing-enterprise {
  text-align: center;
  padding: var(--sp-6);
  background: rgba(22, 32, 50, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
}
.pricing-enterprise p {
  color: var(--color-lunar-muted);
  font-size: var(--text-body);
  margin-bottom: var(--sp-4);
}

/* Comparison Table */
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(22, 32, 50, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.comparison-table th,
.comparison-table td {
  padding: var(--sp-4) var(--sp-6);
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.comparison-table thead th {
  background: rgba(255,255,255,0.03);
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--color-lunar-white);
  position: sticky;
  top: 0;
  z-index: 2;
}
.comparison-table .group-header td {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-purple-400);
  letter-spacing: 0.06em;
  padding-top: var(--sp-6);
}
.comparison-table td:first-child {
  font-size: var(--text-small);
  color: var(--color-lunar-silver);
  position: sticky;
  left: 0;
  background: rgba(22, 32, 50, 0.95);
  z-index: 1;
  min-width: 200px;
}
.comparison-table td {
  font-size: var(--text-small);
  color: var(--color-lunar-silver);
}
.comparison-table .check {
  color: var(--color-teal-400);
}
.comparison-table .dash {
  color: var(--color-lunar-dim);
}

/* ===== FAQ ACCORDION ===== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--sp-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-lunar-white);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--color-purple-400); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--color-lunar-muted);
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s;
  opacity: 0;
}
.faq-item[data-open="true"] .faq-answer {
  max-height: 500px;
  opacity: 1;
}
.faq-answer__inner {
  padding: 0 0 var(--sp-5);
  color: var(--color-lunar-silver);
  font-size: var(--text-body);
  line-height: 1.7;
}

/* ===== ABOUT PAGE ===== */
.mission-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: var(--sp-10);
}
.mission-block::before,
.mission-block::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: var(--gradient-purple-blue);
}
.mission-block::before { top: 0; left: 50%; transform: translateX(-50%); }
.mission-block::after { bottom: 0; left: 50%; transform: translateX(-50%); }
.mission-block h2 { margin-bottom: var(--sp-6); }
.mission-block p {
  color: var(--color-lunar-silver);
  font-size: var(--text-body-lg);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-card__icon svg {
  width: 32px;
  height: 32px;
}
.value-card h3 { margin-bottom: var(--sp-3); }
.value-card p {
  color: var(--color-lunar-silver);
  font-size: var(--text-body);
}

.tech-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
}
@media (min-width: 1024px) {
  .tech-block { grid-template-columns: 1fr 1fr; }
}
.tech-block__text .badge { margin-bottom: var(--sp-4); }
.tech-block__text h2 { margin-bottom: var(--sp-5); }
.tech-block__text p {
  color: var(--color-lunar-silver);
  margin-bottom: var(--sp-5);
}

.company-info {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.company-info h2 { margin-bottom: var(--sp-4); }
.company-info p {
  color: var(--color-lunar-silver);
  margin-bottom: var(--sp-3);
}
.company-info a {
  color: var(--color-purple-400);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}

/* Right column: flex stretch so contact box aligns with bottom of left */
.contact-right-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
@media (min-width: 1024px) {
  .contact-grid { align-items: stretch; }
  .contact-right-col { height: 100%; }
  .contact-right-col .contact-inline { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
}

/* Inline contact box */
.contact-inline {
  text-align: center;
  padding: var(--sp-5) var(--sp-6);
  background: rgba(22, 32, 50, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
}
.contact-inline p {
  color: var(--color-lunar-silver);
  font-size: var(--text-body);
}
.contact-inline a {
  color: var(--color-purple-400);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-inline a:hover {
  color: var(--color-purple-300);
}

/* Waitlist form card */
.waitlist-card {
  background: rgba(22, 32, 50, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: var(--sp-10) var(--sp-8);
}
.waitlist-card h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--sp-2);
}
.waitlist-card .waitlist-subtitle {
  color: var(--color-lunar-muted);
  font-size: var(--text-small);
  margin-bottom: var(--sp-8);
}

/* Form field layout */
.form-field {
  margin-bottom: var(--sp-5);
}
.form-field label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-lunar-silver);
  margin-bottom: var(--sp-2);
}
.form-field label .required {
  color: var(--color-purple-400);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* Form inputs */
#waitlist-form input[type="text"],
#waitlist-form input[type="email"],
#waitlist-form select,
#waitlist-form textarea {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-lunar-white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
#waitlist-form input::placeholder,
#waitlist-form textarea::placeholder {
  color: var(--color-lunar-dim);
}
#waitlist-form input:focus,
#waitlist-form select:focus,
#waitlist-form textarea:focus {
  border-color: var(--color-purple-500);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
  background: rgba(255,255,255,0.06);
  outline: none;
}
#waitlist-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235a6380' 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: 44px;
  cursor: pointer;
}
#waitlist-form select option {
  background: var(--color-bg-deep);
  color: var(--color-lunar-white);
}
#waitlist-form textarea {
  resize: vertical;
  min-height: 100px;
}
.waitlist-card .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 1.0625rem;
  margin-top: var(--sp-2);
}

/* Form success state */
.form-success {
  text-align: center;
  padding: var(--sp-10);
}
.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-6);
  background: var(--color-teal-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scale-in 0.4s ease;
}
@keyframes scale-in {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.form-success h3 { margin-bottom: var(--sp-4); }
.form-success p { color: var(--color-lunar-silver); }

/* Why join sidebar */
.why-join {
  background: rgba(22, 32, 50, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
}
.why-join h3 {
  margin-bottom: var(--sp-6);
  font-size: var(--text-h3);
}
.why-join__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.why-join__list li {
  padding-left: var(--sp-8);
  position: relative;
  color: var(--color-lunar-silver);
  font-size: var(--text-body);
  line-height: 1.6;
}
.why-join__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 10l4 4L16 6' stroke='%232dd4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Contact cards */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 768px) {
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
}
.contact-card {
  text-align: center;
}
.contact-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-4);
  background: var(--color-purple-100);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card__icon svg {
  width: 24px;
  height: 24px;
}
.contact-card h3 { margin-bottom: var(--sp-2); font-size: var(--text-h4); }
.contact-card__detail {
  color: var(--color-purple-400);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.contact-card p {
  color: var(--color-lunar-muted);
  font-size: var(--text-small);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-fade { opacity: 0; }
.reveal-up { opacity: 0; transform: translateY(30px); }
.reveal-down { opacity: 0; transform: translateY(-30px); }
.reveal-left { opacity: 0; transform: translateX(-30px); }
.reveal-right { opacity: 0; transform: translateX(30px); }
.reveal-scale { opacity: 0; transform: scale(0.95); }

.reveal.revealed {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="150"] { transition-delay: 0.15s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }
.reveal[data-delay="500"] { transition-delay: 0.5s; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .fade-up, .fade-in, .slide-left, .slide-right, .scale-in {
    opacity: 1 !important;
    transform: none !important;
  }
  [data-parallax] { transform: none !important; }
}

/* ===== ADDITIONAL KEYFRAMES ===== */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== ALTERNATE SCROLL ANIMATION CLASSES ===== */
/* These mirror .reveal-* but use the .fade-up / .visible naming convention */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}
.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible,
.fade-in.visible,
.slide-left.visible,
.slide-right.visible,
.scale-in.visible {
  opacity: 1;
  transform: none;
}
/* Stagger delays — class-based */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Stagger delays — data-attribute-based (alternative) */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* ===== SECTION CLASS ===== */
.section {
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-12);
}
@media (min-width: 768px) {
  .section { padding-top: var(--sp-16); padding-bottom: var(--sp-16); }
}
@media (min-width: 1024px) {
  .section { padding-top: var(--sp-24); padding-bottom: var(--sp-24); }
}

/* ===== LOGO CLOUD / INTEGRATION LOGOS ===== */
.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp-8);
}
@media (min-width: 768px) {
  .logo-cloud { gap: var(--sp-12); }
}
.logo-cloud__item {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%) brightness(0.6);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}
.logo-cloud__item:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}
.logo-cloud__item img,
.logo-cloud__item svg {
  max-height: 40px;
  max-width: 120px;
}
@media (min-width: 768px) {
  .logo-cloud__item img,
  .logo-cloud__item svg {
    max-height: 48px;
    max-width: 140px;
  }
}

/* ===== FOOTER NEWSLETTER ===== */
.footer__newsletter {
  margin-top: var(--sp-6);
}
.footer__newsletter p {
  color: var(--color-lunar-muted);
  font-size: var(--text-small);
  margin-bottom: var(--sp-3);
}
.footer__newsletter-form {
  display: flex;
  gap: var(--sp-2);
}
.footer__newsletter-form .form-input {
  flex: 1;
  padding: 10px 16px;
  font-size: var(--text-small);
}
.footer__newsletter-form .btn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: var(--text-small);
}

/* ===== ABOUT PAGE: TEAM GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
.team-card {
  text-align: center;
}
.team-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-lunar-white);
  background: var(--gradient-purple-blue);
  border: 2px solid rgba(255,255,255,0.1);
}
.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.team-card__name {
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--color-lunar-white);
  margin-bottom: var(--sp-1);
}
.team-card__role {
  font-size: var(--text-small);
  color: var(--color-purple-400);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}
.team-card__bio {
  font-size: var(--text-small);
  color: var(--color-lunar-muted);
  line-height: 1.6;
}

/* ===== ABOUT PAGE: TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: var(--sp-8);
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 11px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-purple-600), var(--color-blue-500), var(--color-teal-500));
}
.timeline__item {
  position: relative;
  padding-bottom: var(--sp-8);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--sp-8) + 4px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-purple-blue);
  border: 3px solid var(--color-bg-deepest);
  z-index: 1;
}
.timeline__date {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-purple-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-2);
}
.timeline__title {
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--color-lunar-white);
  margin-bottom: var(--sp-2);
}
.timeline__desc {
  font-size: var(--text-body);
  color: var(--color-lunar-silver);
  line-height: 1.7;
}

/* ===== STATS ROW (LARGE GRADIENT NUMBERS) ===== */
.stats-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  text-align: center;
}
@media (min-width: 768px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}
.stats-row__item {
  padding: var(--sp-6);
}
.stats-row__number {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: var(--sp-2);
}
.stats-row__label {
  font-size: var(--text-small);
  color: var(--color-lunar-muted);
  font-weight: 500;
}

/* ===== UTILITY ===== */
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); }
.mt-16 { margin-top: var(--sp-16); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--sp-1); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.mb-10 { margin-bottom: var(--sp-10); }
.mb-12 { margin-bottom: var(--sp-12); }
.mb-16 { margin-bottom: var(--sp-16); }

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-body);
  line-height: 1.8;
  color: var(--color-lunar-silver);
}
.legal-content .legal-updated {
  font-size: var(--text-small);
  color: var(--color-lunar-muted);
  margin-bottom: var(--sp-10);
  font-style: italic;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--color-lunar-white);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.01em;
}
.legal-content h2:first-of-type {
  margin-top: 0;
}
.legal-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-lunar-white);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-4);
}
.legal-content p {
  margin-bottom: var(--sp-5);
  font-size: var(--text-body);
}
.legal-content ul,
.legal-content ol {
  margin-bottom: var(--sp-5);
  padding-left: var(--sp-6);
}
.legal-content li {
  margin-bottom: var(--sp-2);
  font-size: var(--text-body);
}
.legal-content a {
  color: var(--color-purple-400);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.legal-content a:hover {
  color: var(--color-purple-300);
}

/* ===== BLOG LISTING PAGE ===== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-8);
}
.blog-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
}
.blog-card__tag--industry {
  color: var(--color-blue-400);
  background: var(--color-blue-100);
  border: 1px solid rgba(59,130,246,0.2);
}
.blog-card__tag--tips {
  color: var(--color-teal-400);
  background: var(--color-teal-100);
  border: 1px solid rgba(20,184,166,0.2);
}
.blog-card__tag--product {
  color: var(--color-purple-300);
  background: var(--color-purple-100);
  border: 1px solid rgba(124,58,237,0.2);
}
.blog-card__date {
  font-size: var(--text-xs);
  color: var(--color-lunar-dim);
  font-weight: 500;
}
.blog-card__title {
  font-size: var(--text-h4);
  line-height: 1.35;
}
.blog-card__title a {
  color: var(--color-lunar-white);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card__title a:hover {
  color: var(--color-purple-400);
}
.blog-card__excerpt {
  color: var(--color-lunar-muted);
  font-size: var(--text-small);
  line-height: 1.7;
  flex-grow: 1;
}
.blog-card__link {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-purple-300);
  text-decoration: none;
  transition: color 0.2s;
  margin-top: var(--sp-2);
}
.blog-card__link:hover {
  color: var(--color-purple-400);
}

/* ===== BLOG POST / ARTICLE ===== */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-lunar-muted);
  text-decoration: none;
  margin-bottom: var(--sp-8);
  transition: color 0.2s;
}
.article-back:hover {
  color: var(--color-purple-400);
}

.article-header {
  max-width: 720px;
  margin: 0 auto var(--sp-10);
  padding-top: calc(72px + var(--sp-12));
}
@media (min-width: 1024px) {
  .article-header {
    padding-top: calc(72px + var(--sp-16));
  }
}
.article-header .badge {
  margin-bottom: var(--sp-4);
}
.article-header h1 {
  margin-bottom: var(--sp-5);
  line-height: 1.15;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-small);
  color: var(--color-lunar-muted);
}
.article-meta time {
  font-weight: 500;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: var(--text-body-lg);
  line-height: 1.8;
  color: var(--color-lunar-silver);
}
.article-content p {
  margin-bottom: var(--sp-6);
}
.article-content h2 {
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-5);
  font-size: var(--text-h3);
}
.article-content h3 {
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-4);
  font-size: var(--text-h4);
}
.article-content ul,
.article-content ol {
  margin-bottom: var(--sp-6);
  padding-left: var(--sp-6);
  color: var(--color-lunar-silver);
}
.article-content li {
  margin-bottom: var(--sp-3);
  line-height: 1.8;
}
.article-content blockquote {
  border-left: 3px solid var(--color-purple-500);
  margin: var(--sp-8) 0;
  padding: var(--sp-4) var(--sp-6);
  background: rgba(124,58,237,0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-lunar-silver);
  font-style: italic;
}
.article-content strong {
  color: var(--color-lunar-white);
  font-weight: 600;
}
.article-content a {
  color: var(--color-purple-300);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.article-content a:hover {
  color: var(--color-purple-400);
}

.article-cta {
  max-width: 720px;
  margin: var(--sp-16) auto 0;
  text-align: center;
  padding: var(--sp-10);
}
.article-cta h3 {
  margin-bottom: var(--sp-4);
}
.article-cta p {
  color: var(--color-lunar-silver);
  font-size: var(--text-body-lg);
  margin-bottom: var(--sp-6);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
