/* =============================================
   Virtue Exchange — Landing Theme
   Mirrors dashboard: Inter font, violet primary
   ============================================= */

/* ── Reset & base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #5B21B6;
  --primary-hov:#4c1d95;
  --accent:     #7c3aed;
  --accent-lt:  #a78bfa;
  --green:      #1e553d;
  --green-lt:   #10b981;
  /* DARK (default) */
  --bg:         #0d1117;
  --bg-paper:   #161b22;
  --bg-card:    #1a2236;
  --border:     rgba(255,255,255,0.08);
  --text:       #e2e8f0;
  --text-muted: #8b949e;
  --text-dim:   rgba(255,255,255,0.35);
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(0,0,0,0.4);
  --header-bg:  rgba(13,17,23,.88);
}

/* ── LIGHT MODE overrides ─────────────────────── */
[data-theme="light"] {
  --bg:         #f4f6fb;
  --bg-paper:   #ffffff;
  --bg-card:    #ffffff;
  --border:     rgba(0,0,0,0.08);
  --text:       #111827;
  --text-muted: #6b7280;
  --text-dim:   rgba(0,0,0,0.35);
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --header-bg:  rgba(255,255,255,.92);
}
[data-theme="light"] .ve-hero {
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(91,33,182,.12) 0%, transparent 70%);
}
[data-theme="light"] .ve-header { background: var(--header-bg); border-bottom-color: var(--border); }
[data-theme="light"] .ve-header__nav a { color: #4b5563; }
[data-theme="light"] .ve-header__nav a:hover { background: rgba(91,33,182,.07); color: var(--primary); }
[data-theme="light"] .ve-stats { background: var(--bg-paper); }
[data-theme="light"] .ve-how { background: #eef2ff; }
[data-theme="light"] .ve-market { background: #eef2ff; }
[data-theme="light"] .ve-footer { background: #1e1b4b; }
[data-theme="light"] .ve-footer__brand p,
[data-theme="light"] .ve-footer__col h5,
[data-theme="light"] .ve-footer__col ul li a,
[data-theme="light"] .ve-footer__copy,
[data-theme="light"] .ve-footer__legal a { color: rgba(255,255,255,.65); }
[data-theme="light"] .ve-footer__bottom { border-top-color: rgba(255,255,255,.1); }
[data-theme="light"] .ve-footer__brand h3 { color: #fff; }
[data-theme="light"] .ve-card-grd { background: var(--bg-card); }
[data-theme="light"] .hero-stats-bar { background: #eef2ff; border-color: rgba(91,33,182,.12); }
[data-theme="light"] .btn-outline { border-color: rgba(0,0,0,.15); color: #374151; }
[data-theme="light"] .btn-outline:hover { border-color: var(--accent); color: var(--primary); }
[data-theme="light"] .ve-hero__visual img { border-color: rgba(91,33,182,.15); }
[data-theme="light"] .page-hero { background: linear-gradient(135deg, #ede9fe 0%, #f4f6fb 100%); }
[data-theme="light"] .page-hero .page-hero__label { color: var(--primary); }
[data-theme="light"] .ve-faq__q { color: var(--text); }
[data-theme="light"] .inner-card { background: #ffffff; border-color: rgba(0,0,0,.08); }
[data-theme="light"] #ve-top { background: var(--primary); }

/* ── Light mode: fix hardcoded #fff content text ──────── */

/* Hero (home page) — title + sub are white by default, must go dark */
[data-theme="light"] .ve-hero__title { color: #111827; }
[data-theme="light"] .ve-hero__title .grad {
  background: linear-gradient(120deg, #5B21B6, #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
[data-theme="light"] .ve-hero__sub { color: #4b5563 !important; }

/* Page hero (inner pages) — hero has light gradient bg in light mode */
[data-theme="light"] .page-hero__title { color: #111827 !important; }
[data-theme="light"] .page-hero__title span {
  background: linear-gradient(120deg, #5B21B6, #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
[data-theme="light"] .page-hero__sub  { color: #4b5563 !important; }
[data-theme="light"] .page-hero__label { color: var(--primary) !important; }

/* Section titles */
[data-theme="light"] .ve-section__title { color: #111827; }
[data-theme="light"] .ve-section__title span {
  background: linear-gradient(120deg, #5B21B6, #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
/* Stats */
[data-theme="light"] .ve-stats__num { color: #111827; }
/* Cards */
[data-theme="light"] .ve-features__card h4,
[data-theme="light"] .ve-card h4 { color: #111827; }
[data-theme="light"] .ve-card p,
[data-theme="light"] .ve-features__card p { color: #6b7280; }
/* How-it-works steps */
[data-theme="light"] .ve-how__step { background: #fff; border-color: rgba(0,0,0,.07); }
[data-theme="light"] .ve-how__step h4 { color: #111827; }
[data-theme="light"] .ve-how__step p { color: #6b7280; }
/* Benefits */
[data-theme="light"] .ve-benefits__item { background: #fff; border-color: rgba(0,0,0,.07); }
[data-theme="light"] .ve-benefits__item h5 { color: #111827; }
/* Benefits visual panels */
[data-theme="light"] .ve-benefits__panel { background: #1e1b4b; border-color: rgba(255,255,255,.1); }
[data-theme="light"] .ve-benefits__panel-label { color: rgba(255,255,255,.55); }
[data-theme="light"] .ve-benefits__panel-value { color: #fff; }
/* FAQ */
[data-theme="light"] .ve-faq__item { background: #fff; border-color: rgba(0,0,0,.08); }
[data-theme="light"] .ve-faq__item.open { border-color: rgba(91,33,182,.25); }
[data-theme="light"] .ve-faq__a p { color: #4b5563; }
/* Plan cards */
[data-theme="light"] .plan-card { background: #fff; border-color: rgba(0,0,0,.08); }
[data-theme="light"] .plan-card.featured { background: linear-gradient(160deg, rgba(91,33,182,.06) 0%, #fff 100%); }
[data-theme="light"] .plan-card__roi { color: #111827; }
[data-theme="light"] .plan-card__features li { color: #4b5563; }
/* Market table */
[data-theme="light"] .ve-table-wrap { background: #fff; border-color: rgba(0,0,0,.08); }
[data-theme="light"] .ve-table th { color: #6b7280; border-color: rgba(0,0,0,.07); }
[data-theme="light"] .ve-table td { color: #111827; border-color: rgba(0,0,0,.06); }
[data-theme="light"] .ve-table .sym { color: #111827; }
[data-theme="light"] .ve-table tr:hover td { background: rgba(91,33,182,.03); }
/* IDO cards */
[data-theme="light"] .ido-card { background: #fff; border-color: rgba(0,0,0,.08); }
[data-theme="light"] .ido-card__head { border-color: rgba(0,0,0,.07); }
[data-theme="light"] .ido-card__foot { border-color: rgba(0,0,0,.07); }
[data-theme="light"] .ido-card__name { color: #111827; }
[data-theme="light"] .ido-card__bar { background: rgba(0,0,0,.08); }
/* Swap box */
[data-theme="light"] .swap-box { background: #fff; border-color: rgba(0,0,0,.08); }
[data-theme="light"] .swap-field { background: #f4f6fb; border-color: rgba(0,0,0,.1); }
[data-theme="light"] .swap-field__input { color: #111827; }
[data-theme="light"] .swap-field__token { background: rgba(91,33,182,.08); border-color: rgba(91,33,182,.15); color: #111827; }
[data-theme="light"] .swap-info { color: #6b7280; }
[data-theme="light"] .swap-divider { background: rgba(0,0,0,.08); }
[data-theme="light"] #token-picker { background: #fff; border-color: rgba(0,0,0,.1); }
/* Form fields */
[data-theme="light"] .ve-input,
[data-theme="light"] .ve-textarea,
[data-theme="light"] .ve-select { background: #f8f9fc; border-color: rgba(0,0,0,.1); color: #111827; }
[data-theme="light"] .ve-input::placeholder,
[data-theme="light"] .ve-textarea::placeholder { color: #9ca3af; }
/* Terms */
[data-theme="light"] .terms-toc { background: #fff; border-color: rgba(0,0,0,.08); }
[data-theme="light"] .terms-body h3 { color: #111827; }
[data-theme="light"] .terms-body p,
[data-theme="light"] .terms-body li { color: #4b5563; }
/* Market filter buttons */
[data-theme="light"] .mkt-filter { border-color: rgba(0,0,0,.12); color: #4b5563; }
[data-theme="light"] .mkt-filter:hover,
[data-theme="light"] .mkt-filter.active { background: rgba(91,33,182,.08); color: var(--primary); border-color: rgba(91,33,182,.3); }
/* Hero sub and badge */
[data-theme="light"] .ve-hero__sub { color: #4b5563; }
[data-theme="light"] .ve-badge { background: rgba(91,33,182,.08); border-color: rgba(91,33,182,.2); color: var(--primary); }
/* Section label */
[data-theme="light"] .ve-section__label { color: var(--primary); }
[data-theme="light"] .ve-section__sub { color: #6b7280; }
/* Hamburger */
[data-theme="light"] .hamburger span { background: #374151; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-lt); }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; }

/* ── Container ──────────────────────────────── */
.ve-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: none; transition: all .2s;
}
.btn-primary {
  background: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-hov); color: #fff; transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent-lt); color: var(--accent-lt); }

/* ── Section common ─────────────────────────── */
.ve-section { padding: 96px 0; }
.ve-section-sm { padding: 64px 0; }
.ve-section__label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent-lt); margin-bottom: 14px;
}
.ve-section__title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800; line-height: 1.15; letter-spacing: -.5px;
  color: #fff;
}
.ve-section__title span {
  background: linear-gradient(120deg, #a78bfa, #5B21B6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ve-section__sub {
  margin-top: 16px;
  font-size: 17px; color: var(--text-muted); max-width: 540px; line-height: 1.7;
}

/* ── Card ────────────────────────────────────── */
.ve-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .2s, transform .2s;
}
.ve-card:hover { border-color: rgba(124,58,237,.45); transform: translateY(-3px); }

.ve-card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(124,58,237,.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

/* ── Gradient border card ───────────────────── */
.ve-card-grd {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  isolation: isolate;
  overflow: hidden;
}
.ve-card-grd::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,58,237,.5), rgba(91,33,182,0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Divider ─────────────────────────────────── */
.ve-divider { height: 1px; background: var(--border); margin: 0; }

/* ── Badge ───────────────────────────────────── */
.ve-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--accent-lt);
  margin-bottom: 20px;
}
.ve-badge svg, .ve-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-lt); flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.ve-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,17,23,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.ve-header__inner {
  display: flex; align-items: center;
  height: 68px; gap: 40px;
}
.ve-header__logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.ve-header__logo img { height: 40px; }

.ve-header__nav {
  display: flex; align-items: center; gap: 6px; flex: 1;
}
.ve-header__nav a {
  padding: 7px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: all .15s;
}
.ve-header__nav a:hover { background: rgba(255,255,255,.06); color: var(--text); }
.ve-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Hamburger — clean, professional 3-line icon */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  flex-shrink: 0;
  border-radius: 10px;
  transition: background .2s;
  margin-left: 4px;
}
.hamburger:hover { background: rgba(124,58,237,.12); }
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: all .32s cubic-bezier(.4,0,.2,1);
}
.hamburger span:nth-child(1) { margin-bottom: 6px; }
.hamburger span:nth-child(2) { width: 18px; margin-bottom: 6px; }  /* shorter middle bar */
.hamburger span:nth-child(3) { }
/* Hover — extend middle bar */
.hamburger:hover span:nth-child(2) { width: 24px; }
/* Light mode — use dark lines */
[data-theme="light"] .hamburger span { background: #374151; }
[data-theme="light"] .hamburger:hover { background: rgba(91,33,182,.08); }

@media (max-width: 768px) {
  .ve-header__inner { gap: 8px; }
  .ve-header__nav { display: none; }
  .hamburger { display: block; }
  .ve-header__nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-paper);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    padding: 12px 16px 16px;
    z-index: 999;
  }
  .ve-header__nav.open a {
    width: 100%; padding: 11px 14px;
    font-size: 15px; border-radius: var(--radius-sm);
    color: var(--text);
  }
  .ve-header__nav.open a:hover { background: rgba(124,58,237,.1); }
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.ve-hero {
  padding-top: 140px; padding-bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(91,33,182,.28) 0%, transparent 70%);
  position: relative; overflow: hidden;
}
.ve-hero__top { text-align: center; padding-bottom: 64px; }
.ve-hero__title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; color: #fff;
  margin-bottom: 22px;
}
.ve-hero__title .grad {
  background: linear-gradient(120deg, #c4b5fd, #5B21B6 50%, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ve-hero__sub {
  font-size: 18px; color: var(--text-muted); max-width: 580px; margin: 0 auto 36px;
  line-height: 1.7;
}
.ve-hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.ve-hero__visual {
  max-width: 880px; margin: 0 auto;
  position: relative;
}
.ve-hero__visual::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
  z-index: 1; pointer-events: none;
}
.ve-hero__visual img {
  width: 100%; border-radius: 16px 16px 0 0;
  border: 1px solid var(--border); border-bottom: none;
  display: block;
}
/* glow under image */
.ve-hero__glow {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 70%; height: 200px;
  background: rgba(91,33,182,.35);
  filter: blur(80px); border-radius: 50%;
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   STATS BAR
───────────────────────────────────────────── */
.ve-stats {
  background: var(--bg-paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.ve-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ve-stats__item {
  text-align: center;
  padding: 16px 8px;
  border-right: 1px solid var(--border);
}
.ve-stats__item:last-child { border-right: none; }
.ve-stats__num { font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.ve-stats__num span { color: var(--accent-lt); }
.ve-stats__label { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
@media (max-width: 600px) {
  .ve-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .ve-stats__item:nth-child(2) { border-right: none; }
  .ve-stats__item:nth-child(3) { border-right: 1px solid var(--border); }
}

/* ─────────────────────────────────────────────
   FEATURES GRID
───────────────────────────────────────────── */
.ve-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.ve-features__card .ve-card__icon { background: rgba(124,58,237,.12); }
.ve-features__card h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ve-features__card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ─────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────── */
.ve-how { background: var(--bg-paper); }
.ve-how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
  position: relative;
}
.ve-how__connector {
  position: absolute; top: 34px; left: calc(33% + 12px); right: calc(33% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: .35;
}
.ve-how__step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color .2s;
}
.ve-how__step:hover { border-color: rgba(124,58,237,.4); }
.ve-how__num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.ve-how__step h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ve-how__step p { font-size: 14px; color: var(--text-muted); }
@media (max-width: 680px) {
  .ve-how__grid { grid-template-columns: 1fr; }
  .ve-how__connector { display: none; }
}

/* ─────────────────────────────────────────────
   BENEFITS
───────────────────────────────────────────── */
.ve-benefits__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; margin-top: 0;
}
.ve-benefits__list { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.ve-benefits__item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .2s;
}
.ve-benefits__item:hover { border-color: rgba(124,58,237,.35); }
.ve-benefits__item-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(124,58,237,.12);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.ve-benefits__item h5 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.ve-benefits__item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.ve-benefits__visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.ve-benefits__panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.ve-benefits__panel:first-child { grid-column: 1 / -1; }
.ve-benefits__panel-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.ve-benefits__panel-value { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.ve-benefits__panel-tag { font-size: 13px; color: var(--green-lt); font-weight: 600; }

@media (max-width: 900px) {
  .ve-benefits__inner { grid-template-columns: 1fr; gap: 40px; }
  .ve-benefits__visual { display: none; }
}

/* ─────────────────────────────────────────────
   MARKET TICKER
───────────────────────────────────────────── */
.ve-market { background: var(--bg-paper); }
.ve-market__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px; margin-top: 48px;
}
.ve-market__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color .2s;
}
.ve-market__card:hover { border-color: rgba(124,58,237,.35); }
.ve-market__sym { font-size: 15px; font-weight: 700; color: #fff; }
.ve-market__name { font-size: 12px; color: var(--text-muted); }
.ve-market__price { font-size: 16px; font-weight: 700; color: var(--text); margin-top: 6px; }
.ve-market__change { font-size: 12px; font-weight: 600; }
.ve-market__change.up { color: var(--green-lt); }
.ve-market__change.down { color: #ef4444; }

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
.ve-faq__list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.ve-faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden;
}
.ve-faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none; cursor: pointer; text-align: left;
  color: var(--text); font-size: 15px; font-weight: 600;
  font-family: inherit;
  gap: 12px;
  transition: color .15s;
}
.ve-faq__q:hover { color: var(--accent-lt); }
.ve-faq__icon {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: rgba(124,58,237,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--accent-lt);
  transition: transform .25s;
}
.ve-faq__item.open .ve-faq__icon { transform: rotate(45deg); }
.ve-faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  padding: 0 24px;
}
.ve-faq__item.open .ve-faq__a { max-height: 800px; padding: 0 24px 20px; }
.ve-faq__a p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ─────────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────────── */
.ve-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #3b0764 100%);
  border-radius: 20px; padding: 64px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.ve-cta::before {
  content: '';
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.04); top: -120px; left: -100px;
}
.ve-cta::after {
  content: '';
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.04); bottom: -80px; right: -60px;
}
.ve-cta h2 { font-size: clamp(24px, 3.5vw, 40px); font-weight: 800; color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
.ve-cta p { font-size: 16px; color: rgba(255,255,255,.75); margin-bottom: 32px; position: relative; z-index: 1; }
.ve-cta .ve-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-white { background: #fff; color: var(--primary); font-weight: 700; }
.btn-white:hover { background: #f0e6ff; color: var(--primary); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }

@media (max-width: 600px) { .ve-cta { padding: 40px 24px; } }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.ve-footer {
  background: var(--bg-paper);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.ve-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; padding-bottom: 56px;
}
.ve-footer__brand h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.ve-footer__brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 320px; }
.ve-footer__col h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 20px; }
.ve-footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.ve-footer__col ul li a { font-size: 14px; color: var(--text-muted); transition: color .15s; }
.ve-footer__col ul li a:hover { color: var(--accent-lt); }
.ve-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.ve-footer__copy { font-size: 13px; color: var(--text-dim); }
.ve-footer__legal { display: flex; gap: 20px; }
.ve-footer__legal a { font-size: 13px; color: var(--text-dim); }
.ve-footer__legal a:hover { color: var(--accent-lt); }
@media (max-width: 768px) {
  .ve-footer__grid { grid-template-columns: 1fr 1fr; }
  .ve-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .ve-footer__grid { grid-template-columns: 1fr; } }

/* ── Scroll-to-top ───────────────────────────── */
#ve-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; opacity: 0; transition: opacity .3s, transform .3s;
  transform: translateY(12px);
}
#ve-top.visible { opacity: 1; transform: translateY(0); }
#ve-top:hover { background: var(--accent); }

/* ── Theme toggle button ─────────────────────── */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border);
  background: transparent; cursor: pointer; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0; transition: all .2s;
}
.theme-toggle:hover { background: rgba(124,58,237,.12); color: var(--accent-lt); border-color: rgba(124,58,237,.3); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ── Inner page hero ──────────────────────────── */
.page-hero {
  padding: 140px 0 72px;
  background: linear-gradient(135deg, #1a1040 0%, #0d1117 60%, #0f1a1a 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,33,182,.3) 0%, transparent 70%);
  top: -150px; left: -100px; pointer-events: none;
}
.page-hero__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-lt); margin-bottom: 14px; }
.page-hero__title { font-size: clamp(30px, 5vw, 52px); font-weight: 800; color: #fff; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.page-hero__title span { background: linear-gradient(120deg, #c4b5fd, #5B21B6 50%, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero__sub { font-size: 17px; color: rgba(255,255,255,.65); max-width: 560px; line-height: 1.7; }

/* inner card */
.inner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .2s, transform .2s;
}
.inner-card:hover { border-color: rgba(124,58,237,.4); transform: translateY(-2px); }

/* ── Plan card ────────────────────────────────── */
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column;
}
.plan-card.featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, rgba(91,33,182,.12) 0%, var(--bg-card) 100%);
  position: relative;
}
.plan-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 16px; border-radius: 0 0 8px 8px;
}
.plan-card:hover { border-color: rgba(124,58,237,.5); transform: translateY(-3px); }
.plan-card__roi { font-size: 44px; font-weight: 800; color: #fff; letter-spacing: -2px; }
.plan-card__roi span { font-size: 20px; font-weight: 600; color: var(--accent-lt); }
.plan-card__name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 20px; }
.plan-card__features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 20px 0 28px; flex: 1; }
.plan-card__features li { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.plan-card__features li::before { content: '✓'; color: var(--green-lt); font-weight: 700; flex-shrink: 0; }

/* ── IDO cards ────────────────────────────────── */
.ido-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 48px; }
.ido-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s;
}
.ido-card:hover { border-color: rgba(124,58,237,.4); transform: translateY(-3px); }
.ido-card__head {
  padding: 24px; display: flex; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--border);
}
.ido-card__logo {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.ido-card__name { font-size: 16px; font-weight: 700; color: #fff; }
.ido-card__ticker { font-size: 13px; color: var(--text-muted); }
.ido-card__status {
  margin-left: auto; padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.ido-card__status.live { background: rgba(16,185,129,.15); color: #10b981; border: 1px solid rgba(16,185,129,.3); }
.ido-card__status.upcoming { background: rgba(124,58,237,.15); color: #a78bfa; border: 1px solid rgba(124,58,237,.3); }
.ido-card__status.ended { background: rgba(255,255,255,.06); color: var(--text-muted); border: 1px solid var(--border); }
.ido-card__body { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.ido-card__row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.ido-card__row span:first-child { color: var(--text-muted); }
.ido-card__row span:last-child { color: var(--text); font-weight: 600; }
.ido-card__progress { margin: 4px 0; }
.ido-card__bar { height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.ido-card__fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.ido-card__foot { padding: 16px 24px; border-top: 1px solid var(--border); }

/* ── Swap UI ──────────────────────────────────── */
.swap-box {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; max-width: 480px; margin: 0 auto;
}
.swap-field {
  background: var(--bg-paper);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 4px;
  transition: border-color .2s;
}
.swap-field:focus-within { border-color: rgba(124,58,237,.5); }
.swap-field__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 8px; }
.swap-field__row { display: flex; align-items: center; gap: 12px; }
.swap-field__input {
  flex: 1; background: none; border: none; outline: none;
  font-size: 22px; font-weight: 700; color: var(--text); font-family: inherit;
}
.swap-field__input::placeholder { color: var(--text-dim); }
.swap-field__token {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.2);
  font-weight: 700; font-size: 14px; color: var(--text); cursor: pointer;
  transition: background .15s;
}
.swap-field__token:hover { background: rgba(124,58,237,.2); }
.swap-arrow {
  width: 40px; height: 40px; border-radius: 50%; margin: 8px auto;
  background: rgba(124,58,237,.12); border: 2px solid rgba(124,58,237,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer; transition: all .2s; color: var(--accent-lt);
}
.swap-arrow:hover { background: var(--primary); color: #fff; transform: rotate(180deg); border-color: var(--primary); }
.swap-info { font-size: 13px; color: var(--text-muted); display: flex; justify-content: space-between; padding: 6px 0; }
.swap-divider { height: 1px; background: var(--border); margin: 12px 0; }

/* ── Contact form ─────────────────────────────── */
.ve-form-group { margin-bottom: 20px; }
.ve-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.ve-input, .ve-textarea, .ve-select {
  width: 100%; padding: 13px 16px;
  background: var(--bg-paper); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.ve-input:focus, .ve-textarea:focus, .ve-select:focus { border-color: rgba(124,58,237,.5); box-shadow: 0 0 0 3px rgba(124,58,237,.08); }
.ve-textarea { resize: vertical; min-height: 130px; }
.ve-select { cursor: pointer; }
[data-theme="light"] .ve-input,
[data-theme="light"] .ve-textarea,
[data-theme="light"] .ve-select { background: #f8f9fc; }

/* ── Terms ────────────────────────────────────── */
.terms-body h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 32px 0 10px; }
.terms-body h3:first-child { margin-top: 0; }
.terms-body p, .terms-body li { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.terms-body ul { padding-left: 20px; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.terms-body ul li { list-style: disc; }
.terms-toc { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 40px; }
.terms-toc h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.terms-toc ol { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.terms-toc ol li { font-size: 14px; color: var(--accent-lt); }
.terms-toc ol li a { color: var(--accent-lt); }
.terms-toc ol li a:hover { color: #fff; }

/* ── Live market table ────────────────────────── */
.ve-table { width: 100%; border-collapse: collapse; }
.ve-table th { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.ve-table td { padding: 14px 16px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border); }
.ve-table tr:last-child td { border-bottom: none; }
.ve-table tr:hover td { background: rgba(124,58,237,.04); }
.ve-table .sym { font-weight: 700; color: #fff; }
.ve-table .price { font-weight: 600; }
.ve-table .up { color: #10b981; font-weight: 600; }
.ve-table .dn { color: #ef4444; font-weight: 600; }
.ve-table-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

/* ── Preloader ────────────────────────────────── */
#ve-preloader {
  position: fixed; inset: 0; background: var(--bg);
  display: flex; align-items: center; justify-content: center; z-index: 9999;
  transition: opacity .4s;
}
#ve-preloader.done { opacity: 0; pointer-events: none; }
.ve-loader {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(124,58,237,.2);
  border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Fade-in animations ───────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

/* ==============================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================== */
@media (max-width: 1024px) {
  .ve-container { padding: 0 20px; }
  .ve-section { padding: 72px 0; }
  .ve-how__grid { grid-template-columns: repeat(3,1fr); }
  .ve-benefits__inner { grid-template-columns: 1fr; gap: 40px; }
  .ve-benefits__visual { grid-template-columns: repeat(3,1fr); }
  .ve-benefits__panel:first-child { grid-column: 1 / -1; }
}

/* ==============================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================== */
@media (max-width: 768px) {
  /* Container */
  .ve-container { padding: 0 16px; }

  /* Sections */
  .ve-section { padding: 56px 0; }
  .ve-section-sm { padding: 40px 0; }
  .ve-section__title { font-size: clamp(24px, 7vw, 38px); }
  .ve-section__sub { font-size: 15px; }

  /* Home hero */
  .ve-hero { padding-top: 100px; }
  .ve-hero__top { padding-bottom: 40px; }
  .ve-hero__title { font-size: clamp(30px, 8vw, 48px); letter-spacing: -1px; }
  .ve-hero__sub { font-size: 15px; margin-bottom: 28px; }
  .ve-hero__ctas { flex-direction: column; align-items: center; gap: 10px; }
  .ve-hero__ctas .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Page hero (inner pages) */
  .page-hero { padding: 108px 0 48px; }
  .page-hero__title { font-size: clamp(26px, 8vw, 40px); letter-spacing: -.5px; }
  .page-hero__sub { font-size: 15px; }

  /* Stats bar */
  .ve-stats__grid { grid-template-columns: repeat(2,1fr); }
  .ve-stats__item:nth-child(odd) { border-right: 1px solid var(--border); }
  .ve-stats__item:nth-child(even) { border-right: none; }
  .ve-stats__item:nth-child(1),
  .ve-stats__item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .ve-stats__num { font-size: 26px; }

  /* Features grid */
  .ve-features__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ve-card { padding: 22px 18px; }
  .ve-card__icon { width: 44px; height: 44px; font-size: 20px; }

  /* How-it-works */
  .ve-how__grid { grid-template-columns: 1fr; gap: 14px; }
  .ve-how__connector { display: none; }
  .ve-how__step { padding: 24px 20px; }
  .ve-how__num { width: 40px; height: 40px; font-size: 16px; margin-bottom: 14px; }

  /* Benefits */
  .ve-benefits__inner { grid-template-columns: 1fr; gap: 32px; }
  .ve-benefits__visual { display: none; }
  .ve-benefits__list { gap: 12px; }
  .ve-benefits__item { padding: 14px 16px; }

  /* CTA banner */
  .ve-cta { padding: 40px 20px; border-radius: 14px; }
  .ve-cta h2 { font-size: clamp(20px, 5vw, 28px); }
  .ve-cta__btns { flex-direction: column; align-items: center; gap: 10px; }
  .ve-cta__btns .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Footer */
  .ve-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .ve-footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .ve-footer__legal { flex-wrap: wrap; justify-content: center; }

  /* FAQ */
  .ve-faq__list { gap: 8px; }
  .ve-faq__q { font-size: 14px; padding: 16px 18px; }

  /* Plan cards */
  .plan-card { padding: 24px 20px; }
  .plan-card__roi { font-size: 36px; }

  /* IDO grid */
  .ido-grid { grid-template-columns: 1fr; }

  /* Market table — stack on tiny screens */
  .ve-table th:nth-child(5),
  .ve-table td:nth-child(5) { display: none; }
  .ve-table th:nth-child(3),
  .ve-table td:nth-child(3) { display: none; }

  /* Swap — stack columns */
  .swap-columns { grid-template-columns: 1fr !important; }
  .swap-box { padding: 20px; }
  .swap-field__input { font-size: 18px; }

  /* Contact — stack columns */
  .contact-cols { grid-template-columns: 1fr !important; }
  /* Contact form inner grid */
  .contact-form-grid { grid-template-columns: 1fr !important; }

  /* Terms — hide sticky TOC on mobile */
  .terms-layout { grid-template-columns: 1fr !important; }
  .terms-sticky { display: none; }

  /* Inner card */
  .inner-card { padding: 20px 16px; }

  /* Scroll-to-top */
  #ve-top { bottom: 18px; right: 18px; width: 40px; height: 40px; font-size: 18px; }
}

/* ==============================================
   RESPONSIVE — Small mobile (≤ 480px)
   ============================================== */
@media (max-width: 480px) {
  .ve-features__grid { grid-template-columns: 1fr; }
  .ve-stats__grid { grid-template-columns: repeat(2,1fr); }
  .ve-hero__ctas .btn { max-width: 100%; }
  .page-hero { padding: 96px 0 40px; }
  .ve-benefits__item-icon { width: 36px; height: 36px; font-size: 17px; }
  .ve-cta__btns .btn { max-width: 100%; }
  /* contact form name+email back to 1 col on very small */
  .cf-grid-2 { grid-template-columns: 1fr !important; }
}
