/* =======================
   EDGELOOP — THEME CSS
   ======================= */

:root {
  --bg: #0D0D0F;
  --bg-elevated: #131317;
  --bg-card: #1A1A20;
  --fg: #E8E8EE;
  --fg-muted: #7A7A8E;
  --cyan: #00E5C8;
  --cyan-dim: rgba(0, 229, 200, 0.15);
  --amber: #F5A623;
  --amber-dim: rgba(245, 166, 35, 0.15);
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Syne', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.nav-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-pricing-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.nav-pricing-link:hover { color: var(--fg); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.title-accent {
  color: var(--cyan);
}
.hero-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 400px;
}

/* ---- ARB CARD ---- */
.arb-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 0 60px rgba(0, 229, 200, 0.05);
  position: relative;
  overflow: hidden;
}
.arb-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.arb-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.arb-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 4px 8px;
  border-radius: 4px;
}
.arb-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-muted);
}
.arb-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.arb-platform {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.platform-name {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.platform-side {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.platform-price {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
}
.arb-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}
.arb-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-bottom: 20px;
  gap: 16px;
}
.arb-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
}
.stat-value.amber { color: var(--amber); }
.arb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.arb-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-muted);
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.8;
}
.arb-venues {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* ---- OPPORTUNITIES ---- */
.opportunities {
  background: var(--bg-elevated);
  padding: 100px 32px;
}
.opp-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}
.opp-header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.opp-header p {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 520px;
}
.opp-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.opp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: border-color 0.3s ease;
}
.opp-card:hover {
  border-color: rgba(0, 229, 200, 0.2);
}
.opp-icon {
  margin-bottom: 20px;
  opacity: 0.9;
}
.opp-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.opp-card p {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.opp-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.metric-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--cyan);
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 100px 32px;
  background: var(--bg);
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.manifesto-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 32px;
}
.manifesto blockquote {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 800px;
  margin-bottom: 36px;
  color: var(--fg);
}
.manifesto blockquote em {
  color: var(--amber);
  font-style: normal;
}
.manifesto-body {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
  color: var(--fg-muted);
  max-width: 620px;
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px 32px;
  background: var(--bg-elevated);
  text-align: center;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing p {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.closing-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cv-item {
  display: flex;
  align-items: center;
}
.cv-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cv-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}

/* ---- FOOTER ---- */
.footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.footer-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  max-width: 380px;
}
.footer-legal {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(122, 122, 142, 0.5);
  letter-spacing: 0.04em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 20px 60px;
    gap: 48px;
  }
  .opp-grid {
    grid-template-columns: 1fr;
  }
  .manifesto blockquote {
    font-size: 22px;
  }
  .closing-value {
    flex-direction: column;
    gap: 12px;
  }
  .cv-divider { display: none; }
  .nav-inner { padding: 14px 20px; }
  .opportunities { padding: 64px 20px; }
  .manifesto { padding: 64px 20px; }
  .closing { padding: 64px 20px; }
  .arb-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .arb-pair { gap: 12px; }
  .platform-price { font-size: 18px; }
  .arb-stats { gap: 8px; }
  .stat-value { font-size: 14px; }
}