/* Global Markets Course Page — base variables and layout classes */

:root {
  --lime: #d9a441;
  --bg: #020510;
  --surface: #061225;
  --border: rgba(255,255,255,0.08);
  --text-muted: #9aa0ab;
}

/* grid background utility */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  background-color: var(--bg);
}

/* section shell — centered max-width wrapper */
.section-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}

/* eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(217,164,65,0.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* CTA buttons */
.cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta.lime {
  background: var(--lime);
  color: #000;
}
.cta.lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200,240,0,0.4);
}
.cta.wide { width: 100%; text-align: center; }

/* pill button */
.pill-button {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pill-button.blue {
  background: #1a4fff;
  color: #fff;
}
.pill-button.blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,79,255,0.4);
}

/* section heading */
.section-heading {
  text-align: center;
  margin-bottom: 52px;
}
.section-heading h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.section-heading h2 span {
  color: var(--lime);
  background: linear-gradient(180deg, var(--lime) 24%, #ffe8a3 48%, #ffffff 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-heading p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* stats panel */
.stats-panel {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px;
  background: var(--surface);
  border-top: none;
  border-bottom: 1px solid var(--border);
}
.stats-panel .stat {
  text-align: center;
}
.stats-panel .stat strong {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--lime);
  letter-spacing: -1px;
}
.stats-panel .stat span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* learn grid */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.learn-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.learn-grid article:hover {
  border-color: rgba(217,164,65,0.3);
  transform: translateY(-4px);
}
.learn-grid article h3 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.learn-grid article p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* curriculum timeline */
.timeline.section-shell {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 60px 40px;
}
.timeline.section-shell article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s;
}
.timeline.section-shell article:hover {
  border-color: rgba(217,164,65,0.3);
}
.timeline.section-shell article span {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(217,164,65,0.3);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.timeline.section-shell article h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.timeline.section-shell article p {
  font-size: 13px;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 10px;
}
.timeline.section-shell article small {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* program grid (what's included) */
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.program-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.program-card:hover {
  border-color: rgba(217,164,65,0.25);
  transform: translateY(-4px);
}
.program-card.featured {
  border-color: rgba(217,164,65,0.35);
  box-shadow: 0 0 40px rgba(217,164,65,0.06);
}
.program-badge {
  display: inline-block;
  background: var(--lime);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.program-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.program-card > .program-top > p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.meta-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.meta-list svg { width: 14px; height: 14px; color: var(--lime); flex-shrink: 0; }
.mini-stats {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.mini-stats div { text-align: center; }
.mini-stats strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--lime);
}
.mini-stats span {
  font-size: 12px;
  color: var(--text-muted);
}
.program-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.check-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.check-grid li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.check-grid li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}

/* ecosystem / feature grid */
.ecosystem {
  background: var(--bg);
  padding: 80px 40px;
}
.feature-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-grid article:hover {
  border-color: rgba(217,164,65,0.3);
  transform: translateY(-4px);
}
.feature-grid article svg {
  width: 28px;
  height: 28px;
  color: var(--lime);
  margin-bottom: 12px;
}
.feature-grid article h3 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.feature-grid article p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.feature-grid article span {
  font-size: 11px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.5px;
}

/* course tag */
.course-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(217,164,65,0.3);
  padding: 4px 12px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .learn-grid { grid-template-columns: 1fr 1fr; }
  .timeline.section-shell { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-panel { gap: 30px; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .learn-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .section-shell { padding: 60px 20px; }
}

/* Global Markets Course Page — additional styles on top of base */

.fc-hero {
  min-height: 580px;
  display: grid;
  place-items: center;
  padding: 140px 20px 0px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 50%, rgba(217,164,65,0.2) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 80%, rgba(255,232,163,0.13) 0%, transparent 50%),
              linear-gradient(to bottom, #020510 0%, #020510 85%, var(--surface) 100%);
}

.fc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(217,164,65,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217,164,65,0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.fc-hero::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translateX(-50%) rotate(12deg);
  border: 1px solid rgba(217,164,65,0.15);
  border-radius: 20px;
  background:
    linear-gradient(45deg, transparent 48%, rgba(217,164,65,0.3) 49%, rgba(217,164,65,0.3) 51%, transparent 52%),
    repeating-linear-gradient(0deg, rgba(255,232,163,0.08) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(255,232,163,0.08) 0 1px, transparent 1px 30px);
  opacity: 0.4;
  filter: blur(0.5px);
  pointer-events: none;
  z-index: 0;
}

.fc-hero-inner {
  width: min(860px, 100%);
  position: relative;
  z-index: 1;
}

.fc-hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}

.fc-hero h1 span {
  color: var(--lime);
  background: linear-gradient(180deg, var(--lime) 24%, #ffe8a3 48%, #ffffff 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fc-hero p {
  font-size: 18px;
  color: #c8cbd1;
  line-height: 1.6;
  margin-bottom: 32px;
}

.fc-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.fc-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #e0e4ea;
  font-size: 14px;
  font-weight: 600;
}

.fc-hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--lime);
}

/* Purchase Section */
.fc-purchase {
  padding: 80px 0 100px;
}

.fc-purchase-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.fc-purchase-copy h2 {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 18px;
}

.fc-purchase-copy h2 span {
  color: var(--lime);
  background: linear-gradient(180deg, var(--lime) 24%, #ffe8a3 48%, #ffffff 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fc-purchase-copy p {
  font-size: 16px;
  color: #9aa0ab;
  line-height: 1.7;
  margin-bottom: 28px;
}

.fc-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fc-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #e0e4ea;
}

.fc-perks svg {
  width: 20px;
  height: 20px;
  color: var(--lime);
  flex-shrink: 0;
}

/* Purchase Box */
.fc-purchase-box {
  background: #020510;
  border: 1px solid rgba(217,164,65,0.3);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 0 60px rgba(217,164,65,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 110px;
}

.fc-purchase-box h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin: 6px 0 0;
  color: #fff;
}

.fc-purchase-box > p {
  font-size: 13px;
  color: #9aa0ab;
  margin: 0;
}

.fc-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 4px 0;
}

.fc-include-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fc-include-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #c8cbd1;
}

.fc-include-list svg {
  width: 16px;
  height: 16px;
  color: var(--lime);
  flex-shrink: 0;
}

.fc-buy-btn {
  margin-top: 8px;
  border-radius: 12px;
  font-size: 17px;
  padding: 16px;
}

.fc-purchase-box small {
  text-align: center;
  color: #6b7280;
  font-size: 12px;
}

@media (max-width: 900px) {
  .fc-purchase-inner {
    grid-template-columns: 1fr;
  }
  .fc-purchase-box {
    position: static;
  }
}

@media (max-width: 640px) {
  .fc-hero { padding: 80px 20px 80px; }
  .fc-hero-meta { gap: 8px; }
  .fc-hero-meta span { font-size: 12px; padding: 6px 12px; }
}

/* LEARNING MODE SECTION */
.gm-modes {
  background: #000;
  padding: 90px 0;
}

.gm-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.gm-section-head {
  text-align: center;
  margin-bottom: 56px;
}
.gm-section-head h2 {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.gm-section-head p {
  color: #7a8fa0;
  font-size: 15px;
}

.gm-gold {
  background: linear-gradient(90deg, #d9a441, #ffe8a3, #d9a441);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}

.gm-modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.gm-mode-card {
  background: #0d1117;
  border: 1px solid #1e2230;
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.gm-mode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217,164,65,0.35);
}

.gm-mode-featured {
  border-color: rgba(217,164,65,0.4);
  background: linear-gradient(135deg, #0d1117, #12100a);
  box-shadow: 0 0 40px rgba(217,164,65,0.07);
}

.gm-mode-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d9a441, #ffe8a3);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.gm-mode-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.gm-mode-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.gm-mode-card > p {
  font-size: 13px;
  color: #7a8fa0;
  margin-bottom: 20px;
}
.gm-mode-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gm-mode-card ul li {
  font-size: 13.5px;
  color: #8a9bb0;
}
.gm-mode-card ul li::first-letter { color: #d9a441; }

@media (max-width: 768px) {
  .gm-modes-grid { grid-template-columns: 1fr; }
  .gm-section-inner { padding: 0 24px; }
  .gm-section-head h2 { font-size: 30px; }
  .gm-modes { padding: 60px 0; }
}
