/* =========================================================
   YOUREXC — Design Tokens
   Color:   emerald #16A673, teal #1FB5AC, orange #F5943D, red #E8483A
   Base:    #0A0F0D (charcoal, green-tinted — not pure black)
   Display: Sora | Body: Inter | Data/Mono: IBM Plex Mono
   Signature: diagonal "signal stroke" motif echoing the logo's arrows
   ========================================================= */

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

:root {
  /* surfaces */
  --bg: #0A0F0D;
  --bg-1: #0D1310;
  --surface: #121A16;
  --surface-2: #16201B;
  --surface-glass: rgba(18, 26, 22, 0.66);
  --border: rgba(242, 245, 243, 0.08);
  --border-strong: rgba(242, 245, 243, 0.14);

  /* brand */
  --emerald: #16A673;
  --emerald-soft: #1ABE84;
  --teal: #1FB5AC;
  --orange: #F5943D;
  --red: #E8483A;

  /* text */
  --text-1: #F2F5F3;
  --text-2: #9CACA4;
  --text-3: #5C6B64;

  /* gradients */
  --grad-primary: linear-gradient(115deg, var(--emerald) 0%, var(--teal) 100%);
  --grad-warm: linear-gradient(115deg, var(--orange) 0%, var(--red) 100%);
  --grad-text: linear-gradient(115deg, var(--emerald-soft) 10%, var(--teal) 55%, var(--orange) 100%);

  /* type */
  --f-display: 'Sora', sans-serif;
  --f-body: 'Inter', sans-serif;
  --f-mono: 'IBM Plex Mono', monospace;

  /* layout */
  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 12px 32px -12px rgba(0,0,0,.55);
  --shadow-glow: 0 0 0 1px rgba(22,166,115,.18), 0 20px 48px -20px rgba(22,166,115,.28);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle ambient texture: faint diagonal grid, echoes the signal-line signature */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(115deg, rgba(31,181,172,0.035) 0%, transparent 40%),
    linear-gradient(rgba(242,245,243,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,245,243,0.025) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; margin: 0; letter-spacing: -0.02em; color: var(--text-1); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--emerald); color: #08130E; padding: 12px 20px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.section { position: relative; z-index: 1; padding: 128px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%); }
.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section-inner-narrow { max-width: 820px; }

.section-head { max-width: 640px; margin: 0 0 64px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-sub { color: var(--text-2); font-size: 17px; margin-top: 16px; max-width: 540px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 16px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 3px rgba(22,166,115,.18); animation: pulseDot 2.4s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.section-head h2, .section-head-row h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: gap .25s var(--ease); }
.link-arrow:hover { gap: 12px; color: var(--emerald-soft); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.btn-lg { padding: 15px 30px; font-size: 15.5px; border-radius: 12px; }

.btn-primary {
  background: var(--grad-primary); color: #06130D;
  box-shadow: 0 8px 24px -8px rgba(22,166,115,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(22,166,115,.65); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: var(--text-1); border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--teal); background: rgba(31,181,172,0.08); }

.btn-ghost { background: transparent; color: var(--text-2); border-color: transparent; }
.btn-ghost:hover { color: var(--text-1); }

.header-link-plain { color: var(--text-2); font-weight: 600; font-size: 14.5px; padding: 10px 4px; transition: color .2s; }
.header-link-plain:hover { color: var(--text-1); }

.ripple { position: relative; }
.ripple-fx {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,.35);
  transform: scale(0); animation: rippleAnim .6s var(--ease);
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(3); opacity: 0; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 15, 13, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { background: rgba(10, 15, 13, 0.92); }

.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-word { font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--text-1); }
.brand-word-accent { color: var(--emerald-soft); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a { font-size: 14.5px; font-weight: 500; color: var(--text-2); position: relative; padding: 6px 0; transition: color .2s; }
.main-nav > a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--grad-primary); transition: width .25s var(--ease);
}
.main-nav > a:hover { color: var(--text-1); }
.main-nav > a:hover::after { width: 100%; }
.main-nav > a.active { color: var(--text-1); }
.main-nav > a.active::after { width: 100%; }
.mobile-nav a.active { color: var(--text-1); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 6px; background: none; border: none;
  color: var(--text-2); font-size: 14.5px; font-weight: 500; font-family: inherit; padding: 6px 0;
  transition: color .2s;
}
.nav-dropdown-toggle:hover { color: var(--text-1); }
.nav-dropdown-toggle svg { transition: transform .25s var(--ease); }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 8px; min-width: 200px; box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown-menu:focus-within {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--text-2); transition: background .2s, color .2s; }
.nav-dropdown-menu a:hover { background: var(--surface-2); color: var(--text-1); }

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-app-link { display: flex; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--text-1); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; padding: 0 24px;
  border-top: 1px solid transparent; background: var(--bg-1);
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
}
.mobile-nav.open { max-height: 640px; padding: 8px 24px 24px; border-top-color: var(--border); }
.mobile-nav a { padding: 13px 4px; font-size: 15px; color: var(--text-2); border-bottom: 1px solid var(--border); }
.mobile-nav-actions { display: flex; gap: 12px; margin-top: 18px; }
.mobile-nav-actions .btn { flex: 1; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: 80px 0 0; overflow: hidden; z-index: 1; }
.hero::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 60%; height: 70%;
  background: radial-gradient(circle, rgba(22,166,115,0.16) 0%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -10%; left: -10%; width: 40%; height: 50%;
  background: radial-gradient(circle, rgba(245,148,61,0.08) 0%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}

.hero-inner {
  max-width: var(--container); margin: 0 auto; padding: 64px 32px 96px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  position: relative; z-index: 1;
}

.hero-copy h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.04; }
.hero-sub { color: var(--text-2); font-size: 18px; max-width: 480px; margin: 24px 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-proof { display: flex; align-items: center; gap: 22px; margin-top: 48px; flex-wrap: wrap; }
.hero-proof-item { display: flex; flex-direction: column; gap: 2px; }
.hero-proof-item strong { font-family: var(--f-mono); font-size: 20px; font-weight: 600; }
.hero-proof-item span { font-size: 12.5px; color: var(--text-3); }
.hero-proof-divider { width: 1px; height: 30px; background: var(--border-strong); }

.hero-visual { position: relative; height: 480px; }

.dashboard-card {
  position: absolute; top: 10%; left: 6%; width: 320px;
  background: var(--surface-glass); backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-glow);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
  animation: floatY 7s ease-in-out infinite;
}
.dashboard-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dc-pair { display: flex; align-items: center; gap: 10px; }
.dc-pair strong { display: block; font-size: 14.5px; }
.dc-pair span { font-size: 12px; color: var(--text-3); }
.dc-coin-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: block;
}
.dc-coin-icon svg { width: 100%; height: 100%; display: block; }

.dc-live { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-family: var(--f-mono); color: var(--emerald-soft); }
.dc-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald-soft); box-shadow: 0 0 0 3px rgba(22,166,115,.2); }

.dashboard-card-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.dc-price { font-family: var(--f-mono); font-size: 24px; font-weight: 600; }
.dc-change { font-family: var(--f-mono); font-size: 13px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.dc-change.up { color: var(--emerald-soft); background: rgba(22,166,115,.12); }
.dc-change.down { color: var(--red); background: rgba(232,72,58,.12); }

.dc-chart { width: 100%; height: 78px; margin-bottom: 14px; }
.dashboard-card-foot { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.dashboard-card-foot div { display: flex; flex-direction: column; gap: 3px; }
.dashboard-card-foot span { font-size: 10.5px; color: var(--text-3); }
.dashboard-card-foot strong { font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface-glass); backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: 12px 16px; box-shadow: var(--shadow-2);
}
.float-card div { display: flex; flex-direction: column; }
.float-card strong { font-size: 13px; }
.float-card span { font-family: var(--f-mono); font-size: 12px; color: var(--text-2); }
.float-card .dc-change { margin-left: 4px; }

.float-card-eth { top: 4%; right: 0; animation: floatY 6s ease-in-out infinite .4s; }
.float-card-sol { bottom: 24%; left: -4%; animation: floatY 8s ease-in-out infinite 1s; }
.float-card-bnb { bottom: 2%; right: 8%; animation: floatY 6.5s ease-in-out infinite .7s; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.ticker-tape {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-1); overflow: hidden; padding: 14px 0;
}
.ticker-track { display: flex; gap: 40px; width: max-content; animation: tickerScroll 38s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 13.5px; white-space: nowrap; color: var(--text-2); }
.ticker-item strong { color: var(--text-1); font-weight: 600; }
.ticker-icon { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; display: block; }
.ticker-icon svg { width: 100%; height: 100%; display: block; }

/* =========================================================
   FEATURES
   ========================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.feature-card {
  background: var(--surface); padding: 32px 28px; position: relative;
  transition: background .3s var(--ease);
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: var(--grad-primary); transition: width .35s var(--ease);
}
.feature-card:hover { background: var(--surface-2); transform: none; }
.feature-card:hover::before { width: 100%; }
.feature-card:hover .feature-icon { transform: translateY(-3px); border-color: var(--teal); }

.feature-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--emerald-soft); margin-bottom: 20px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: 14px; line-height: 1.55; }

/* =========================================================
   MARKET TABLE
   ========================================================= */
.market-table-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow-x: auto; box-shadow: var(--shadow-1);
}
.market-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.market-table th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-3); font-weight: 600; padding: 18px 24px; border-bottom: 1px solid var(--border);
}
.market-table th:not(:first-child), .market-table td:not(:first-child) { text-align: right; }
.market-table td { padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 14.5px; vertical-align: middle; }
.market-table tbody tr { transition: background .2s; }
.market-table tbody tr:hover { background: var(--surface-2); }
.market-table tbody tr:last-child td { border-bottom: none; }

.coin-cell { display: flex; align-items: center; gap: 12px; text-align: left; }
.coin-icon-sm { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: block; }
.coin-icon-sm svg { width: 100%; height: 100%; display: block; }
.coin-cell strong { display: block; font-size: 14.5px; }
.coin-cell span { font-size: 12px; color: var(--text-3); }

.price-cell { font-family: var(--f-mono); font-weight: 500; }
.pct-cell { font-family: var(--f-mono); font-weight: 600; }
.pct-cell.up { color: var(--emerald-soft); }
.pct-cell.down { color: var(--red); }
.muted-cell { font-family: var(--f-mono); color: var(--text-2); font-size: 13.5px; }

.trade-btn-cell { text-align: right !important; }
.table-trade-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 600; padding: 7px 16px; border-radius: 7px;
  border: 1px solid var(--border-strong); color: var(--text-1); background: transparent; transition: all .2s;
}
.table-trade-btn:hover { background: var(--grad-primary); border-color: transparent; color: #06130D; }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  padding: 32px; border-radius: var(--radius-md); border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-1) 100%);
  transition: transform .3s var(--ease), border-color .3s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.why-num { font-family: var(--f-mono); font-size: 13px; color: var(--teal); display: block; margin-bottom: 16px; }
.why-card h3 { font-size: 18px; margin-bottom: 10px; }
.why-card p { color: var(--text-2); font-size: 14.5px; }

/* =========================================================
   SECURITY
   ========================================================= */
.section-security { position: relative; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.security-card { background: var(--surface); padding: 30px; transition: background .3s; }
.security-card:hover { background: var(--surface-2); }
.security-icon {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(22,166,115,.16), rgba(31,181,172,.1)); color: var(--teal); margin-bottom: 18px;
}
.security-icon svg { width: 21px; height: 21px; }
.security-card h3 { font-size: 15.5px; margin-bottom: 8px; }
.security-card p { font-size: 13.5px; color: var(--text-2); }

/* =========================================================
   STATS
   ========================================================= */
.stats-section { padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-1); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.stat-item { display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px); font-weight: 700; }
.stat-num.up::after { content: ""; }
.stat-label { font-size: 13px; color: var(--text-3); }

/* =========================================================
   APP SECTION
   ========================================================= */
.app-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.app-store-buttons { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 10px;
  border: 1px solid var(--border-strong); color: var(--text-1); transition: border-color .2s, background .2s;
}
.store-btn:hover { border-color: var(--teal); background: rgba(31,181,172,0.06); }
.store-btn div { display: flex; flex-direction: column; line-height: 1.25; }
.store-btn span { font-size: 10px; color: var(--text-3); }
.store-btn strong { font-size: 14px; }

.app-visual { position: relative; display: flex; justify-content: center; }
.phone-mock {
  width: 240px; height: 490px; border-radius: 34px; border: 8px solid var(--surface-2);
  background: var(--bg-1); box-shadow: var(--shadow-glow); position: relative; overflow: hidden;
  animation: floatY 8s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90px; height: 20px; background: var(--surface-2); border-radius: 0 0 12px 12px; z-index: 2; }
.phone-screen { padding: 34px 16px 16px; height: 100%; }
.phone-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.phone-header span:first-child { font-size: 12px; color: var(--text-3); }
.phone-balance { font-family: var(--f-mono); font-size: 15px; font-weight: 600; }
.phone-row {
  display: flex; align-items: center; gap: 10px; padding: 11px 10px; border-radius: 10px; margin-bottom: 8px; background: var(--surface);
}
.phone-row div { display: flex; flex-direction: column; flex: 1; }
.phone-row strong { font-size: 13px; }
.phone-row span { font-family: var(--f-mono); font-size: 11px; color: var(--text-3); }
.phone-row .dc-change { font-size: 11px; padding: 2px 6px; }

.qr-card {
  position: absolute; bottom: 20px; left: -10px; background: var(--surface-glass); backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: var(--shadow-2);
}
.qr-card span { font-size: 10.5px; color: var(--text-3); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  margin: 0; padding: 32px; border-radius: var(--radius-md); border: 1px solid var(--border);
  background: var(--surface); transition: transform .3s var(--ease), border-color .3s;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.testimonial-stars { color: var(--orange); letter-spacing: 2px; font-size: 14px; margin-bottom: 16px; }
.testimonial-card p { font-size: 15px; color: var(--text-1); line-height: 1.6; margin-bottom: 24px; }
.testimonial-card footer { display: flex; align-items: center; gap: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; color: #06130D; flex-shrink: 0; }
.testimonial-card footer strong { display: block; font-size: 13.5px; }
.testimonial-card footer span { font-size: 12px; color: var(--text-3); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; padding: 22px 26px; font-family: var(--f-display); font-size: 15.5px; font-weight: 600; color: var(--text-1); text-align: left;
}
.faq-chevron { flex-shrink: 0; color: var(--teal); transition: transform .3s var(--ease); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-answer p { padding: 0 26px 22px; color: var(--text-2); font-size: 14.5px; line-height: 1.65; max-width: 640px; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  position: relative; margin: 0 32px 128px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(120deg, #0E2119 0%, #0A1C1B 55%, #17130E 100%);
  border: 1px solid var(--border-strong);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 3% 100%, 0 88%);
}
.cta-inner { text-align: center; padding: 84px 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-banner h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta-banner p { color: var(--text-2); font-size: 16px; margin-bottom: 12px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--border); padding: 80px 0 0; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 0.9fr); gap: 32px; padding-bottom: 56px; }
.footer-brand p { color: var(--text-2); font-size: 13.5px; margin: 16px 0 20px; max-width: 260px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: all .2s; }
.footer-social a:hover { color: var(--text-1); border-color: var(--teal); }

.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-bottom: 18px; font-family: var(--f-body); font-weight: 600; }
.footer-col a { display: block; font-size: 14px; color: var(--text-2); padding: 7px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text-1); }

.footer-newsletter h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-bottom: 12px; font-family: var(--f-body); font-weight: 600; }
.footer-newsletter > p { font-size: 13.5px; color: var(--text-2); margin-bottom: 16px; }
.newsletter-form { display: flex; border: 1px solid var(--border-strong); border-radius: 10px; overflow: hidden; }
.newsletter-form input {
  flex: 1; background: var(--surface); border: none; padding: 12px 14px; color: var(--text-1); font-size: 13.5px; font-family: inherit;
}
.newsletter-form input:focus { outline: none; background: var(--surface-2); }
.newsletter-form button { background: var(--grad-primary); border: none; padding: 0 16px; color: #06130D; display: flex; align-items: center; }
.newsletter-msg { font-size: 12.5px; color: var(--emerald-soft); margin-top: 10px; min-height: 16px; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 24px 0; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-3);
}

/* =========================================================
   SCROLL TOP
   ========================================================= */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text-1);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), border-color .2s; z-index: 60;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { border-color: var(--teal); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .header-app-link, .header-link-plain { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { height: 420px; margin-top: 40px; }
  .dashboard-card { position: relative; top: 0; left: 0; width: 100%; margin: 0 auto; }
  .float-card-eth, .float-card-sol, .float-card-bnb { display: none; }

  .app-inner { grid-template-columns: 1fr; }
  .app-visual { margin-top: 40px; }
}

@media (max-width: 720px) {
  .section { padding: 88px 0; }
  .section-inner { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: 1 / -1; }
  .cta-banner { margin: 0 16px 88px; }
  .cta-inner { padding: 56px 24px; }
  .hero-proof { gap: 16px; }
  .market-table th, .market-table td { padding: 14px 16px; }
}

@media (max-width: 400px) {
  .header-inner { padding: 0 14px; gap: 10px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-primary { padding: 9px 14px; font-size: 13px; }
  .brand-word { font-size: 16px; }
  .brand-mark { width: 26px; height: 26px; }
  .menu-toggle { padding: 6px 2px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-proof-item strong { font-size: 17px; }
  .dc-price { font-size: 20px; }
  .float-card { padding: 10px 12px; }
}

/* =========================================================
   SUB-PAGE HERO (Trade, Futures, Earn, P2P, etc.)
   ========================================================= */
.page-hero { position: relative; padding: 72px 0 96px; overflow: hidden; z-index: 1; }
.page-hero::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 55%; height: 80%;
  background: radial-gradient(circle, rgba(22,166,115,0.14) 0%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.page-hero-inner { max-width: 760px; margin: 0 auto; padding: 0 32px; text-align: center; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin-top: 10px; }
.page-hero .section-sub { margin: 20px auto 0; max-width: 560px; }
.page-hero .hero-actions { justify-content: center; margin-top: 32px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-3); transition: color .2s; }
.breadcrumb a:hover { color: var(--teal); }

/* =========================================================
   AUTH CARD (Login / Early Access)
   ========================================================= */
.auth-section { padding: 96px 0 128px; display: flex; justify-content: center; }
.auth-card {
  width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow-2);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 94% 100%, 0 100%);
}
.auth-card-head { text-align: center; margin-bottom: 28px; }
.auth-card-head h1 { font-size: 26px; margin-bottom: 8px; }
.auth-card-head p { color: var(--text-2); font-size: 14.5px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.form-field input {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 12px 14px; color: var(--text-1); font-size: 14.5px; font-family: inherit; transition: border-color .2s, background .2s;
}
.form-field input:focus { outline: none; border-color: var(--teal); background: var(--bg-1); }
.form-field-phone { display: flex; gap: 8px; }
.form-field-phone select {
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 12px 8px; color: var(--text-1); font-size: 14px; font-family: var(--f-mono); flex: 0 0 84px;
}
.form-field-phone input { flex: 1; }
.auth-submit { width: 100%; justify-content: center; margin-top: 6px; }
.auth-switch { text-align: center; font-size: 13.5px; color: var(--text-2); margin-top: 22px; }
.auth-switch a { color: var(--teal); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--text-3); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-note { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 18px; line-height: 1.6; }
.auth-success { text-align: center; padding: 12px 0; }
.auth-success-icon {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(22,166,115,.14); color: var(--emerald-soft);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.auth-success h2 { font-size: 21px; margin-bottom: 10px; }
.auth-success p { color: var(--text-2); font-size: 14.5px; }
.form-error { color: var(--red); font-size: 12.5px; margin-top: -10px; margin-bottom: 14px; display: none; }
.form-error.visible { display: block; }

/* =========================================================
   MODAL — Early Access popup
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(6, 10, 8, 0.72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-card {
  width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-glow);
  position: relative; transform: translateY(16px) scale(.98); transition: transform .35s var(--ease);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2);
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.modal-close:hover { color: var(--text-1); border-color: var(--teal); }
.modal-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.modal-card h2 { font-size: 23px; margin-bottom: 8px; }
.modal-card > p { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }

@media (max-width: 720px) {
  .auth-card, .modal-card { padding: 30px 22px; }
  .page-hero { padding: 56px 0 72px; }
  .page-hero-inner { padding: 0 20px; }
}
