/* ==========================================================================
   EarnediT Forex — Academy for Traders
   Navy · Gold · White
   ========================================================================== */

:root {
  --navy-950: #061226;
  --navy-900: #081a33;
  --navy-800: #0b2247;
  --navy-700: #123063;
  --navy-600: #1b3f80;
  --navy-500: #2b5394;

  --gold: #c9a227;
  --gold-strong: #b08a14;
  --gold-soft: #e5c665;
  --gold-pale: #f3e3b5;
  --gold-wash: #faf3df;

  --white: #ffffff;
  --off-white: #f6f8fb;
  --ink: #1c2436;
  --muted: #5b6b84;
  --line: #e3e8f0;
  --danger: #d64545;
  --success: #1e9e6a;

  --grad-navy: linear-gradient(135deg, #0b2247 0%, #081a33 55%, #061226 100%);
  --grad-gold: linear-gradient(135deg, #e5c665 0%, #c9a227 60%, #b08a14 100%);

  --shadow-sm: 0 4px 14px rgba(8, 26, 51, 0.08);
  --shadow-md: 0 12px 30px rgba(8, 26, 51, 0.12);
  --shadow-lg: 0 24px 60px rgba(6, 18, 38, 0.18);
  --shadow-gold: 0 10px 26px rgba(201, 162, 39, 0.35);

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --font-head: "Lexend Deca", sans-serif;
  --font-body: "Hind", sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--gold-strong); }
img { max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 88px; }
.section-alt { background: var(--off-white); }
.section-navy { background: var(--grad-navy); color: #dbe4f2; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.section-navy .kicker { color: var(--gold-soft); }

.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.section-navy .sec-head p { color: #b9c7dd; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-head.center .kicker::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1.2;
}
.btn-gold { background: var(--grad-gold); color: var(--navy-900); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); color: var(--navy-900); box-shadow: 0 14px 30px rgba(201, 162, 39, 0.45); }
.btn-navy { background: var(--grad-navy); color: var(--white); }
.btn-navy:hover { transform: translateY(-2px); color: var(--gold-soft); box-shadow: var(--shadow-md); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--grad-gold); color: var(--navy-900); border-color: var(--gold); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { background: var(--gold-pale); color: var(--navy-900); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #c6d2e6; font-size: 0.88rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-group { display: flex; gap: 22px; }
.topbar-item i { color: var(--gold); margin-right: 7px; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar-link { color: #c6d2e6; }
.topbar-link i { color: var(--gold); margin-right: 6px; }
.topbar-link:hover { color: var(--gold-soft); }
@media (max-width: 760px) {
  .topbar-inner { flex-direction: column; padding-block: 8px; gap: 6px; }
  .topbar-group { flex-wrap: wrap; justify-content: center; gap: 14px; }
}

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-navy);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 162, 39, 0.35);
}
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; color: var(--navy-900); letter-spacing: -0.02em; }
.brand-text span { color: var(--gold-strong); }
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy-800);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-strong); border-bottom-color: var(--gold); }
.nav-actions { display: flex; gap: 10px; }
nav .btn { padding: 10px 18px; }
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; border-radius: 8px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2.5px; background: var(--navy-900); border-radius: 2px; transition: 0.3s; }
@media (max-width: 1024px) {
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: var(--navy-900);
    flex-direction: column; gap: 0; padding: 90px 26px 26px;
    transform: translateX(100%); transition: transform 0.32s ease;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: #dbe4f2; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 15px 2px; }
  .main-nav a:hover, .main-nav a.active { color: var(--gold-soft); border-bottom-color: var(--gold); }
  .nav-scrim { position: fixed; inset: 0; background: rgba(6,18,38,0.5); opacity: 0; visibility: hidden; transition: 0.25s; z-index: 90; }
  .nav-scrim.show { opacity: 1; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-navy); color: #dbe4f2; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 88% 12%, rgba(201, 162, 39, 0.14), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(27, 63, 128, 0.55), transparent 65%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; padding-block: 84px 96px; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); letter-spacing: -0.02em; }
.hero h1 .hl { color: var(--gold-soft); position: relative; display: inline-block; }
.hero .lead { color: #b9c7dd; font-size: 1.12rem; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; color: #b9c7dd; font-size: 0.92rem; }
.hero-trust b { color: #fff; font-family: var(--font-head); }
.hero-trust i { color: var(--gold); margin-right: 4px; }

.hero-visual { position: relative; }
.chart-card {
  background: linear-gradient(180deg, #0e2a54, #0a1f3e);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius-lg);
  padding: 26px 24px 20px;
  box-shadow: var(--shadow-lg);
}
.chart-card .cc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.chart-card .cc-title { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 0.95rem; }
.chart-card .cc-price { font-family: var(--font-head); font-weight: 700; color: var(--gold-soft); font-size: 1.3rem; }
.chart-card .cc-price small { color: #8fa5c4; font-size: 0.75rem; font-weight: 400; margin-right: 6px; }
.cc-row { display: flex; justify-content: space-between; color: #9fb2cf; font-size: 0.8rem; margin: 10px 0 14px; }
.float-badge {
  position: absolute;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 13px 17px; display: flex; align-items: center; gap: 12px;
  font-size: 0.88rem;
}
.float-badge .fb-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 1.05rem; }
.float-badge b, .float-badge small { display: block; }
.float-badge small { color: var(--muted); }
.fb-1 { top: 6%; left: -18px; }
.fb-2 { bottom: -22px; right: 8px; }
.fb-1 .fb-ico { background: var(--gold-wash); color: var(--gold-strong); }
.fb-2 .fb-ico { background: var(--navy-800); color: var(--gold-soft); }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .fb-1 { left: 0; }
}

/* ---------- Trust strip ---------- */
.trust-strip { border-block: 1px solid var(--line); background: var(--white); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 26px; }
.trust-strip .ts-label { font-family: var(--font-head); font-size: 0.86rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.trust-strip .ts-items { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; }
.ts-item { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 600; color: var(--navy-700); }
.ts-item i { color: var(--gold-strong); font-size: 1.1rem; }

/* ---------- Stats ---------- */
.stats-band { background: var(--grad-navy); position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; padding-block: 64px; }
.stat-num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--gold-soft); }
.stat-label { color: #b9c7dd; margin-top: 4px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.prog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex; flex-direction: column;
}
.prog-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-gold); opacity: 0; transition: opacity 0.25s ease;
}
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201, 162, 39, 0.5); }
.prog-card:hover::before { opacity: 1; }
.prog-ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--gold-wash); color: var(--gold-strong);
  display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 18px;
}
.prog-tag {
  position: absolute; top: 22px; right: 20px;
  background: var(--navy-800); color: var(--gold-soft);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 20px;
}
.prog-meta { display: flex; gap: 16px; color: var(--muted); font-size: 0.86rem; margin: 12px 0 16px; }
.prog-meta i { color: var(--gold-strong); margin-right: 5px; }
.prog-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.prog-price { font-size: 0.86rem; color: var(--muted); }
.prog-price b { font-family: var(--font-head); font-size: 1.15rem; color: var(--navy-900); }
.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--navy-800); }
.link-arrow i { color: var(--gold-strong); margin-left: 7px; transition: transform 0.2s ease; }
.prog-card:hover .link-arrow i { transform: translateX(5px); }

/* ---------- Features ---------- */
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; transition: 0.25s ease; }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-800); color: var(--gold); display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 18px; }
.feature-card h3 { font-size: 1.12rem; }

/* ---------- Steps ---------- */
.step { position: relative; padding: 30px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-gold); color: var(--navy-900);
  display: grid; place-items: center; margin-bottom: 18px;
}

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.quote-card .stars { color: var(--gold); margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote { margin: 0 0 20px; color: var(--ink); }
.quote-person { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-navy); color: var(--gold-soft);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
}
.quote-person b { display: block; color: var(--navy-900); }
.quote-person small { color: var(--muted); }

/* ---------- Webinars / insights ---------- */
.wbin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: 0.25s ease; }
.wbin-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.wbin-date {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad-navy); color: var(--gold-soft);
  padding: 12px 18px; font-family: var(--font-head); font-weight: 700;
}
.wbin-date i { font-size: 1.1rem; }
.wbin-body { padding: 22px 24px 26px; }
.wbin-body h3 { font-size: 1.12rem; }
.wbin-body p { color: var(--muted); font-size: 0.96rem; }
.wbin-meta { display: flex; gap: 16px; color: var(--muted); font-size: 0.84rem; margin-bottom: 16px; }
.wbin-meta i { color: var(--gold-strong); margin-right: 5px; }

.art-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: 0.25s ease; }
.art-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.art-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.art-cat {
  align-self: flex-start; background: var(--gold-wash); color: var(--gold-strong);
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 5px 11px; border-radius: 20px; margin-bottom: 12px;
}
.art-body h3 { font-size: 1.08rem; }
.art-body p { color: var(--muted); font-size: 0.95rem; }
.art-foot { margin-top: auto; color: var(--muted); font-size: 0.84rem; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-gold); padding: 64px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { color: var(--navy-900); margin: 0 0 8px; }
.cta-inner p { color: rgba(8, 26, 51, 0.78); margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad-navy); color: #dbe4f2; padding: 64px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,39,0.18), transparent 65%); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.page-hero h1 .hl { color: var(--gold-soft); }
.page-hero p { color: #b9c7dd; max-width: 62ch; }
.breadcrumb { font-size: 0.86rem; color: #8fa5c4; margin-bottom: 14px; }
.breadcrumb a { color: var(--gold-soft); }

/* ---------- About page extras ---------- */
.value-ico { font-size: 1.4rem; color: var(--gold-strong); margin-bottom: 12px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.team-card .avatar { width: 74px; height: 74px; font-size: 1.4rem; margin: 0 auto 14px; }
.mission-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.risk-panel {
  background: var(--gold-wash); border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: var(--radius-lg); padding: 26px 30px;
}
.risk-panel h3 { font-size: 1.05rem; }
.risk-panel p { font-size: 0.94rem; color: rgba(8,26,51,0.85); margin: 0; }

/* ---------- Programs page ---------- */
.plan-ribbon {
  background: var(--navy-900); color: var(--gold-soft);
  display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 12px; font-weight: 600;
}
.curriculum li {
  padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 0.96rem;
}
.curriculum li i { color: var(--gold-strong); margin-right: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px; cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--navy-900);
}
.faq-q i { color: var(--gold-strong); transition: transform 0.25s ease; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 20px 18px; margin: 0; color: var(--muted); font-size: 0.96rem; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Contact ---------- */
.contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .contact-methods { grid-template-columns: 1fr; } }
.cm-card { background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.cm-card i { color: var(--gold-strong); font-size: 1.4rem; margin-bottom: 12px; }
.cm-card b { display: block; margin-bottom: 4px; color: var(--navy-900); font-family: var(--font-head); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--navy-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.98rem; color: var(--ink); background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}
.map-box {
  border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden;
  background: var(--grad-navy); color: #c6d2e6;
  display: grid; place-items: center; min-height: 220px; text-align: center; padding: 20px;
}
.map-box i { font-size: 2rem; color: var(--gold); margin-bottom: 10px; }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: calc(100vh - 120px); display: grid; place-items: center; background: var(--grad-navy); padding: 40px 20px; position: relative; overflow: hidden; }
.auth-wrap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 85% 8%, rgba(201,162,39,0.16), transparent 60%); }
.auth-card { width: 100%; max-width: 480px; background: #fff; border-radius: var(--radius-lg); padding: 40px 38px; box-shadow: var(--shadow-lg); position: relative; }
.auth-card h1 { font-size: 1.6rem; }
.auth-card .lead { color: var(--muted); font-size: 0.96rem; }
.auth-alt { margin-top: 20px; text-align: center; font-size: 0.92rem; color: var(--muted); }
.auth-alt a { color: var(--gold-strong); font-weight: 600; }
.demo-note { background: var(--gold-wash); border: 1px dashed rgba(201,162,39,0.6); border-radius: 10px; padding: 12px 14px; font-size: 0.85rem; color: rgba(8,26,51,0.85); margin-bottom: 20px; }
.demo-note b { color: var(--gold-strong); }
.alert-msg { display: none; background: #fdecea; color: var(--danger); border: 1px solid #f5c6c0; border-radius: 10px; padding: 12px 14px; font-size: 0.9rem; margin-bottom: 16px; }
.alert-msg.show { display: block; }
.alert-msg.show.ok { background: #eafaf3; color: #0e8a5f; border: 1px solid #bfe9d5; }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 46px; }
.pass-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1rem; }

/* ---------- Dashboard ---------- */
.dash { background: var(--off-white); min-height: 100vh; }
.dash-head { background: var(--navy-900); color: #c6d2e6; position: sticky; top: 0; z-index: 50; }
.dash-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.dash-title { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.05rem; }
.dash-title i { color: var(--gold); margin-right: 9px; }
.dash-user { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.dash-user .avatar { width: 36px; height: 36px; font-size: 0.9rem; }
.dash-body { display: grid; grid-template-columns: 260px 1fr; gap: 26px; padding: 30px 0 60px; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.dash-side { position: sticky; top: 84px; align-self: start; }
.dash-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; color: var(--navy-700); font-family: var(--font-head); font-weight: 500; font-size: 0.94rem; margin-bottom: 4px; }
.dash-nav a i { width: 20px; color: var(--gold-strong); text-align: center; }
.dash-nav a:hover, .dash-nav a.active { background: var(--off-white); color: var(--gold-strong); }
.dash-main h1 { font-size: 1.6rem; }
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat-tile .st-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-wash); color: var(--gold-strong); display: grid; place-items: center; font-size: 1.05rem; margin-bottom: 12px; }
.stat-tile b { font-family: var(--font-head); font-size: 1.35rem; color: var(--navy-900); display: block; }
.stat-tile small { color: var(--muted); }
@media (max-width: 980px) { .stat-tiles { grid-template-columns: repeat(2, 1fr); } }
.dash-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 22px; }
.dash-card h2 { font-size: 1.12rem; }
.progress-list li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.progress-list li:last-child { border-bottom: 0; }
.prog-bar { flex: 1; height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; }
.prog-bar span { display: block; height: 100%; border-radius: 6px; background: var(--grad-gold); }
.progress-list .pct { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); font-size: 0.9rem; }
.lessons-item { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lessons-item:last-child { border-bottom: 0; }
.lessons-item .ls-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--off-white); color: var(--gold-strong); display: grid; place-items: center; flex-shrink: 0; }
.lessons-item b { display: block; color: var(--navy-900); }
.lessons-item small { color: var(--muted); }
@media (max-width: 900px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .dash-nav { display: flex; overflow-x: auto; padding: 8px; }
  .dash-nav a { white-space: nowrap; margin: 0 4px 0 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #aebcd4; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 60px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.footer-col a { display: block; color: #aebcd4; padding: 5px 0; font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold-soft); }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text span { color: var(--gold); }
.footer-about { color: #aebcd4; font-size: 0.96rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.06); color: #dbe4f2;
  display: grid; place-items: center; font-size: 0.95rem;
}
.socials a:hover { background: var(--grad-gold); color: var(--navy-900); }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; font-family: var(--font-body); }
.newsletter input::placeholder { color: #7d8fae; }
.footer-compliance { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 26px; font-size: 0.82rem; color: #7d8fae; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.86rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 34px; } .mt-4 { margin-top: 50px; }
.mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 34px; } .mb-4 { margin-bottom: 50px; }
.gold { color: var(--gold-strong); }
.inline-flex { display: inline-flex; align-items: center; gap: 8px; }

/* anim */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.in { opacity: 1; transform: none; }