/* ==========================================================================
   GForex Academy — Design tokens
   ========================================================================== */
:root {
  /* Color */
  --bg-deep:      #05070d;   /* darkest sections */
  --bg-navy:      #0a0f1e;   /* primary background */
  --bg-navy-2:    #0d1428;   /* card surfaces */
  --bg-navy-3:    #101a33;   /* raised card surfaces */
  --line:         rgba(255,255,255,0.09);
  --line-strong:  rgba(255,255,255,0.16);
  --text-hi:      #f5f7fb;
  --text-mid:     #aab2c5;
  --text-low:     #6b7387;
  --blue:         #3b82f6;
  --blue-bright:  #63a6ff;
  --blue-dim:     #1e3a72;
  --gold:         #d4af37;
  --green:        #3ddc97;

  --grad-headline: linear-gradient(180deg, #ffffff 0%, #a9c6ff 60%, #3b82f6 100%);
  --grad-card:      linear-gradient(160deg, rgba(59,130,246,0.10), rgba(255,255,255,0.02));

  /* Type */
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Radius / shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-pill: 999px;
  --shadow-1: 0 20px 60px -20px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-navy);
  color: var(--text-hi);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  animation: gfxPageIn 0.5s ease forwards;
}
@keyframes gfxPageIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* visible, on-brand focus states everywhere (keyboard accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--blue);
}

.italic-soft {
  font-style: italic;
  color: var(--text-low);
  opacity: 0.9;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}
.section--tight { padding: 80px 0; }
.section--deep { background: var(--bg-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: #fff;
  color: #0a0f1e;
}
.btn--primary:hover { background: #e7edf8; }
.btn--blue {
  background: var(--blue);
  color: #fff;
}
.btn--blue:hover { background: #2f6fe0; }
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text-hi);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-bright); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,12,24,0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #0d3f9e);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
}
.nav__links {
  display: flex;
  gap: 34px;
  font-size: 15px;
  color: var(--text-mid);
}
.nav__links a:hover { color: var(--text-hi); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__actions a.signin { color: var(--text-mid); font-size: 15px; }
.nav__actions a.signin:hover { color: var(--text-hi); }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 60px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -200px; right: -120px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(59,130,246,0.28), transparent 65%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 82px);
}
.hero h1 .lineB {
  background: var(--grad-headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .lineD {
  font-style: italic;
  color: var(--text-low);
  font-weight: 600;
}
.hero p.lede {
  margin-top: 26px;
  max-width: 46ch;
  color: var(--text-mid);
  font-size: 17px;
}
.hero p.lede strong { color: var(--text-hi); }
.hero__actions { display: flex; gap: 14px; margin-top: 34px; }
.hero__stats {
  display: flex; gap: 34px; margin-top: 50px;
}
.hero__stats div b {
  display: block; font-family: var(--font-display); font-size: 26px;
}
.hero__stats div span { color: var(--text-low); font-size: 13px; }
.hero__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.hero__media img { width: 100%; height: 100%; object-fit: contain; object-position: top right; }
.hero__badge {
  position: absolute; left: 0; bottom: 20px;
  background: rgba(8,12,24,0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 13px;
}
.hero__badge b { display: block; font-size: 15px; margin-bottom: 2px; }

/* ---------- Section headings ---------- */
.head-block { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.head-block h2 { font-size: clamp(32px, 4.2vw, 48px); margin-top: 16px; }
.head-block .lineD { font-style: italic; color: var(--text-low); display: block; }
.head-block--left { text-align: left; margin: 0 0 56px; }

/* ---------- Testimonials ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  background: var(--bg-navy-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
}
.testi__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.testi__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; background: var(--bg-navy-3);
}
.testi__head b { display: block; font-size: 15px; }
.testi__head span { color: var(--text-low); font-size: 13px; }
.testi__quote { color: var(--text-mid); font-size: 16px; }
.testi__badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: rgba(61,220,151,0.08);
  border: 1px solid rgba(61,220,151,0.3);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}
.testi__cta { text-align: center; margin-top: 44px; }

/* ---------- Authority split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  border: 1px solid var(--line);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--blend { border: none; background: transparent; overflow: visible; }
.split__caption {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(5,7,13,0.7);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 12px;
}
.split__caption b { display: block; font-size: 14px; }
.stat-row { display: flex; gap: 40px; margin-top: 38px; }
.stat-row div b { display: block; font-family: var(--font-display); font-size: 30px; }
.stat-row div span { color: var(--text-low); font-size: 13px; }
.split p.lede { color: var(--text-mid); margin-top: 20px; max-width: 46ch; }

/* ---------- Telegram section ---------- */
.telegram { background: var(--bg-deep); }
.telegram .split { align-items: center; }
.feature-mini { display: flex; align-items: flex-start; gap: 12px; }
.feature-mini__dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(59,130,246,0.15); color: var(--blue-bright);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px; font-size: 12px;
}
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.telegram__phone {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
}
.telegram__phone img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: #000;
  text-align: center;
  padding: 120px 0;
}
.cta-banner h2 { font-size: clamp(34px, 5vw, 56px); }
.cta-banner p { color: var(--text-mid); max-width: 56ch; margin: 26px auto 0; }
.cta-banner .btn { margin-top: 34px; }

/* ---------- What's included ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.feature-card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--bg-navy-3); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 18px;
}
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { color: var(--text-mid); font-size: 15px; }

/* ---------- Collaboration form ---------- */
.collab { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.collab h2 { font-size: clamp(32px, 4.4vw, 50px); }
.collab p.lede { color: var(--text-mid); margin-top: 22px; max-width: 46ch; }
.collab__item { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.collab__icon { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-navy-3); display: flex; align-items: center; justify-content: center; }
.collab__item b { display: block; font-size: 15px; }
.collab__item span { color: var(--text-low); font-size: 13px; }

.form-card {
  background: var(--bg-navy-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
}
.form-card h3 { font-size: 22px; }
.form-card > p { color: var(--text-mid); font-size: 14px; margin-top: 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.chip {
  padding: 10px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); font-size: 14px; color: var(--text-mid);
  background: transparent;
}
.chip.is-active, .chip:hover { border-color: var(--blue); color: var(--blue-bright); background: rgba(59,130,246,0.08); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
label.field-label { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-low); margin-bottom: 8px; }
.input, textarea.input {
  width: 100%;
  background: var(--bg-navy);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  color: var(--text-hi);
  font-family: inherit;
  font-size: 14px;
}
.input:focus, textarea.input:focus { outline: none; border-color: var(--blue); }
textarea.input { min-height: 110px; resize: vertical; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item {
  background: var(--bg-navy-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 28px;
  cursor: pointer;
}
.faq-item__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.faq-item .eyebrow { font-size: 11px; margin-bottom: 10px; }
.faq-item h4 { font-size: 19px; font-weight: 700; }
.faq-item__plus {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px; color: var(--text-mid);
  transition: transform 0.2s ease;
}
.faq-item__body {
  max-height: 0; overflow: hidden; color: var(--text-mid); font-size: 15px;
  transition: max-height 0.25s ease, margin-top 0.25s ease;
}
.faq-item.is-open .faq-item__plus { transform: rotate(45deg); border-color: var(--blue); color: var(--blue-bright); }
.faq-item.is-open .faq-item__body { margin-top: 16px; }
.faq-support { text-align: center; margin-top: 50px; }
.faq-support p { color: var(--text-mid); margin-bottom: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); padding-top: 80px; }
.footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer__col a { display: block; color: var(--text-mid); font-size: 15px; margin-bottom: 18px; }
.footer__col a:hover { color: var(--text-hi); }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-start; padding: 40px 0; gap: 40px; }
.footer__brand { display: flex; gap: 12px; max-width: 480px; }
.footer__brand p { color: var(--text-mid); font-size: 14px; margin-top: 8px; }
.footer__contact { text-align: right; }
.footer__contact span { display: block; color: var(--text-low); font-size: 13px; margin-bottom: 6px; }
.footer__contact a.email { color: var(--blue-bright); font-size: 15px; }
.footer__social { display: flex; gap: 12px; margin-top: 16px; justify-content: flex-end; }
.footer__social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; }
.footer__legal { border-top: 1px solid var(--line); padding: 30px 0 50px; text-align: center; }
.footer__legal p { color: var(--text-low); font-size: 13px; max-width: 900px; margin: 0 auto 16px; }
.footer__legal a { color: var(--text-mid); text-decoration: underline; }
.footer__legal .copyright { color: var(--text-mid); margin-bottom: 26px; }

/* ---------- Chat widget ---------- */
.chat-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 200;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-1);
  border: none;
  color: #fff; font-size: 22px;
}
.chat-fab:hover { background: #2f6fe0; }

/* ---------- Trading guide page ---------- */
.guide-shell { display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: start; }
.guide-toc {
  position: sticky; top: 100px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  background: var(--bg-navy-2);
}
.guide-toc h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-low); margin-bottom: 14px; }
.guide-toc a { display: block; padding: 8px 0; font-size: 14px; color: var(--text-mid); border-left: 2px solid transparent; padding-left: 12px; }
.guide-toc a:hover, .guide-toc a.is-active { color: var(--text-hi); border-color: var(--blue); }
.guide-article h2 { font-size: 28px; margin-top: 54px; padding-top: 10px; }
.guide-article h2:first-child { margin-top: 0; }
.guide-article p { color: var(--text-mid); font-size: 16px; margin: 16px 0; max-width: 68ch; }
.guide-article ul { color: var(--text-mid); font-size: 16px; padding-left: 20px; max-width: 68ch; }
.guide-article li { margin-bottom: 8px; }
.guide-hero { padding: 60px 0 20px; }
.guide-hero .eyebrow { margin-bottom: 18px; }
.guide-hero h1 { font-size: clamp(36px, 5vw, 54px); }
.guide-hero p.lede { color: var(--text-mid); max-width: 60ch; margin-top: 18px; }
.callout {
  border: 1px solid rgba(59,130,246,0.35);
  background: rgba(59,130,246,0.07);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--text-mid);
}
.callout b { color: var(--text-hi); }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg-navy); min-height: 100vh; }
.admin-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.admin-login__card {
  width: 100%; max-width: 380px;
  background: var(--bg-navy-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 40px;
}
.admin-login__card h1 { font-size: 22px; margin-bottom: 6px; }
.admin-login__card p { color: var(--text-mid); font-size: 14px; margin-bottom: 26px; }
.admin-login__error { color: #ff6b6b; font-size: 13px; margin-top: 10px; min-height: 18px; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { border-right: 1px solid var(--line); padding: 26px 18px; background: var(--bg-navy-2); }
.admin-side a {
  display: block; padding: 11px 14px; border-radius: var(--r-sm);
  color: var(--text-mid); font-size: 14px; margin-bottom: 4px;
}
.admin-side a.is-active, .admin-side a:hover { background: rgba(59,130,246,0.1); color: var(--blue-bright); }
.admin-main { padding: 34px 40px; max-width: 980px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.admin-panel { display: none; }
.admin-panel.is-active { display: block; }
.admin-panel h2 { font-size: 22px; margin-bottom: 6px; }
.admin-panel > p.sub { color: var(--text-mid); font-size: 14px; margin-bottom: 28px; }
.admin-field { margin-bottom: 20px; }
.admin-field label { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-low); margin-bottom: 8px; }
.admin-savebar { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.save-msg { font-size: 13px; color: var(--green); opacity: 0; transition: opacity 0.2s; max-width: 360px; }
.save-msg.is-shown { opacity: 1; }
.btn:disabled, .btn[disabled] { opacity: 0.65; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.admin-repeat-item {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; margin-bottom: 16px; position: relative;
}
.admin-repeat-item .remove-item {
  position: absolute; top: 14px; right: 14px; background: transparent; border: none; color: var(--text-low); font-size: 18px;
}
.admin-repeat-item .remove-item:hover { color: #ff6b6b; }
.admin-list-msg { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 12px; background: var(--bg-navy-2); }
.admin-list-msg .meta { color: var(--text-low); font-size: 12px; margin-bottom: 6px; }
.badge-tag { display: inline-block; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(59,130,246,0.15); color: var(--blue-bright); margin-left: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .split, .grid-2, .grid-3, .collab, .field-grid, .footer__links, .faq-grid, .guide-shell { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .footer__bottom { flex-direction: column; }
  .footer__contact { text-align: left; }
  .footer__social { justify-content: flex-start; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: flex; overflow-x: auto; gap: 6px; border-right: none; border-bottom: 1px solid var(--line); padding: 14px; }
  .admin-side a { white-space: nowrap; margin-bottom: 0; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .section { padding: 70px 0; }
  .container { padding: 0 20px; }
  .hero { padding: 50px 0 30px; }
  .stat-row, .hero__stats { flex-wrap: wrap; gap: 24px; }
  .admin-main { padding: 24px 18px; }
}

/* ==========================================================================
   Icons, effects, motion, chat widget, auth modal, upload controls
   ========================================================================== */

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* brand mark can hold text or an uploaded logo image */
.brand__mark { overflow: hidden; }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }

/* image hover-zoom used on every media block */
.media-zoom { position: relative; overflow: hidden; }
.media-zoom img { transition: transform 0.7s cubic-bezier(.16,1,.3,1), filter 0.7s ease; }
.media-zoom:hover img { transform: scale(1.06); filter: brightness(1.05); }
.media-zoom::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,7,13,0.55) 100%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.media-zoom:hover::after { opacity: 1; }

/* ambient background glow, animated */
.hero__glow, .hero__glow-2 { animation: gfxFloat 9s ease-in-out infinite; }
.hero__glow-2 {
  position: absolute; left: -160px; bottom: -220px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(212,175,55,0.16), transparent 65%);
  pointer-events: none; animation-delay: 2.4s;
}
@keyframes gfxFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-16px, 18px) scale(1.05); }
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* staggered entrance for grid items — each card in a row animates in
   slightly after the previous one, for a more deliberate, premium feel */
.grid-2 > *, .grid-3 > *, .pricing-grid > *, .pillar-grid > *,
.feature-circle-grid > *, .venue-grid > *, .guide-hub-rest > * {
  opacity: 0;
  animation: gfxCardIn 0.6s cubic-bezier(.16,1,.3,1) forwards;
  animation-play-state: paused;
}
.reveal.is-visible .grid-2 > *,
.reveal.is-visible .grid-3 > *,
.reveal.is-visible .pricing-grid > *,
.reveal.is-visible .pillar-grid > *,
.reveal.is-visible .feature-circle-grid > *,
.reveal.is-visible .venue-grid > *,
.reveal.is-visible .guide-hub-rest > * {
  animation-play-state: running;
}
.grid-2 > *:nth-child(1), .grid-3 > *:nth-child(1), .pricing-grid > *:nth-child(1), .pillar-grid > *:nth-child(1), .feature-circle-grid > *:nth-child(1), .venue-grid > *:nth-child(1), .guide-hub-rest > *:nth-child(1) { animation-delay: 0.05s; }
.grid-2 > *:nth-child(2), .grid-3 > *:nth-child(2), .pricing-grid > *:nth-child(2), .pillar-grid > *:nth-child(2), .feature-circle-grid > *:nth-child(2), .venue-grid > *:nth-child(2), .guide-hub-rest > *:nth-child(2) { animation-delay: 0.15s; }
.grid-2 > *:nth-child(3), .grid-3 > *:nth-child(3), .pricing-grid > *:nth-child(3), .pillar-grid > *:nth-child(3), .feature-circle-grid > *:nth-child(3), .venue-grid > *:nth-child(3), .guide-hub-rest > *:nth-child(3) { animation-delay: 0.25s; }
.grid-2 > *:nth-child(4), .grid-3 > *:nth-child(4) { animation-delay: 0.35s; }
@keyframes gfxCardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* button + card polish */
.btn { transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255,255,255,0.25); }
.btn--blue:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(59,130,246,0.55); }
.btn--ghost:hover { transform: translateY(-2px); }
.card { transition: transform 0.35s cubic-bezier(.16,1,.3,1), border-color 0.35s ease, box-shadow 0.35s ease; }
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.feature-card { transition: transform 0.3s ease; }
.feature-card:hover { transform: translateY(-4px); }
.feature-card:hover .feature-card__icon { border-color: var(--blue); color: var(--blue-bright); background: rgba(59,130,246,0.1); }
.feature-card__icon { color: var(--text-mid); transition: all 0.25s ease; }
.chat-fab { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.chat-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 34px -10px rgba(59,130,246,0.6); }

/* nav account chip */
.nav__account { display: flex; align-items: center; gap: 10px; }
.nav__account .avatar-chip {
  width: 32px; height: 32px; border-radius: 50%; background: var(--blue-dim);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--blue-bright);
}
.nav__account span.hi { font-size: 14px; color: var(--text-mid); }
.nav__account a.logout { font-size: 13px; color: var(--text-low); }
.nav__account a.logout:hover { color: #ff8383; }

/* ---------------- Auth modal ---------------- */
.gfx-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(3,5,10,0.72); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.gfx-overlay.is-open { display: flex; }
.gfx-modal {
  width: 100%; max-width: 400px;
  background: var(--bg-navy-2); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); padding: 36px;
  box-shadow: var(--shadow-1);
  animation: gfxPop 0.25s cubic-bezier(.16,1,.3,1);
}
@keyframes gfxPop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.gfx-modal__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.gfx-modal__close { background: transparent; border: none; color: var(--text-low); font-size: 20px; line-height: 1; }
.gfx-modal__close:hover { color: var(--text-hi); }
.gfx-modal h3 { font-size: 22px; margin-bottom: 6px; }
.gfx-modal > p.sub { color: var(--text-mid); font-size: 14px; margin-bottom: 24px; }
.gfx-modal .admin-field { margin-bottom: 16px; }
.gfx-modal .admin-field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-low); margin-bottom: 8px; }
.gfx-modal__switch { text-align: center; margin-top: 18px; font-size: 14px; color: var(--text-mid); }
.gfx-modal__switch a { color: var(--blue-bright); font-weight: 600; }
.gfx-modal__error { color: #ff8383; font-size: 13px; min-height: 18px; margin-top: 6px; }

/* ---------------- AI chat widget ---------------- */
.gfx-chat {
  position: fixed; right: 26px; bottom: 96px; z-index: 210;
  width: 380px; max-width: calc(100vw - 40px);
  height: 520px; max-height: calc(100vh - 140px);
  background: var(--bg-navy-2); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  display: none; flex-direction: column; overflow: hidden;
  animation: gfxPop 0.22s cubic-bezier(.16,1,.3,1);
}
.gfx-chat.is-open { display: flex; }
.gfx-chat__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.gfx-chat__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #7c3aed);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; flex-shrink: 0;
}
.gfx-chat__head b { display: block; font-size: 15px; }
.gfx-chat__head span { font-size: 12px; color: var(--text-low); }
.gfx-chat__close { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-mid); display: flex; align-items: center; justify-content: center; }
.gfx-chat__close:hover { color: var(--text-hi); border-color: var(--blue); }
.gfx-chat__body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.gfx-chat__welcome { margin: auto; text-align: center; max-width: 260px; }
.gfx-chat__welcome .gfx-chat__avatar { margin: 0 auto 18px; width: 52px; height: 52px; font-size: 22px; }
.gfx-chat__welcome h4 { font-size: 17px; margin-bottom: 8px; }
.gfx-chat__welcome p { color: var(--text-mid); font-size: 13px; }
.gfx-msg { max-width: 84%; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.gfx-msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.gfx-msg--bot { align-self: flex-start; background: var(--bg-navy-3); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.gfx-chat__foot { border-top: 1px solid var(--line); padding: 14px 16px 12px; }
.gfx-chat__inputrow { display: flex; align-items: center; gap: 10px; background: var(--bg-navy); border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 6px 6px 6px 16px; }
.gfx-chat__inputrow input { flex: 1; background: transparent; border: none; color: var(--text-hi); font-size: 14px; font-family: inherit; }
.gfx-chat__inputrow input:focus { outline: none; }
.gfx-chat__send { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); border: none; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gfx-chat__send:hover { background: #2f6fe0; }
.gfx-chat__hint { text-align: center; font-size: 11px; color: var(--text-low); margin-top: 10px; }
.gfx-typing { display: flex; gap: 4px; padding: 4px 2px; }
.gfx-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-low); animation: gfxTyping 1.1s infinite ease-in-out; }
.gfx-typing span:nth-child(2) { animation-delay: 0.15s; }
.gfx-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes gfxTyping { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

@media (max-width: 480px) {
  .gfx-chat { right: 14px; left: 14px; width: auto; bottom: 90px; }
}

/* ---------------- Admin image upload controls ---------------- */
.upload-row { display: flex; gap: 12px; align-items: center; }
.upload-row .input { flex: 1; }
.upload-btn {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: var(--r-sm);
  background: var(--bg-navy-3); border: 1px solid var(--line-strong);
  color: var(--text-mid); font-size: 13px; font-weight: 600; position: relative; overflow: hidden;
}
.upload-btn:hover { border-color: var(--blue); color: var(--blue-bright); }
.upload-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-preview {
  margin-top: 10px; width: 100%; max-width: 220px; aspect-ratio: 16/10;
  border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-navy); position: relative;
}
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview.is-avatar { aspect-ratio: 1/1; max-width: 90px; border-radius: 50%; }

/* ==========================================================================
   Image slideshow with soft vignette blend (Authority section, Academy page)
   ========================================================================== */
.authority-slider {
  position: relative;
  aspect-ratio: 5/4;
  min-height: 320px;
}
.authority-slider__frame {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.6s ease, transform 6s ease;
  -webkit-mask-image: radial-gradient(ellipse 76% 76% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 76% at 50% 50%, #000 58%, transparent 100%);
}
.authority-slider__frame img { width: 100%; height: 100%; object-fit: cover; }
.authority-slider__frame.is-active { opacity: 1; transform: scale(1); z-index: 2; }
.authority-slider__frame.img-fallback img { display: none; }
.authority-slider__frame.img-fallback {
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(59,130,246,0.28), transparent 100%);
}
.authority-slider__dots {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 3;
}
.authority-slider__dots span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: background 0.3s ease, width 0.3s ease;
}
.authority-slider__dots span.is-active { background: var(--blue-bright); width: 18px; border-radius: 4px; }

/* ---------------- Academy page ---------------- */
.academy-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: 1200px; margin: 0 auto; gap: 24px;
}
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--text-mid); font-size: 15px; font-weight: 500; }
.breadcrumb:hover { color: var(--text-hi); }
.crumb-sep { color: var(--line-strong); }
.academy-crumb-left { display: flex; align-items: center; gap: 14px; }

.academy-hero { padding: 90px 0 40px; text-align: center; }
.academy-hero h1 { font-size: clamp(38px, 6.4vw, 84px); }
.academy-hero .lineD { background: var(--grad-headline); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.academy-hero .lede { color: var(--text-mid); max-width: 60ch; margin: 26px auto 0; font-size: 17px; }
.academy-hero__tag { margin-top: 40px; font-size: 13px; letter-spacing: 0.18em; color: var(--text-low); font-weight: 600; }
.academy-classroom { padding: 50px 0 0; }
.academy-classroom .authority-slider { aspect-ratio: 21/9; max-width: 1200px; margin: 0 auto; border-radius: var(--r-lg); }
.academy-classroom .authority-slider__frame { -webkit-mask-image: none; mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%); border-radius: var(--r-lg); overflow: hidden; }

.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 60px; }
.venue-card { background: var(--bg-navy-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; }
.venue-card h3 { font-size: 26px; margin-bottom: 14px; }
.venue-card p { color: var(--text-mid); font-size: 15px; margin-bottom: 22px; }
.venue-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.venue-card li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-mid); font-size: 14px; }
.venue-card li .icon { color: var(--blue-bright); flex-shrink: 0; margin-top: 3px; }

.feature-circle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.feature-circle {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--bg-navy-3); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--text-hi);
  transition: all 0.25s ease;
}
.feature-circle-item:hover .feature-circle { border-color: var(--blue); background: rgba(59,130,246,0.12); color: var(--blue-bright); }
.feature-circle-item h3 { font-size: 19px; margin-bottom: 10px; }
.feature-circle-item p { color: var(--text-mid); font-size: 15px; max-width: 32ch; margin: 0 auto; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.pricing-card {
  background: var(--bg-navy-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; display: flex; flex-direction: column;
}
.pricing-card.is-popular {
  background: linear-gradient(165deg, #1b58d6, #0e2f74);
  border-color: transparent;
  box-shadow: 0 24px 60px -20px rgba(59,130,246,0.55);
  transform: translateY(-10px);
}
.pricing-tag {
  display: inline-flex; align-self: flex-start;
  padding: 6px 14px; border-radius: var(--r-pill); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
  background: rgba(255,255,255,0.08); color: var(--text-mid); margin-bottom: 18px;
}
.pricing-card.is-popular .pricing-tag { background: rgba(255,255,255,0.18); color: #fff; }
.pricing-card h3 { font-size: 26px; margin-bottom: 6px; }
.pricing-card > p.blurb { color: var(--text-mid); font-size: 14px; margin-bottom: 22px; }
.pricing-card.is-popular > p.blurb { color: rgba(255,255,255,0.75); }
.pricing-price { font-family: var(--font-display); font-size: 42px; font-weight: 800; margin-bottom: 26px; }
.pricing-list { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pricing-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-mid); font-weight: 500; }
.pricing-card.is-popular .pricing-list li { color: rgba(255,255,255,0.92); }
.pricing-list li .icon { color: var(--blue-bright); flex-shrink: 0; margin-top: 3px; }
.pricing-card.is-popular .pricing-list li .icon { color: #fff; }
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-card.is-popular .btn--ghost { background: #fff; color: #0a0f1e; border-color: transparent; }

@media (max-width: 860px) {
  .venue-grid, .feature-circle-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.is-popular { transform: none; }
  .academy-nav__inner .nav__links { display: none; }
}

/* ---------------- Settings quick-logo card ---------------- */
.settings-logo-row { display: flex; align-items: center; gap: 20px; }
.settings-logo-row .upload-preview { margin-top: 0; }

/* ==========================================================================
   Coaching page
   ========================================================================== */
.coaching-hero { padding: 90px 0 60px; text-align: center; }
.coaching-hero h1 { font-size: clamp(38px, 6.4vw, 78px); }
.coaching-hero .lineD { font-style: italic; color: var(--text-low); }
.coaching-hero .lede { color: var(--text-mid); max-width: 62ch; margin: 26px auto 0; font-size: 17px; }
.coaching-hero__tag { margin-top: 20px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-low); font-weight: 700; }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.pillar-card {
  background: var(--bg-navy-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; min-height: 260px; display: flex; flex-direction: column;
}
.pillar-card.is-blue { background: linear-gradient(165deg, #1b58d6, #0e2f74); border-color: transparent; }
.pillar-tag {
  display: inline-flex; align-self: flex-start; padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
  background: rgba(59,130,246,0.12); color: var(--blue-bright); border: 1px solid rgba(59,130,246,0.3); margin-bottom: 22px;
}
.pillar-card.is-blue .pillar-tag { background: rgba(255,255,255,0.18); color: #fff; border-color: transparent; }
.pillar-icon-circle {
  width: 64px; height: 64px; border-radius: 50%; margin-bottom: auto; align-self: flex-end;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3);
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--blue-bright);
  position: absolute; top: 30px; right: 30px;
}
.pillar-card { position: relative; }
.pillar-card h3 { font-size: 24px; margin: auto 0 12px; }
.pillar-card p { color: var(--text-mid); font-size: 14px; }
.pillar-card.is-blue p { color: rgba(255,255,255,0.8); }
.pillar-badges { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.pillar-badge { padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,0.15); font-size: 12px; font-weight: 700; color: #fff; }

.session-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
  padding: 70px 0; min-height: 60vh;
}
.session-row:first-child { padding-top: 20px; }
.session-left { position: sticky; top: 120px; }
.session-eyebrow { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-low); font-weight: 700; margin-bottom: 10px; }
.session-heading { font-size: 34px; margin-bottom: 40px; }
.session-tag { display: inline-flex; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.3); color: var(--blue-bright); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 18px; }
.session-title { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.session-body { color: var(--text-mid); font-size: 16px; max-width: 44ch; }
.session-card {
  position: sticky; top: 120px;
  background: var(--bg-navy-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 60px 40px; text-align: center;
}
.session-card__label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-low); margin-bottom: 20px; }
.session-card__number {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(70px, 9vw, 120px);
  background: linear-gradient(180deg, #fff, #6b7387); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.session-card__tag { display: inline-flex; margin-top: 24px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--bg-navy-3); border: 1px solid var(--line-strong); font-size: 12px; font-weight: 700; color: var(--text-mid); letter-spacing: 0.04em; }

.elite-banner { text-align: center; padding: 100px 0 60px; }
.elite-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: var(--r-pill);
  background: var(--bg-navy-2); border: 1px solid var(--line-strong); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mid);
}
.elite-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,0.25); }
.elite-banner h2 { font-size: clamp(34px, 5.4vw, 64px); margin-top: 22px; }
.elite-banner .lineD { font-style: italic; background: var(--grad-headline); -webkit-background-clip: text; background-clip: text; color: transparent; }

.package-card {
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 0;
  background: var(--bg-navy-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 60px;
}
.package-left { padding: 48px; }
.package-left h3 { font-size: 32px; }
.package-left .tagline { color: var(--blue-bright); font-weight: 600; margin: 8px 0 30px; }
.package-feature { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.package-feature__check {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(59,130,246,0.15); color: var(--blue-bright);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.package-feature b { display: block; font-size: 15px; margin-bottom: 4px; }
.package-feature span { color: var(--text-mid); font-size: 14px; }
.package-right {
  background: var(--bg-navy-3); padding: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.package-right .note { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-low); margin-bottom: 16px; }
.package-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 6vw, 68px); margin-bottom: 30px; }
.package-right .btn { width: 100%; justify-content: center; }
.package-right .security { margin-top: 18px; font-size: 12px; color: var(--text-low); display: flex; align-items: center; gap: 6px; }

@media (max-width: 860px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .session-row { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .session-left, .session-card { position: static; }
  .package-card { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Live Session — lock screen & plan picker
   ========================================================================== */
.livesession-hero { padding: 90px 0 50px; text-align: center; }
.livesession-hero h1 { font-size: clamp(36px, 5.6vw, 60px); }
.livesession-hero p { color: var(--text-mid); max-width: 60ch; margin: 22px auto 0; font-size: 17px; }

.lock-card {
  max-width: 620px; margin: 0 auto; text-align: center;
  background: var(--bg-navy-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 60px 44px;
}
.lock-card__icon {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 28px;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3);
  display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--blue-bright);
}
.lock-card h2 { font-size: 26px; margin-bottom: 16px; }
.lock-card p { color: var(--text-mid); font-size: 15px; max-width: 46ch; margin: 0 auto 30px; }

.unlocked-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: linear-gradient(165deg, #1b58d6, #0e2f74); border-radius: var(--r-lg);
  padding: 60px 44px;
}
.unlocked-card__icon {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 28px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff;
}
.unlocked-card h2 { font-size: 26px; margin-bottom: 16px; }
.unlocked-card p { color: rgba(255,255,255,0.85); font-size: 15px; max-width: 48ch; margin: 0 auto 30px; }
.unlocked-card .btn--primary { background: #fff; }

.plans-wrap { margin-top: 60px; }
.plans-wrap .head-block h2 { font-size: 30px; }
.plan-card-cta { width: 100%; justify-content: center; margin-top: auto; }

.confirmation-card {
  max-width: 560px; margin: 60px auto 0; text-align: center;
  background: var(--bg-navy-2); border: 1px solid rgba(61,220,151,0.35); border-radius: var(--r-lg);
  padding: 50px 40px;
}
.confirmation-card__icon {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 22px;
  background: rgba(61,220,151,0.12); border: 1px solid rgba(61,220,151,0.35);
  display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--green);
}
.confirmation-card h3 { font-size: 22px; margin-bottom: 14px; }
.confirmation-card p { color: var(--text-mid); font-size: 15px; max-width: 40ch; margin: 0 auto; }

/* ==========================================================================
   Trading Guide — topic hub grid + article page
   ========================================================================== */
.guide-hub-hero { padding: 70px 0 20px; text-align: center; }
.guide-hub-hero h1 { font-size: clamp(34px, 5vw, 54px); }
.guide-hub-hero p { color: var(--text-mid); max-width: 60ch; margin: 18px auto 0; font-size: 16px; }

.guide-hub-featured { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 50px; }
.guide-hub-rest { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }

.guide-card {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  min-height: 420px; border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.guide-hub-rest .guide-card { min-height: 340px; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.guide-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.guide-card:hover .guide-card__img { transform: scale(1.05); }
.guide-card__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,13,0.05) 30%, rgba(5,7,13,0.92) 100%); }
.guide-card__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 30px; }
.guide-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.guide-card__tag {
  padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff;
}
.guide-card__readtime { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.04em; }
.guide-card h3 { color: #fff; font-size: 24px; line-height: 1.2; margin-bottom: 10px; }
.guide-hub-rest .guide-card h3 { font-size: 21px; }
.guide-card p.excerpt { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.5; }

.guide-article-hero { padding: 60px 0 0; }
.guide-article-hero__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; margin-top: 30px; border: 1px solid var(--line); }
.guide-article-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.guide-article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.guide-back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-mid); font-size: 14px; margin-bottom: 26px; }
.guide-back-link:hover { color: var(--text-hi); }
.guide-article-hero h1 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 20px; max-width: 20ch; }
.guide-article-body { max-width: 74ch; margin: 50px auto 0; }
.guide-article-body p { color: var(--text-mid); font-size: 17px; line-height: 1.8; margin-bottom: 24px; }
.guide-takeaways {
  max-width: 74ch; margin: 20px auto 0; background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.25);
  border-radius: var(--r-lg); padding: 32px 36px;
}
.guide-takeaways h4 { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 18px; }
.guide-takeaways ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.guide-takeaways li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-mid); font-size: 15px; }
.guide-takeaways li .icon { color: var(--blue-bright); flex-shrink: 0; margin-top: 3px; }
.guide-article-cta { max-width: 74ch; margin: 50px auto 0; text-align: center; }

@media (max-width: 860px) {
  .guide-hub-featured, .guide-hub-rest { grid-template-columns: 1fr; }
  .guide-card { min-height: 340px; }
}


/* ==========================================================================
   Account — sign in / sign up (full-page, /account/)
   ========================================================================== */
.account-page { min-height: 100vh; background: var(--bg-navy); padding: 40px 24px 100px; }
.account-shell { max-width: 620px; margin: 0 auto; }

.account-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 52px; }
.account-topbar .back-link { color: var(--text-mid); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.account-topbar .back-link:hover { color: var(--text-hi); }
.account-brand { font-weight: 800; letter-spacing: 0.08em; color: var(--text-hi); font-size: 14px; text-transform: uppercase; }

.account-stepper { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 52px; }
.account-step { flex: 1; text-align: center; position: relative; }
.account-step:not(:last-child)::after {
  content: ""; position: absolute; top: 18px; left: 50%; width: 100%; height: 2px;
  background: var(--bg-navy-3); z-index: 0;
}
.account-step.is-done:not(:last-child)::after { background: var(--blue-dim); }
.account-step__circle {
  width: 36px; height: 36px; border-radius: 50%; background: var(--bg-navy-2);
  border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--text-low); margin: 0 auto 10px; position: relative; z-index: 1; font-size: 14px;
}
.account-step.is-active .account-step__circle { background: var(--blue); color: #fff; box-shadow: 0 0 0 4px var(--blue-dim); }
.account-step.is-done .account-step__circle { background: var(--bg-navy-3); color: var(--green); border-color: var(--green); }
.account-step__label { font-size: 12px; color: var(--text-low); }
.account-step.is-active .account-step__label, .account-step.is-done .account-step__label { color: var(--text-hi); }

.account-heading { font-size: clamp(28px, 5vw, 36px); font-weight: 800; margin-bottom: 10px; }
.account-sub { color: var(--text-mid); font-size: 15px; margin-bottom: 32px; line-height: 1.6; }
.account-sub b { color: var(--text-hi); }

.account-row { display: flex; gap: 16px; }
.account-row .admin-field { flex: 1; }

.otp-row { display: flex; gap: 10px; margin-bottom: 28px; }
.otp-box {
  width: 100%; max-width: 58px; height: 64px; text-align: center; font-size: 24px; font-weight: 700;
  background: var(--bg-navy-2); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; color: var(--text-hi);
}
.otp-box:focus { outline: none; border-color: var(--blue); }

.account-links-row { text-align: center; margin-top: 18px; font-size: 14px; }
.account-links-row a { color: var(--blue-bright); font-weight: 600; }
.account-links-row a + a { margin-left: 18px; }
.account-switch { text-align: center; margin-top: 30px; font-size: 14px; color: var(--text-mid); }
.account-switch a { color: var(--blue-bright); font-weight: 600; }
.account-error { color: #ff8383; font-size: 13px; min-height: 18px; margin: -8px 0 14px; }
.account-result-box {
  background: var(--bg-navy-2); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
  padding: 18px 20px; font-size: 20px; font-weight: 700; color: var(--text-hi); margin-bottom: 28px; text-align: center;
}
.account-view[hidden] { display: none; }

.account-banner {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 999;
  max-width: 540px; width: calc(100% - 40px); background: var(--bg-navy-2); border: 1px solid var(--blue-dim);
  border-left: 4px solid var(--blue); border-radius: 12px; padding: 16px 20px; color: var(--text-hi);
  font-size: 14px; line-height: 1.5; box-shadow: 0 10px 40px rgba(0,0,0,0.45); display: flex; gap: 14px; align-items: flex-start;
}
.account-banner button { background: none; border: none; color: var(--text-low); font-size: 18px; cursor: pointer; line-height: 1; flex-shrink: 0; }
.account-banner button:hover { color: var(--text-hi); }

@media (max-width: 560px) {
  .account-row { flex-direction: column; gap: 0; }
  .otp-box { height: 54px; font-size: 20px; }
}

/* ---------------- Admin: members table ---------------- */
.admin-table { width: 100%; border-collapse: collapse; background: var(--bg-navy-2); border-radius: var(--r-md); overflow: hidden; }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.admin-table th { color: var(--text-low); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.admin-table td { color: var(--text-mid); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table-wrap { overflow-x: auto; }
