/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #050e07;
  --bg-2: #071a0e;
  --surface: #0b2211;
  --surface-2: #0f2d1a;
  --surface-3: #1a4a2e;
  --accent: #00E5A0;
  --accent-dim: #00b87a;
  --accent-glow: rgba(0, 229, 160, 0.15);
  --text: #e8f5ee;
  --text-dim: rgba(232, 245, 238, 0.55);
  --text-muted: rgba(232, 245, 238, 0.3);
  --border: rgba(0, 229, 160, 0.12);
  --up: #00E5A0;
  --down: #ff4d6d;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

/* === TYPOGRAPHY === */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.section-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 520px;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4vw;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 14, 7, 0.85);
  backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo { display: flex; align-items: center; }

.nav-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--accent); }

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.6; box-shadow: 0 0 16px var(--accent); }
}

.nav-status-text {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* === HERO === */
.hero {
  padding: 5rem 4vw 3rem;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-headline em::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.hero-meta {
  display: flex;
  gap: 2rem;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

/* === TRADING MOCKUP === */
.trading-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  font-family: 'DM Mono', monospace;
  box-shadow: 0 0 40px rgba(0, 229, 160, 0.04), inset 0 1px 0 rgba(255,255,255,0.04);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.mockup-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.mockup-badge {
  background: var(--accent);
  color: var(--bg);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.mockup-market {
  margin-bottom: 0.75rem;
}

.mockup-pair {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  letter-spacing: 0.06em;
}

.mockup-price {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.mockup-price .up { color: var(--up); font-size: 0.85rem; margin-left: 0.4rem; }

.mockup-chart {
  position: relative;
  height: 80px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.sparkline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chart-grid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-line {
  height: 1px;
  background: rgba(255,255,255,0.04);
  width: 100%;
}

.mockup-depth {
  margin-bottom: 0.75rem;
}

.depth-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.depth-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.depth-bid, .depth-ask {
  font-size: 0.72rem;
  color: var(--text-dim);
  width: 80px;
}

.depth-bar {
  height: 5px;
  border-radius: 2px;
  flex: 1;
}

.depth-bid-bar { background: rgba(0, 229, 160, 0.25); }
.depth-ask-bar { background: rgba(255, 77, 109, 0.2); }

.depth-label-dim {
  font-size: 0.6rem;
  color: var(--text-muted);
  width: 30px;
  text-align: right;
}

.mockup-positions {
  margin-bottom: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.pos-header {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.pos-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.pos-sym {
  font-size: 0.72rem;
  color: var(--text-dim);
  width: 40px;
}

.pos-dir {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.pos-pnl {
  font-size: 0.72rem;
  margin-left: auto;
}

.pos-win { color: var(--up); }
.pos-loss { color: var(--down); }

.mockup-reserve {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.reserve-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.reserve-bar-wrap {
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.reserve-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(0, 229, 160, 0.4);
}

.reserve-values {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.res-val {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.res-cap {
  font-size: 0.72rem;
  color: var(--accent);
}

/* === TICKER === */
.hero-ticker {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
}

.ticker-item {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-item .up { color: var(--up); }
.ticker-item .down { color: var(--down); }

.ticker-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

/* === HERO RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-right { display: none; }
  .hero-meta { gap: 1.25rem; }
}

@media (max-width: 600px) {
  .hero { padding: 3rem 4vw 2rem; }
  .hero-headline { font-size: 2.25rem; }
}

/* === SYNTHETIC === */
.synthetic {
  padding: 6rem 4vw;
  border-bottom: 1px solid var(--border);
}

.synthetic-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.flow-diagram {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 2.5rem;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .flow-arrow { display: none; }
  .flow-step { min-width: 100%; }
}

.flow-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}

.flow-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.flow-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* === RESERVES === */
.reserves {
  padding: 6rem 4vw;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}

.reserves-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.reserves-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.reserves-donut {
  position: relative;
  width: 200px;
  height: 200px;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-pct {
  font-family: 'Syne', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.donut-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.reserves-legend {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-val {
  font-family: 'DM Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.legend-key {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.reserves-copy .section-headline { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }

.reserve-stat-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .reserves-inner { grid-template-columns: 1fr; gap: 3rem; }
  .reserves-visual { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

/* === MARKETS === */
.markets {
  padding: 6rem 4vw;
  border-bottom: 1px solid var(--border);
}

.markets-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (max-width: 800px) {
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .markets-grid { grid-template-columns: 1fr; }
}

.market-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s;
}

.market-card:hover { border-color: var(--accent-dim); }

.market-card-new { border-style: dashed; }

.market-icon { margin-bottom: 0.5rem; }

.market-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.market-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.market-spread {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  margin-top: 0.5rem;
}

.market-plus {
  width: 40px;
  height: 40px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

/* === TRANSPARENCY === */
.transparency {
  padding: 6rem 4vw;
  border-bottom: 1px solid var(--border);
}

.transparency-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.transparency-header { margin-bottom: 3rem; }

.transparency-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.trans-col { padding: 0 2rem; }

.trans-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.trans-comp-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.comp-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 77, 109, 0.12);
  color: var(--down);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.comp-check-green {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 229, 160, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.trans-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

@media (max-width: 768px) {
  .transparency-body { grid-template-columns: 1fr; }
  .trans-divider { width: 100%; height: 1px; }
  .trans-col { padding: 1.5rem 0; }
}

/* === CLOSING === */
.closing {
  padding: 6rem 4vw;
  border-bottom: 1px solid var(--border);
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.closing-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.closing-sep {
  width: 1px;
  height: 50px;
  background: var(--border);
}

.closing-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cstat-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.cstat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.closing-statement {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.closing-statement p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

/* === FOOTER === */
.footer {
  padding: 3rem 4vw;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
}
