/* ==========================================================================
   AO Cyber Systems — Cybernetic Luxury Design System
   main.css — Production stylesheet, dark-mode-only
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg:              #0a0a0a;
  --surface:         #141414;
  --surface-elevated:#1a1a1a;
  --border:          #2a2a2a;

  /* Gold accent ramp */
  --gold:            #d4a853;
  --gold-hover:      #e0b964;
  --gold-muted:      #b8923e;
  --gold-15:         rgba(212, 168, 83, 0.15);
  --gold-25:         rgba(212, 168, 83, 0.25);
  --gold-40:         rgba(212, 168, 83, 0.40);

  /* Text */
  --text:            #f5f5f5;
  --text-secondary:  #a0a0a0;
  --text-muted:      #666666;

  /* Status */
  --success:         #4ade80;
  --warning:         #fbbf24;
  --error:           #f87171;

  /* Typography */
  --font-sans:       'proxima-nova', system-ui, -apple-system, sans-serif;
  --font-serif:      'petersburg-web', Georgia, 'Times New Roman', serif;
  --font-accent:     'parabolica', system-ui, sans-serif;
  --font-accent-serif: 'warnock-pro-display', 'warnock-pro', Georgia, serif;
  --font-mono:       ui-monospace, 'SFMono-Regular', monospace;

  /* Spacing scale (px, used with clamp / calc) */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-full:9999px;

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --duration:   0.3s;

  /* Z-index layers */
  --z-nav:      1000;
  --z-dropdown: 1010;
  --z-overlay:  1020;
  --z-modal:    1030;

  /* Layout */
  --container:      1200px;
  --container-wide: 1440px;
  --nav-height:     72px;
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1vw + 14px, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

a:hover {
  color: var(--gold-hover);
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

::selection {
  background-color: var(--gold-40);
  color: var(--text);
}

::-moz-selection {
  background-color: var(--gold-40);
  color: var(--text);
}

code,
pre,
kbd,
samp {
  font-family: var(--font-mono);
}


/* --------------------------------------------------------------------------
   1b. Accessibility — Skip Link & Focus
   -------------------------------------------------------------------------- */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: var(--z-modal);
  background: var(--gold);
  color: var(--bg);
  padding: var(--space-sm) var(--space-md);
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: left var(--duration) var(--ease-out);
}

.skip-to-content:focus {
  left: var(--space-md);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}


/* --------------------------------------------------------------------------
   2. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  color: var(--text);
}

.display {
  font-size: clamp(56px, 5vw + 24px, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1, .h1 {
  font-size: clamp(40px, 4vw + 16px, 48px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h2, .h2 {
  font-size: clamp(28px, 2.5vw + 12px, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-size: clamp(20px, 1.5vw + 10px, 24px);
  font-weight: 700;
}

h4, .h4 {
  font-size: 18px;
  font-weight: 700;
}

.text-secondary {
  color: var(--text-secondary);
}

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

.text-gold {
  color: var(--gold);
}

small, .small {
  font-size: 14px;
}

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

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
}

.lead {
  font-size: clamp(18px, 1.2vw + 14px, 22px);
  color: var(--text-secondary);
  line-height: 1.5;
}


/* --------------------------------------------------------------------------
   3. Layout — Container & Section
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

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

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

.section {
  padding-block: clamp(80px, 10vw, 120px);
}

.section--sm {
  padding-block: clamp(48px, 6vw, 80px);
}


/* --------------------------------------------------------------------------
   3b. Grid Utilities
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

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

.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

.flex--col {
  flex-direction: column;
}

.gap-sm  { gap: var(--space-sm); }
.gap-md  { gap: var(--space-md); }
.gap-lg  { gap: var(--space-lg); }
.gap-xl  { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }


/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--duration) var(--ease-out);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  white-space: nowrap;
}

.nav__logo:hover {
  color: var(--text);
}

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

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

.nav__link {
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: var(--space-sm) 0;
  transition: color var(--duration) var(--ease-out);
}

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

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: var(--radius-full);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--duration) var(--ease-out);
}

.nav__dropdown:hover .nav__dropdown-trigger::after {
  transform: rotate(-135deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-sm));
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gold-15);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out),
    visibility var(--duration);
  z-index: var(--z-dropdown);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-item {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition:
    background var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out);
}

.nav__dropdown-item:hover {
  background: rgba(212, 168, 83, 0.08);
  color: var(--text);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: var(--radius-full);
  transition:
    transform var(--duration) var(--ease-out),
    opacity var(--duration) var(--ease-out);
}

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

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

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

/* Mobile nav panel */
.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-2xl) var(--space-lg);
  z-index: var(--z-overlay);
  overflow-y: auto;
}

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

.nav__mobile .nav__link {
  font-size: 24px;
  font-weight: 700;
}

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


/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  padding-block: var(--space-4xl);
  overflow: hidden;
}

.hero--full {
  min-height: 100vh;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__canvas canvas {
  width: 100%;
  height: 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.7) 60%,
    var(--bg) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.hero__tagline {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}

.hero__title {
  font-size: clamp(56px, 5vw + 24px, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.8s var(--ease-out) 0.25s both;
}

.hero__subtitle {
  font-size: clamp(18px, 1.2vw + 14px, 22px);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-2xl);
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease-out) 0.55s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition:
    background var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Primary — gold filled */
.btn--primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
}

/* Secondary — gold outline */
.btn--secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--secondary:hover {
  background: var(--gold-15);
  color: var(--gold-hover);
  border-color: var(--gold-hover);
}

/* Ghost — subtle */
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

/* Sizes */
.btn--sm {
  font-size: 13px;
  padding: 10px 20px;
}

.btn--lg {
  font-size: 17px;
  padding: 18px 36px;
}

.btn--icon {
  padding: 12px;
}


/* --------------------------------------------------------------------------
   7. Glassmorphism Utility
   -------------------------------------------------------------------------- */
.glass {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-15);
  border-radius: var(--radius-md);
}

.glass--subtle {
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
}


/* --------------------------------------------------------------------------
   8. Product Cards
   -------------------------------------------------------------------------- */
.product-cards {
  display: grid;
  gap: var(--space-lg);
}

.product-cards--tiered {
  grid-template-columns: 1fr;
}

.product-cards--tiered .product-card--available {
  grid-column: 1 / -1;
}

/* Card base */
.product-card {
  position: relative;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition:
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--gold-25);
  box-shadow: 0 0 30px rgba(212, 168, 83, 0.08);
  transform: translateY(-2px);
}

/* Available — full-size, golden glow */
.product-card--available {
  padding: var(--space-2xl);
}

.product-card--available:hover {
  border-color: var(--gold-40);
  box-shadow: 0 0 40px rgba(212, 168, 83, 0.12);
}

.product-card__header {
  margin-bottom: var(--space-lg);
}

.product-card__name {
  font-size: clamp(20px, 1.5vw + 10px, 24px);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.product-card__description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.badge--available {
  background: var(--gold);
  color: var(--bg);
}

.badge--early-access {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.badge--coming-soon {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--text-muted);
}

/* Compact card for coming-soon items */
.product-card--compact {
  padding: var(--space-lg);
}

.product-card--compact .product-card__name {
  font-size: 18px;
}

.product-card--compact:hover {
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}


/* --------------------------------------------------------------------------
   9. Pricing
   -------------------------------------------------------------------------- */
.pricing {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

.pricing--cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.pricing-card {
  position: relative;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  transition:
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}

.pricing-card--featured {
  border-color: var(--gold-25);
  box-shadow: 0 0 40px rgba(212, 168, 83, 0.08);
}

.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-xl);
  right: var(--space-xl);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.pricing-card:hover {
  border-color: var(--gold-25);
}

.pricing-card__tier {
  font-family: var(--font-accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.pricing-card__amount {
  font-size: clamp(36px, 3vw + 16px, 48px);
  font-weight: 700;
  line-height: 1;
}

.pricing-card__period {
  color: var(--text-muted);
  font-size: 15px;
}

.pricing-card__subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: var(--space-xl);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-card__feature::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  font-weight: 700;
}

/* Feature comparison table */
.feature-comparison {
  width: 100%;
  margin-top: var(--space-3xl);
}

.feature-comparison th,
.feature-comparison td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.feature-comparison th {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.feature-comparison td {
  color: var(--text-secondary);
}

.feature-comparison__check {
  color: var(--gold);
  font-weight: 700;
}

.feature-comparison__dash {
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   10. Three Pillars
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.pillar {
  text-align: center;
  padding: var(--space-xl);
}

.pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--gold-15);
  border: 1px solid var(--gold-15);
  color: var(--gold);
  font-size: 28px;
  transition: background var(--duration) var(--ease-out);
}

.pillar:hover .pillar__icon {
  background: var(--gold-25);
}

.pillar__icon img,
.pillar__icon svg {
  width: 32px;
  height: 32px;
}

.pillar__heading {
  font-size: clamp(20px, 1.5vw + 10px, 24px);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.pillar__description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   11. Feature Grid (Product pages)
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition:
    border-color var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

.feature-card:hover {
  border-color: var(--gold-15);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--gold);
}

.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card__text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Alternating feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding-block: var(--space-3xl);
}

.feature-row:nth-child(even) .feature-row__content {
  order: 2;
}

.feature-row:nth-child(even) .feature-row__media {
  order: 1;
}

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

.feature-row__label {
  font-family: var(--font-accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.feature-row__title {
  font-size: clamp(28px, 2.5vw + 12px, 32px);
  font-weight: 700;
}

.feature-row__text {
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-row__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}


/* --------------------------------------------------------------------------
   12. Personas Section
   -------------------------------------------------------------------------- */
.personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.persona-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: border-color var(--duration) var(--ease-out);
}

.persona-card:hover {
  border-color: var(--gold-15);
}

.persona-card__role {
  font-family: var(--font-accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.persona-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.persona-card__pain {
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  padding-left: var(--space-md);
  margin-bottom: var(--space-md);
  border-left: 2px solid var(--error);
}

.persona-card__pain-label,
.persona-card__solution-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.persona-card__pain-label {
  color: var(--error);
}

.persona-card__solution-label {
  color: var(--success);
}

.persona-card__solution {
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  padding-left: var(--space-md);
  border-left: 2px solid var(--success);
}


/* --------------------------------------------------------------------------
   13. Blog
   -------------------------------------------------------------------------- */
/* Blog list */
.blog-list {
  display: grid;
  gap: var(--space-xl);
}

.blog-post-preview {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.blog-post-preview__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16/10;
}

.blog-post-preview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-preview__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.blog-post-preview__category {
  color: var(--gold);
  font-weight: 500;
}

.blog-post-preview__title {
  font-size: clamp(20px, 1.5vw + 10px, 24px);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  transition: color var(--duration) var(--ease-out);
}

.blog-post-preview__title a {
  color: var(--text);
}

.blog-post-preview__title a:hover {
  color: var(--gold);
}

.blog-post-preview__excerpt {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Single blog post */
.blog-post {
  max-width: 760px;
  margin-inline: auto;
}

.blog-post__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.blog-post__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font-size: 14px;
  color: var(--text-muted);
  margin-top: var(--space-lg);
}

/* Blog prose content */
.blog-post__content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.blog-post__content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.blog-post__content p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  line-height: 1.75;
}

.blog-post__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-post__content ul,
.blog-post__content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  color: var(--text-secondary);
}

.blog-post__content ul {
  list-style: disc;
}

.blog-post__content ol {
  list-style: decimal;
}

.blog-post__content li {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.blog-post__content blockquote {
  border-left: 3px solid var(--gold);
  padding-left: var(--space-lg);
  margin-block: var(--space-xl);
  font-style: italic;
  color: var(--text-secondary);
}

.blog-post__content pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  margin-block: var(--space-xl);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
}

.blog-post__content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
}

.blog-post__content pre code {
  background: none;
  padding: 0;
}

.blog-post__content img {
  border-radius: var(--radius-md);
  margin-block: var(--space-xl);
}

.blog-post__content hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin-block: var(--space-2xl);
}


/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--gold-15);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  background: var(--bg);
}

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

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.footer__logo img {
  height: 28px;
  width: auto;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer__heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color var(--duration) var(--ease-out);
}

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

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

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}


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

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

.reveal--left {
  opacity: 0;
  transform: translateX(-20px);
}

.reveal--left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(20px);
}

.reveal--right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
}

.reveal--scale.active {
  opacity: 1;
  transform: scale(1);
}


/* --------------------------------------------------------------------------
   16. Utility Classes
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mx-auto { margin-inline: auto; }
.mb-sm   { margin-bottom: var(--space-sm); }
.mb-md   { margin-bottom: var(--space-md); }
.mb-lg   { margin-bottom: var(--space-lg); }
.mb-xl   { margin-bottom: var(--space-xl); }
.mb-2xl  { margin-bottom: var(--space-2xl); }
.mb-3xl  { margin-bottom: var(--space-3xl); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.max-w-narrow { max-width: 640px; }
.max-w-prose  { max-width: 760px; }

.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }

.gold-glow {
  box-shadow: 0 0 30px rgba(212, 168, 83, 0.12);
}


/* --------------------------------------------------------------------------
   17. Responsive — Tablet (max 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars {
    gap: var(--space-lg);
  }

  .feature-row {
    gap: var(--space-2xl);
  }

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

  .footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .blog-post-preview {
    grid-template-columns: 220px 1fr;
  }
}


/* --------------------------------------------------------------------------
   18. Responsive — Mobile (max 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__actions {
    display: none;
  }

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

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

  .pillar {
    text-align: left;
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    column-gap: var(--space-md);
    padding: var(--space-lg) 0;
  }

  .pillar__icon {
    margin: 0;
    grid-row: 1 / 3;
  }

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

  .feature-row:nth-child(even) .feature-row__content,
  .feature-row:nth-child(even) .feature-row__media {
    order: unset;
  }

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

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

  .blog-post-preview {
    grid-template-columns: 1fr;
  }

  .blog-post-preview__image {
    max-height: 200px;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }

  .hero {
    min-height: 80vh;
    padding-block: var(--space-3xl);
  }

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

  .hero__actions .btn {
    width: 100%;
  }

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

  .product-cards--tiered {
    grid-template-columns: 1fr;
  }
}


/* --------------------------------------------------------------------------
   19. Accessibility — 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 {
    opacity: 1;
    transform: none;
  }

  .hero__tagline,
  .hero__title,
  .hero__subtitle,
  .hero__actions,
  .hero-heading,
  .hero-description,
  .hero-actions {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


/* ==========================================================================
   HTML-to-CSS Class Alias Layer
   The HTML templates use single-dash naming (nav-bar, hero-content)
   while the CSS uses BEM double-underscore (nav__inner, hero__content).
   This layer bridges the gap.
   ========================================================================== */

/* --- Navigation aliases --- */
.nav-bar        { position: sticky; top: 0; z-index: var(--z-nav); height: var(--nav-height); background: rgba(10,10,10,0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner      { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--space-lg); }
.nav-logo       { display: flex; align-items: center; gap: var(--space-sm); font-weight: 700; font-size: 20px; color: var(--text); white-space: nowrap; text-decoration: none; }
.nav-logo:hover { color: var(--text); }
.nav-logo-img   { width: 32px; height: 32px; flex-shrink: 0; }
.nav-logo-text  { color: var(--text); }
.nav-links      { display: flex; align-items: center; gap: var(--space-xl); list-style: none; margin: 0; padding: 0; }
.nav-item       { position: relative; list-style: none; }
.nav-item--cta  { margin-left: var(--space-sm); }
.nav-link       { position: relative; display: flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 15px; font-weight: 500; padding: var(--space-sm) 0; background: none; border: none; cursor: pointer; font-family: inherit; transition: color var(--duration) var(--ease-out); }
.nav-link:hover { color: var(--text); }
.nav-chevron    { transition: transform var(--duration) var(--ease-out); }

/* Desktop dropdowns */
.dropdown-panel       { position: absolute; top: calc(100% + var(--space-sm)); left: 50%; transform: translateX(-50%) translateY(8px); min-width: 280px; padding: var(--space-md); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out), visibility var(--duration); z-index: var(--z-dropdown); }
.dropdown-panel:not([hidden]) { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-panel--narrow { min-width: 180px; }
.dropdown-grid        { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xs); }
.dropdown-group       { padding: var(--space-xs) 0; }
.dropdown-group-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); padding: var(--space-xs) var(--space-sm); }
.dropdown-link        { display: block; padding: var(--space-sm) var(--space-sm); color: var(--text-secondary); border-radius: var(--radius-sm); font-size: 14px; text-decoration: none; transition: background var(--duration) var(--ease-out), color var(--duration) var(--ease-out); }
.dropdown-link:hover  { background: rgba(212,168,83,0.08); color: var(--text); }
.dropdown-link strong { display: block; color: var(--text); font-weight: 700; font-size: 14px; }
.dropdown-link span   { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Hamburger */
.nav-hamburger  { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 28px; height: 28px; cursor: pointer; background: none; border: none; padding: 0; }
.hamburger-line { display: block; width: 100%; height: 2px; background: var(--text); border-radius: var(--radius-full); transition: transform var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out); }

/* Mobile menu */
.mobile-menu         { display: none; position: fixed; inset: var(--nav-height) 0 0 0; padding: var(--space-2xl) var(--space-lg); z-index: var(--z-overlay); overflow-y: auto; }
.mobile-menu:not([hidden]) { display: flex; flex-direction: column; }
.mobile-menu-list    { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-md); }
.mobile-menu-toggle  { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none; color: var(--text); font-family: inherit; font-size: 18px; font-weight: 700; padding: var(--space-sm) 0; cursor: pointer; }
.mobile-menu-link    { color: var(--text); font-size: 18px; font-weight: 700; padding: var(--space-sm) 0; display: block; }
.mobile-submenu      { list-style: none; padding: 0 0 0 var(--space-md); margin: var(--space-sm) 0 0; display: flex; flex-direction: column; gap: var(--space-xs); }
.mobile-submenu:not([hidden]) { display: flex; }
.mobile-submenu a    { color: var(--text-secondary); font-size: 15px; padding: var(--space-xs) 0; display: block; }
.mobile-submenu a:hover { color: var(--text); }
.mobile-group-label  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); padding: var(--space-sm) 0 var(--space-xs); }
.mobile-menu-cta     { margin-top: var(--space-md); }

/* --- Hero aliases --- */
.hero-canvas      { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero-content     { position: relative; z-index: 2; text-align: center; max-width: 900px; margin-inline: auto; padding-inline: var(--space-lg); }
.hero-heading     { font-size: clamp(40px, 5vw + 16px, 72px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: var(--space-lg); overflow-wrap: break-word; animation: fadeUp 0.8s var(--ease-out) 0.25s both; }
.hero-description { font-size: clamp(16px, 1.2vw + 12px, 22px); color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--space-2xl); max-width: 700px; margin-inline: auto; animation: fadeUp 0.8s var(--ease-out) 0.4s both; }
.hero-actions     { display: flex; align-items: center; justify-content: center; gap: var(--space-md); flex-wrap: wrap; animation: fadeUp 0.8s var(--ease-out) 0.55s both; }

/* --- Button aliases --- */
.btn              { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); font-family: inherit; font-weight: 700; font-size: 15px; text-decoration: none; border-radius: var(--radius-sm); padding: 12px 24px; cursor: pointer; transition: all var(--duration) var(--ease-out); border: none; }
.btn--gold        { background: var(--gold); color: var(--bg); }
.btn--gold:hover  { background: var(--gold-hover); transform: translateY(-1px); }
.btn--outline     { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn--outline:hover { background: rgba(212,168,83,0.1); transform: translateY(-1px); }
.btn--sm          { font-size: 13px; padding: 8px 16px; }
.btn--lg          { font-size: 16px; padding: 16px 32px; }

/* --- Responsive: show hamburger, hide desktop nav on mobile --- */
@media (max-width: 768px) {
  .nav-links     { display: none; }
  .nav-hamburger { display: flex; }
}


/* ==========================================================================
   Comprehensive Fix Layer — Utilities, Footer, Cards, Sections, Animations
   ========================================================================== */

/* --- Utility classes used by templates --- */
.container         { max-width: var(--container); margin-inline: auto; padding-inline: var(--space-lg); }
.container--narrow { max-width: 800px; margin-inline: auto; padding-inline: var(--space-lg); }
.container--wide   { max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--space-lg); }
.section           { padding-block: clamp(64px, 8vw, 120px); }
.text-center       { text-align: center; }
.text-gold         { color: var(--gold); }
.text-secondary    { color: var(--text-secondary); }
.text-muted        { color: var(--text-muted); }
.uppercase         { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.lead              { font-size: clamp(17px, 1.1vw + 14px, 20px); color: var(--text-secondary); line-height: 1.65; }
.sr-only           { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Spacing helpers */
.mb-sm   { margin-bottom: var(--space-sm); }
.mb-md   { margin-bottom: var(--space-md); }
.mb-lg   { margin-bottom: var(--space-lg); }
.mb-xl   { margin-bottom: var(--space-xl); }
.mb-2xl  { margin-bottom: var(--space-2xl); }
.mb-3xl  { margin-bottom: var(--space-3xl); }

/* Grid */
.grid     { display: grid; }
.grid--2  { grid-template-columns: repeat(2, 1fr); }
.grid--3  { grid-template-columns: repeat(3, 1fr); }
.gap-sm   { gap: var(--space-sm); }
.gap-md   { gap: var(--space-md); }
.gap-lg   { gap: var(--space-lg); }
.gap-xl   { gap: var(--space-xl); }

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

/* --- Glassmorphism --- */
.glass {
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 168, 83, 0.12);
  border-radius: var(--radius-md);
}

/* Nav overlays need opaque backgrounds so content doesn't bleed through */
.dropdown-panel.glass {
  background: rgba(18, 18, 18, 1);
}
.mobile-menu.glass {
  background: rgba(10, 10, 10, 1);
}

/* --- Scroll reveal animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Product cards --- */
.product-card {
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.product-card:hover {
  border-color: rgba(212, 168, 83, 0.35);
  box-shadow: 0 0 40px rgba(212, 168, 83, 0.07), inset 0 1px 0 rgba(212, 168, 83, 0.1);
  transform: translateY(-2px);
}
.product-card-inner  { display: flex; flex-direction: column; gap: var(--space-sm); height: 100%; }
.product-card-name   { font-size: 24px; font-weight: 700; margin: var(--space-sm) 0 0; letter-spacing: -0.01em; }
.product-card-tagline { font-size: 13px; color: var(--gold-muted); font-weight: 500; margin: 0; font-family: var(--font-accent); letter-spacing: 0.01em; }
.product-card-desc   { font-size: 15px; color: var(--text-secondary); line-height: 1.65; margin: var(--space-xs) 0 0; flex: 1; }
.product-card-cta    { margin-top: var(--space-lg); align-self: flex-start; }

/* Eden (early access) should have a max-width when alone */
.mb-2xl > .product-card { max-width: 720px; }

/* Coming-soon cards are more muted */
[data-animate] .product-card .badge--coming-soon ~ .product-card-name { color: var(--text-secondary); }
[data-animate] .product-card .badge--coming-soon ~ .product-card-desc { color: var(--text-muted); }

/* Status badges */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.badge--available    { background: rgba(212, 168, 83, 0.15); color: var(--gold); border: 1px solid rgba(212, 168, 83, 0.3); }
.badge--early-access { background: transparent; color: var(--gold-muted); border: 1px solid var(--gold-muted); }
.badge--coming-soon  { background: rgba(102, 102, 102, 0.15); color: var(--text-muted); border: 1px solid rgba(102, 102, 102, 0.3); }

/* --- Pillars (Three Pillars section) --- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  text-align: center;
}
.pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.15);
  color: var(--gold);
}
.pillar__heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.pillar__description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

/* --- Footer (complete rewrite for correct class names) --- */
.site-footer {
  position: relative;
  background: var(--surface);
  padding-block: var(--space-3xl) var(--space-xl);
  margin-top: var(--space-4xl);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-muted), var(--gold), var(--gold-muted), transparent);
  opacity: 0.5;
}
.footer-inner {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  margin-bottom: var(--space-md);
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: 320px;
}
.footer-address {
  font-style: normal;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.footer-address a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-accent);
  transition: color var(--duration) var(--ease-out);
}
.footer-address a:hover { color: var(--gold); }
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: var(--space-lg);
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer-list a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}
.footer-list a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

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

/* --- Typography & heading refinements --- */
h1 { font-size: clamp(32px, 4vw + 14px, 56px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 var(--space-lg); }
h2 { font-size: clamp(24px, 2.5vw + 12px, 36px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 var(--space-md); }
h3 { font-size: clamp(18px, 1.5vw + 10px, 22px); font-weight: 700; line-height: 1.3; margin: 0 0 var(--space-sm); }
p  { margin: 0; }

/* --- Section label pattern (used on homepage) --- */
.section .uppercase.text-gold { margin-bottom: var(--space-sm); }

/* --- Investor teaser glass card override --- */
.section .glass[style] {
  text-align: center;
  background: linear-gradient(135deg, rgba(20,20,20,0.7) 0%, rgba(212,168,83,0.04) 100%);
}

/* --- Button primary alias (used in investor teaser) --- */
.btn--primary { background: var(--gold); color: var(--bg); }
.btn--primary:hover { background: var(--gold-hover); transform: translateY(-1px); }

/* --- Link base styles --- */
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

/* --- Body base --- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection { background: rgba(212, 168, 83, 0.3); color: var(--text); }

/* --- Screenshot carousel --- */
.screenshot-carousel { display: flex; flex-direction: column; gap: var(--space-3xl); }
.screenshot-item { max-width: 900px; margin-inline: auto; width: 100%; }
.screenshot-label { font-family: var(--font-accent); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: var(--space-sm); }
.screenshot-frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #0d0d1a; box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,168,83,0.08); }
.screenshot-frame img { display: block; width: 100%; height: auto; }
.screenshot-caption { margin-top: var(--space-md); color: var(--text-secondary); font-size: 15px; line-height: 1.6; max-width: 640px; }

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .hero-heading, .hero-description, .hero-actions { animation: none; opacity: 1; }
}
