/* ==========================================================================
   Alpha Edge Trading — Design System
   Dark / Charcoal / Gold premium fintech theme
   ========================================================================== */

:root {
  --bg: #080516;
  --bg-alt: #0f0b22;
  --charcoal: #171121;
  --charcoal-light: #21182d;
  --white: #f3f2ee;
  --muted: #a3a3aa;
  --muted-dim: #6f6f77;
  --gold: #d4af37;
  --gold-light: #f2d879;
  --gold-dim: rgba(212, 175, 55, 0.14);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1180px;
  --red: #d97066;
  --red-dim: rgba(217, 112, 102, 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  background: radial-gradient(110% 80% at 50% -12%, #17102f 0%, #0f0b22 38%, var(--bg) 75%);
  background-attachment: fixed;
  color: var(--white);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.25rem); }

p { color: var(--muted); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }


.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.02rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #16130a;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(212, 175, 55, 0.38); }
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(15, 11, 34, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo span { color: var(--gold); }
.logo small {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted-dim);
  margin-left: 4px;
  align-self: center;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.language-select { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: 9px; color: var(--muted); background: rgba(8, 5, 22, 0.82); transition: border-color 0.25s var(--ease), color 0.25s var(--ease); }
.language-select:hover, .language-select:focus-within { border-color: var(--gold); color: var(--gold); }
.language-icon { font-size: 1rem; line-height: 1; }
.language-select select { max-width: 82px; border: 0; outline: 0; color: var(--white); background: transparent; font: 600 0.78rem "Inter", sans-serif; cursor: pointer; }
.language-select select option { color: #171121; background: var(--white); }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px; height: 24px;
  background: none; border: none; cursor: pointer;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(15, 11, 34, 0.98);
  backdrop-filter: blur(20px);
  z-index: 90;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.mobile-nav.open { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-nav a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  font-weight: 500;
}
.mobile-nav .btn { margin-top: 20px; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
}
@media (max-width: 430px) {
  .header-actions { gap: 10px; }
  .language-select { padding: 8px; }
  .language-select select { max-width: 62px; font-size: 0.72rem; }
}

/* ============ Hero ============ */
.hero {
  padding: 168px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner { text-align: center; max-width: 780px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 1.1rem; max-width: 640px; margin: 0 auto 16px; }
.hero .support { font-size: 0.98rem; max-width: 560px; margin: 0 auto 36px; color: var(--muted-dim); }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}
.trust-item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.trust-item .num { font-family: "Sora", sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); display: block; }
.trust-item .label { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 640px) { .trust-strip { grid-template-columns: 1fr; } }

/* ============ Market stats & ticker ============ */
.market-stats-section {
  padding: 0;
  background: radial-gradient(circle at 88% 22%, rgba(212, 175, 55, 0.07), transparent 34%), var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.market-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 58px;
  padding-bottom: 58px;
}
.market-stat strong {
  display: block;
  color: var(--white);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.1;
}
.market-stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted-dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.market-ticker { overflow-x: auto; border-top: 1px solid var(--border); scrollbar-width: none; }
.market-ticker::-webkit-scrollbar { display: none; }
.ticker-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: marketTicker 28s linear infinite;
  will-change: transform;
}
.market-ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marketTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  min-width: 220px;
  flex: 1 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  border-right: 1px solid var(--border);
  font-family: "Sora", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}
.ticker-item b { color: var(--white); font-size: 0.7rem; }
.ticker-item span { color: var(--muted-dim); }
.ticker-item i { font-style: normal; font-size: 0.68rem; }
.ticker-item .up { color: #35d2a0; }
.ticker-item .down { color: #ed6688; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

@media (max-width: 760px) {
  .market-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; padding-top: 42px; padding-bottom: 42px; }
  .market-stat { text-align: center; }
}

@media (max-width: 420px) {
  .market-stats-grid { gap: 26px 12px; }
  .market-stat strong { font-size: 1.45rem; }
  .market-stat span { font-size: 0.62rem; letter-spacing: 0.12em; }
  .ticker-item { min-width: 190px; flex-basis: 190px; padding: 16px 18px; }
}

/* ============ Page Hero (sub-pages) ============ */
.page-hero {
  padding: 160px 0 72px;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero p { max-width: 620px; margin: 16px auto 0; font-size: 1.02rem; }
.courses-hero-title { font-size: clamp(1.55rem, 3.2vw, 2.35rem); }
.about-hero-title { font-size: clamp(1.55rem, 3.2vw, 2.35rem); }

/* ============ Glass Card ============ */
.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--glass-strong);
}
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gold-dim);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; margin: 0; }

/* ============ Grids ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.roadmap-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1100px) { .roadmap-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .roadmap-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ============ About preview split ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--charcoal), var(--bg-alt));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.split-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(212,175,55,0.18), transparent 60%);
}
.split-visual .glyph { font-family: "Sora", sans-serif; font-size: 4rem; color: var(--gold); opacity: 0.85; position: relative; z-index: 1; }

/* ============ Testimonials ============ */
.testimonial {
  position: relative;
}
.testimonial .quote-mark {
  font-family: "Sora", sans-serif;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.testimonial p.quote { color: var(--white); font-size: 0.98rem; margin-bottom: 20px; }
.testimonial .author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #16130a;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.author-role { font-size: 0.78rem; color: var(--muted-dim); }

/* ============ FAQ Accordion ============ */
.accordion { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.accordion-item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.accordion-item.open { border-color: var(--border-strong); }
.accordion-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--white);
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.accordion-q .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.accordion-item.open .accordion-q .plus { transform: rotate(45deg); background: var(--gold-dim); }
.accordion-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion-a-inner { padding: 0 24px 22px; font-size: 0.93rem; color: var(--muted); }
.accordion-cat { margin: 40px 0 18px; }
.accordion-cat:first-child { margin-top: 0; }
.accordion-cat h3 { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: "Inter", sans-serif; font-weight: 700; }

/* ============ Comparison Table ============ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--glass);
  backdrop-filter: blur(14px);
}
table.compare th, table.compare td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
table.compare th {
  font-family: "Sora", sans-serif;
  color: var(--gold);
  font-weight: 700;
  background: rgba(255,255,255,0.02);
  white-space: nowrap;
}
table.compare td:first-child { color: var(--white); font-weight: 600; white-space: nowrap; }
table.compare tr:last-child td { border-bottom: none; }
table.compare td.yes { color: var(--gold); text-align: center; }
table.compare td.no { color: var(--muted-dim); text-align: center; }

/* ============ Course detail block ============ */
.course-block {
  border: 1px solid var(--border);
  background: var(--glass);
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-bottom: 32px;
  backdrop-filter: blur(14px);
}
@media (max-width: 640px) { .course-block { padding: 28px 22px; } }
.course-block .tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.course-block h2 { margin-bottom: 8px; }
.course-block .who { color: var(--muted); margin-bottom: 28px; font-size: 0.96rem; }
.course-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 760px) { .course-cols { grid-template-columns: 1fr; } }
.course-cols h4 { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; font-family: "Inter", sans-serif; font-weight: 700; }
.course-enroll-action { margin-top: 32px; text-align: center; }
.course-enroll-top { margin: 16px 0 20px; text-align: left; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--muted); }
.check-list li::before { content: "✓"; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: 40px; }
@media (max-width: 640px) { .form-card { padding: 26px 22px; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--white); }
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.94rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field select {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.94rem;
}
.field select:focus { outline: none; border-color: var(--gold); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(212,175,55,0.05);
}
.field textarea { resize: vertical; min-height: 130px; }

.contact-info-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}
.contact-info-item .icon { margin-bottom: 0; width: 40px; height: 40px; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-item .label { font-size: 0.78rem; color: var(--muted-dim); }
.contact-info-item .value { font-weight: 600; color: var(--white); font-size: 0.95rem; }
.contact-info-item a.value:hover { color: var(--gold); }
.contact-info-item .office-address { line-height: 1.65; font-weight: 500; }

.map-placeholder {
  height: 260px;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 10px, transparent 10px 20px);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-dim);
  font-size: 0.88rem;
  text-align: center;
  margin-top: 24px;
}

/* ============ Final CTA band ============ */
.cta-band {
  background: linear-gradient(120deg, rgba(45, 34, 37, 0.72), rgba(20, 15, 30, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 520px; margin: 0 auto 32px; }
.cta-band .hero-ctas { margin-bottom: 0; }

/* ============ Values / Timeline (About) ============ */
.value-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.value-item:last-child { border-bottom: none; }
.value-num { font-family: "Sora", sans-serif; color: var(--gold); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; width: 34px; }
.value-item h4 { margin-bottom: 6px; }
.value-item p { font-size: 0.93rem; margin: 0; }

.mentor-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: center;
  padding: 40px;
}
@media (max-width: 700px) { .mentor-card { grid-template-columns: 1fr; text-align: center; } }
.mentor-photo {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--charcoal-light), var(--bg-alt));
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: "Sora", sans-serif;
  font-size: 3rem;
  color: var(--gold);
  margin: 0 auto;
}

/* ============ Legal ============ */
.legal-section { padding-top: 48px; }
.legal-section h2 { margin-bottom: 18px; scroll-margin-top: 120px; }
.legal-section p { margin-bottom: 16px; font-size: 0.95rem; }
.legal-section + .legal-section { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 28px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand p { font-size: 0.9rem; margin: 14px 0 0; max-width: 280px; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-family: "Inter", sans-serif; font-weight: 700; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--white); }
.social-icons { display: flex; gap: 10px; margin-top: 18px; }
.footer-col .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-col .social-icons a:hover { color: var(--white); border-color: var(--gold); transform: translateY(-2px); }
.footer-col .social-icons a::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.footer-col .social-icons a[href^="mailto:"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 4-8 5-8-5V6l8 5 8-5v2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 4-8 5-8-5V6l8 5 8-5v2Z'/%3E%3C/svg%3E");
}
.footer-col .social-icons a[href*="instagram.com"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm11.5 1.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm11.5 1.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6Z'/%3E%3C/svg%3E");
}
.footer-col .social-icons a[title="Telegram"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.7 2.3a1 1 0 0 0-1-.2L2.6 9.1a1 1 0 0 0 .1 1.9l4.6 1.5 1.8 5.6a1 1 0 0 0 1.7.4l2.6-2.7 4.7 3.5a1 1 0 0 0 1.6-.6l2.4-15.4a1 1 0 0 0-.4-1ZM9.1 11.9l8.8-5.5-7.1 7.2-.5 2.4-1.2-4.1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.7 2.3a1 1 0 0 0-1-.2L2.6 9.1a1 1 0 0 0 .1 1.9l4.6 1.5 1.8 5.6a1 1 0 0 0 1.7.4l2.6-2.7 4.7 3.5a1 1 0 0 0 1.6-.6l2.4-15.4a1 1 0 0 0-.4-1ZM9.1 11.9l8.8-5.5-7.1 7.2-.5 2.4-1.2-4.1Z'/%3E%3C/svg%3E");
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted-dim);
}

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }

/* ============ Misc ============ */
.text-gold { color: var(--gold); }
.micro-disclaimer { font-size: 0.78rem; }

/* ============ Logo mark ============ */
.logo-mark { flex-shrink: 0; }
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  border-radius: 6px;
}
.footer-brand .logo-img { height: 34px; }
@media (max-width: 480px) { .logo-img { height: 32px; } }

/* ============ Mistake / negative list ============ */
.card-negative {
  border-color: rgba(217, 112, 102, 0.3);
  background: var(--red-dim);
}
.card-negative h3 { color: var(--red); }
.mistake-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mistake-list li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--muted); }
.mistake-list li::before { content: "\2715"; color: var(--red); font-weight: 700; flex-shrink: 0; }

.card-gold { border-color: rgba(212, 175, 55, 0.3); }
.card-gold h3 { color: var(--gold); }

.diamond-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.diamond-list li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--muted); }
.diamond-list li::before { content: "\2726"; color: var(--gold); flex-shrink: 0; font-size: 0.85em; }

/* ============ Tag cloud (topic pills) ============ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-pill {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

/* Course One uses the same always-visible topic layout as Course Two. */
.course-one-topics {
  max-width: none;
  gap: 26px;
}
.course-one-topics .accordion-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.course-one-topics .accordion-q {
  padding: 0;
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: default;
  pointer-events: none;
}
.course-one-topics .accordion-q .plus { display: none; }
.course-one-topics .accordion-a {
  max-height: none !important;
  overflow: visible;
}
.course-one-topics .accordion-a-inner { padding: 10px 0 0; }
.course-one-topics .diamond-list {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
.course-one-topics .diamond-list li {
  display: inline-flex;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.82rem;
}
.course-one-topics .diamond-list li::before { display: none; }

/* ============ Pricing card ============ */
.price-card { max-width: 460px; margin: 0 auto; text-align: center; padding: 48px 40px; }
.price-duration { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dim); margin-bottom: 10px; }
.price-main { font-family: "Sora", sans-serif; font-size: 3rem; font-weight: 800; color: var(--gold); line-height: 1; }
.price-strike { text-decoration: line-through; color: var(--muted-dim); font-size: 0.95rem; margin-top: 8px; }
.price-note { font-size: 0.78rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 6px; }
.price-card .check-list { text-align: left; margin: 28px 0; }

/* ============ Bonus chips ============ */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .bonus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .bonus-grid { grid-template-columns: 1fr; } }
.bonus-chip {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

/* ============ Webinar landing page ============ */
.webinar-hero { padding: 148px 0 88px; overflow: hidden; }
.webinar-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.webinar-lede { margin: 18px 0 26px; max-width: 650px; font-size: 1.04rem; }
.webinar-points { margin-bottom: 30px; }
.webinar-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.webinar-meta div { padding: 14px; background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.webinar-meta span { display: block; color: var(--muted-dim); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.webinar-meta strong { display: block; margin-top: 3px; color: var(--white); font-size: 0.86rem; }
.webinar-form-copy { margin: 10px 0 24px; font-size: 0.92rem; }
.form-note { margin-top: 12px; text-align: center; font-size: 0.76rem; color: var(--muted-dim); }

@media (max-width: 900px) {
  .webinar-grid { grid-template-columns: 1fr; gap: 36px; }
  .webinar-hero { padding: 124px 0 64px; }
}

@media (max-width: 520px) {
  .webinar-meta { grid-template-columns: 1fr; }
}

/* ============ Mobile refinements ============ */
@media (max-width: 640px) {
  body { line-height: 1.58; }
  .container { padding-inline: 18px; }
  section { padding: 52px 0; }

  h1 { font-size: clamp(1.75rem, 8vw, 2.15rem); }
  h2 { font-size: clamp(1.35rem, 6vw, 1.7rem); }
  h3 { font-size: 1.05rem; }

  .site-header { padding: 12px 0; }
  .site-header.scrolled { padding: 10px 0; }
  .header-inner { gap: 12px; }
  .mobile-nav { top: 58px; padding: 22px 18px; overflow-y: auto; }
  .mobile-nav a { padding: 13px 4px; font-size: 0.96rem; }

  .hero { padding: 120px 0 64px; }
  .hero h1 { margin-bottom: 16px; }
  .hero .lede { font-size: 1rem; }
  .hero .support { font-size: 0.9rem; margin-bottom: 28px; }
  .hero-ctas { gap: 10px; margin-bottom: 40px; }

  .page-hero { padding: 116px 0 48px; }
  .courses-hero-title { font-size: clamp(1.35rem, 6.5vw, 1.7rem); }
  .about-hero-title { font-size: clamp(1.35rem, 6.5vw, 1.7rem); }
  .page-hero p, .section-head p { font-size: 0.94rem; }
  .section-head { margin-bottom: 30px; }
  .eyebrow { font-size: 0.7rem; margin-bottom: 12px; }

  .btn { padding: 12px 22px; font-size: 0.88rem; }
  .hero-ctas .btn { flex: 1 1 150px; }
  .card { padding: 24px 20px; }
  .course-block { padding: 24px 18px; }
  .course-cols { gap: 18px; }

  .accordion-q { padding: 17px 18px; font-size: 0.9rem; }
  .accordion-a-inner { padding: 0 18px 18px; font-size: 0.88rem; }
  table.compare th, table.compare td { padding: 14px 16px; font-size: 0.85rem; }

  .cta-band { padding: 40px 20px; }
  .cta-band p { margin-bottom: 24px; }
  .price-card { padding: 32px 20px; }
  .price-main { font-size: 2.35rem; }

  .mentor-card { padding: 28px 20px; gap: 24px; }
  .mentor-photo { width: 170px; height: 170px; font-size: 2.3rem; }
  .contact-info-item { align-items: flex-start; padding: 14px; }
  .contact-info-item .value { overflow-wrap: anywhere; }

  .site-footer { padding: 52px 0 24px; }
  .footer-grid { margin-bottom: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .container { padding-inline: 14px; }
  .hero-ctas .btn { width: 100%; flex-basis: 100%; }
  .logo-img { height: 29px; }
}
/* Keyboard navigation and reduced-motion accessibility */
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 10000;
  padding: 12px 18px;
  color: #0b0b0d;
  background: #f5c451;
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus { top: 16px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #f5c451;
  outline-offset: 3px;
}

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

  .reveal,
  .reveal-stagger { opacity: 1; transform: none; }
}
