/* ═══════════════════════════════════════════════════════════════
   BASE CSS — kol-ai/proposal
   Design: Dark navy, gold accents, premium B2B proposal aesthetic
   ═══════════════════════════════════════════════════════════════ */

/* ─── Variable Contract ─── */
:root {
  /* Brand — Gold */
  --brand:        #D4A843;
  --brand-rgb:    212, 168, 67;
  --brand-light:  #F0D78C;
  --brand-dark:   #A07D2E;
  --accent-rgb:   160, 125, 46;

  /* Backgrounds */
  --bg:           #0B0F1A;
  --bg-alt:       #111827;
  --surface:      #1A2236;

  /* Surfaces (glass) */
  --surface-glass: rgba(255, 255, 255, 0.04);
  --surface-light: rgba(255, 255, 255, 0.07);

  /* Text */
  --text:         #F1F5F9;
  --text-bright:  #FFFFFF;
  --text-muted:   #94A3B8;

  /* Borders */
  --border:       rgba(212, 168, 67, 0.12);
  --border-muted: rgba(255, 255, 255, 0.07);

  /* Semantic Accents */
  --accent-green: #10B981;
  --accent-red:   #EF4444;
  --accent-blue:  #3B82F6;

  /* Shadow Scale — gold-tinted dual-layer */
  --shadow-xs:    0 1px 3px rgba(212,168,67,0.04),  0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm:    0 2px 8px rgba(212,168,67,0.06),  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(212,168,67,0.08), 0 2px 6px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 32px rgba(212,168,67,0.12), 0 4px 12px rgba(0,0,0,0.12);
  --shadow-hover: 0 12px 40px rgba(212,168,67,0.15), 0 6px 16px rgba(0,0,0,0.14);
  --shadow-glow:  0 4px 20px rgba(212,168,67,0.25), 0 0 40px rgba(160,125,46,0.15);

  /* Typography — Font Families */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'Fira Code', 'Cascadia Code', 'Consolas', monospace;

  /* Typography — Fluid Scale */
  --hero-h1:    clamp(2.5rem,  4vw + 1rem,   4.5rem);
  --section-h2: clamp(1.75rem, 3vw + 0.5rem, 3rem);
  --sub-h3:     clamp(1.25rem, 2vw + 0.25rem, 1.75rem);
  --overline:   clamp(0.7rem,  0.5vw + 0.4rem, 0.8125rem);
  --body:       clamp(1rem,    0.5vw + 0.5rem, 1.125rem);

  /* Spacing */
  --section-pad:    96px;
  --section-pad-sm: 64px;
  --content-max:    1100px;
  --content-sm:     800px;
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --radius-xl:      24px;

  /* Easing */
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --smooth: cubic-bezier(0.4, 0, 0.2, 1);
}


/* ═══════════════════════════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}


/* ═══════════════════════════════════════════════════════════════
   BASE STYLES
   ═══════════════════════════════════════════════════════════════ */

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.3s var(--smooth);
}

a:hover {
  color: var(--brand-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--hero-h1); }
h2 { font-size: var(--section-h2); }
h3 { font-size: var(--sub-h3); }

p {
  color: var(--text-muted);
  max-width: 68ch;
}

strong {
  color: var(--text);
  font-weight: 600;
}

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


/* ═══════════════════════════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container-sm {
  width: 100%;
  max-width: var(--content-sm);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: var(--section-pad);
}

.section-alt {
  background: var(--bg-alt);
  padding-block: var(--section-pad);
}

.section-surface {
  background: var(--surface);
  padding-block: var(--section-pad);
}

.section-center {
  text-align: center;
}

.section-center p {
  margin-inline: auto;
}

/* Section header block */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
}

.section-header.center p {
  margin-inline: auto;
}

.section-header p {
  margin-top: 1rem;
  font-size: clamp(1rem, 0.5vw + 0.75rem, 1.125rem);
}


/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY UTILITIES
   ═══════════════════════════════════════════════════════════════ */

.overline {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--overline);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.875rem;
}

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

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

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

.text-green {
  color: var(--accent-green);
}

.text-red {
  color: var(--accent-red);
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 50%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-balance {
  text-wrap: balance;
}

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

.font-display {
  font-family: var(--font-display);
}


/* ═══════════════════════════════════════════════════════════════
   CARD SYSTEM
   ═══════════════════════════════════════════════════════════════ */

.card {
  background: var(--surface-glass);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth), border-color 0.3s var(--smooth);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 168, 67, 0.2);
}

.card-gold {
  background: var(--surface-glass);
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md), inset 0 0 60px rgba(212, 168, 67, 0.03);
  transition: transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}

.card-gold:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.card-outlined {
  background: transparent;
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}

.card-outlined:hover {
  border-color: rgba(212, 168, 67, 0.2);
  box-shadow: var(--shadow-sm);
}


/* ═══════════════════════════════════════════════════════════════
   BUTTON SYSTEM
   ═══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--smooth), background-color 0.3s var(--smooth), color 0.3s var(--smooth);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: #0B0F1A;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--brand-light);
  color: #0B0F1A;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(212, 168, 67, 0.45);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background: rgba(212, 168, 67, 0.08);
  color: var(--brand-light);
  border-color: rgba(212, 168, 67, 0.7);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-muted);
}

.btn-ghost:hover {
  background: var(--surface-glass);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-large {
  font-size: 1.0625rem;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-md);
}

.btn-xl {
  font-size: 1.125rem;
  padding: 1.125rem 2.75rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
}

/* CTA group: horizontal row of buttons */
.btn-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════
   GRID SYSTEM
   ═══════════════════════════════════════════════════════════════ */

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

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

/* Odd-child-out: last card spans full width when grid wraps to 2 cols */
@media (max-width: 960px) and (min-width: 769px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 .quote-card-last {
    grid-column: 1 / -1;
    max-width: 60%;
    margin: 0 auto;
  }
}

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

/* 2 columns × 3 rows (6 items) */
.grid-2x3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* 2 columns × 4 rows (8 items) */
.grid-2x4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* Split layout: text + visual */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-60-40 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}


/* ═══════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 1rem;
  background: rgba(11, 15, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--smooth), border-color 0.3s var(--smooth), backdrop-filter 0.3s var(--smooth);
}

.nav-scrolled {
  background: rgba(11, 15, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(212, 168, 67, 0.15);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-bright);
  white-space: nowrap;
}

.nav-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 99px;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand);
  letter-spacing: 0.08em;
}


/* ═══════════════════════════════════════════════════════════════
   QUOTE CARDS
   ═══════════════════════════════════════════════════════════════ */

.quote-card {
  background: var(--surface-glass);
  border: 1px solid var(--border-muted);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.75rem 2rem;
  transition: transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}

.quote-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--brand-light);
}

.quote-text {
  font-style: italic;
  font-size: clamp(1rem, 0.5vw + 0.75rem, 1.125rem);
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.quote-text::before {
  content: '\201C';
  color: var(--brand);
  font-size: 1.5em;
  font-style: normal;
  line-height: 0;
  vertical-align: -0.25em;
  margin-right: 0.1em;
}

.quote-text::after {
  content: '\201D';
  color: var(--brand);
  font-size: 1.5em;
  font-style: normal;
  line-height: 0;
  vertical-align: -0.25em;
  margin-left: 0.1em;
}

.quote-attribution {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand);
  letter-spacing: 0.06em;
}


/* ═══════════════════════════════════════════════════════════════
   PRICING CARDS
   ═══════════════════════════════════════════════════════════════ */

.price-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.price-card {
  background: var(--surface-glass);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  transition: transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.price-card-featured {
  background: rgba(212, 168, 67, 0.05);
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem 2.25rem;
  position: relative;
  z-index: 2;
  transform: scale(1.05);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(212, 168, 67, 0.08);
  transition: transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}

.price-card-featured:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.price-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #0B0F1A;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 99px;
  white-space: nowrap;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-amount-featured {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.price-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.375rem;
}

.price-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.price-divider {
  border: none;
  border-top: 1px solid var(--border-muted);
  margin-block: 1.5rem;
}

.price-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.price-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.price-feature-list li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.price-card-featured .price-feature-list li {
  color: var(--text);
}

.price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}


/* ═══════════════════════════════════════════════════════════════
   PHASE CARDS (numbered vertical flowchart)
   ═══════════════════════════════════════════════════════════════ */

.phases-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.phase-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  position: relative;
}

/* Vertical connector line running through phase numbers */
.phase-item:not(:last-child) .phase-spine::after {
  content: '';
  position: absolute;
  top: 56px;
  left: 27px;
  width: 2px;
  height: calc(100% + 2rem);
  background: linear-gradient(to bottom, rgba(212, 168, 67, 0.5), rgba(212, 168, 67, 0.1));
}

.phase-spine {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phase-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1a1710;
  border: 2px solid rgba(212, 168, 67, 0.6);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.3s var(--smooth), border-color 0.3s var(--smooth);
}

.phase-card {
  background: var(--surface-glass);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  transition: border-color 0.3s var(--smooth), box-shadow 0.3s var(--smooth), transform 0.3s var(--smooth);
}

.phase-card:hover {
  border-color: rgba(212, 168, 67, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.phase-item:hover .phase-number {
  background: #2a2210;
  border-color: var(--brand);
}

.phase-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.375rem;
}

.phase-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--brand);
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 99px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.875rem;
}

.phase-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.phase-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.phase-card ul li::before {
  content: '→';
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 0.1em;
}


/* ═══════════════════════════════════════════════════════════════
   TIMELINE (horizontal, milestones)
   ═══════════════════════════════════════════════════════════════ */

.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding-top: 3rem;
  margin-top: 1rem;
}

/* The gold connecting line */
.timeline::before {
  content: '';
  position: absolute;
  top: 4rem;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(to right, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.6), rgba(212, 168, 67, 0.15));
  z-index: 0;
  border-radius: 2px;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.4), 0 0 12px rgba(212, 168, 67, 0.2);
  position: relative;
  flex-shrink: 0;
}

/* Pulse ring on milestone dots */
.timeline-dot.milestone::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(212, 168, 67, 0.4);
  animation: timeline-pulse 2.5s ease-out infinite;
}

@keyframes timeline-pulse {
  0%   { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.8); }
}

.timeline-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-bright);
  text-align: center;
  line-height: 1.35;
}

.timeline-sublabel {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  max-width: 170px;
}

.timeline-milestone {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #0B0F1A;
  background: var(--brand);
  border-radius: 99px;
  padding: 0.3rem 0.85rem;
  margin-top: 0.375rem;
  white-space: nowrap;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(212, 168, 67, 0.3);
}

.timeline-line {
  position: absolute;
  top: 2.875rem;
  left: 50%;
  right: -50%;
  height: 2px;
  background: rgba(212, 168, 67, 0.3);
  z-index: 0;
}


/* ═══════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface-glass);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}

.faq-item.open {
  border-color: rgba(212, 168, 67, 0.25);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s var(--smooth);
}

.faq-question:hover {
  color: var(--text-bright);
}

.faq-item.open .faq-question {
  color: var(--text-bright);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.5px solid rgba(212, 168, 67, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 0.7rem;
  transition: transform 0.35s var(--spring), background 0.3s var(--smooth);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(212, 168, 67, 0.1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--smooth);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

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


/* ═══════════════════════════════════════════════════════════════
   TEAM CARDS
   ═══════════════════════════════════════════════════════════════ */

/* --- Team Heroes (photo-dominant layout) --- */

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-hero-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 168, 67, 0.15);
  transition: border-color 0.4s ease;
}

.team-hero-card:hover .team-hero-img-wrap {
  border-color: rgba(212, 168, 67, 0.4);
}

.team-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0, 0.15, 1), filter 0.6s ease;
  filter: brightness(0.95);
}

.team-hero-card:hover .team-hero-img {
  transform: scale(1.03);
  filter: brightness(1);
}

.team-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 15, 26, 0.95) 0%,
    rgba(11, 15, 26, 0.6) 35%,
    rgba(11, 15, 26, 0) 60%
  );
  pointer-events: none;
  z-index: 1;
}

.team-hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  z-index: 2;
}

.team-hero-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.team-hero-title {
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.team-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(11, 15, 26, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: 99px;
  padding: 0.3rem 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Bio cards below photos */

.team-bio-card {
  background: #0B0F1A;
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.team-bio-role-label {
  font-size: 0.7rem;
  color: var(--brand);
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.team-bio-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.team-bio-skills {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-bio-skills li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.team-bio-skills li::before {
  content: '\2713';
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
}

.team-closing {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
  opacity: 0.85;
}

/* Team responsive */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-hero-img-wrap {
    aspect-ratio: 4 / 5;
    max-height: 400px;
  }

  .team-bio-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .team-hero-img-wrap {
    max-height: 320px;
  }

  .team-bio-card {
    padding: 1.25rem;
  }

  .team-bio-role-label {
    font-size: 0.6rem;
  }

  .team-bio-text {
    font-size: 0.85rem;
  }

  .team-bio-skills li {
    font-size: 0.8rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   STAT STRIP / PROOF BAR
   ═══════════════════════════════════════════════════════════════ */

.stat-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--surface-glass);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
}

.stat-item {
  flex: 1;
  padding: 1.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border-muted);
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 800;
  color: var(--brand);
  display: block;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}


/* ═══════════════════════════════════════════════════════════════
   CHECKLIST / BONUS GRID
   ═══════════════════════════════════════════════════════════════ */

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--surface-glass);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  transition: border-color 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}

.check-item:hover {
  border-color: rgba(212, 168, 67, 0.2);
  box-shadow: var(--shadow-xs);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 0.1em;
}

.check-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.check-text strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.1rem;
}

.bonus-total {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.bonus-total span {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.375rem;
}


/* ═══════════════════════════════════════════════════════════════
   CTA GOLD SECTION (the light section that breaks dark pattern)
   ═══════════════════════════════════════════════════════════════ */

.cta-gold-section {
  background: linear-gradient(135deg, #D4A843 0%, #F0D78C 40%, #D4A843 70%, #A07D2E 100%);
  padding-block: var(--section-pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-gold-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(0,0,0,0.015) 40px,
    rgba(0,0,0,0.015) 80px
  );
  pointer-events: none;
}

.cta-gold-section h2 {
  color: #0B0F1A;
  position: relative;
}

.cta-gold-section p {
  color: rgba(11, 15, 26, 0.75);
  position: relative;
}

.cta-gold-section .cta-sub {
  font-size: 0.9rem;
  color: rgba(11, 15, 26, 0.85);
  margin-top: 1rem;
  position: relative;
}

.cta-gold-section .overline {
  color: rgba(11, 15, 26, 0.75);
}

.cta-gold-section .cta-sign {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(11, 15, 26, 0.8);
  margin-top: 1.5rem;
  position: relative;
}

.btn-cta-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0B0F1A;
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--smooth), color 0.3s var(--smooth);
  position: relative;
}

.btn-cta-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  color: var(--brand-light);
}


/* ═══════════════════════════════════════════════════════════════
   DOT GRID TEXTURE
   ═══════════════════════════════════════════════════════════════ */

.dot-grid {
  position: relative;
}

.dot-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(212, 168, 67, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.dot-grid > * {
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════════════════════════
   DECORATIVE GLOW ORB (hero background element)
   ═══════════════════════════════════════════════════════════════ */

.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.glow-orb-gold {
  background: radial-gradient(ellipse at center, rgba(212, 168, 67, 0.15) 0%, rgba(212, 168, 67, 0.04) 50%, transparent 70%);
}

.glow-orb-subtle {
  background: radial-gradient(ellipse at center, rgba(212, 168, 67, 0.08) 0%, transparent 60%);
}


/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

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

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

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--spring), transform 0.7s var(--spring);
}
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(30px);
}

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

.reveal-left {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--spring), transform 0.7s var(--spring);
}
.js-loaded .reveal-left {
  opacity: 0;
  transform: translateX(-30px);
}

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

.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--spring), transform 0.7s var(--spring);
}
.js-loaded .reveal-right {
  opacity: 0;
  transform: translateX(30px);
}

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

/* Staggered delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }


/* ═══════════════════════════════════════════════════════════════
   MISC UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */

.divider {
  border: none;
  border-top: 1px solid var(--border-muted);
  margin-block: 2rem;
}

.divider-gold {
  border: none;
  border-top: 1px solid rgba(212, 168, 67, 0.25);
  margin-block: 2rem;
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(212, 168, 67, 0.08);
  color: var(--brand);
  border: 1px solid rgba(212, 168, 67, 0.2);
}

.tag-green {
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.2);
}

.tag-red {
  background: rgba(239, 68, 68, 0.08);
  color: var(--accent-red);
  border-color: rgba(239, 68, 68, 0.2);
}

.icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.icon-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  color: var(--accent-red);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

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


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  :root {
    --section-pad: var(--section-pad-sm);
  }

  /* Grids → single column */
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-2x3,
  .grid-2x4,
  .split,
  .split-60-40 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Pricing cards stack vertically, featured loses scale */
  .price-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .price-card-featured {
    transform: none;
  }

  .price-card-featured:hover {
    transform: translateY(-3px);
  }

  /* Timeline goes vertical */
  .timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0;
    gap: 0;
  }

  .timeline::before {
    top: 0;
    left: 0.5625rem;
    right: auto;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, rgba(212, 168, 67, 0.2), rgba(212, 168, 67, 0.6), rgba(212, 168, 67, 0.2));
  }

  .timeline-node {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0 0 2.5rem 2.5rem;
    flex: none;
    width: 100%;
    position: relative;
  }

  .timeline-dot {
    position: absolute;
    left: 0;
    top: 0.15rem;
    flex-shrink: 0;
  }

  .timeline-label {
    text-align: left;
    font-size: 1.1rem;
  }

  .timeline-sublabel {
    text-align: left;
    max-width: none;
    font-size: 0.9rem;
  }

  .timeline-milestone {
    margin-top: 0.25rem;
  }

  /* Stat strip stacks */
  .stat-strip {
    flex-direction: column;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-muted);
  }

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

  /* Nav responsive */
  .nav-meta {
    display: none;
  }

  /* Phase cards: reduce horizontal offset on hover */
  .phase-card:hover {
    transform: translateX(2px);
  }

  /* Buttons stack in groups */
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    justify-content: center;
  }

  /* Hero orb: scale down for mobile */
  .glow-orb {
    opacity: 0.6;
  }

  /* Section header spacing */
  .section-header {
    margin-bottom: 2rem;
  }

  /* Cards: reduce padding */
  .card,
  .card-gold,
  .card-outlined {
    padding: 1.25rem;
  }

  /* Quote cards: tighter padding */
  .quote-card {
    padding: 1.25rem 1.5rem;
  }

  /* Phase cards: tighter grid */
  .phase-item {
    grid-template-columns: 40px 1fr;
    gap: 1rem;
  }

  .phase-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .phase-card {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .phase-item:not(:last-child) .phase-spine::after {
    top: 40px;
    left: 19px;
  }

  /* Pricing: tighter padding */
  .price-card {
    padding: 1.5rem 1.25rem;
  }

  .price-card-featured {
    padding: 2rem 1.25rem 1.5rem;
  }

  /* Buttons: full width on mobile */
  .price-card .btn,
  .price-card-featured .btn,
  .price-card-featured-animated .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
  }

  .btn-xl {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* Nav: reduce padding */
  .nav {
    padding-block: 0.625rem;
  }

  .nav-brand {
    font-size: 0.8125rem;
  }

  .nav-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
  }

  /* CTA gold section: tighter */
  .cta-gold-section {
    padding-block: var(--section-pad-sm);
  }

  /* Footer */
  .footer {
    padding-block: 2rem;
  }
}

/* ─── Small phones (480px) ─── */
@media (max-width: 480px) {
  :root {
    --section-pad: 48px;
    --section-pad-sm: 40px;
  }

  .container,
  .container-sm {
    padding-inline: 1rem;
  }

  h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  h2 { font-size: clamp(1.375rem, 5vw, 1.75rem); }
  h3 { font-size: clamp(1.125rem, 4vw, 1.5rem); }

  .overline {
    font-size: 0.65rem;
  }

  /* Stat strip: compact */
  .stat-item {
    padding: 1rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  /* Phase: even tighter */
  .phase-item {
    grid-template-columns: 32px 1fr;
    gap: 0.75rem;
  }

  .phase-number {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .phase-item:not(:last-child) .phase-spine::after {
    top: 32px;
    left: 15px;
  }

  .phase-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .phase-card-title {
    font-size: 1rem;
  }

  /* Price cards: full width buttons */
  .price-amount,
  .price-amount-featured {
    font-size: 1.75rem;
  }

  /* Check items */
  .check-item {
    padding: 0.75rem 1rem;
  }
}

/* ─── Medium breakpoint (1024px) ─── */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .price-cards-wrapper {
    gap: 1rem;
  }

  .price-card-featured {
    transform: scale(1.02);
  }

  .price-card-featured:hover {
    transform: scale(1.02) translateY(-4px);
  }
}


/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .timeline-dot.milestone::after {
    display: none;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════════ */

@media print {
  .nav {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #000;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .card,
  .card-gold,
  .card-outlined,
  .price-card,
  .price-card-featured {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }

  .price-card-featured {
    transform: none;
  }

  .cta-gold-section {
    background: #f5f5f5;
  }

  .cta-gold-section h2,
  .cta-gold-section p {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .glow-orb,
  .dot-grid::before {
    display: none;
  }

  @page {
    margin: 1.5cm;
  }
}


/* ═══════════════════════════════════════════════════════════════
   FOCUS-VISIBLE STYLES (keyboard accessibility)
   ═══════════════════════════════════════════════════════════════ */

.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-ghost:focus-visible,
.btn-cta-dark:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
