/* ═══════════════════════════════════════════════════════
   globalMOO — Dark Cinematic Theme
   Aesthetic: Vercel × Linear × Stripe with blue-purple brand
   ═══════════════════════════════════════════════════════ */

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

/* ── Tokens ── */
:root {
  --brand-deep: rgb(2, 3, 129);
  --brand-mid: #0693e3;
  --brand-bright: rgb(40, 116, 252);
  --brand-purple: #9b51e0;
  --brand-cyan: #0693e3;

  --surface-0: #050510;
  --surface-1: #0a0a1a;
  --surface-2: #0f0f24;
  --surface-3: #16163a;
  --surface-card: rgba(15, 15, 36, 0.7);

  --text-primary: #f0f0f8;
  --text-secondary: #8888aa;
  --text-tertiary: #5a5a7a;
  --text-accent: var(--brand-bright);

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.1);

  --glow-blue: 0 0 80px rgba(6, 147, 227, 0.15);
  --glow-purple: 0 0 80px rgba(155, 81, 224, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height: 72px;

  /* Particle colors (read by JS) */
  --particle-r: 6;
  --particle-g: 147;
  --particle-b: 227;
  --particle-accent-r: 155;
  --particle-accent-g: 81;
  --particle-accent-b: 224;
}

/* ── Light Theme ── */
[data-theme="light"] {
  --brand-deep: rgb(2, 3, 129);
  --brand-mid: #0693e3;
  --brand-bright: #7c3aed;
  --brand-purple: #9b51e0;
  --brand-cyan: #0693e3;

  --surface-0: #f8f8fc;
  --surface-1: #f0f0f6;
  --surface-2: #e8e8f0;
  --surface-3: #dcdce8;
  --surface-card: rgba(255, 255, 255, 0.8);

  --text-primary: #1a1a2e;
  --text-secondary: #4a4a68;
  --text-tertiary: #7a7a96;
  --text-accent: var(--brand-purple);

  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.1);

  --glow-blue: 0 0 80px rgba(124, 58, 237, 0.08);
  --glow-purple: 0 0 80px rgba(155, 81, 224, 0.1);

  --particle-r: 124;
  --particle-g: 58;
  --particle-b: 237;
  --particle-accent-r: 155;
  --particle-accent-g: 81;
  --particle-accent-b: 224;
}

/* Light theme overrides for specific elements */
[data-theme="light"] .nav::before {
  background: rgba(248, 248, 252, 0.75);
}
[data-theme="light"] .nav-logo img {
  filter: none;
}
[data-theme="light"] .footer-brand img {
  filter: none;
}
[data-theme="light"] .hero h1 {
  background: linear-gradient(135deg, #1a1a2e 0%, #1a1a2e 40%, var(--brand-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .hero-bg::before {
  background:
    radial-gradient(ellipse 600px 400px at 30% 20%, rgba(124, 58, 237, 0.08), transparent),
    radial-gradient(ellipse 500px 500px at 70% 60%, rgba(155, 81, 224, 0.06), transparent),
    radial-gradient(ellipse 800px 300px at 50% 80%, rgba(6, 147, 227, 0.06), transparent);
}
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
}
[data-theme="light"] .hero-stat-value {
  color: var(--brand-purple);
}
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-deep));
  box-shadow: 0 0 30px rgba(155, 81, 224, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
}
[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 8px 40px rgba(155, 81, 224, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
[data-theme="light"] .btn-secondary {
  color: var(--text-primary);
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border-medium);
}
[data-theme="light"] .btn-secondary:hover {
  background: rgba(0,0,0,0.06);
}
[data-theme="light"] .nav-cta {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-deep));
  box-shadow: 0 0 20px rgba(155, 81, 224, 0.2);
}
[data-theme="light"] .nav-cta:hover {
  box-shadow: 0 4px 30px rgba(155, 81, 224, 0.35);
}
[data-theme="light"] .nav-dropdown-menu {
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
[data-theme="light"] .nav-dropdown-item:hover {
  background: rgba(124, 58, 237, 0.05);
}
[data-theme="light"] .card::before {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(155, 81, 224, 0.02));
}
[data-theme="light"] .card:hover {
  border-color: rgba(155, 81, 224, 0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), var(--glow-purple);
}
[data-theme="light"] .card-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(155, 81, 224, 0.06));
  border-color: rgba(155, 81, 224, 0.15);
}
[data-theme="light"] .section-label { color: var(--brand-purple); }
[data-theme="light"] .section-label::before { background: var(--brand-purple); }
[data-theme="light"] .hero-badge {
  color: var(--brand-purple);
  background: rgba(155, 81, 224, 0.06);
  border-color: rgba(155, 81, 224, 0.2);
}
[data-theme="light"] .hero-badge-dot { background: var(--brand-purple); }
[data-theme="light"] .tab-btn.active {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-deep));
}
[data-theme="light"] .step-number {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-deep));
}
[data-theme="light"] .stat-value {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .highlight-text {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .compare-table td:nth-child(2) { color: var(--brand-purple); }
[data-theme="light"] .feature-table .check { color: var(--brand-purple); }
[data-theme="light"] .cta-banner::before {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(155, 81, 224, 0.04));
}
[data-theme="light"] .use-case-card:hover {
  border-color: rgba(155, 81, 224, 0.2);
  box-shadow: 0 24px 80px rgba(0,0,0,0.08), var(--glow-purple);
}
[data-theme="light"] .use-case-card-img::after {
  background: linear-gradient(to top, var(--surface-1), transparent);
}
[data-theme="light"] .use-case-card-link { color: var(--brand-purple); }
[data-theme="light"] .team-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
[data-theme="light"] .team-card-photo::after {
  background: linear-gradient(to top, var(--surface-1), transparent);
}
[data-theme="light"] .team-card-role { color: var(--brand-purple); }
[data-theme="light"] .tag {
  background: rgba(155, 81, 224, 0.08);
  color: var(--brand-purple);
  border-color: rgba(155, 81, 224, 0.15);
}
[data-theme="light"] .embed-container {
  box-shadow: 0 24px 80px rgba(0,0,0,0.1), var(--glow-purple);
}
[data-theme="light"] .pricing-card.featured {
  border-color: var(--brand-purple);
  background: linear-gradient(180deg, rgba(155, 81, 224, 0.04), var(--surface-card));
  box-shadow: 0 0 40px rgba(155, 81, 224, 0.06);
}
[data-theme="light"] .discord-badge {
  background: rgba(88, 101, 242, 0.06);
}
[data-theme="light"] .content-inner a {
  color: var(--brand-purple);
  border-bottom-color: rgba(155, 81, 224, 0.3);
}
[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(155, 81, 224, 0.1);
}
[data-theme="light"] body::after {
  opacity: 0.02;
}
[data-theme="light"] .scroll-progress {
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-deep));
  box-shadow: 0 0 8px rgba(155, 81, 224, 0.4);
}
[data-theme="light"] .card::after,
[data-theme="light"] .stat-card::after,
[data-theme="light"] .use-case-card::after,
[data-theme="light"] .pricing-card::after,
[data-theme="light"] .team-card::after,
[data-theme="light"] .wwhw-card::after,
[data-theme="light"] .api-link-card::after {
  background: radial-gradient(
    400px circle at var(--spot-x) var(--spot-y),
    rgba(155, 81, 224, 0.07),
    rgba(124, 58, 237, 0.03) 40%,
    transparent 70%
  );
}
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--surface-0); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: var(--surface-3); }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: var(--brand-purple); }

/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  margin-left: 4px;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-medium);
}
[data-theme="light"] .theme-toggle {
  background: rgba(0,0,0,0.04);
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(0,0,0,0.08);
}
.theme-toggle svg { width: 18px; height: 18px; color: var(--text-secondary); transition: color 0.2s; }
.theme-toggle:hover svg { color: var(--text-primary); }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* Font size toggle */
.fontsize-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  margin-left: 2px;
  flex-shrink: 0;
  font-family: var(--font-display);
  color: var(--text-secondary);
  line-height: 1;
  letter-spacing: -0.03em;
}
.fontsize-toggle:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-medium);
  color: var(--text-primary);
}
[data-theme="light"] .fontsize-toggle {
  background: rgba(0,0,0,0.04);
}
[data-theme="light"] .fontsize-toggle:hover {
  background: rgba(0,0,0,0.08);
}
.fontsize-toggle .fs-small { font-size: 11px; font-weight: 600; }
.fontsize-toggle .fs-large { font-size: 16px; font-weight: 700; }
[data-fontsize="large"] .fontsize-toggle {
  border-color: var(--brand-bright);
  color: var(--brand-bright);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 16px; }
[data-fontsize="large"] { font-size: 19px; }
body {
  font-family: var(--font-display);
  background: var(--surface-0);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
/* Noise grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface-0); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-bright); }

/* ── Selection ── */
::selection { background: rgba(6, 147, 227, 0.3); color: #fff; }

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-bright), var(--brand-purple));
  z-index: 10001;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(6, 147, 227, 0.5);
}

/* ── Card Spotlight (cursor glow) ── */
.card,
.stat-card,
.use-case-card,
.pricing-card,
.team-card,
.wwhw-card,
.api-link-card {
  --spot-x: -1000px;
  --spot-y: -1000px;
}
.card::after,
.stat-card::after,
.use-case-card::after,
.pricing-card::after,
.team-card::after,
.wwhw-card::after,
.api-link-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--spot-x) var(--spot-y),
    rgba(6, 147, 227, 0.1),
    rgba(155, 81, 224, 0.04) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}
.card:hover::after,
.stat-card:hover::after,
.use-case-card:hover::after,
.pricing-card:hover::after,
.team-card:hover::after,
.wwhw-card:hover::after,
.api-link-card:hover::after {
  opacity: 1;
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out-expo);
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 16, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  opacity: 0;
  transition: opacity 0.4s;
}
.nav.scrolled::before { opacity: 1; }
.nav-inner {
  position: relative;
  width: 100%;
  max-width: 1320px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 450;
  color: var(--text-secondary);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-trigger::after { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  padding-top: 8px;
  min-width: 240px;
  background: var(--surface-2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s var(--ease-out-expo);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.nav-dropdown-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

/* CTA button in nav */
.nav-cta {
  margin-left: 12px;
  padding: 8px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-purple));
  border-radius: 100px;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 0 20px rgba(6, 147, 227, 0.3);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 30px rgba(6, 147, 227, 0.5);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    top: var(--nav-height);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    background: var(--surface-1);
    border-top: 1px solid var(--border-subtle);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out-expo);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { padding: 14px 0; font-size: 16px; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-cta { margin: 16px 0 0; text-align: center; padding: 14px; }
}

/* ══════════════════════════════════════════
   HERO SECTIONS
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 60px) 32px 80px;
  overflow: hidden;
}

/* Animated gradient mesh background */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 400px at 30% 20%, rgba(6, 147, 227, 0.12), transparent),
    radial-gradient(ellipse 500px 500px at 70% 60%, rgba(155, 81, 224, 0.08), transparent),
    radial-gradient(ellipse 800px 300px at 50% 80%, rgba(2, 3, 129, 0.15), transparent);
  animation: meshDrift 20s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -3%) rotate(1deg); }
  66% { transform: translate(-2%, 2%) rotate(-1deg); }
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-bright);
  background: rgba(6, 147, 227, 0.08);
  border: 1px solid rgba(6, 147, 227, 0.2);
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-bright);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6, 147, 227, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(6, 147, 227, 0); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, var(--brand-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero p em {
  font-style: normal;
  color: var(--brand-bright);
  font-weight: 500;
}

/* ── Buttons ── */
.btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.3s var(--ease-out-expo);
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-purple));
  box-shadow: 0 0 30px rgba(6, 147, 227, 0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(6, 147, 227, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-secondary {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-medium);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--text-secondary);
  padding: 14px 20px;
}
.btn-ghost:hover { color: var(--text-primary); }
.btn-arrow::after {
  content: '→';
  transition: transform 0.2s;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ── Hero Stats ── */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--brand-bright);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: 4px;
  letter-spacing: 0.03em;
}
@media (max-width: 640px) {
  .hero-stats { flex-direction: column; gap: 24px; }
}

/* ══════════════════════════════════════════
   PAGE HERO (shorter, for inner pages)
   ══════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 32px 60px;
  text-align: center;
  overflow: hidden;
}
.page-hero .hero-bg { opacity: 0.6; }
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.page-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════ */
.section {
  padding: 120px 32px;
  position: relative;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--brand-bright);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 700px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 56px;
}
.section-center { text-align: center; }
.section-center .section-title,
.section-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Divider line with glow */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
  margin: 0 32px;
}

/* ══════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════ */
.card {
  position: relative;
  padding: 32px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(6, 147, 227, 0.05), rgba(155, 81, 224, 0.03));
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover {
  border-color: rgba(6, 147, 227, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), var(--glow-blue);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 147, 227, 0.12), rgba(155, 81, 224, 0.08));
  border: 1px solid rgba(6, 147, 227, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Card grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

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

/* ══════════════════════════════════════════
   USE CASE CARD (with image)
   ══════════════════════════════════════════ */
.use-case-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}
.use-case-card:hover {
  border-color: rgba(6, 147, 227, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), var(--glow-blue);
}
.use-case-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.use-case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.use-case-card:hover .use-case-card-img img { transform: scale(1.05); }
.use-case-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--surface-1), transparent);
}
.use-case-card-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.use-case-card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.use-case-card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.use-case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-bright);
  transition: gap 0.2s;
}
.use-case-card:hover .use-case-card-link { gap: 10px; }

/* ══════════════════════════════════════════
   STATS / IMPACT
   ══════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 36px 24px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
}
.stat-card:hover {
  border-color: rgba(6, 147, 227, 0.2);
}
.stat-value {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   TABS
   ══════════════════════════════════════════ */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  flex: 1;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 100px;
  transition: all 0.3s var(--ease-out-expo);
  white-space: nowrap;
  min-width: fit-content;
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-bright));
  box-shadow: 0 2px 12px rgba(6, 147, 227, 0.3);
}
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s var(--ease-out-expo); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ══════════════════════════════════════════
   STEPS
   ══════════════════════════════════════════ */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  margin-top: 48px;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-bright), var(--brand-purple));
  opacity: 0.3;
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fff;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-bright));
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(6, 147, 227, 0.25);
  border: 2px solid rgba(255,255,255,0.1);
}
.step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }
  .steps::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand-bright), var(--brand-purple));
  }
  .step {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    width: 100%;
    max-width: 340px;
    padding: 12px 0;
  }
  .step-number {
    margin: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
  .step-text { flex: 1; }
}

/* ══════════════════════════════════════════
   COMPARISON TABLE
   ══════════════════════════════════════════ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}
.compare-table th,
.compare-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}
.compare-table thead th {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  padding-bottom: 12px;
}
.compare-table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}
.compare-table td:nth-child(2) { color: var(--brand-bright); font-weight: 500; }
.compare-table td:nth-child(3) { color: var(--text-tertiary); }
.compare-table tbody tr {
  transition: background 0.2s;
}
.compare-table tbody tr:hover {
  background: rgba(6, 147, 227, 0.03);
}
@media (max-width: 768px) {
  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
}

/* ══════════════════════════════════════════
   PRICING TABLE
   ══════════════════════════════════════════ */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.pricing-card {
  position: relative;
  padding: 32px 24px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
}
.pricing-card.featured {
  border-color: var(--brand-bright);
  background: linear-gradient(180deg, rgba(6, 147, 227, 0.06), var(--surface-card));
  box-shadow: 0 0 40px rgba(6, 147, 227, 0.1);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 147, 227, 0.3);
}
.pricing-card-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.pricing-card-price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.pricing-card-price span { font-size: 1rem; font-weight: 400; color: var(--text-tertiary); }
.pricing-card-period { font-size: 0.85rem; color: var(--text-tertiary); margin-bottom: 24px; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* Feature table */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 64px;
}
.feature-table th,
.feature-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}
.feature-table th:first-child,
.feature-table td:first-child { text-align: left; font-weight: 500; }
.feature-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}
.feature-table .check { color: var(--brand-bright); font-weight: 700; }
.feature-table .dash { color: var(--text-tertiary); }

/* ══════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}
.team-card:hover {
  border-color: rgba(6, 147, 227, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.team-card-photo {
  height: 260px;
  overflow: hidden;
  position: relative;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out-expo);
  filter: grayscale(20%);
}
.team-card:hover .team-card-photo img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.team-card-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--surface-1), transparent);
}
.team-card-info { padding: 20px 24px 24px; }
.team-card-name { font-size: 1.05rem; font-weight: 600; margin-bottom: 2px; }
.team-card-role {
  font-size: 0.82rem;
  color: var(--brand-bright);
  font-weight: 500;
  margin-bottom: 10px;
}
.team-card-bio {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.9375rem;
  font-family: var(--font-display);
  color: var(--text-primary);
  background: var(--surface-2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: all 0.2s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(6, 147, 227, 0.1);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  position: relative;
  padding: 80px 32px 40px;
  border-top: 1px solid var(--border-subtle);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-tagline { font-size: 0.95rem; color: var(--text-secondary); }
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-tertiary);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--text-secondary); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--brand-bright); }

/* ══════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════ */
.cta-banner {
  position: relative;
  padding: 80px 32px;
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 3, 129, 0.4), rgba(155, 81, 224, 0.2));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ══════════════════════════════════════════
   UTILITY PAGES (Why/What/How/Who)
   ══════════════════════════════════════════ */
.wwhw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .wwhw-grid { grid-template-columns: 1fr; }
}
.wwhw-card {
  position: relative;
  overflow: hidden;
  padding: 40px 32px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
}
.wwhw-card:hover {
  border-color: rgba(6, 147, 227, 0.2);
}
.wwhw-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--brand-bright);
}
.wwhw-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   CONTENT SECTIONS (for inner pages)
   ══════════════════════════════════════════ */
.content-section {
  padding: 80px 32px;
}
.content-inner {
  max-width: 900px;
  margin: 0 auto;
}
.content-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.content-inner h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 32px 0 12px;
}
.content-inner p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.content-inner img {
  border-radius: var(--radius-lg);
  margin: 32px 0;
  border: 1px solid var(--border-subtle);
}
.content-inner ul {
  margin: 16px 0;
  padding-left: 0;
}
.content-inner ul li {
  position: relative;
  padding: 6px 0 6px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.content-inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 2px;
  background: var(--brand-bright);
}
.content-inner a {
  color: var(--brand-bright);
  border-bottom: 1px solid rgba(6, 147, 227, 0.3);
  transition: border-color 0.2s;
}
.content-inner a:hover { border-color: var(--brand-bright); }

/* ══════════════════════════════════════════
   EMBED / IFRAME
   ══════════════════════════════════════════ */
.embed-container {
  position: relative;
  margin: 48px 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: var(--surface-2);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), var(--glow-blue);
}
.embed-container iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}
.embed-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.embed-label-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Video container */
.video-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  margin: 32px 0;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.video-container video {
  width: 100%;
  display: block;
}

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════
   PARTICLES (Canvas overlay)
   ══════════════════════════════════════════ */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   MISC
   ══════════════════════════════════════════ */
.highlight-text {
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glass-panel {
  background: rgba(15, 15, 36, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  background: rgba(6, 147, 227, 0.1);
  color: var(--brand-bright);
  border: 1px solid rgba(6, 147, 227, 0.15);
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}
.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 32px 0 12px;
}
.legal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Discord badge */
.discord-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: var(--radius-md);
  color: #7289da;
  font-weight: 500;
  transition: all 0.3s;
}
.discord-badge:hover {
  background: rgba(88, 101, 242, 0.15);
  border-color: rgba(88, 101, 242, 0.35);
  transform: translateY(-2px);
}

/* API links list */
.api-links {
  display: grid;
  gap: 12px;
  margin: 32px 0;
}
.api-link-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out-expo);
}
.api-link-card:hover {
  border-color: rgba(6, 147, 227, 0.2);
  background: rgba(6, 147, 227, 0.03);
  transform: translateX(4px);
}
.api-link-card .link-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 147, 227, 0.1);
  border-radius: var(--radius-sm);
  font-size: 18px;
  flex-shrink: 0;
}
.api-link-card .link-text { font-size: 0.95rem; font-weight: 500; }
.api-link-card .link-url { font-size: 0.8rem; color: var(--text-tertiary); font-family: var(--font-mono); }
