/* =======================================================
   MONOLITH — HFT Quantitative Trading
   Dark. Aggressive. Minimal.
   ======================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;800;900&display=swap');

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

:root {
  --bg: #0a0a0a;
  --bg-surface: #111111;
  --bg-elevated: #1a1a1a;
  --text: #e4e4e7;
  --text-muted: #71717a;
  --text-dim: #3f3f46;
  --accent: #dc2626;
  --accent-dim: rgba(220, 38, 38, 0.15);
  --border: #27272a;
  --white: #fafafa;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* =======================================================
   NAVIGATION
   ======================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo {
  width: 32px;
  height: 32px;
}

.brand-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.lang-toggle {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: transparent;
  transition: all 0.2s;
  font-family: var(--font);
}

.lang-toggle:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* =======================================================
   HERO — Full viewport
   ======================================================= */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.tombstone-logo {
  width: 120px;
  height: auto;
  margin-bottom: 48px;
  opacity: 0.9;
}

.hero-name {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 64px;
}

.hero-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* Subtle pulse on tombstone */
@keyframes tombstone-pulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.7; }
}

.tombstone-logo {
  animation: tombstone-pulse 4s ease-in-out infinite;
}

/* =======================================================
   SECTION BASE
   ======================================================= */

.section {
  position: relative;
  z-index: 1;
  padding: 120px 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
  text-align: center;
}

/* =======================================================
   ABOUT
   ======================================================= */

.about-text {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-text strong {
  font-weight: 700;
  color: var(--white);
}

/* =======================================================
   CAPABILITIES
   ======================================================= */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.cap-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.cap-item {
  padding: 48px 40px;
  border-left: 1px solid var(--border);
}

.cap-item:first-child {
  border-left: none;
  padding-left: 0;
}

.cap-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.cap-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.cap-desc {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
}

/* =======================================================
   EXCHANGES
   ======================================================= */

.exchange-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

.exchange-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.exchange-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
}

.exchange-sep {
  color: var(--text-dim);
  font-size: 15px;
}

/* =======================================================
   METRICS
   ======================================================= */

.metrics-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  justify-content: center;
}

.metric {
  flex: 1;
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.metric:last-child { border-right: none; }

.metric-value {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 8px;
}

.metric-value .accent { color: var(--accent); }

.metric-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =======================================================
   FOOTER
   ======================================================= */

.footer {
  position: relative;
  z-index: 1;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  max-width: 1000px;
  margin: 0 auto;
}

.footer-parent {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.footer-parent a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}

.footer-parent a:hover {
  color: var(--text);
  border-color: var(--text);
}

.footer-copy {
  font-size: 11px;
  color: var(--text-dim);
}

/* =======================================================
   RESPONSIVE
   ======================================================= */

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .section { padding: 80px 24px; }
  .hero-name { font-size: 36px; letter-spacing: 0.1em; }
  .hero-tagline { font-size: 11px; }
  .tombstone-logo { width: 80px; margin-bottom: 32px; }
  .about-text { font-size: 22px; }
  .cap-grid, .cap-grid--two { grid-template-columns: 1fr; gap: 0; }
  .exchange-row { gap: 24px; }
  .exchange-item { font-size: 12px; }
  .exchange-logo { width: 20px; height: 20px; }
  .cap-item { border-left: none; border-bottom: 1px solid var(--border); padding: 32px 0; }
  .cap-item:first-child { padding-left: 0; }
  .cap-item:last-child { border-bottom: none; }
  .metrics-row { flex-direction: column; }
  .metric { border-right: none; border-bottom: 1px solid var(--border); padding: 32px 0; }
  .metric:last-child { border-bottom: none; }
  .footer { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
}
