@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --blue: #0c7ffb;
  --gold: #b8960c;
  --gold-light: #f5c711;
  --gold-bg: #faf6e8;
  --navy: #0f1729;
  --text-dark: #111218;
  --text-body: #1a1c23;
  --text-sec: #2e3038;
  --text-muted: #4a4d56;
  --bg: #ffffff;
  --bg-alt: #f7f7f5;
  --bg-warm: #faf9f6;
  --border: #e4e5e7;
  --border-s: #eeeff1;
  --green: #0f8a5f;
  --red: #c0392b;
  --shadow-s: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-m: 0 4px 20px rgba(0,0,0,0.05);
  --shadow-l: 0 12px 48px rgba(0,0,0,0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3.serif { font-family: 'Instrument Serif', serif; color: var(--text-dark); font-weight: 400; }
img { max-width: 100%; display: block; }

/* ── BANNER ── */
.site-banner {
  height: 80px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 56px;
  display: flex; align-items: center;
  padding: 0 clamp(20px, 4vw, 60px);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-s); }
.nav-inner {
  max-width: 1200px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-sec);
  text-decoration: none; letter-spacing: .3px; transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--text-dark); }
.nav-links a.active { color: var(--text-dark); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold); border-radius: 1px;
}
.nav-cta {
  padding: 9px 22px; background: var(--navy); color: #fff;
  border: none; border-radius: 5px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .4px; text-decoration: none; transition: all .2s;
}
.nav-cta:hover { background: #1a2744; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); margin: 4px 0; transition: .3s; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 56px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px; gap: 16px; box-shadow: var(--shadow-m);
  }
}

/* ── LAYOUT ── */
.w { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px); }
.sec { padding: 96px 0; }
.sec-alt { background: var(--bg-alt); }

/* ── TYPOGRAPHY ── */
.ey {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px; display: block;
}
.h1 {
  font-size: clamp(34px, 5vw, 52px); line-height: 1.12;
  color: var(--text-dark); margin-bottom: 20px;
}
.h2 {
  font-size: clamp(28px, 3.5vw, 40px); line-height: 1.15;
  color: var(--text-dark); margin-bottom: 18px;
}
.sub {
  font-size: 17px; color: var(--text-sec);
  max-width: 600px; line-height: 1.75; font-weight: 400;
}

/* ── GRID ── */
.g { display: grid; gap: 20px; margin-top: 44px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* ── CARD ── */
.cd {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 30px; transition: all .3s;
}
.cd:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.cd h3 {
  font-family: 'DM Sans', sans-serif; font-size: 16px;
  font-weight: 600; color: var(--text-dark); margin-bottom: 6px;
}
.cd p { font-size: 14px; color: var(--text-sec); line-height: 1.7; }
.cd-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 7px;
  font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.cd-num.gd { background: rgba(184,150,12,0.08); color: var(--gold); }
.cd-num.bl { background: rgba(12,127,251,0.07); color: var(--blue); }
.cd-num.nv { background: rgba(15,23,41,0.05); color: var(--navy); }

/* ── TABLE ── */
.tb {
  width: 100%; border-collapse: collapse; margin-top: 40px;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.tb thead th {
  background: var(--bg-alt); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted);
  padding: 13px 22px; text-align: left; border-bottom: 1px solid var(--border);
}
.tb td {
  padding: 14px 22px; font-size: 14px; border-bottom: 1px solid var(--border-s);
  vertical-align: top; color: var(--text-body);
}
.tb tr:last-child td { border-bottom: none; }
.tb td:first-child { font-weight: 600; color: var(--text-dark); width: 21%; }
.tg { color: var(--green); font-weight: 600; }
.tr { color: var(--red); }

/* ── STAT ROW ── */
.sr { display: grid; gap: 0; margin-top: 44px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.sr4 { grid-template-columns: repeat(4, 1fr); }
.sr3 { grid-template-columns: repeat(3, 1fr); }
.si { padding: 26px 20px; text-align: center; border-right: 1px solid var(--border); }
.si:last-child { border-right: none; }
.sv { font-family: 'Instrument Serif', serif; font-size: 30px; font-weight: 400; color: var(--text-dark); display: block; }
.sv.gd { color: var(--gold); }
.sv.bl { color: var(--blue); }
.sl { font-size: 11.5px; color: var(--text-muted); letter-spacing: .3px; margin-top: 4px; display: block; }

@media (max-width: 900px) {
  .sr4, .sr3 { grid-template-columns: 1fr 1fr; }
  .si { border-bottom: 1px solid var(--border); }
  .si:nth-child(even) { border-right: none; }
  .si:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
  .sr4, .sr3 { grid-template-columns: 1fr; }
  .si { border-right: none; border-bottom: 1px solid var(--border); }
  .si:last-child { border-bottom: none; }
}

/* ── PERF CARDS ── */
.pc {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px; position: relative; overflow: hidden;
}
.pc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.pc.t::before { background: var(--gold); }
.pc.s::before { background: var(--blue); }
.pl { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 22px; }
.pc.t .pl { color: var(--gold); }
.pc.s .pl { color: var(--blue); }
.pr { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-s); font-size: 14px; }
.pr:last-child { border-bottom: none; }
.pk { color: var(--text-sec); }
.pv { font-weight: 600; color: var(--text-dark); }

/* ── HIGHLIGHT ── */
.hl { padding: 24px 28px; border-radius: 10px; margin-top: 28px; font-size: 14px; line-height: 1.7; }
.hl-g { background: var(--gold-bg); border-left: 3px solid var(--gold); }
.hl-b { background: rgba(12,127,251,0.04); border-left: 3px solid var(--blue); }
.hl-n { background: var(--bg-alt); border-left: 3px solid var(--navy); }

/* ── CTA BOX ── */
.cta-box {
  background: var(--navy); border-radius: 14px; padding: 52px;
  text-align: center; margin-top: 56px; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue), var(--gold));
}
.cta-box h2 { color: #fff; margin-bottom: 10px; }
.cta-box p { color: rgba(255,255,255,0.7); font-size: 15px; margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.btn-g {
  display: inline-block; padding: 13px 36px; background: var(--gold-light);
  color: var(--navy); border-radius: 5px; font-size: 13.5px; font-weight: 700;
  letter-spacing: .4px; text-decoration: none; transition: all .2s;
}
.btn-g:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-o {
  display: inline-block; padding: 13px 36px; background: transparent;
  color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 5px; font-size: 13.5px; font-weight: 500;
  text-decoration: none; transition: all .2s; margin-left: 10px;
}
.btn-o:hover { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-secondary {
  display: inline-block; padding: 13px 32px; background: var(--bg-alt);
  color: var(--text-dark); border-radius: 5px; font-size: 13.5px;
  font-weight: 600; text-decoration: none; border: 1px solid var(--border); transition: all .2s;
}
.btn-secondary:hover { border-color: var(--text-muted); }

/* ── TEAM ── */
.tc { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all .3s; }
.tc:hover { box-shadow: var(--shadow-m); }
.tc img { width: 100%; height: auto; max-height: 400px; object-fit: contain; object-position: center; background: var(--bg-alt); }
.tc-b { padding: 24px; }
.tc-b h3 { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.tc-b .role { font-size: 12.5px; font-weight: 600; color: var(--gold); margin-bottom: 12px; letter-spacing: .4px; }
.tc-b p { font-size: 13px; color: var(--text-sec); line-height: 1.7; }

/* ── TOK BAR ── */
.tok-bar { display: flex; height: 44px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); margin-top: 8px; }
.tok-bar div { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; white-space: nowrap; }

/* ── UI SCREENSHOTS ── */
.ui-showcase { margin-top: 44px; }
.ui-tabs-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.ui-tabs-wrap::-webkit-scrollbar { height: 4px; }
.ui-tabs-wrap::-webkit-scrollbar-track { background: transparent; }
.ui-tabs-wrap::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.ui-tabs { display: flex; gap: 4px; min-width: max-content; }
.ui-frame { background: var(--navy); border-radius: 12px; padding: 8px; box-shadow: var(--shadow-l); overflow: hidden; margin-bottom: 20px; }
.ui-frame img { width: 100%; border-radius: 6px; display: block; }
.ui-tab { padding: 8px 20px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; border: 1px solid var(--border); white-space: nowrap; flex-shrink: 0; }
.ui-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.ui-tab:not(.active) { background: var(--bg); color: var(--text-sec); }
.ui-tab:not(.active):hover { border-color: var(--text-muted); }
.ui-caption { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 8px; }
.ui-zoomable { cursor: pointer; transition: opacity .2s; }
.ui-zoomable:hover { opacity: 0.92; }

/* ── LIGHTBOX ── */
.lightbox {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999; background: rgba(0,0,0,0.88);
  align-items: center; justify-content: center;
  padding: 24px; cursor: pointer;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 95vw; max-height: 92vh;
  border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  object-fit: contain; cursor: default;
}
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 28px; cursor: pointer; transition: color .2s;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { color: #fff; }

/* ── FEE TABLE ── */
.fee-table { width: 100%; border-collapse: collapse; margin-top: 24px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.fee-table thead th { background: var(--bg-alt); font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.fee-table thead th:first-child { text-align: left; }
.fee-table td { padding: 12px 16px; font-size: 13.5px; border-bottom: 1px solid var(--border-s); text-align: center; color: var(--text-body); }
.fee-table td:first-child { text-align: left; font-weight: 600; color: var(--text-dark); }
.fee-table tr:last-child td { border-bottom: none; }
.fee-table .current { background: rgba(12,127,251,0.04); }

/* ── ONBOARDING STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; position: relative; }
.steps::before { content: ''; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px; background: var(--border); }
.step { text-align: center; position: relative; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; position: relative; z-index: 2; }
.step h4 { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.step p { font-size: 12.5px; color: var(--text-sec); line-height: 1.6; padding: 0 8px; }

/* ── BADGE ── */
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.badge-soon { background: rgba(184,150,12,0.1); color: var(--gold); }
.badge-live { background: rgba(15,138,95,0.1); color: var(--green); }

/* ── BLOG / NEWS ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.blog-card { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: all .3s; text-decoration: none; color: inherit; }
.blog-card:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.blog-card .blog-img { height: 160px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.blog-card .blog-img img { width: 60px; height: 60px; opacity: 0.15; }
.blog-card .blog-body { padding: 20px; }
.blog-card .blog-date { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.blog-card h4 { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; line-height: 1.4; }
.blog-card p { font-size: 13px; color: var(--text-sec); line-height: 1.6; }
.blog-card .read-more { font-size: 12px; font-weight: 600; color: var(--blue); margin-top: 8px; display: inline-block; }

/* ── NEWS PAGE SPECIFIC ── */
.news-article { border-bottom: 1px solid var(--border); padding-bottom: 48px; margin-bottom: 48px; }
.news-article:last-child { border-bottom: none; }
.news-article .news-date { font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.news-article h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 16px; }
.news-article p { font-size: 15px; line-height: 1.8; margin-bottom: 12px; max-width: 720px; }
.news-article ul { margin: 12px 0 12px 20px; }
.news-article li { font-size: 14px; line-height: 1.7; margin-bottom: 6px; }

/* ── SOCIAL LINKS ── */
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); transition: all .2s; }
.social-link:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.6); }

/* ── FOOTER ── */
.ft { background: var(--navy); padding: 56px 0 28px; color: rgba(255,255,255,0.7); }
.ft-inner { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px); }
.ft-grid { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.ft-brand span { font-size: 15px; font-weight: 700; letter-spacing: 2px; color: var(--gold-light); display: block; margin-bottom: 10px; }
.ft-brand p { font-size: 13px; max-width: 280px; line-height: 1.6; }
.ft-cols { display: flex; gap: 48px; }
.ft-col h5 { font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 12px; }
.ft-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; padding: 3px 0; transition: color .2s; }
.ft-col a:hover { color: rgba(255,255,255,0.9); }
.ft-bot { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 20px; display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,0.3); }
.ft-disc { margin-top: 28px; padding: 18px 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 7px; font-size: 10.5px; color: rgba(255,255,255,0.35); line-height: 1.7; }

@media (max-width: 900px) {
  .ft-grid { flex-direction: column; gap: 28px; }
  .ft-cols { gap: 28px; }
  .ft-bot { flex-direction: column; gap: 6px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps::before { display: none; }
}
@media (max-width: 600px) {
  .ft-cols { flex-direction: column; }
  .blog-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

/* ── ANIMATIONS ── */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.rv.v { opacity: 1; transform: translateY(0); }
