/* ============================================================
   DFAMILY TRADING — ENHANCED GOLD EDITION — styles.css
   ============================================================ */



/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --bg: #030305;
  --bg-card: rgba(10,8,20,0.96);
  --bg-card2: rgba(14,12,28,0.92);
  --bg-section: rgba(6,5,14,0.95);
  --bg-dark: rgba(4,3,10,0.98);

  --gold: #D4A843;
  --gold-light: #F0C866;
  --gold-bright: #FFD700;
  --gold-dark: #8B6914;
  --gold-dim: rgba(212,168,67,0.15);
  --gold-glow: rgba(212,168,67,0.35);
  --gold-gradient: linear-gradient(135deg, #6B4F00 0%, #B8880F 25%, #FFD700 50%, #F0C866 70%, #B8880F 85%, #6B4F00 100%);
  --gold-gradient-h: linear-gradient(90deg, #6B4F00 0%, #B8880F 20%, #FFD700 50%, #F0C866 75%, #B8880F 90%, #6B4F00 100%);
  --gold-radial: radial-gradient(ellipse at center, rgba(212,168,67,0.18) 0%, transparent 70%);

  --accent-blue: rgba(30,60,140,0.5);
  --accent-blue-light: rgba(60,100,200,0.25);
  --green: #22C55E;
  --green-dim: rgba(34,197,94,0.15);
  --red: #EF4444;
  --red-dim: rgba(239,68,68,0.15);

  --text: #EDE8D8;
  --text-muted: #9C958A;  /* fixed Aug 30 — WCAG AA: 6.95:1 on #030305 (was #6A6458 = 3.51:1) */
  --text-dim: #7E776C;    /* fixed Aug 30 — WCAG AA: 4.65:1 on #030305 (was #4A443C = 2.14:1) */
  --text-bright: #F5F0E8;

  --border: rgba(212,168,67,0.12);
  --border-mid: rgba(212,168,67,0.28);
  --border-strong: rgba(212,168,67,0.5);

  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;

  --shadow-gold: 0 0 30px rgba(212,168,67,0.2), 0 0 60px rgba(212,168,67,0.08);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.8);
  --shadow-inset: inset 0 1px 0 rgba(212,168,67,0.1);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.6s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(20,10,60,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(10,5,40,0.3) 0%, transparent 60%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #030305; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-dark), var(--gold));
  border-radius: 3px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

section {
  padding: 6rem 0;
  position: relative;
}

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

section.alt-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(20,10,50,0.15) 50%, transparent 100%);
  pointer-events: none;
}

.page-content {
  position: relative;
  z-index: 1;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(3,3,5,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.4);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 75px;
  width: auto;
  filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(5deg) brightness(1.1);
  transition: filter var(--transition), transform var(--transition);
}

.nav-logo-img:hover {
  transform: scale(1.05);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  background: var(--gold-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links li a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,232,216,0.65);
  padding: 0.5rem 0.6rem;
  white-space: nowrap; /* added 2026-08-17: 9 nav items, prevent mid-phrase wrap */
  position: relative;
  transition: color var(--transition);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 1px;
  background: var(--gold-gradient-h);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold-light);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--bg);
}

/* Hero video background */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 60%, rgba(20,10,60,0.6) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 85% 40%, rgba(8,4,30,0.7) 0%, transparent 55%),
    linear-gradient(180deg, rgba(3,3,5,0.3) 0%, rgba(3,3,5,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  display: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.hero .container {
  z-index: 4;
  padding-top: 76px;
}

.hero-content {
  max-width: 640px;
  padding: 2rem 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(237,232,216,0.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-graphic-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

/* ============================================================
   GOLD TEXT
   ============================================================ */
.gold-text {
  background: var(--gold-gradient);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s linear infinite;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold-gradient);
  background-size: 200% 100%;
  color: #0a0800;
  box-shadow: 0 2px 20px rgba(212,168,67,0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212,168,67,0.45);
  background-position: 100% 0;
}

.btn-primary.btn-unavailable {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--border-mid);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(212,168,67,0.08);
  color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212,168,67,0.15);
}

/* ============================================================
   SECTION LABELS & TITLES
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold-gradient-h);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text-bright);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: rgba(237,232,216,0.6);
  line-height: 1.7;
  max-width: 600px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-card), var(--shadow-inset);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-top: 1px solid var(--border-mid);
  border-left: 1px solid var(--border-mid);
  border-radius: var(--radius) 0 0 0;
  pointer-events: none;
  transition: border-color var(--transition);
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-radius: 0 0 var(--radius) 0;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-mid);
  box-shadow: var(--shadow-card), 0 8px 40px rgba(212,168,67,0.12), var(--shadow-inset);
}

.card:hover::before {
  border-color: var(--gold);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.92rem;
  color: rgba(237,232,216,0.65);
  line-height: 1.7;
}

.card ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.card ul li {
  font-size: 0.9rem;
  color: rgba(237,232,216,0.72);
  padding-left: 1.25rem;
  position: relative;
}

.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--gold-gradient);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* Service cards */
.service-card {
  display: block;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--gold);
  background: linear-gradient(145deg, rgba(20,15,30,0.98), rgba(14,10,24,0.96));
  box-shadow: var(--shadow-card), 0 0 30px rgba(212,168,67,0.2), 0 0 60px rgba(212,168,67,0.08), var(--shadow-inset);
}

.card-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 1rem;
}

.card-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  transition: color var(--transition), gap var(--transition);
}

.service-card:hover .card-link {
  color: var(--gold-bright);
  gap: 0.7rem;
}

/* Featured card */
.card.featured {
  border-color: var(--border-mid);
  background: linear-gradient(145deg, rgba(14,12,28,0.98), rgba(20,15,40,0.95));
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

/* ============================================================
   PLAN CARDS
   ============================================================ */
.plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.plan-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-top: 0.25rem;
}

.plan-share {
  font-size: 0.85rem;
  color: rgba(237,232,216,0.5);
  margin-bottom: 0.5rem;
}

.plan-divider {
  height: 1px;
  background: var(--gold-gradient-h);
  margin: 1rem 0;
  opacity: 0.4;
}

/* ============================================================
   COURSE CARD
   ============================================================ */
.course-card {
  background: var(--bg-card2);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

.course-card-header {
  background: linear-gradient(135deg, rgba(20,12,40,0.95), rgba(30,20,60,0.95));
  border-bottom: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-mid);
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
}

.course-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.course-price-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.course-card-body {
  padding: 2rem 2.5rem;
}

.course-tagline {
  font-size: 1.1rem;
  color: var(--text-bright);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.course-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.course-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: rgba(237,232,216,0.75);
}

.feature-icon {
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.course-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.course-covers-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.course-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.course-topics li {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--gold-light);
}

.course-card-footer {
  padding: 1.5rem 2.5rem 2rem;
  border-top: 1px solid var(--border);
}

.btn-enroll {
  width: 100%;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-gradient-h);
  opacity: 0.2;
  z-index: 0;
}

.step, .step-group-1 {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-card);
}

.step-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-bright);
  margin-bottom: 0.6rem;
}

.step p, .step-sub p {
  font-size: 0.87rem;
  color: rgba(237,232,216,0.6);
  line-height: 1.6;
}

.step-sub h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.step-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

/* ============================================================
   PROMISE GRID
   ============================================================ */
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.promise-col {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}

.promise-col h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.promise-col.yes h3 { color: var(--green); }
.promise-col.no h3 { color: var(--red); }

.promise-col.yes {
  border-color: rgba(34,197,94,0.2);
  background: linear-gradient(135deg, rgba(10,8,20,0.96), rgba(10,20,14,0.95));
}

.promise-col.no {
  border-color: rgba(239,68,68,0.15);
}

.promise-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.promise-col li {
  font-size: 0.9rem;
  color: rgba(237,232,216,0.7);
  padding-left: 1.25rem;
  position: relative;
}

.promise-col.yes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
}

.promise-col.no li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
}

.win-rate-highlight {
  color: var(--gold-light) !important;
  font-weight: 500;
}

/* ============================================================
   ABOUT GRID
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
}

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

.about-icon-svg {
  width: 42px;
  height: 42px;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 6px rgba(212,168,67,0.2));
  transition: filter var(--transition), transform var(--transition);
}

.about-card:hover .about-icon-svg {
  filter: drop-shadow(0 0 10px rgba(212,168,67,0.4));
  transform: scale(1.05);
}

.about-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  filter: grayscale(30%);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

.about-card p {
  font-size: 0.88rem;
  color: rgba(237,232,216,0.62);
  line-height: 1.7;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-gold);
}

.about-stat {
  text-align: center;
  position: relative;
}

.about-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

/* ============================================================
   WHO LIST
   ============================================================ */
.who-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 700px;
}

.who-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}

.who-item:hover {
  border-color: var(--border-mid);
}

.bullet {
  width: 8px;
  height: 8px;
  background: var(--gold-gradient);
  border-radius: 2px;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.who-item p {
  font-size: 0.95rem;
  color: rgba(237,232,216,0.72);
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold-dark);
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial blockquote {
  font-size: 1.05rem;
  color: rgba(237,232,216,0.8);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial cite {
  font-size: 0.8rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* ============================================================
   TESTIMONIAL GRID (Homepage)
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: perspective(800px) rotateX(-1deg) translateY(-4px);
  box-shadow: var(--shadow-gold), 0 12px 48px rgba(0,0,0,0.6);
  border-color: var(--border-mid);
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold-dark);
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
  opacity: 0.6;
}

.testimonial-stars {
  font-size: 1rem;
  color: var(--gold-bright);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  padding-left: 0.25rem;
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: rgba(237,232,216,0.8);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.25rem;
  flex: 1;
}

.testimonial-card cite {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-name {
  font-size: 0.82rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.testimonial-role {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: normal;
  letter-spacing: 0.05em;
}

/* Featured testimonial (middle card) */
.featured-testimonial {
  border-color: var(--border-mid);
  background: linear-gradient(160deg, var(--bg-card2) 0%, var(--bg-card) 100%);
}

.featured-testimonial::before {
  color: var(--gold);
  opacity: 0.8;
}

/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer {
  background: rgba(8,6,18,0.8);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-dark);
  border-radius: var(--radius-sm);
  padding: 1.5rem 2rem;
  font-size: 0.83rem;
  color: rgba(237,232,216,0.45);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.disclaimer strong {
  color: var(--gold-dark);
}

/* ============================================================
   DIVIDER SVG
   ============================================================ */
.section-divider {
  display: block;
  width: 100%;
  height: 40px;
  margin: 0;
  overflow: visible;
}

/* ============================================================
   FLOATING BADGES (hero)
   ============================================================ */
.hero-badge {
  position: absolute;
  background: rgba(10,8,20,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,168,67,0.06) inset;
}

.hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 1.5s ease-in-out infinite;
}

.hero-badge .badge-dot.red {
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
}

/* Mobile-only value-prop pills (shown ≤768px, see responsive section).
   Wave A Aug 30 — ToDo #25 Phase 2. */
.hero-mobile-badges { display: none; }

/* ============================================================
   GLOBE / WORLD GRAPHIC
   ============================================================ */
.globe-graphic-container {
  position: relative;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  opacity: 0.85;
}

/* ============================================================
   PAGE GRAPHIC LAYER
   ============================================================ */
.page-graphic {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* ============================================================
   PARTICLE CANVAS
   ============================================================ */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* ============================================================
   FORM STYLES
   ============================================================ */
input[type="text"],
input[type="email"],
textarea {
  background: var(--bg-dark) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
  transition: border-color var(--transition) !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(212,168,67,0.1) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: rgba(2,2,4,0.98);
  border-top: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
  padding: 3rem 0;
  text-align: center;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient-h);
  opacity: 0.6;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  background: var(--gold-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes goldShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

@keyframes floatAlt {
  0%, 100% { transform: translateY(-5px); }
  50%       { transform: translateY(5px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes scanRight {
  0%   { left: -10%; }
  100% { left: 110%; }
}

@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

@keyframes candlePulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

@keyframes drawPath {
  from { stroke-dashoffset: 1200; }
  to   { stroke-dashoffset: 0; }
}

@keyframes electronMove {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes markerPulse {
  0%   { r: 4; opacity: 0.9; }
  50%  { r: 7; opacity: 0.5; }
  100% { r: 4; opacity: 0.9; }
}

@keyframes nodeLight {
  0%, 100% { fill: rgba(212,168,67,0.2); }
  50%       { fill: rgba(212,168,67,0.9); }
}

@keyframes barRise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes ringExpand {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.5); opacity: 0; }
}

@keyframes travelLine {
  0%   { stroke-dashoffset: 200; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* Trading journal unique: data-stream background animation */
@keyframes dataStreamDown {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes journalGridPulse {
  0%, 100% { opacity: 0.03; }
  50%       { opacity: 0.08; }
}

@keyframes journalHexFloat {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.06; }
  50%  { transform: translateY(-20px) rotate(180deg); opacity: 0.12; }
  100% { transform: translateY(0) rotate(360deg); opacity: 0.06; }
}

@keyframes journalScanLine {
  0%   { top: -2px; }
  100% { top: 100%; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.12s; }
.fade-in-delay-2 { transition-delay: 0.24s; }
.fade-in-delay-3 { transition-delay: 0.36s; }
.fade-in-delay-4 { transition-delay: 0.48s; }

/* ============================================================
   RIPPLE EFFECT
   ============================================================ */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(212,168,67,0.25);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ============================================================
   CONTACT FORM PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ============================================================
   HERO BACKDROP GRID
   ============================================================ */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,168,67,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,67,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 8s linear infinite;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   TRADING JOURNAL ORIGINAL BACKGROUND
   ============================================================ */
.hero-journal-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

/* Animated grid layer */
.hero-journal-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,168,67,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,67,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: journalGridPulse 6s ease-in-out infinite;
}

/* Scanning line */
.hero-journal-bg::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.15), transparent);
  animation: journalScanLine 4s linear infinite;
  pointer-events: none;
}

/* Data stream columns */
.journal-data-stream {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.journal-stream-col {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(212,168,67,0.08), transparent);
  animation: dataStreamDown linear infinite;
}

/* Floating hex pattern */
.journal-hex-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.journal-hex {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(212,168,67,0.08);
  animation: journalHexFloat 12s ease-in-out infinite;
  white-space: nowrap;
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 1280px) and (min-width: 1025px) {
  .nav-links li a {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    padding: 0.5rem 0.45rem;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(4,3,10,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    border-left: 1px solid var(--border-mid);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li { width: 100%; }

  .nav-links li a {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps  { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

  .hero h1 { font-size: 2.1rem; }
  .hero .subtitle { font-size: 0.95rem; }

  .grid-2,
  .grid-3,
  .about-grid,
  .promise-grid,
  .feature-grid { grid-template-columns: 1fr; }

  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card:last-child { max-width: none; }

  .about-stat:not(:last-child)::after {
    display: none;
  }

  .steps { grid-template-columns: 1fr; }

  .course-card-header { flex-direction: column; gap: 1rem; align-items: flex-start; }

  .hero-badge { display: none; }

  /* Mobile hero value-prop pills — Wave A Aug 30 (ToDo #25 Phase 2).
     Floating badges are hidden on phones; this static strip keeps the
     key value props visible under the hero buttons. */
  .hero-mobile-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
  }
  .hero-mobile-badges .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(10, 8, 20, 0.85);
    border: 1px solid var(--border-mid);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gold-light);
    white-space: nowrap;
  }
  .hero-mobile-badges .pill .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
    flex-shrink: 0;
  }
  .hero-mobile-badges .pill .badge-dot.red {
    background: var(--red);
    box-shadow: 0 0 6px var(--red);
  }

  .hero-graphic-layer svg {
    opacity: 0.3 !important;
  }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.5rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.78rem; }
}

/* ============================================================
   MOBILE ANIMATION KILL SWITCH (fixed Aug 24, 2026)
   Bug: on phones, looping CSS animations (footer light-sweep,
   ringExpand pulses, etc.) inflated document scrollWidth to
   ~624px. The fixed nav bar tracks the wider layout width, so
   the whole top bar — including the hamburger — drifted right
   in a ~5s loop. Fix:
   1. overflow-x: clip — hard-clips the layout width to the
      viewport so nothing can stretch the page.
   2. All infinite/decorative animations disabled on mobile
      (Dragon's call Aug 24). User-triggered effects stay:
      menu slide-in, tap ripple, fade-in reveals.
   ============================================================ */
@media (max-width: 1024px) {
  html, body {
    overflow-x: clip !important;
  }
  .nav-links {
    right: -320px !important; /* fixed px — never ties panel position to page width */
  }
  .nav-links.open {
    right: 0 !important;
  }
}
@media (max-width: 1024px), (pointer: coarse) {
  .gold-text,
  .hero-badge,
  .hero-badge .badge-dot,
  .hero-grid-bg,
  .hero-journal-bg::before,
  .hero-journal-bg::after,
  .journal-stream-col,
  .journal-hex,
  .about-card,
  .section-divider polygon,
  .footer::after {
    animation: none !important;
  }
}

/* ============================================================
   3D UPGRADES — CSS 3D Effects
   ============================================================ */

/* --- 3D Service Card Tilt --- */
.service-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color var(--transition);
}
.service-card.tilted {
  box-shadow: var(--card-tilt-shadow, 0 8px 32px rgba(0,0,0,0.5), 0 0 16px rgba(212,168,67,0.1)) !important;
}
/* Override default card hover transform for service cards (JS handles tilt) */
.service-card:hover {
  transform: none;
}

/* --- 3D About Card Float --- */
@keyframes aboutFloat3d {
  0%,100% { transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(0); }
  25% { transform: perspective(1200px) rotateX(0.6deg) rotateY(-0.6deg) translateY(-3px); }
  50% { transform: perspective(1200px) rotateX(-0.4deg) rotateY(0.4deg) translateY(-2px); }
  75% { transform: perspective(1200px) rotateX(0.3deg) rotateY(-0.3deg) translateY(-4px); }
}
.about-card {
  animation: aboutFloat3d 8s ease-in-out infinite;
  transform-style: preserve-3d;
}
.about-card:nth-child(2) { animation-delay: -2s; }
.about-card:nth-child(3) { animation-delay: -4s; }
.about-card:nth-child(4) { animation-delay: -6s; }
/* Override default hover for about cards (3D float handles depth) */
.about-card:hover {
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(-4px);
}

/* --- 3D About Icon Spin --- */
.about-card:hover .about-icon-svg {
  filter: drop-shadow(0 0 14px rgba(212,168,67,0.5));
  transform: scale(1.1);
  transition: filter 0.3s ease, transform 0.4s ease;
}

/* --- 3D Hero Badge Glass Tilt --- */
.hero-badge {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}
.hero-badge:hover {
  transform: perspective(400px) translateZ(12px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 12px rgba(212,168,67,0.2);
  border-color: var(--border-strong);
}

/* --- 3D Button Press Effect --- */
.btn {
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-position 0.4s, border-color var(--transition);
}
.btn:active {
  transform: perspective(400px) translateZ(-4px) translateY(1px) !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.6) !important;
}
.btn-primary:active {
  box-shadow: 0 1px 8px rgba(212,168,67,0.2), 0 0 16px rgba(212,168,67,0.1) !important;
}

/* --- 3D Nav Link Rise --- */
.nav-links li a {
  transition: color var(--transition), transform 0.2s ease;
}
.nav-links li a:hover,
.nav-links li a.active {
  transform: perspective(400px) translateZ(4px);
  color: var(--gold-light);
}

/* --- 3D Section Divider Diamond Spin --- */
.section-divider polygon {
  transform-origin: center;
  animation: divDiamondSpin 6s linear infinite;
}
@keyframes divDiamondSpin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* --- 3D Scroll Reveal Enhancement --- */
.fade-in {
  opacity: 0;
  transform: perspective(600px) rotateX(-4deg) translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: perspective(600px) rotateX(0) translateY(0);
}

/* --- 3D Card Glow Ring on Hover (Service Cards) --- */
.service-card::before {
  transition: border-color var(--transition), box-shadow 0.3s ease;
}
.service-card:hover::before {
  border-color: var(--gold-bright);
  box-shadow: 0 0 8px rgba(212,168,67,0.3);
}

/* --- 3D Promise Card Hover --- */
.promise-col {
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color var(--transition);
}
.promise-col:hover {
  transform: perspective(400px) translateZ(6px) translateY(-2px);
}

/* --- 3D Who Item Hover --- */
.who-item {
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color var(--transition);
}
.who-item:hover {
  transform: perspective(300px) translateZ(4px) translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), -4px 0 8px rgba(212,168,67,0.08);
}

/* --- 3D Testimonial Hover --- */
.testimonial {
  transition: transform 0.3s ease, box-shadow 0.4s ease;
}
.testimonial:hover {
  transform: perspective(800px) rotateX(-1deg) translateY(-4px);
  box-shadow: var(--shadow-gold), 0 12px 48px rgba(0,0,0,0.6);
}

/* --- 3D Feature Card Hover --- */
.feature-card {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: perspective(400px) translateZ(6px) translateY(-3px);
}

/* --- 3D Plan Card Hover --- */
.plan-card {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.plan-card:hover {
  transform: perspective(400px) translateZ(8px) translateY(-4px);
}

/* --- 3D Course Card Hover --- */
.course-card {
  transition: transform 0.3s ease, box-shadow 0.4s ease;
}
.course-card:hover {
  transform: perspective(800px) rotateX(-1deg) translateY(-6px);
}

/* --- 3D Steps Hover --- */
.step, .step-group-1 {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.step:hover, .step-group-1:hover {
  transform: perspective(300px) translateZ(6px) translateY(-3px);
}

/* --- 3D Contact Grid Card Hover --- */
.contact-info-card, .contact-form-card {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.contact-info-card:hover, .contact-form-card:hover {
  transform: perspective(400px) translateZ(6px) translateY(-3px);
}

/* --- 3D Pricing Grid --- */
.pricing-grid .plan-card {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

/* --- 3D Parallax Hero Container --- */
.hero-graphic-layer {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* --- 3D Stat Number Flip on Scroll --- */
.about-stat {
  transition: transform 0.2s ease;
}
.about-stat:hover {
  transform: perspective(300px) translateZ(8px) scale(1.05);
}

/* --- 3D Footer Gold Sweep --- */
.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.6), transparent);
  animation: footerSweep3d 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes footerSweep3d {
  0% { left: -60%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Wave A2: respect users who opt out of motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* FAQ page styles (moved from faq.html inline <style> — Wave A2) */
body { background: #050505; }
    .faq-page { max-width: 800px; margin: 120px auto 60px; padding: 0 24px; }
    .faq-page h1 { font-family: 'Cinzel', serif; color: #d4a843; font-size: 32px; margin: 0 0 8px; }
    .faq-page .subtitle { color: #888; margin-bottom: 40px; }
    .faq-group { margin-bottom: 3rem; }
    .faq-group h2 { color: #e8e8e8; font-size: 22px; margin: 0 0 16px; border-bottom: 1px solid #222; padding-bottom: 8px; }
    .faq-item { background: #111; border: 1px solid #222; border-radius: 10px; padding: 20px; margin-bottom: 12px; }
    .faq-item h3 { color: #d4a843; font-size: 1rem; margin: 0 0 8px; cursor: pointer; }
    .faq-item h3:hover { text-decoration: underline; }
    .faq-item p, .faq-item ul { color: #b0b0b0; font-size: 0.95rem; line-height: 1.7; }
    .faq-item ul { margin: 8px 0 0 20px; }
    .faq-item li { margin-bottom: 6px; }
    .faq-item a { color: #d4a843; }
    .faq-item strong { color: #e8e8e8; }
    .policy-links { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #222; }
    .policy-links h2 { color: #d4a843; font-size: 18px; margin: 0 0 12px; }
    .policy-links a { color: #d4a843; text-decoration: none; margin-right: 20px; font-size: 0.95rem; }
    .policy-links a:hover { text-decoration: underline; }
    footer { border-top: 1px solid #222; margin-top: 60px; padding: 32px 24px; text-align: center; color: #555; font-size: 13px; }
