﻿/* Global design tokens come from shared.css. Programs-hub adds a few page-only
   extensions (ink-mid, cream-2, gold-light, gold-pale, gold-glow, --r) without
   redefining brand colors. */
.programs-hub-root, :root.programs-hub-scope {
  /* Reserved hook if we ever scope these tokens */
}
:root {
  --ink-mid:    #3D3530;
  --cream-2:    #F9F3E8;
  --gold-light: #D4A84B;
  --gold-pale:  #F5E8C8;
  --gold-glow:  rgba(194,154,74,0.12);
  --r:          24px;
  --green:      #25D366;
  --green-dark: #1DAA54;
}

/* Programs Hub keeps its own typography per visual spec — kept consistent with brand stack */
body {
  font-family: 'Nunito', 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── ABSTRACT BACKGROUND LAYER ─── */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.blob-1 { width: 520px; height: 520px; background: radial-gradient(circle, #F5E0A8, transparent); top: -140px; right: -100px; }
.blob-2 { width: 380px; height: 380px; background: radial-gradient(circle, #EDD9A3, transparent); bottom: 20%; left: -120px; }
.blob-3 { width: 300px; height: 300px; background: radial-gradient(circle, #FAE8C0, transparent); top: 45%; right: 5%; }
.blob-4 { width: 220px; height: 220px; background: radial-gradient(circle, #F0D8A0, transparent); bottom: 5%; right: 30%; }

.dot-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(184,135,46,0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
}

/* Floating abstract chess pieces */
.float-piece {
  position: fixed; pointer-events: none; z-index: 0;
  font-family: 'Segoe UI Symbol', serif;
  color: var(--gold);
  opacity: 0.055;
  user-select: none;
  animation: drift linear infinite;
}
@keyframes drift {
  0%   { transform: translateY(0px) rotate(0deg); }
  50%  { transform: translateY(-22px) rotate(4deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
.fp1 { font-size: 220px; top: 15%; left: -40px; animation-duration: 9s; }
.fp2 { font-size: 160px; top: 60%; right: -20px; animation-duration: 11s; animation-delay: -3s; }
.fp3 { font-size: 120px; bottom: 15%; left: 10%; animation-duration: 13s; animation-delay: -6s; }

/* ─── LAYOUT ─── */
.page { position: relative; z-index: 1; }

/* ─── HERO ─── */
.hero {
  padding: 80px 24px 72px;
  text-align: center;
  max-width: 720px; margin: 0 auto;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-pale);
  color: var(--gold);
  padding: 6px 16px; border-radius: 100px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 28px;
  border: 1px solid rgba(184,135,46,0.25);
}
.eyebrow::before { content: '♟'; font-size: 13px; }
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 8vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 16px; color: var(--ink-soft);
  line-height: 1.65; max-width: 520px;
  margin: 0 auto 36px;
}
.free-trial-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  box-shadow: 0 4px 20px rgba(184,135,46,0.1);
}
.free-pill-dot {
  width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(37,211,102,0.2);
  flex-shrink: 0;
}

/* ─── SECTION TITLE ─── */
.section-label {
  text-align: center;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400; text-align: center;
  letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 10px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-desc {
  text-align: center; color: var(--ink-soft);
  font-size: 15px; line-height: 1.6;
  max-width: 500px; margin: 0 auto;
}

/* ─── PLANS ─── */
.plans-section { padding: 0 20px 80px; }
.plans-inner { max-width: 1040px; margin: 0 auto; }

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 52px;
}
@media (min-width: 600px) { .plans-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .plans-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

.plan-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.9);
  border-radius: 24px;
  padding: 30px 22px 26px;
  position: relative;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s;
  box-shadow: 0 2px 20px rgba(184,135,46,0.07), 0 1px 4px rgba(0,0,0,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.plan-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-pale), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.plan-card:hover::before { opacity: 1; }
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(184,135,46,0.15), 0 4px 12px rgba(0,0,0,0.06);
}

/* abstract shape behind piece */
.card-glow {
  position: absolute; top: -20px; right: -20px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-pale), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}

.plan-card.popular {
  background: linear-gradient(160deg, #FFFDF7 0%, #FFF8E6 100%);
  border-color: rgba(184,135,46,0.4);
  box-shadow: 0 4px 30px rgba(184,135,46,0.18), 0 1px 6px rgba(0,0,0,0.05);
}
.plan-card.popular .card-glow { opacity: 1; }

@media (min-width: 900px) {
  .plan-card.popular { transform: scale(1.035); }
  .plan-card.popular:hover { transform: translateY(-6px) scale(1.035); }
}

.popular-tag {
  position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: white;
  padding: 5px 18px; border-radius: 0 0 14px 14px;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(184,135,46,0.35);
}

.plan-piece {
  font-size: 46px; line-height: 1;
  margin-bottom: 14px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(184,135,46,0.3));
}
.plan-name {
  font-family: 'Fraunces', serif;
  font-size: 24px; font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  position: relative; z-index: 1;
}
.plan-tag {
  font-size: 10.5px; font-weight: 700; color: var(--muted);
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}

.plan-price-wrap {
  display: flex; align-items: baseline; gap: 2px;
  margin-bottom: 2px;
  position: relative; z-index: 1;
}
.plan-rs { font-size: 20px; font-weight: 700; color: var(--ink-mid); margin-bottom: 3px; }
.plan-amt {
  font-family: 'Fraunces', serif;
  font-size: 40px; font-weight: 500;
  color: var(--ink); line-height: 1; letter-spacing: -0.02em;
}
.plan-dur {
  font-size: 11.5px; color: var(--muted); font-weight: 600;
  margin-bottom: 22px;
  position: relative; z-index: 1;
}

.plan-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin-bottom: 18px;
}

.plan-list { list-style: none; margin-bottom: 26px; position: relative; z-index: 1; flex: 1; }
.plan-list li {
  font-size: 13px; color: var(--ink-soft);
  padding: 7px 0;
  border-bottom: 1px solid rgba(184,135,46,0.1);
  display: flex; align-items: flex-start; gap: 9px;
  line-height: 1.45;
}
.plan-list li:last-child { border-bottom: none; }
.plan-list li .chk {
  width: 18px; height: 18px; flex-shrink: 0;
  background: var(--gold-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 10px; font-weight: 700;
  margin-top: 1px;
}

.plan-btn {
  display: block; text-align: center;
  background: var(--ink); color: #FBF5E8;
  padding: 13px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(.34,1.56,.64,1);
  position: relative; z-index: 1;
  letter-spacing: 0.02em;
}
.plan-btn:hover { background: var(--gold); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(184,135,46,0.3); }
.plan-card.popular .plan-btn {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 18px rgba(184,135,46,0.3);
}
.plan-card.popular .plan-btn:hover { background: linear-gradient(135deg, var(--gold), #9A6E22); }
.plan-card.king-plan .plan-btn {
  background: linear-gradient(135deg, var(--gold), #8B6010);
}

.plan-details-link {
  display: block;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  margin-top: 14px;
  transition: color 0.2s;
}
.plan-details-link:hover {
  color: var(--gold);
}

/* ─── INFO STRIP ─── */
.info-section { padding: 0 20px 80px; position: relative; z-index: 1; }
.info-inner { max-width: 900px; margin: 0 auto; }

.info-title-wrap { margin-bottom: 36px; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) { .info-grid { grid-template-columns: 1fr 1fr; } }

.info-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.9);
  border-radius: 20px;
  padding: 22px 24px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 14px rgba(184,135,46,0.07);
}
.info-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(184,135,46,0.12); }

.info-icon-wrap {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--gold-pale);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  border: 1px solid rgba(184,135,46,0.2);
}
.info-lbl {
  font-size: 10.5px; font-weight: 700;
  color: var(--gold); letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 6px;
}
.info-val {
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.6;
}
.info-val strong { color: var(--ink); font-weight: 600; }

/* ─── CTA ─── */
.cta-section { padding: 0 20px 80px; position: relative; z-index: 1; }
.cta-inner { max-width: 700px; margin: 0 auto; }

.cta-card {
  background: var(--ink-mid);
  border-radius: 28px;
  padding: 52px 36px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-conic-gradient(rgba(255,255,255,0.025) 0% 25%, transparent 0% 50%);
  background-size: 40px 40px;
}
.cta-glow-1 {
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,135,46,0.3), transparent 70%);
}
.cta-glow-2 {
  position: absolute; bottom: -60px; left: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,135,46,0.2), transparent 70%);
}
.cta-piece {
  font-size: 60px; display: block;
  margin-bottom: 20px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 4px 16px rgba(184,135,46,0.5));
  animation: floatPiece 4s ease-in-out infinite;
}
@keyframes floatPiece {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.cta-card h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 400; color: #FBF5E8;
  line-height: 1.2; margin-bottom: 12px;
  position: relative; z-index: 1;
  letter-spacing: -0.02em;
}
.cta-card h2 em { font-style: italic; color: var(--gold-light); }
.cta-card p {
  font-size: 14.5px; color: rgba(255,255,255,0.5);
  margin-bottom: 32px; line-height: 1.6;
  position: relative; z-index: 1;
}
.wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: white;
  padding: 16px 32px; border-radius: 100px;
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  transition: all 0.25s cubic-bezier(.34,1.56,.64,1);
  position: relative; z-index: 1;
  margin-bottom: 16px;
}
.wa-btn:hover { background: var(--green-dark); transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 36px rgba(37,211,102,0.5); }
.wa-btn svg { width: 22px; height: 22px; }
.cta-phone {
  display: block; color: rgba(255,255,255,0.35);
  font-size: 13px; text-decoration: none;
  position: relative; z-index: 1;
  transition: color 0.2s;
}
.cta-phone:hover { color: var(--gold-light); }

/* ─── FADE IN ─── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* Custom cursor — desktop only */
@media (pointer: fine) {
  *, *::before, *::after {
    cursor: url('at.cur'), auto !important;
  }
  a, button, [role="button"], .plan-btn, .wa-btn {
    cursor: url('at.cur'), pointer !important;
  }
}