/* =============================================================
   components.css — Buttons, cards, nav, footer, badges, forms
   ============================================================= */

/* ============================================================
   BUTTONS
   ============================================================ */

/* Base button reset */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--type-btn-family);
  font-weight: var(--type-btn-weight);
  font-size: var(--type-btn-size);
  line-height: var(--type-btn-lh);
  letter-spacing: var(--type-btn-ls);
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background-color var(--duration-normal) var(--ease-default),
              border-color var(--duration-normal) var(--ease-default),
              box-shadow var(--duration-normal) var(--ease-default),
              color var(--duration-fast) var(--ease-default),
              transform var(--duration-normal) var(--ease-default);
  white-space: nowrap;
}

/* Tier 1 — Primary CTA */
.btn-primary {
  background: var(--color-accent-primary);
  color: #000D12;
  height: 46px;
  padding: 0 26px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #000D12;
  opacity: 0.92;
}

.btn-primary:active {
  background: var(--color-accent-active);
  opacity: 1;
}

.btn-primary:disabled {
  background: rgba(0, 217, 255, 0.2);
  color: rgba(0, 10, 15, 0.4);
  cursor: not-allowed;
}

.btn-primary .btn-arrow {
  display: inline-block;
  transition: transform var(--duration-normal) var(--ease-default);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

/* Tier 2 — Secondary / Outline */
.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid rgba(255,255,255,0.18);
  height: 46px;
  padding: 0 26px;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  color: var(--color-text-primary);
}

.btn-secondary:active {
  background: rgba(255,255,255,0.08);
}

.btn-secondary:disabled {
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.25);
  cursor: not-allowed;
}

/* Mobile Tier 1 touch size */
@media (max-width: 767px) {
  .btn-primary { height: 52px; }
  .btn-secondary { height: 52px; }
  .pricing-section .btn-primary,
  .pricing-section .btn-secondary {
    width: 100%;
    min-width: unset;
  }
}

/* Tier 3 — Ghost / Text Link */
.btn-ghost {
  background: none;
  border: none;
  color: var(--color-accent-primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0;
  height: auto;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

.btn-ghost .arrow {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-default);
}

.btn-ghost:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.btn-ghost:active {
  color: var(--color-accent-active);
}

/* Header CTA — compact variant */
.btn-header {
  background: var(--color-accent-primary);
  color: #000D12;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  height: 36px;
  padding: 0 18px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-default),
              opacity var(--duration-fast) var(--ease-default);
  white-space: nowrap;
}

.btn-header:hover {
  background: var(--color-accent-hover);
  color: #000D12;
  opacity: 0.9;
}

/* Bundle CTA pulse animation */
.btn-pulse {
  animation: ctaPulse 3.5s var(--ease-linear) infinite;
}

.btn-pulse:hover {
  animation-play-state: paused;
}

/* Button loading state */
.btn-loading {
  pointer-events: none;
  position: relative;
}

.btn-loading .btn-label {
  opacity: 0;
}

.btn-spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 10, 15, 0.30);
  border-top-color: var(--color-text-on-accent);
  border-radius: 50%;
  animation: spin 600ms linear infinite;
}

.btn-loading .btn-spinner {
  display: block;
}

/* CTA Row */
.cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-row-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .cta-row,
  .cta-row-center {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn-primary,
  .cta-row .btn-secondary,
  .cta-row-center .btn-primary,
  .cta-row-center .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   RISK REVERSAL BLOCK
   ============================================================ */
.risk-reversal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-top: var(--space-3);
}

.risk-reversal-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.risk-reversal-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .risk-reversal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    justify-items: start;
  }
}

/* ============================================================
   BADGES & TAGS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  line-height: 1;
}

.badge-asset {
  background: rgba(0, 217, 255, 0.12);
  border: 1px solid rgba(0, 217, 255, 0.30);
  color: var(--color-accent-primary);
}

.badge-best-value {
  background: var(--color-gold-bg);
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 var(--radius-xl) 0 var(--radius-md);
}

.badge-new {
  background: rgba(123, 97, 255, 0.15);
  border: 1px solid rgba(123, 97, 255, 0.35);
  color: #9B85FF;
}

.badge-recommended {
  background: rgba(0, 217, 255, 0.15);
  border: 1px solid rgba(0, 217, 255, 0.40);
  color: var(--color-accent-primary);
}

.badge-platform {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-default);
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-md);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height-desktop);
  z-index: var(--z-header);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--duration-normal) var(--ease-default),
              border-color var(--duration-normal) var(--ease-default),
              backdrop-filter var(--duration-normal) var(--ease-default);
}

.site-header.is-scrolled {
  background: var(--color-header-blur-bg);
  border-bottom: 1px solid rgba(42, 42, 58, 0.60);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

/* Non-homepage: always scrolled */
.page-strategies .site-header,
.page-strategy .site-header,
.page-plans .site-header,
.page-about .site-header,
.page-faq .site-header,
.page-contact .site-header,
.page-legal .site-header {
  background: var(--color-header-blur-bg);
  border-bottom: 1px solid rgba(42, 42, 58, 0.60);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 32px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

.logo-text span {
  color: var(--color-accent-primary);
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--space-4);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  gap: var(--space-1);
  transition: color var(--duration-fast) var(--ease-default);
  white-space: nowrap;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-4);
  right: var(--space-4);
  width: 0;
  height: 2px;
  background: var(--color-accent-primary);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-item:hover {
  color: var(--color-text-primary);
}

.nav-item:hover::after {
  width: calc(100% - var(--space-4) * 2);
}

.nav-item.is-active {
  color: var(--color-accent-primary);
}

.nav-item.is-active::after {
  width: calc(100% - var(--space-4) * 2);
}

.nav-item__chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-normal) var(--ease-default);
  flex-shrink: 0;
}

.nav-item.dropdown-open .nav-item__chevron {
  transform: rotate(180deg);
}

/* Header right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Mega dropdown */
#mega-dropdown {
  position: absolute;
  top: var(--header-height-desktop);
  left: 0;
  width: 640px;
  background: var(--color-dropdown-bg);
  border: 1px solid var(--color-border-default);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  z-index: var(--z-dropdown);
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--duration-medium) var(--ease-out),
              transform var(--duration-medium) var(--ease-out);
}

#mega-dropdown.is-open {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity var(--duration-medium) var(--ease-out),
              transform var(--duration-medium) var(--ease-out);
}

#mega-dropdown.is-closing {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--duration-fast) var(--ease-in),
              transform var(--duration-fast) var(--ease-in);
}

.dropdown-header {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--space-2);
  row-gap: 2px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-default);
  min-height: 44px;
}

.dropdown-item:hover {
  background: rgba(0, 217, 255, 0.08);
}

.dropdown-item:hover .dropdown-item-name {
  color: var(--color-accent-primary);
}

.dropdown-item-icon {
  width: 24px;
  height: 24px;
  background: var(--color-bg-surface-3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-accent-primary);
  font-family: var(--font-mono);
}

.dropdown-item-num {
  width: 24px;
  height: 24px;
  background: var(--color-bg-surface-3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-accent-primary);
  font-family: var(--font-mono);
}

.dropdown-item-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-primary);
  transition: color var(--duration-fast) var(--ease-default);
  display: block;
  line-height: 1.2;
}

.dropdown-item-tag {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
}

.dropdown-footer {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-3);
  margin-top: var(--space-3);
}

.dropdown-footer a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

.dropdown-footer a:hover {
  color: var(--color-accent-hover);
}

/* Mobile hamburger */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-default),
              opacity var(--duration-fast) var(--ease-default);
  transform-origin: center;
}

.hamburger-btn.is-open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile drawer */
#mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 360px;
  height: 100dvh;
  background: var(--color-bg-surface-1);
  border-left: 1px solid var(--color-border-default);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.70);
  z-index: var(--z-dropdown);
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--duration-medium) var(--ease-out);
  overflow-y: auto;
}

#mobile-drawer.is-open {
  transform: translateX(0);
}

#mobile-drawer.is-closing {
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-in);
}

.drawer-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  transition: color var(--duration-fast) var(--ease-default);
}

.drawer-close:hover {
  color: var(--color-text-primary);
}

.drawer-logo {
  margin-top: var(--space-12);
  margin-bottom: var(--space-8);
}

.drawer-nav {
  flex: 1;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border-subtle);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-default);
  text-align: left;
}

.drawer-nav-item:hover {
  color: var(--color-accent-primary);
}

.drawer-expand-icon {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Drawer strategies accordion */
.drawer-strategies-list {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-normal) var(--ease-default);
}

.drawer-strategies-list.is-open {
  grid-template-rows: 1fr;
}

.drawer-strategies-inner {
  overflow: hidden;
}

.drawer-strategy-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--duration-fast) var(--ease-default);
  border-bottom: 1px solid var(--color-border-subtle);
}

.drawer-strategy-link:hover {
  color: var(--color-accent-primary);
}

.drawer-cta {
  margin-top: auto;
  padding-top: var(--space-6);
}

/* Drawer scrim */
.drawer-scrim {
  position: fixed;
  inset: 0;
  background: var(--color-scrim);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-default);
  pointer-events: none;
  z-index: calc(var(--z-dropdown) - 1);
}

.drawer-scrim.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .hamburger-btn { display: flex; }
}

@media (max-width: 479px) {
  .btn-header { display: none; }
}

/* ============================================================
   STRATEGY CARDS
   ============================================================ */
.strategy-card {
  background: var(--color-bg-surface-1);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--duration-normal) var(--ease-default),
              box-shadow var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-default);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.strategy-card:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.strategy-card:hover .strategy-card__preview img {
  transform: scale(1.03);
}

.strategy-card__preview {
  height: 160px;
  background: var(--color-bg-surface-2);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.strategy-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.strategy-card__preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--color-bg-surface-2) 0%, var(--color-bg-surface-1) 100%);
}

/* Mini equity curve SVG in card preview */
.preview-svg {
  width: 100%;
  height: 100%;
}

.strategy-card__badges {
  padding: 12px 16px 0;
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.strategy-card__market {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.strategy-card__name {
  padding: var(--space-4) var(--space-4) 0;
  font-size: var(--type-h4-size);
  font-weight: var(--type-h4-weight);
  color: var(--color-text-primary);
}

.strategy-card__tagline {
  padding: var(--space-1) var(--space-4) 0;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.strategy-card__stats {
  display: flex;
  gap: 0;
  background: var(--color-bg-surface-2);
  border-top: 1px solid var(--color-border-subtle);
  margin-top: var(--space-3);
}

.strategy-card__stat {
  flex: 1;
  padding: 10px 12px;
  text-align: center;
  border-right: 1px solid var(--color-border-subtle);
}

.strategy-card__stat:last-child {
  border-right: none;
}

.strategy-card__stat-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 2px;
}

.strategy-card__stat-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  display: block;
}

.strategy-card__cta {
  padding: var(--space-4);
  margin-top: auto;
}

/* ============================================================
   FEATURE CARDS (How It Works)
   ============================================================ */
.feature-card {
  background: var(--color-bg-surface-1);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: border-color var(--duration-normal) var(--ease-default),
              box-shadow var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-default);
}

.feature-card:hover {
  border-color: rgba(0, 217, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.30);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-surface-2);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-accent-primary);
}

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

.feature-card__step {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-primary);
  display: block;
  margin-bottom: var(--space-3);
}

.feature-card h3,
.feature-card h4 {
  margin-top: var(--space-4);
  font-size: 1.125rem;
}

.feature-card p {
  margin-top: var(--space-2);
  font-size: 0.9375rem;
}

/* ============================================================
   STEPS ROW (How It Works)
   ============================================================ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: var(--space-12);
}

@media (max-width: 767px) {
  .steps-row {
    grid-template-columns: 1fr;
  }
  .steps-row > * {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid var(--color-border-subtle);
    padding: var(--space-6) 0 !important;
  }
  .steps-row > *:first-child {
    border-top: none;
  }
  /* Hide horizontal connector on mobile */
  .steps-row > div[aria-hidden="true"] {
    display: none;
  }
}

/* ============================================================
   STAT GRID
   ============================================================ */
.stat-grid-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--color-bg-surface-1);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

@media (max-width: 767px) {
  .stat-grid-section {
    grid-template-columns: 1fr 1fr;
  }
}

.stat-item {
  padding: var(--space-12) var(--space-6);
  text-align: center;
  border-right: 1px solid var(--color-border-default);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item:last-child {
  border-right: none;
}

@media (max-width: 767px) {
  .stat-item {
    padding: var(--space-8) var(--space-4);
    border-right: none;
    border-bottom: 1px solid var(--color-border-default);
  }

  .stat-item:last-child,
  .stat-item:nth-child(even) {
    border-right: none;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--color-border-default);
  }

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

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  display: flex;
  align-items: flex-start;
  gap: 0;
}

@media (max-width: 1024px) {
  .stat-number { font-size: 2.75rem; }
}

@media (max-width: 767px) {
  .stat-number { font-size: 2.25rem; }
}

@media (max-width: 480px) {
  .stat-number { font-size: 1.625rem; }
}

.stat-number-suffix {
  font-size: 70%;
  line-height: 1.3;
  vertical-align: top;
  margin-top: 0.1em;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  display: block;
}

/* ============================================================
   PRICING COMPONENTS
   ============================================================ */

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 4px;
  position: relative;
}

.toggle-pill {
  position: absolute;
  height: calc(100% - 8px);
  background: var(--color-bg-surface-3);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-default),
              width var(--duration-fast) var(--ease-default);
  top: 4px;
  left: 4px;
  pointer-events: none;
}

.toggle-option {
  position: relative;
  z-index: 1;
  min-width: 100px;
  height: 36px;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: color var(--duration-fast) var(--ease-default);
  padding: 0 var(--space-4);
}

.toggle-option.is-active {
  color: var(--color-text-primary);
}

.savings-badge {
  background: rgba(0, 212, 160, 0.15);
  color: var(--color-positive);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  transition: opacity var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-default);
}

.billing-toggle.is-monthly .savings-badge {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

.billing-toggle.is-yearly .savings-badge {
  opacity: 1;
  transform: scale(1);
}

/* Billing toggle sticky wrapper */
.billing-toggle-sticky {
  position: sticky;
  top: var(--header-height-desktop);
  z-index: var(--z-sticky);
  background: var(--color-bg-base);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pricing card */
.pricing-card {
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--duration-normal) var(--ease-default),
              box-shadow var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-default);
}

.pricing-card:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-2px);
}

.pricing-card__name {
  font-size: var(--type-h3-size);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.pricing-card__period {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.price-display {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: var(--space-2);
  transition: opacity 120ms var(--ease-in), transform 120ms var(--ease-in);
}

.price-display.price-exiting {
  opacity: 0;
  transform: translateY(-6px);
}

.price-display.price-entering {
  opacity: 0;
  transform: translateY(8px);
}

.price-display.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.price-currency {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-top: 6px;
}

.price-value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.price-savings {
  font-size: 0.8125rem;
  color: var(--color-positive);
  margin-bottom: var(--space-5);
  display: none;
}

.billing-toggle.is-yearly ~ .pricing-card .price-savings,
[data-billing="yearly"] .price-savings {
  display: block;
}

.pricing-card__cta {
  margin-top: var(--space-5);
  width: 100%;
}

.pricing-card__includes {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
}

.pricing-card__includes-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.pricing-card__includes li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
  line-height: 1.5;
}

.pricing-card__includes li::before {
  content: '✓';
  color: var(--color-positive);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Bundle card */
.bundle-card {
  border: 1.5px solid var(--color-border-accent-strong);
  background: #13131E;
  box-shadow: none;
  transition: box-shadow 500ms var(--ease-out);
}

.bundle-card.glow-visible {
  box-shadow: var(--shadow-glow-bundle);
}

.bundle-card .price-value {
  font-size: 2.5rem;
}

/* ============================================================
   EQUITY CURVE CHART
   ============================================================ */
.chart-container {
  background: linear-gradient(180deg, var(--color-bg-surface-2) 0%, var(--color-bg-surface-1) 100%);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 320px;
}

@media (max-width: 767px) {
  .chart-container { height: 220px; }
}

.chart-container svg {
  width: 100%;
  height: 100%;
}

.equity-curve-path {
  fill: none;
  stroke: var(--color-accent-primary);
  stroke-width: 2;
  transition: stroke-dashoffset 1200ms var(--ease-out);
}

.equity-curve-fill {
  opacity: 0;
  transition: opacity 600ms var(--ease-out) 300ms;
}

.chart-container.chart-animate .equity-curve-fill {
  opacity: 1;
}

.chart-grid-line {
  stroke: rgba(42, 42, 58, 0.50);
  stroke-width: 1;
}

.chart-placeholder-label {
  font-size: 0.8125rem;
  font-weight: 500;
  fill: var(--color-text-muted);
  font-family: var(--font-body);
}

.chart-caption {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  text-align: center;
}

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.testimonial-card {
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.testimonial-stars .star {
  color: var(--color-gold);
  font-size: 1rem;
}

.testimonial-quote {
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.7;
  flex: 1;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-accent-primary);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.testimonial-detail {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ============================================================
   RELATED STRATEGY CARDS
   ============================================================ */
.related-strategy-card {
  background: var(--color-bg-surface-1);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-default);
  cursor: pointer;
}

.related-strategy-card:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-2px);
}

.related-card__left {
  flex: 1;
}

.related-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: var(--space-2);
  margin-bottom: var(--space-1);
}

.related-card__note {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.related-card__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
  flex-shrink: 0;
}

.stat-chip {
  background: var(--color-positive-bg);
  border: 1px solid rgba(0, 212, 160, 0.25);
  color: var(--color-positive);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

@media (max-width: 767px) {
  .related-strategy-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .related-card__right {
    align-items: flex-start;
    flex-direction: row;
  }
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-col {
  padding: 0;
}

.comparison-col--manual {
  background: var(--color-bg-surface-2);
}

.comparison-col--falco {
  background: var(--color-bg-surface-3);
  border-left: 2px solid var(--color-accent-primary);
}

.comparison-header {
  padding: var(--space-6) var(--space-6) var(--space-4);
}

.comparison-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.comparison-col--manual .comparison-header h3 {
  color: var(--color-text-muted);
}

.comparison-col--falco .comparison-header h3 {
  color: var(--color-accent-primary);
}

.comparison-col--falco .comparison-header {
  border-top: 2px solid var(--color-accent-primary);
}

.comparison-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.comparison-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.comparison-icon--check { color: var(--color-positive); }
.comparison-icon--x     { color: var(--color-negative); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  padding: var(--space-6) 0 var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: var(--space-4);
}

.faq-question-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.4;
  transition: color var(--duration-fast) var(--ease-default);
}

.faq-item.is-open .faq-question-text {
  color: var(--color-accent-primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-default);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent-primary);
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-normal) var(--ease-default);
}

.faq-item.is-open .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-default);
  transition-delay: 80ms;
}

.faq-item.is-open .faq-answer {
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.faq-answer-inner a {
  color: var(--color-accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ category strip */
.faq-categories {
  position: sticky;
  top: var(--header-height-desktop);
  z-index: var(--z-sticky);
  background: var(--color-bg-surface-1);
  border-bottom: 1px solid var(--color-border-subtle);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.faq-categories::-webkit-scrollbar {
  display: none;
}

.faq-category-link {
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--duration-fast) var(--ease-default),
              border-color var(--duration-fast) var(--ease-default);
  display: block;
}

.faq-category-link:hover {
  color: var(--color-text-primary);
}

.faq-category-link.is-active {
  color: var(--color-text-primary);
  border-bottom-color: var(--color-accent-primary);
}

@media (max-width: 767px) {
  .faq-categories {
    top: var(--header-height-mobile);
  }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  display: block;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  height: 48px;
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-primary);
  transition: border-color var(--duration-fast) var(--ease-default),
              box-shadow var(--duration-fast) var(--ease-default);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.15);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--color-negative);
  box-shadow: 0 0 0 3px rgba(224, 90, 106, 0.15);
}

.form-textarea {
  height: auto;
  min-height: 140px;
  resize: vertical;
  padding: 14px 16px;
}

/* ============================================================
   RISK REVERSAL BANNER (full-width)
   ============================================================ */
.risk-reversal-banner {
  background: rgba(0, 217, 255, 0.05);
  border-top: 1px solid rgba(0, 217, 255, 0.15);
  border-bottom: 1px solid rgba(0, 217, 255, 0.15);
  padding: var(--space-12) 0;
}

.risk-reversal-banner .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-12);
}

.risk-reversal-banner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}

.risk-reversal-banner-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.risk-reversal-banner-icon svg {
  width: 32px;
  height: 32px;
}

.risk-reversal-banner-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

@media (max-width: 767px) {
  .risk-reversal-banner .container {
    gap: var(--space-8);
  }
}

/* ============================================================
   FOOTER — Redesigned with left-aligned 3-col layout
   ============================================================ */
.site-footer {
  background: var(--color-bg-footer);
  border-top: 1px solid var(--color-border-subtle);
}

/* ---- Override container inside footer — left-aligned, no centering ---- */
.site-footer .container {
  max-width: none;
  margin: 0;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ---- Top section: 3-column brand/nav/legal ---- */
.footer-top {
  padding: var(--space-16) 0 var(--space-8);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

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

@media (max-width: 767px) {
  .footer-main-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-top { padding: var(--space-10) 0 var(--space-6); }
}

/* Brand column */
.footer-brand-col {}

.footer-logo {
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.footer-logo .logo-text span {
  color: var(--color-accent-primary);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

/* Social icons row */
.footer-social {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  transition: color var(--duration-fast) var(--ease-default),
              border-color var(--duration-fast) var(--ease-default),
              background var(--duration-fast) var(--ease-default);
  text-decoration: none;
  flex-shrink: 0;
}

.footer-social-link:hover {
  color: var(--color-accent-primary);
  border-color: var(--color-border-accent);
  background: rgba(0,217,255,0.05);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

/* Nav/Legal columns */
.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-primary);
  display: block;
  margin-bottom: var(--space-4);
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: var(--space-3);
  line-height: 1.3;
  transition: color var(--duration-fast) var(--ease-default);
}

.footer-link:hover {
  color: var(--color-text-primary);
}

.footer-contact-email {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-accent-primary);
  text-decoration: none;
  margin-top: var(--space-4);
  transition: color var(--duration-fast) var(--ease-default);
}

.footer-contact-email:hover {
  color: var(--color-accent-hover);
}

/* ---- Middle: NinjaTrader Ecosystem vendor badge ---- */
.footer-ecosystem-bar {
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: var(--space-5) 0;
  margin: 0;
}

.footer-ecosystem-inner {
  max-width: none;
  margin: 0;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-ecosystem-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(0,217,255,0.05);
  border: 1px solid rgba(0,217,255,0.18);
  border-radius: var(--radius-md);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: background var(--duration-fast), border-color var(--duration-fast);
}

.footer-ecosystem-badge:hover {
  background: rgba(0,217,255,0.09);
  border-color: rgba(0,217,255,0.3);
}

.footer-ecosystem-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-primary);
  flex-shrink: 0;
}

.footer-ecosystem-text {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

/* ---- Bottom: full disclaimer + copyright ---- */
.footer-bottom {
  background: #050508;
  border-top: 1px solid var(--color-border-subtle);
  padding: var(--space-8) 0 var(--space-6);
}

.footer-disclaimer-block {
  max-width: none;
  margin: 0;
  padding: 0 2rem var(--space-6);
}

.footer-disclaimer {
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.footer-disclaimer a {
  color: var(--color-text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-disclaimer a:hover {
  color: var(--color-text-secondary);
}

.footer-bottom-bar {
  max-width: none;
  margin: 0;
  padding: var(--space-4) 2rem 0;
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
  opacity: 0.75;
}

.footer-legal-links {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.footer-legal-link {
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
  opacity: 0.75;
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-default);
}

.footer-legal-link:hover {
  opacity: 1;
}

/* Legacy footer-grid (kept for any pages that still reference it) */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-10);
}

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

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Footer brand row (legacy) */
.footer-brand-row { padding-bottom: var(--space-10); }
.footer-trust { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.footer-trust-badge {
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--color-text-muted); background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-subtle); border-radius: var(--radius-sm);
  padding: 3px 10px;
}
.footer-divider { border: none; border-top: 1px solid var(--color-border-subtle); margin: 0 0 var(--space-10); }

/* ============================================================
   IN-PAGE ANCHOR NAV (Strategy pages)
   ============================================================ */
#strategy-nav {
  position: sticky;
  top: var(--header-height-desktop);
  z-index: var(--z-sticky);
  background: var(--color-bg-surface-1);
  border-bottom: 1px solid var(--color-border-subtle);
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

#strategy-nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.strategy-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  height: 48px;
  gap: var(--space-6);
  overflow-x: auto;
  scrollbar-width: none;
}

.strategy-nav-inner::-webkit-scrollbar {
  display: none;
}

.anchor-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--duration-fast) var(--ease-default),
              border-color var(--duration-fast) var(--ease-default);
}

.anchor-link:hover {
  color: var(--color-text-primary);
}

.anchor-link.is-active {
  color: var(--color-accent-primary);
  border-bottom-color: var(--color-accent-primary);
}

@media (max-width: 767px) {
  #strategy-nav {
    top: var(--header-height-mobile);
  }
}

/* ============================================================
   SECTION HERO BACKGROUNDS
   ============================================================ */
.hero-bg-gradient {
  background-color: var(--color-bg-base);
  background-image:
    radial-gradient(ellipse at 20% 45%, rgba(0, 217, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 15%, rgba(0, 150, 180, 0.04) 0%, transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(30, 41, 59, 0.35) 59px,
      rgba(30, 41, 59, 0.35) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(30, 41, 59, 0.20) 79px,
      rgba(30, 41, 59, 0.20) 80px
    );
}

.section-accent-gradient {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 217, 255, 0.06) 0%, transparent 70%),
    var(--color-bg-surface-1);
  border-top: 1px solid rgba(0, 217, 255, 0.15);
  border-bottom: 1px solid rgba(0, 217, 255, 0.10);
}

/* ============================================================
   TEAM MEMBER CARDS
   ============================================================ */
.team-card {
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
}

.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-bg-surface-3);
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-accent-primary);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.team-title {
  font-size: 0.8125rem;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-2);
}

.team-bio {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   SOCIAL PROOF STRIP
   ============================================================ */
.social-proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.social-proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.social-proof-stars {
  display: flex;
  gap: 2px;
  color: var(--color-gold);
  font-size: 1rem;
}

.social-proof-text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.social-proof-text strong {
  color: var(--color-text-primary);
}

/* ============================================================
   CONTACT FAQ NUDGE BAR
   ============================================================ */
.faq-nudge-bar {
  background: rgba(0, 217, 255, 0.06);
  border-bottom: 1px solid rgba(0, 217, 255, 0.15);
  padding: 0;
  height: 64px;
  display: flex;
  align-items: center;
}

.faq-nudge-bar .container {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ============================================================
   PAGE TRANSITION
   ============================================================ */
.page-leaving main {
  opacity: 0;
  transition: opacity 200ms var(--ease-in);
}

/* ============================================================
   FILTER CHIPS (Strategies overview)
   ============================================================ */
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--color-bg-surface-2);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-default),
              color var(--duration-fast) var(--ease-default),
              border-color var(--duration-fast) var(--ease-default);
  white-space: nowrap;
}

.filter-chip:hover {
  color: var(--color-text-secondary);
  border-color: var(--color-border-strong);
}

.filter-chip--active {
  background: transparent;
  color: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
}

/* ============================================================
   STRATEGY SIDEBAR (Overview section on strategy pages)
   ============================================================ */
.strategy-sidebar {
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 140px;
}

.strategy-sidebar-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-subtle);
  gap: var(--space-4);
}

.strategy-sidebar-item:last-child {
  border-bottom: none;
}

.strategy-sidebar-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.strategy-sidebar-value {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-primary);
  text-align: right;
}

/* ============================================================
   REQUIREMENTS LIST (Strategy pages)
   ============================================================ */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (max-width: 767px) {
  .requirements-grid {
    grid-template-columns: 1fr;
  }
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 14px 16px;
  background: var(--color-bg-surface-1);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
}

.requirement-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.requirement-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2px;
}

.requirement-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

/* ============================================================
   STRATEGY PRICING CARD (individual strategy page)
   ============================================================ */
.strategy-pricing-card {
  background: var(--color-bg-surface-2);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 420px;
  margin: 0 auto;
}

.strategy-pricing__includes {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
}

.strategy-pricing__includes-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.strategy-pricing__includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.strategy-pricing__includes li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.strategy-pricing__includes li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--color-positive);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================================
   STAT HERO CHIP
   ============================================================ */
.hero-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  background: var(--color-positive-bg);
  border: 1px solid rgba(0, 212, 160, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-positive);
}

/* ============================================================
   PULL QUOTE (About page)
   ============================================================ */
.pull-quote {
  background: var(--color-bg-surface-2);
  border-left: 3px solid var(--color-accent-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-6) var(--space-8);
  margin: var(--space-8) 0;
}

.pull-quote p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* =============================================================
   GLOBAL HERO NEBULA — purple/violet deep-space effect
   Applied to all page hero sections for visual consistency
   ============================================================= */

/* Subpage heroes — clipped, opaque */
.about-hero,
.plans-hero,
.faq-page-hero,
.contact-hero,
.strategies-hero,
#strategy-hero {
  position: relative;
  overflow: hidden;
  background: #0B0F14;
}

/* Homepage hero — transparent bg so body::after purple bleeds through;
   no overflow:hidden so the nebula can extend below the fold */
.hero-section {
  position: relative;
  overflow: visible;
  background: transparent;
}

/* Purple/violet nebula gradient layer — subpage heroes (clipped) */
.about-hero::before,
.plans-hero::before,
.faq-page-hero::before,
.contact-hero::before,
.strategies-hero::before,
#strategy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(30,41,59,0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,41,59,0.45) 1px, transparent 1px),
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(109,28,178,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at 85% 15%, rgba(139,40,217,0.20) 0%, transparent 50%),
    radial-gradient(ellipse 45% 45% at 15% 70%, rgba(76,7,120,0.18) 0%, transparent 50%),
    radial-gradient(ellipse 70% 40% at 50% 110%, rgba(11,15,20,1) 0%, transparent 60%),
    linear-gradient(180deg, #0E0A1E 0%, #0C0D16 35%, #0B0F14 70%, #0B0F14 100%);
  background-size: 48px 48px, 48px 48px, auto, auto, auto, auto, auto;
  pointer-events: none;
  z-index: 0;
}

/* Homepage hero nebula — grid lines baked in so they show through the purple;
   extends 300px below hero bottom for seamless blend into page */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -300px;
  background:
    linear-gradient(rgba(30,41,59,0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,41,59,0.45) 1px, transparent 1px),
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(109,28,178,0.38) 0%, transparent 58%),
    radial-gradient(ellipse 55% 50% at 85% 12%, rgba(139,40,217,0.22) 0%, transparent 48%),
    radial-gradient(ellipse 45% 40% at 15% 60%, rgba(76,7,120,0.16) 0%, transparent 48%),
    linear-gradient(180deg, rgba(14,10,30,0.95) 0%, rgba(12,13,22,0.85) 30%, rgba(11,15,20,0.60) 60%, transparent 100%);
  background-size: 48px 48px, 48px 48px, auto, auto, auto, auto;
  pointer-events: none;
  z-index: 0;
}

/* Subtle cyan glow at the bottom */
.hero-section::after,
.about-hero::after,
.plans-hero::after,
.faq-page-hero::after,
.contact-hero::after,
.strategies-hero::after,
#strategy-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(0,217,255,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* All hero content must sit above the pseudo-element layers */
.hero-section > *,
.about-hero > *,
.plans-hero > *,
.faq-page-hero > *,
.contact-hero > *,
.strategies-hero > *,
#strategy-hero > * {
  position: relative;
  z-index: 1;
}

/* Star field — reusable inside any hero */
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-stars::before,
.hero-stars::after {
  content: '';
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  box-shadow:
    120px 80px 0 rgba(255,255,255,0.5),
    240px 40px 0 rgba(255,255,255,0.35),
    80px 160px 0 rgba(255,255,255,0.4),
    350px 60px 0 rgba(255,255,255,0.55),
    180px 130px 0 rgba(255,255,255,0.3),
    420px 90px 0 rgba(255,255,255,0.45),
    60px 220px 0 rgba(255,255,255,0.3),
    500px 45px 0 rgba(255,255,255,0.5),
    280px 170px 0 rgba(255,255,255,0.25),
    780px 55px 0 rgba(255,255,255,0.45),
    920px 100px 0 rgba(255,255,255,0.35),
    860px 30px 0 rgba(255,255,255,0.5),
    1040px 75px 0 rgba(255,255,255,0.4),
    1140px 120px 0 rgba(255,255,255,0.3),
    1200px 50px 0 rgba(255,255,255,0.45),
    1280px 90px 0 rgba(255,255,255,0.35),
    700px 140px 0 rgba(255,255,255,0.3),
    630px 80px 0 rgba(255,255,255,0.4),
    560px 200px 0 rgba(255,255,255,0.3),
    310px 50px 0 rgba(196,181,253,0.5),
    960px 65px 0 rgba(196,181,253,0.45),
    670px 110px 0 rgba(167,139,250,0.4);
}
.hero-stars::after {
  width: 1px; height: 1px;
  box-shadow:
    145px 95px 0 rgba(255,255,255,0.25),
    390px 110px 0 rgba(255,255,255,0.2),
    720px 75px 0 rgba(255,255,255,0.25),
    1050px 95px 0 rgba(255,255,255,0.2),
    830px 145px 0 rgba(255,255,255,0.15),
    210px 195px 0 rgba(255,255,255,0.2),
    490px 145px 0 rgba(255,255,255,0.15),
    1180px 145px 0 rgba(255,255,255,0.2);
}

@media (max-width: 767px) {
  .hero-stars::before { display: none; }
}

/* ================================================================
   SAFE & SECURE CHECKOUT CARD
   ================================================================ */
.checkout-trust-card {
  background: #141A21;
  border: 1px solid #1F2A35;
  border-radius: 10px;
  padding: 28px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
  text-align: left;
}
.checkout-trust-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(240, 244, 248, 0.90);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.checkout-trust-card p {
  font-size: 0.875rem;
  color: rgba(139, 155, 180, 0.80);
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 440px;
}
.checkout-trust-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}
.checkout-trust-logos .logo-stripe {
  color: #7B73FF;
  font-weight: 700;
  font-size: 15px;
  font-family: system-ui, -apple-system, sans-serif;
  letter-spacing: -0.3px;
  opacity: 0.85;
}
.checkout-trust-logos .logo-visa {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.checkout-trust-logos .logo-visa-tag {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #E8922A;
}
.checkout-trust-logos .logo-visa-text {
  color: #1A1F71;
  font-weight: 900;
  font-size: 17px;
  font-family: 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.5px;
  font-style: italic;
}
.checkout-trust-logos .logo-mc {
  display: inline-flex;
  align-items: center;
}
.checkout-trust-logos .logo-mc-left {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #EB001B;
  flex-shrink: 0;
}
.checkout-trust-logos .logo-mc-right {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #F79E1B;
  margin-left: -8px;
  flex-shrink: 0;
}
.checkout-trust-logos .logo-amex {
  color: #5BB8F5;
  font-weight: 800;
  font-size: 10px;
  font-family: Arial, sans-serif;
  letter-spacing: 0.4px;
  white-space: nowrap;
  border: 1px solid rgba(91, 184, 245, 0.50);
  padding: 3px 7px;
  border-radius: 3px;
  opacity: 0.90;
}
.checkout-trust-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
  min-width: 180px;
}
.checkout-trust-benefits li {
  font-size: 0.875rem;
  color: rgba(203, 213, 224, 0.75);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-trust-benefits li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(139, 155, 180, 0.55);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .checkout-trust-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 24px;
    border-radius: 14px;
  }
  .checkout-trust-logos {
    flex-wrap: wrap;
    gap: 16px;
  }
}
