/* ══════════════════════════════════════════════════════════════════════
   3Netra Components — components.css
   Nav, footer, buttons, cards, forms, feature cards, stats
   ══════════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════
   THEME TOGGLE
   ════════════════════════════════════════ */

/* Pill-shaped switch with sun/moon icons */
.theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  width: 52px;
  height: 28px;
  padding: 0;
  border-radius: var(--radius-pill);
  background: var(--color-surface-subtle);
  border: 1.5px solid var(--color-border-mid);
  cursor: pointer;
  transition:
    background var(--transition-base),
    border-color var(--transition-base);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--color-brand-indigo);
}

/* Sliding thumb */
.theme-toggle__thumb {
  position: absolute;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-brand-indigo);
  box-shadow: 0 1px 4px rgba(0,0,0,0.20);
  transition: transform var(--transition-base), background var(--transition-base);
  z-index: 1;
  pointer-events: none;
}

/* Icons sit either side of the thumb */
.theme-toggle__icon {
  position: absolute;
  width: 13px;
  height: 13px;
  transition: opacity var(--transition-base);
  pointer-events: none;
}
.theme-toggle__icon--sun  { right: 6px; opacity: 1; }
.theme-toggle__icon--moon { left: 6px;  opacity: 0; }

/* Dark state */
[data-theme="dark"] .theme-toggle {
  background: var(--color-surface-subtle);
}
[data-theme="dark"] .theme-toggle__thumb {
  transform: translateX(24px);
  background: var(--color-brand-indigo-lt);
}
[data-theme="dark"] .theme-toggle__icon--sun  { opacity: 0; }
[data-theme="dark"] .theme-toggle__icon--moon { opacity: 1; }

/* Dark hero variant (transparent header) */
.site-header.dark-hero .theme-toggle {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
}
.site-header.dark-hero .theme-toggle:hover {
  border-color: rgba(255,255,255,0.50);
}

/* ── Dark mode overrides for nav/header ── */
[data-theme="dark"] .site-header.scrolled {
  background: rgba(15, 15, 28, 0.92);
  border-bottom-color: var(--color-border-dark);
}

[data-theme="dark"] .nav-links a {
  color: var(--color-text-mid);
}
[data-theme="dark"] .nav-links a:hover  { color: var(--color-text-light); }
[data-theme="dark"] .nav-links a.active { color: var(--color-brand-indigo-lt); }

[data-theme="dark"] .nav-hamburger span { background: var(--color-text-light); }

[data-theme="dark"] .mobile-menu {
  background: rgba(8, 8, 15, 0.98);
}

/* Global transition for theme-aware elements */
.site-header,
.card-light,
.card-dark,
.form-input,
.form-select,
.form-textarea,
.btn {
  transition-property: background, color, border-color, box-shadow;
  transition-duration: 300ms;
  transition-timing-function: ease;
}

/* ════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 100px;
  display: flex;
  align-items: center;
  transition: height var(--transition-base), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  height: 80px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

.site-header.dark-hero {
  background: transparent;
}

.site-header.dark-hero.scrolled {
  background: rgba(8, 8, 15, 0.85);
  border-bottom: 1px solid var(--color-border-dark);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--grid-gutter);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.brand-logo--nav {
  width: 60px;
  height: 60px;
}

.brand-logo--footer {
  width: 60px;
  height: 60px;
}

.brand-logo__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-mid);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.site-header.dark-hero .nav-links a {
  color: rgba(240, 239, 255, 0.7);
}

.nav-links a:hover { color: var(--color-brand-indigo); }
.site-header.dark-hero .nav-links a:hover { color: var(--color-text-light); }

.nav-links a.active { color: var(--color-brand-indigo); font-weight: 600; }
.site-header.dark-hero .nav-links a.active { color: var(--color-brand-indigo-lt); }

.nav-cta { display: flex; align-items: center; gap: var(--space-md); flex-shrink: 0; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.nav-hamburger:hover { background: var(--color-border-light); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-dark);
  border-radius: var(--radius-pill);
  transition: transform var(--transition-base), opacity var(--transition-fast);
  transform-origin: center;
}
.site-header.dark-hero .nav-hamburger span { background: var(--color-text-light); }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 8, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color var(--transition-fast);
  min-height: 48px;
  display: flex;
  align-items: center;
}
.mobile-menu a:hover { color: var(--color-brand-indigo-lt); }
.mobile-menu-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--grid-gutter);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  font-size: 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .site-header { height: 92px; }
  .site-header.scrolled { height: 76px; }
  .brand-logo--nav { width: 56px; height: 56px; }
  .nav-links { gap: var(--space-lg); }
}
@media (max-width: 768px) {
  .site-header { height: 84px; }
  .site-header.scrolled { height: 72px; }
  .brand-logo--nav { width: 52px; height: 52px; }
  .nav-links, .nav-cta .btn-primary { display: none; }
  .nav-hamburger { display: flex; }
}

/* ════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast);
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-brand-indigo);
  color: #fff;
  border-color: var(--color-brand-indigo);
}
.btn-primary:hover {
  background: var(--color-brand-indigo-lt);
  border-color: var(--color-brand-indigo-lt);
  box-shadow: var(--glow-indigo);
}

.btn-amber {
  background: var(--color-brand-amber);
  color: var(--color-dark-base);
  border-color: var(--color-brand-amber);
  font-weight: 700;
}
.btn-amber:hover { box-shadow: var(--glow-amber); filter: brightness(1.05); }

.btn-ghost {
  background: transparent;
  color: var(--color-brand-indigo);
  border-color: var(--color-brand-indigo);
}
.btn-ghost:hover {
  background: var(--color-brand-indigo);
  color: #fff;
}

.btn-ghost-light {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(240, 239, 255, 0.3);
}
.btn-ghost-light:hover {
  background: rgba(240, 239, 255, 0.1);
  border-color: rgba(240, 239, 255, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-mid);
  border-color: var(--color-border-mid);
}
.btn-secondary:hover {
  color: var(--color-brand-indigo);
  border-color: var(--color-brand-indigo);
}

.btn-sm {
  padding: 10px var(--space-lg);
  font-size: var(--text-small);
  min-height: 40px;
}

.btn-lg {
  padding: 18px var(--space-2xl);
  font-size: var(--text-body-lg);
  min-height: 56px;
}

/* ════════════════════════════════════════
   CARDS — LIGHT
   ════════════════════════════════════════ */
.card-light {
  background: var(--color-surface-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card-lt);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}
.card-light:hover {
  box-shadow: var(--shadow-hover-lt);
  border-color: var(--color-border-mid);
  transform: translateY(-2px);
}

/* ── CARDS — DARK ── */
.card-dark {
  background: var(--color-dark-card);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.card-dark:hover {
  border-color: rgba(104, 117, 245, 0.4);
  box-shadow: var(--glow-indigo);
  transform: translateY(-2px);
}

/* ── Feature Card ── */
.feature-card {
  position: relative;
  background: var(--color-dark-card);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(72,86,238,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.feature-card:hover {
  border-color: rgba(104,117,245,0.4);
  box-shadow: var(--glow-indigo);
  transform: translateY(-3px);
}

.feature-card__num {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(72, 86, 238, 0.12);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--color-brand-indigo-lt);
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}
.feature-card__desc {
  font-size: var(--text-small);
  line-height: var(--lh-body);
  color: var(--color-text-dim);
}

/* ── Stat Card ── */
.stat-card {
  text-align: center;
  padding: var(--space-xl);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-brand-indigo);
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.stat-number--amber { color: var(--color-brand-amber); }
.stat-number--teal  { color: var(--color-brand-teal); }
.stat-label {
  font-size: var(--text-small);
  color: var(--color-text-mid);
  line-height: var(--lh-body);
  max-width: 200px;
  margin: 0 auto;
}
.stat-label--dim { color: var(--color-text-dim); }

/* ── Audience / CTA Cards ── */
.audience-card {
  background: var(--color-surface-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card-lt);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: all var(--transition-base);
}
.audience-card:hover {
  box-shadow: var(--shadow-hover-lt);
  border-color: var(--color-border-mid);
  transform: translateY(-2px);
}
.audience-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-surface-off);
}
.audience-card__icon svg { width: 28px; height: 28px; }
.audience-card__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-text-dark);
}
.audience-card__desc {
  font-size: var(--text-small);
  color: var(--color-text-mid);
  line-height: var(--lh-body);
  flex: 1;
}

/* ════════════════════════════════════════
   HOW IT WORKS — STEPS
   ════════════════════════════════════════ */
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.step {
  flex: 1;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
}
.step__badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-brand-indigo);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 1;
  box-shadow: var(--glow-indigo);
}
.step__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--color-brand-indigo);
}
.step__icon svg { width: 100%; height: 100%; }
.step__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
}
.step__desc {
  font-size: var(--text-small);
  color: var(--color-text-mid);
  line-height: var(--lh-body);
}
.step-connector {
  flex: 0 0 auto;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
}
.step-connector svg { width: 60px; height: 2px; }

@media (max-width: 768px) {
  .steps-row { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 40px; padding: 0; padding-left: 28px; }
  .step-connector svg { transform: rotate(90deg); }
}

/* ════════════════════════════════════════
   FORMS
   ════════════════════════════════════════ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form-label {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-text-mid);
}
.form-label--light { color: rgba(240,239,255,0.8); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text-dark);
  background: var(--color-surface-white);
  border: 1.5px solid var(--color-border-mid);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand-indigo);
  box-shadow: 0 0 0 3px rgba(72,86,238,0.15);
}
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
}
.form-textarea { min-height: 120px; resize: vertical; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%238888A8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-error {
  font-size: var(--text-small);
  color: var(--color-error);
  display: none;
}
.form-error.visible { display: block; }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-small);
  color: var(--color-text-mid);
  cursor: pointer;
  line-height: var(--lh-body);
}
.form-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--color-brand-indigo);
  cursor: pointer;
}

/* Dark form variants */
.form-dark .form-input,
.form-dark .form-select,
.form-dark .form-textarea {
  background: var(--color-dark-elevated);
  color: var(--color-text-light);
  border-color: var(--color-border-dark);
}
.form-dark .form-input::placeholder,
.form-dark .form-textarea::placeholder {
  color: var(--color-text-dim);
}
.form-dark .form-input:focus,
.form-dark .form-select:focus,
.form-dark .form-textarea:focus {
  border-color: var(--color-brand-indigo-lt);
  box-shadow: 0 0 0 3px rgba(104,117,245,0.2);
}
.form-dark .form-checkbox-label { color: var(--color-text-dim); }

/* Inline email form */
.form-inline {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
  margin: 0 auto;
}
.form-inline input {
  flex: 1;
  padding: 14px var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text-dark);
  background: var(--color-surface-white);
  border: 1.5px solid var(--color-border-mid);
  border-radius: var(--radius-pill);
  min-height: 48px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-inline input:focus {
  outline: none;
  border-color: var(--color-brand-indigo);
  box-shadow: 0 0 0 3px rgba(72,86,238,0.15);
}
@media (max-width: 480px) {
  .form-inline { flex-direction: column; }
  .form-inline input, .form-inline .btn { width: 100%; }
}

/* ════════════════════════════════════════
   MARKET CALLOUT — Dark Inset Banner
   ════════════════════════════════════════ */
.market-callout {
  background: var(--color-dark-card);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  margin-top: var(--space-3xl);
  position: relative;
  overflow: hidden;
}
.market-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(72,86,238,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.market-callout__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--color-brand-amber);
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.market-callout__label {
  font-size: var(--text-small);
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ════════════════════════════════════════
   PILOT / OUTCOME CALLOUTS
   ════════════════════════════════════════ */
.outcome-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}
.outcome-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: rgba(0,201,167,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-teal);
  margin-top: 2px;
}
.outcome-check svg { width: 14px; height: 14px; }
.outcome-text {
  font-size: var(--text-body);
  color: var(--color-text-dim);
  line-height: var(--lh-body);
}

/* ════════════════════════════════════════
   PULL QUOTE
   ════════════════════════════════════════ */
.pull-quote {
  border-left: 3px solid var(--color-brand-indigo);
  padding-left: var(--space-xl);
  margin: var(--space-2xl) 0;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: var(--lh-heading);
}
.pull-quote--light p { color: var(--color-text-light); }

/* ════════════════════════════════════════
   TIMELINE
   ════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: var(--space-2xl);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-brand-indigo);
  border-radius: var(--radius-pill);
}
.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
  opacity: 0;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--space-2xl) + 12px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-brand-indigo);
  border: 3px solid var(--color-surface-white);
  box-shadow: var(--glow-indigo);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-brand-indigo);
  margin-bottom: var(--space-xs);
}
.timeline-content {
  font-size: var(--text-body);
  color: var(--color-text-mid);
  line-height: var(--lh-body);
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.site-footer {
  background: var(--color-surface-off);
  border-top: 1px solid var(--color-border-light);
  padding: var(--space-3xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: var(--space-md);
}
.footer-brand__tagline {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  line-height: var(--lh-body);
  margin-bottom: var(--space-lg);
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: var(--space-md);
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-mid);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.footer-social a:hover {
  background: var(--color-brand-indigo);
  color: #fff;
}
.footer-social svg { width: 18px; height: 18px; }

.footer-col__heading {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col ul li a {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--color-brand-indigo); }

.footer-bottom {
  border-top: 1px solid var(--color-border-light);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.footer-bottom__copy {
  font-size: var(--text-small);
  color: var(--color-text-muted);
}
.footer-bottom__links {
  display: flex;
  gap: var(--space-lg);
}
.footer-bottom__links a {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.footer-bottom__links a:hover { color: var(--color-brand-indigo); }

/* ════════════════════════════════════════
   HERO VARIANTS
   ════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero--dark { background: var(--color-dark-base); }
.hero--light { background: var(--color-surface-white); }
.hero--off { background: var(--color-surface-off); }

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-2xl) var(--grid-gutter);
}
.hero__eyebrow { margin-bottom: var(--space-lg); }
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: var(--lh-hero);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}
.hero__title--dark { color: var(--color-text-dark); }
.hero__sub {
  font-size: var(--text-body-lg);
  color: var(--color-text-dim);
  line-height: var(--lh-body);
  max-width: 540px;
  margin: 0 auto var(--space-2xl);
}
.hero__sub--dark { color: var(--color-text-mid); }
.hero__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Inner page hero (smaller) */
.hero--inner {
  min-height: 60vh;
}
.hero--inner .hero__title {
  font-size: var(--text-h1);
}

/* Light hero two-col layout */
.hero--two-col .hero__content {
  text-align: left;
}
.hero-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
@media (max-width: 768px) {
  .hero-cols { grid-template-columns: 1fr; }
  .hero--two-col .hero__content { text-align: center; }
  .hero--two-col .hero__cta-row { justify-content: center; }
  .hero--two-col .hero__sub { margin: 0 auto var(--space-2xl); }
}

/* Product image placeholder */
.product-glow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: var(--color-surface-off);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--color-border-mid);
  box-shadow: var(--glow-indigo);
}
.product-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(72,86,238,0.08) 0%, transparent 70%);
}

/* Pilot image placeholder */
.pilot-image {
  border-radius: var(--radius-xl);
  background: var(--color-dark-elevated);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,201,167,0.3);
  box-shadow: var(--glow-teal);
  position: relative;
  overflow: hidden;
}

.pilot-image__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

/* Portrait placeholder */
.portrait-placeholder {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  background: var(--color-surface-off);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-border-mid);
  box-shadow: var(--glow-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  margin: 0 auto;
}

.portrait-placeholder__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ════════════════════════════════════════
   CTA BANNER SECTION
   ════════════════════════════════════════ */
.cta-banner {
  background: var(--color-dark-base);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(72,86,238,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}
.cta-banner__sub {
  font-size: var(--text-body-lg);
  color: var(--color-text-dim);
  margin-bottom: var(--space-2xl);
}

/* ════════════════════════════════════════
   SECTION HEADERS
   ════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-header--left { text-align: left; }

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
  line-height: var(--lh-heading);
}
.section-title--light { color: var(--color-text-light); }

.section-subtitle {
  font-size: var(--text-body-lg);
  color: var(--color-text-mid);
  line-height: var(--lh-body);
  max-width: 600px;
  margin: 0 auto;
}
.section-subtitle--light { color: var(--color-text-dim); }
.section-header--left .section-subtitle { margin: 0; }

/* ════════════════════════════════════════
   TECH SPECS TABLE
   ════════════════════════════════════════ */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr { border-bottom: 1px solid var(--color-border-light); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  vertical-align: top;
}
.specs-table td:first-child {
  font-weight: 600;
  color: var(--color-text-dark);
  white-space: nowrap;
  width: 200px;
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}
.specs-table td:last-child {
  color: var(--color-text-mid);
}

/* ════════════════════════════════════════
   VIDEO MODAL
   ════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.modal-overlay.open { display: flex; }
.modal-box {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: var(--color-dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-dark);
}
.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  font-size: 1.25rem;
  transition: background var(--transition-fast);
}
.modal-close:hover { background: rgba(255,255,255,0.2); }
.modal-video {
  width: 100%;
  display: block;
}

/* ════════════════════════════════════════
   AMBIENT ORB DECORATIONS
   ════════════════════════════════════════ */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}
.orb--indigo { background: var(--color-brand-indigo); }
.orb--amber  { background: var(--color-brand-amber); }
.orb--teal   { background: var(--color-brand-teal); }

/* Donation tier cards */
.donation-card {
  background: var(--color-surface-white);
  border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: var(--shadow-card-lt);
  transition: all var(--transition-base);
}
.donation-card:hover {
  border-color: var(--color-brand-amber);
  box-shadow: var(--glow-amber);
  transform: translateY(-2px);
}
.donation-card__emoji { font-size: 2.5rem; line-height: 1; }
.donation-card__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-text-dark);
}
.donation-card__desc {
  font-size: var(--text-small);
  color: var(--color-text-mid);
  flex: 1;
  line-height: var(--lh-body);
}
