/* ============================================================
   BLOCK-CHAIN ACADEMY — Premium fintech (dark, gold accent)
   Type: Sora (display) + Manrope (body)
   ============================================================ */

:root {
  /* Warm near-black charcoal base */
  --bg:        #0d0c0a;
  --bg-2:      #131110;
  --surface:   #1a1714;
  --surface-2: #211d18;
  --surface-3: #2a251e;

  /* Gold — drawn from the coin in the logo */
  --gold:        #f2a91c;
  --gold-bright: #ffcb5c;
  --gold-deep:   #c87d11;
  --gold-grad:   linear-gradient(135deg, #ffd571 0%, #f2a91c 46%, #c87d11 100%);

  --text:    #f6f1e7;
  --muted:   #b3aa99;
  --muted-2: #837a6c;

  --line:      rgba(242, 169, 28, 0.14);
  --line-soft: rgba(255, 255, 255, 0.07);

  --up:   #43c486;
  --down: #e8604c;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow:    0 24px 60px -28px rgba(0,0,0,0.85);
  --shadow-gold: 0 20px 60px -22px rgba(242,169,28,0.35);

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle warm vignette + circuit glow on body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 82% -8%, rgba(242,169,28,0.10), transparent 60%),
    radial-gradient(700px 500px at -6% 18%, rgba(242,169,28,0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-bright);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold-grad); }

.section { padding: 120px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); margin: 18px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }

.gold-text { color: var(--gold); }
.grad-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: var(--gold-grad); color: #221704; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 26px 70px -20px rgba(242,169,28,0.55); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 16px; }

/* ============================================================
   TOP BAR + TICKER
   ============================================================ */
.topbar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  position: relative; z-index: 60;
}
.topbar-inner { display: flex; align-items: stretch; height: 40px; }
.topbar-contact {
  display: flex; align-items: center; gap: 22px;
  padding-right: 26px; margin-right: 26px;
  border-right: 1px solid var(--line-soft);
  color: var(--muted); white-space: nowrap; flex-shrink: 0;
}
.topbar-contact a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar-contact a:hover { color: var(--gold-bright); }
.topbar-contact svg { width: 14px; height: 14px; color: var(--gold); }

.ticker { flex: 1; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; align-items: center; gap: 0; height: 40px; width: max-content; animation: ticker 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: inline-flex; align-items: center; gap: 9px; padding: 0 22px; white-space: nowrap; border-right: 1px solid var(--line-soft); }
.tick-sym { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.tick-coin { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; color: #1a1205; flex-shrink: 0; }
.tick-price { color: var(--muted); }
.tick-chg { font-weight: 600; font-size: 12px; }
.tick-chg.up { color: var(--up); }
.tick-chg.down { color: var(--down); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,12,10,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(13,12,10,0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(242,169,28,0.35)); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; line-height: 1; }
.brand-name span { color: var(--gold); }
.brand-sub { font-size: 10.5px; letter-spacing: 0.3em; color: var(--muted-2); text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 14.5px;
  color: var(--muted); padding: 9px 15px; border-radius: 8px;
  transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--gold-grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 19px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 116px 0 0; z-index: 49;
  background: rgba(13,12,10,0.98); backdrop-filter: blur(20px);
  padding: 32px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 22px; font-weight: 600; padding: 16px 8px; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.mobile-menu .btn { margin-top: 22px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 92px 0 110px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 100px; background: var(--surface);
  font-size: 13px; color: var(--muted); margin-bottom: 28px;
}
.hero-badge b { color: var(--gold-bright); font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(67,196,134,0.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(67,196,134,0.5);} 70%{box-shadow:0 0 0 8px rgba(67,196,134,0);} 100%{box-shadow:0 0 0 0 rgba(67,196,134,0);} }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); margin-bottom: 24px; }
.hero h1 em { font-style: normal; }
.hero-lead { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-trust { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-trust .item { }
.hero-trust .num { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--text); }
.hero-trust .lbl { font-size: 13px; color: var(--muted-2); }

/* Hero visual */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.coin-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242,169,28,0.32), transparent 62%); filter: blur(8px); animation: float 7s ease-in-out infinite; }
.hero-coin { position: relative; width: 340px; height: 340px; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(242,169,28,0.4)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-16px);} }

.price-card {
  position: absolute; background: rgba(26,23,20,0.86); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px;
  box-shadow: var(--shadow); width: 232px;
}
.price-card.pc-1 { top: 18px; right: -8px; animation: float 6s ease-in-out infinite; }
.price-card.pc-2 { bottom: 26px; left: -14px; animation: float 6.5s ease-in-out 0.5s infinite; }
.pc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pc-top .tick-coin { width: 26px; height: 26px; font-size: 12px; }
.pc-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.pc-sub { font-size: 11px; color: var(--muted-2); }
.pc-price { font-family: var(--font-display); font-size: 21px; font-weight: 700; }
.pc-chg { font-size: 12.5px; font-weight: 600; margin-left: 8px; }
.pc-chg.up { color: var(--up); } .pc-chg.down { color: var(--down); }
.pc-spark { margin-top: 8px; }

/* ============================================================
   LOGO / partners strip
   ============================================================ */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); padding: 26px 0; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.strip-label { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.strip-logos { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.strip-logos .pl { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--muted-2); opacity: .8; transition: color .2s, opacity .2s; }
.strip-logos .pl:hover { color: var(--gold); opacity: 1; }

/* ============================================================
   CARD primitives
   ============================================================ */
.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: var(--shadow); }

/* placeholder imagery */
.ph {
  background-color: var(--surface-2);
  background-image: repeating-linear-gradient(45deg, rgba(242,169,28,0.05) 0 10px, rgba(255,255,255,0.02) 10px 20px);
  border: 1px dashed rgba(242,169,28,0.3); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--muted-2); font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.04em;
  padding: 16px;
}

/* photo frame — CEO cutouts on branded panel */
.photo-frame {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 78% at 50% 6%, rgba(242,169,28,0.30), transparent 62%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  display: flex; align-items: flex-end; justify-content: center;
}
.photo-frame::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(242,169,28,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,169,28,0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 78%);
}
.photo-frame::after { /* soft ground shadow under the figure */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 6%; height: 30px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.45), transparent 72%);
  filter: blur(6px);
}
.photo-frame img { position: relative; z-index: 1; width: 92%; height: auto; object-fit: contain; object-position: bottom center; display: block; }
.photo-cap {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.04em;
  padding: 7px 13px; border-radius: 100px;
  background: rgba(13,12,10,0.66); backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: var(--gold-bright);
}
.photo-cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.photo-portrait { aspect-ratio: 3 / 3.4; }
.photo-tablet { aspect-ratio: 1 / 1; }
.photo-tablet img { width: 82%; }

/* live indicator dot */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--up); margin-right: 4px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(67,196,134,0.5); animation: pulse 2s infinite; }
#mkt-note { display: inline-flex; align-items: center; gap: 7px; justify-content: center; width: 100%; }

/* ============================================================
   SERVICES (tabs)
   ============================================================ */
.svc-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 38px; }
.svc-tab {
  display: inline-flex; align-items: center; gap: 11px; padding: 13px 20px;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 100px;
  font-family: var(--font-display); font-weight: 500; font-size: 14.5px; color: var(--muted); cursor: pointer;
  transition: all .25s var(--ease);
}
.svc-tab .ic { width: 18px; height: 18px; color: var(--muted-2); transition: color .25s; }
.svc-tab:hover { color: var(--text); border-color: var(--line); }
.svc-tab.active { background: var(--gold-grad); color: #221704; border-color: transparent; }
.svc-tab.active .ic { color: #221704; }

.svc-panel { display: none; }
.svc-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: translateY(0);} }
.svc-content h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.svc-content p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.svc-list { display: grid; gap: 14px; }
.svc-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 15.5px; }
.svc-list .chk { width: 22px; height: 22px; border-radius: 50%; background: rgba(242,169,28,0.14); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.svc-list .chk svg { width: 13px; height: 13px; }
.svc-visual { position: relative; }
.svc-visual .ph { aspect-ratio: 4/3.4; }
.svc-media { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.svc-panel.active .svc-media:hover img { transform: scale(1.04); }
.svc-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(13,12,10,0.10) 0%, transparent 38%, rgba(13,12,10,0.42) 100%); }
.svc-tag { position: absolute; bottom: -16px; left: 24px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.svc-tag .num { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--gold); }
.svc-tag .lbl { font-size: 12px; color: var(--muted); }

/* ============================================================
   MARKET
   ============================================================ */
.market { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mkt-card { padding: 22px; }
.mkt-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mkt-coin { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #1a1205; flex-shrink: 0; }
.mkt-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.mkt-sym { font-size: 12px; color: var(--muted-2); }
.mkt-chg { margin-left: auto; font-weight: 600; font-size: 13px; padding: 4px 9px; border-radius: 7px; }
.mkt-chg.up { color: var(--up); background: rgba(67,196,134,0.12); }
.mkt-chg.down { color: var(--down); background: rgba(232,96,76,0.12); }
.mkt-price { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin-bottom: 4px; }
.mkt-xof { font-size: 13px; color: var(--muted); }
.mkt-spark { margin-top: 14px; }
.mkt-note { text-align: center; color: var(--muted-2); font-size: 13px; margin-top: 26px; font-family: 'JetBrains Mono', monospace; }

.mkt-xof-card { grid-column: span 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 30px; background: linear-gradient(120deg, var(--surface-2), var(--surface)); border-color: var(--line); }
.mkt-xof-card .left { display: flex; align-items: center; gap: 16px; }
.mkt-xof-card .badge-xof { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.1em; padding: 8px 14px; border-radius: 10px; background: rgba(242,169,28,0.14); color: var(--gold-bright); }
.mkt-xof-card .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); }
.mkt-xof-card .big small { font-size: 15px; color: var(--muted); font-weight: 500; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-visual .ph { aspect-ratio: 3/3.4; border-radius: var(--r-lg); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; position: absolute; bottom: -28px; right: -20px; width: 280px; box-shadow: var(--shadow); z-index: 3; }
.about-stats .st { background: var(--surface-2); padding: 18px 20px; }
.about-stats .num { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--gold); line-height: 1; }
.about-stats .lbl { font-size: 12px; color: var(--muted); margin-top: 6px; }
.about-points { display: grid; gap: 22px; margin-top: 30px; }
.about-point { display: flex; gap: 16px; }
.about-point .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(242,169,28,0.12); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.about-point .ic svg { width: 22px; height: 22px; }
.about-point h4 { font-size: 17px; margin-bottom: 5px; }
.about-point p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   FORMATIONS
   ============================================================ */
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.course { overflow: hidden; display: flex; flex-direction: column; }
.course .ph { aspect-ratio: 16/10; border: none; border-bottom: 1px dashed rgba(242,169,28,0.25); border-radius: 0; }
.course-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--surface-2); border-bottom: 1px solid var(--line-soft); }
.course-img.cutout { object-fit: contain; object-position: bottom center; background: radial-gradient(120% 85% at 50% 2%, rgba(242,169,28,0.22), var(--surface-2) 62%); }
.course:hover .course-img { filter: brightness(1.04); }
.course-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.course-level { display: inline-flex; align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: rgba(242,169,28,0.12); color: var(--gold-bright); margin-bottom: 14px; }
.course h3 { font-size: 19px; margin-bottom: 8px; }
.course p { color: var(--muted); font-size: 14px; flex: 1; }
.course-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted-2); }
.course-meta .link { color: var(--gold); font-weight: 600; font-family: var(--font-display); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.course:hover .course-meta .link { gap: 11px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.testi .quote-mark { font-family: var(--font-display); font-size: 54px; line-height: .6; color: var(--gold); opacity: .6; height: 22px; }
.testi p { color: var(--text); font-size: 15.5px; }
.testi-author { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 8px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--gold); flex-shrink: 0; }
.testi-author .name { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.testi-author .role { font-size: 12.5px; color: var(--muted-2); }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; transition: border-color .25s; }
.faq-item.open { border-color: var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.faq-q .plus { width: 26px; height: 26px; flex-shrink: 0; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-q .plus::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq-q .plus::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.faq-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-info { display: grid; gap: 16px; align-content: start; }
.ci-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; }
.ci-card .ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(242,169,28,0.12); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.ci-card .ic svg { width: 22px; height: 22px; }
.ci-card .lbl { font-size: 12.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; }
.ci-card .val { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-top: 3px; word-break: break-word; }
.ci-map .ph { aspect-ratio: 16/7; }

/* custom gold pin + hover info card over the (static) Google map */
.bca-map { position: relative; }
.bca-map-pin {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  transform: translate(-50%, -100%);
  color: var(--gold); cursor: pointer; line-height: 0;
  filter: drop-shadow(0 6px 9px rgba(0,0,0,0.5));
}
.bca-map-pin .pin-shape { width: 34px; height: 45px; display: block; animation: mapPinDrop .5s var(--ease) both; transition: transform .2s var(--ease); }
.bca-map-pin:hover .pin-shape, .bca-map-pin:focus-visible .pin-shape { transform: translateY(-3px) scale(1.06); }
@keyframes mapPinDrop { 0% { transform: translateY(-14px); opacity: 0; } 60% { transform: translateY(2px); } 100% { transform: translateY(0); opacity: 1; } }

.bca-map-card {
  position: absolute; left: 50%; bottom: calc(100% + 12px); z-index: 4;
  width: 232px; max-width: 76vw; padding: 13px 15px;
  display: flex; flex-direction: column;
  background: rgba(13,12,10,0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; pointer-events: none; text-align: left; line-height: 1.4;
  transform: translateX(-50%) translateY(6px) scale(.95); transform-origin: bottom center;
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
.bca-map-card::after {
  content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: rgba(13,12,10,0.95);
}
.bca-map-pin:hover .bca-map-card,
.bca-map-pin:focus .bca-map-card,
.bca-map-pin:focus-visible .bca-map-card {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.bca-map-card .mc-name { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--text); margin-bottom: 9px; }
.bca-map-card .mc-row { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.bca-map-card .mc-row svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.bca-map-card .mc-cta { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; color: var(--gold-bright); margin-top: 6px; }

.bca-map-open {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 12px; color: #221704;
  background: var(--gold-grad); border-radius: 100px; padding: 7px 13px;
  box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s;
}
.bca-map-open:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.bca-map-open svg { width: 13px; height: 13px; }

@media (prefers-reduced-motion: reduce) {
  .bca-map-pin .pin-shape { animation: none; }
  .bca-map-card, .bca-map-open, .bca-map-pin .pin-shape { transition: none; }
}

/* When GSAP (animations.js) drives the reveals, disable the CSS-transition
   fallback so the two don't double-ease the same elements. */
html.bca-gsap .reveal { transition: none; }

/* ============================================================
   RESPONSIVE REFINEMENTS — hero visual
   The floating price cards use negative offsets tuned for the
   desktop two-column hero. Once the hero collapses to one column,
   contain the visual so the cards stay fully on-screen.
   ============================================================ */
@media (max-width: 1080px) {
  .hero-visual { max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .hero-visual { min-height: 330px; }
  .coin-glow { width: 300px; height: 300px; }
  .hero-coin { width: 232px; height: 232px; }
  .price-card { width: 188px; padding: 12px 13px; }
  .price-card .pc-price { font-size: 18px; }
  .price-card .pc-spark { width: 100%; height: auto; }
  .price-card.pc-1 { top: 4px; right: 0; }
  .price-card.pc-2 { bottom: 6px; left: 0; }
}

/* Tablet portrait: ease the generous desktop section padding. */
@media (max-width: 900px) and (min-width: 561px) {
  .section { padding: 90px 0; }
}

/* Mobile: center the partners / payment strip. */
@media (max-width: 560px) {
  .strip-inner { justify-content: center; text-align: center; }
  .strip-logos { justify-content: center; }
}

.contact-form { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 36px; }
.contact-form h3 { font-size: 24px; margin-bottom: 6px; }
.contact-form .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; font-family: var(--font-display); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--r-sm);
  padding: 13px 15px; color: var(--text); font-family: var(--font-body); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,169,28,0.14); }
.field.error input, .field.error select, .field.error textarea { border-color: var(--down); }
.field .err-msg { display: none; color: var(--down); font-size: 12.5px; margin-top: 6px; }
.field.error .err-msg { display: block; }
.form-note { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; animation: fadeUp .4s var(--ease); }
.form-success .ic { width: 64px; height: 64px; border-radius: 50%; background: rgba(67,196,134,0.14); color: var(--up); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .ic svg { width: 30px; height: 30px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-inner { background: var(--gold-grad); border-radius: var(--r-xl); padding: 56px 56px; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.cta-inner h2 { color: #1c1303; font-size: clamp(26px, 3.4vw, 40px); max-width: 620px; position: relative; }
.cta-inner p { color: rgba(30,19,3,0.78); margin-top: 12px; font-size: 17px; position: relative; }
.cta-inner .btn-dark { background: #1c1303; color: var(--gold-bright); position: relative; }
.cta-inner .btn-dark:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-2); border-top: 1px solid var(--line-soft); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 320px; margin-bottom: 22px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-soft); display: grid; place-items: center; color: var(--muted); transition: all .2s; }
.socials a:hover { color: #221704; background: var(--gold); border-color: transparent; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-col h4 { font-size: 14px; letter-spacing: 0.05em; margin-bottom: 18px; color: var(--text); }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line-soft); color: var(--muted-2); font-size: 13.5px; }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 8px; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 380px; }
  .courses { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .mkt-xof-card { grid-column: span 2; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .topbar-contact { display: none; }
  .svc-panel.active, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-stats { position: static; width: 100%; margin-top: 20px; }
  .about-visual .ph { aspect-ratio: 16/9; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .courses, .market-grid { grid-template-columns: 1fr; }
  .mkt-xof-card { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 36px 28px; }
  .contact-form { padding: 26px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-trust { gap: 24px; }
}
