/*
 * PATHFINDER PREMIUM DESIGN SYSTEM
 * Glassmorphic Dark + Gold — applied over base styles
 * Tier: GLASSMORPHIC DARK with gold accent system
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@500;600;700&display=swap');

/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════ */
:root {
  --gold:         #daa41b;
  --gold-light:   #ffd966;
  --gold-dim:     rgba(218, 164, 27, 0.18);
  --gold-glow:    rgba(218, 164, 27, 0.12);
  --gold-rgb:     218, 164, 27;

  --dark-surface: rgba(15, 15, 25, 0.85);
  --glass-bg:     rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-hover:  rgba(255, 255, 255, 0.07);

  --ease-spring:  cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
  --ease-premium: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════════════ */
@keyframes gold-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0); }
  50%       { box-shadow: 0 0 0 8px rgba(var(--gold-rgb), 0); }
}

@keyframes float-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes number-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes border-glow {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ═══════════════════════════════════════════════════
   HERO STATS STRIP — Premium counters
═══════════════════════════════════════════════════ */
.hero-stats-strip {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 40px auto 0;
  max-width: 680px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-stat-item {
  flex: 1;
  text-align: center;
  padding: 18px 24px;
  position: relative;
  border-radius: 14px;
  transition: background 0.25s var(--ease-premium);
}

.hero-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
}

.hero-stat-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hero-stat-value {
  display: block;
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #FFD700 0%, #daa41b 50%, #FFE680 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: number-shimmer 4s linear infinite;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════════
   SECTION HEADERS — Eyebrow + Title system
═══════════════════════════════════════════════════ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
}

/* ═══════════════════════════════════════════════════
   TIMELINE — Glassmorphic step cards
═══════════════════════════════════════════════════ */
.section-dark {
  background: linear-gradient(180deg, #0a0a14 0%, #111125 100%) !important;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(218, 164, 27, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

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

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

.timeline-step {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-premium);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);
  opacity: 0;
  transform: translateY(20px);
}

.timeline-step.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out),
              background 0.35s var(--ease-premium), border-color 0.35s var(--ease-premium),
              box-shadow 0.35s var(--ease-premium);
}

.timeline-step::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(218, 164, 27, 0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-premium);
  pointer-events: none;
}

.timeline-step:hover {
  background: #ffffff !important;
  border-color: rgba(218, 164, 27, 0.35) !important;
  transform: translateY(-6px) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(218, 164, 27, 0.12),
    0 0 32px rgba(218, 164, 27, 0.12) !important;
}

.timeline-step:hover::before {
  opacity: 1;
}

.timeline-step:active {
  transform: translateY(-3px) scale(0.99) !important;
}

.timeline-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(218, 164, 27, 0.12);
  border: 1.5px solid rgba(218, 164, 27, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s var(--ease-premium);
  flex-shrink: 0;
}

.timeline-step:hover .timeline-number {
  background: rgba(218, 164, 27, 0.2);
  border-color: rgba(218, 164, 27, 0.5);
  box-shadow: 0 0 20px rgba(218, 164, 27, 0.2);
}

.timeline-number span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--gold);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.timeline-connector { display: none; }

.timeline-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.timeline-step p {
  font-size: 14px;
  color: #4b5563 !important;
  line-height: 1.75;
}

.timeline-step p strong {
  color: #111827 !important;
  font-weight: 600;
}

.timeline-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(218, 164, 27, 0.1);
  color: var(--gold);
  border: 1px solid rgba(218, 164, 27, 0.2);
}

/* ═══════════════════════════════════════════════════
   CONTRAST SECTION — Side-by-side comparison
═══════════════════════════════════════════════════ */
.contrast-section {
  background: linear-gradient(180deg, #f4f6f8 0%, #eef0f3 100%) !important;
}

.contrast-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .contrast-grid {
    grid-template-columns: 1fr;
  }
  .contrast-vs { display: none; }
}

.contrast-card {
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-premium);
}

.contrast-before {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.12);
  box-shadow: 0 4px 24px rgba(239, 68, 68, 0.04);
}

.contrast-before:hover {
  border-color: rgba(239, 68, 68, 0.22);
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.08);
  transform: translateY(-4px);
}

.contrast-after {
  background: rgba(218, 164, 27, 0.04);
  border: 1.5px solid rgba(218, 164, 27, 0.2);
  box-shadow: 0 4px 24px rgba(218, 164, 27, 0.06);
}

.contrast-after:hover {
  border-color: rgba(218, 164, 27, 0.4);
  box-shadow: 0 12px 40px rgba(218, 164, 27, 0.12);
  transform: translateY(-4px);
}

.contrast-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 99px;
  display: inline-block;
}

.contrast-before .contrast-label {
  background: rgba(239, 68, 68, 0.08);
  color: rgb(220, 60, 60);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.contrast-after .contrast-label {
  background: rgba(218, 164, 27, 0.1);
  color: var(--gold);
  border: 1px solid rgba(218, 164, 27, 0.2);
}

.contrast-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.contrast-list li {
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  line-height: 1.5;
}

.contrast-list li:last-child { border-bottom: none; }

.contrast-x, .contrast-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.contrast-x {
  background: rgba(239, 68, 68, 0.1);
  color: rgb(220, 60, 60);
}

.contrast-check {
  background: rgba(218, 164, 27, 0.12);
  color: var(--gold);
}

.contrast-vs {
  font-size: 22px;
  font-weight: 900;
  color: #94a3b8;
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════
   PRICING CARDS — Glass + Gold featured card
═══════════════════════════════════════════════════ */
.pricing-section-warm {
  background: linear-gradient(180deg, #FAFBFC 0%, #F4F6F8 100%) !important;
  position: relative;
  overflow: hidden;
}

.pricing-section-warm::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(218, 164, 27, 0.04) 0%, transparent 65%);
  pointer-events: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 20px;
}

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

.pricing-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-premium);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(218, 164, 27, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease-premium);
}

.pricing-card:hover {
  border-color: rgba(218, 164, 27, 0.25);
  transform: translateY(-8px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(218, 164, 27, 0.08),
    0 0 40px rgba(218, 164, 27, 0.06);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card:active {
  transform: translateY(-4px) scale(0.99);
}

.pricing-card.featured {
  background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1e 100%) !important;
  border: 1.5px solid rgba(218, 164, 27, 0.35) !important;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(218, 164, 27, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.pricing-card.featured::after {
  content: '';
  position: absolute;
  top: -60%; right: -30%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(218, 164, 27, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.pricing-card.featured:hover {
  border-color: rgba(218, 164, 27, 0.55) !important;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(218, 164, 27, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured .price-note,
.pricing-card.featured li {
  color: rgba(255, 255, 255, 0.85) !important;
}

.pricing-card.featured .pricing-subtitle {
  color: rgba(255, 255, 255, 0.5) !important;
}

.pricing-card.featured li {
  border-bottom-color: rgba(255, 255, 255, 0.07) !important;
}

.pricing-card.featured li:before {
  color: var(--gold) !important;
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 6px;
}

.pricing-subtitle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 28px;
}

.price {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--gold) !important;
  line-height: 1;
  margin-bottom: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.price-note {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 0;
}

.pricing-card ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 24px 0 !important;
}

.pricing-card li {
  font-size: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4B5563;
  line-height: 1.5;
}

.pricing-card li:before {
  content: "✓" !important;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(218, 164, 27, 0.1);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--gold) !important;
  text-align: center;
  line-height: 20px;
}

.pricing-card li:last-child { border-bottom: none !important; }

.badge {
  position: absolute;
  top: -1px; right: 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a1a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px 8px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 16px rgba(218, 164, 27, 0.35);
}

.btn-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-premium);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #1a1a1a !important;
  border: none;
  box-shadow: 0 4px 16px rgba(218, 164, 27, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(218, 164, 27, 0.45);
}

.btn-gold:hover::before { opacity: 1; }

.btn-gold:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(218, 164, 27, 0.3);
}

/* ═══════════════════════════════════════════════════
   FAQ — Smooth accordion with gold accent
═══════════════════════════════════════════════════ */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: box-shadow 0.3s var(--ease-premium);
}

.faq-grid:hover {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(218, 164, 27, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.faq-item {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  overflow: hidden;
  transition: background 0.25s var(--ease-premium);
  box-shadow: none;
}

.faq-item:first-child { border-top: none; }

.faq-item:hover {
  background: rgba(218, 164, 27, 0.025);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: none;
}

.faq-item.open {
  background: rgba(218, 164, 27, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  font-size: 15.5px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  gap: 16px;
  user-select: none;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--gold); }
.faq-item.open .faq-question { color: var(--gold); }

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(218, 164, 27, 0.08);
  border: 1.5px solid rgba(218, 164, 27, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--gold);
  transition: all 0.25s var(--ease-spring);
  line-height: 1;
}

.faq-item.open .faq-toggle {
  background: var(--gold);
  color: #1a1a1a;
  transform: rotate(45deg);
  border-color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s var(--ease-out);
  padding: 0 32px;
}

.faq-answer.open {
  max-height: 600px;
  padding: 0 32px 26px;
}

.faq-answer p {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.8;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 18px;
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   BENTO CARD — Info callout
═══════════════════════════════════════════════════ */
.bento-card {
  background: #ffffff;
  border: 1px solid rgba(218, 164, 27, 0.18);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 4px 24px rgba(218, 164, 27, 0.06);
  transition: all 0.3s var(--ease-premium);
}

.bento-card:hover {
  border-color: rgba(218, 164, 27, 0.35);
  box-shadow: 0 12px 48px rgba(218, 164, 27, 0.1);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════
   SECTION TYPOGRAPHY — Refined hierarchy
═══════════════════════════════════════════════════ */
.section-title {
  font-size: clamp(30px, 4vw, 46px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  margin-bottom: 16px !important;
  color: #0f172a !important;
}

.section-subtitle {
  font-size: clamp(15px, 1.5vw, 17px) !important;
  line-height: 1.75 !important;
  max-width: 620px !important;
  margin: 0 auto 56px !important;
  color: #475569 !important;
}

.section-subtitle strong {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.section-dark .section-title {
  color: #ffffff !important;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* ═══════════════════════════════════════════════════
   CLOSING / ARCHITECTS SECTION
═══════════════════════════════════════════════════ */
#architects .bento-card,
.closing-section .bento-card {
  background: linear-gradient(145deg, rgba(218, 164, 27, 0.04) 0%, rgba(255,255,255,0) 100%);
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL — Staggered entrance
═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

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

/* ═══════════════════════════════════════════════════
   FOCUS STATES — Accessibility
═══════════════════════════════════════════════════ */
.btn-gold:focus-visible,
.faq-question:focus-visible,
.pricing-card a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
