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

:root {
  --bg: #09090b;
  --surface: #141416;
  --surface2: #1c1c1f;
  --border: #27272a;
  --text: #fafafa;
  --text-muted: #71717a;
  --text-sub: #a1a1aa;
  --accent: #fbbf24;
  --accent-dim: rgba(251, 191, 36, 0.08);
  --long: #4ade80;
  --short: #f87171;
  --font-head: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Nav ──────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ─── Layout Wrappers ─────────────────────────────────────────── */
.signals-inner,
.features-inner,
.philosophy-inner,
.closing-inner,
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 100px;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(251, 191, 36, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-sub);
  max-width: 580px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 40px;
}

.stat-val {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin-right: 40px;
}

/* ─── Signals ──────────────────────────────────────────────────── */
.signals {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 48px;
  line-height: 1.15;
}

.signal-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.signal-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s;
}

.signal-card:hover {
  border-color: rgba(251, 191, 36, 0.25);
}

.signal-asset {
  display: flex;
  align-items: center;
  gap: 16px;
}

.signal-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  border-radius: 12px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.signal-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.signal-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.signal-direction {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 8px;
  align-self: flex-start;
}

.signal-direction--long {
  background: rgba(74, 222, 128, 0.1);
  color: var(--long);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.signal-direction--short {
  background: rgba(248, 113, 113, 0.1);
  color: var(--short);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.dir-arrow {
  font-size: 16px;
}

.signal-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.level {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.level-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.level-val {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.level-val--stop {
  color: var(--short);
}

.signal-ai {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.ai-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface2);
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

/* ─── Features ────────────────────────────────────────────────── */
.features {
  padding: 100px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature {
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.feature-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.feature-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ─── Philosophy ───────────────────────────────────────────────── */
.philosophy {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philosophy-content {
  max-width: 720px;
}

.philosophy-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 28px;
}

.philosophy-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.philosophy-body:last-child { margin-bottom: 0; }

/* ─── Closing ─────────────────────────────────────────────────── */
.closing {
  padding: 120px 0;
  text-align: center;
}

.closing-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── Footer ──────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
}

.footer-legal {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  max-width: 340px;
  line-height: 1.5;
}

/* ─── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    padding: 100px 24px 80px;
  }

  .signals-inner,
  .features-inner,
  .philosophy-inner,
  .closing-inner,
  .footer-inner {
    padding: 0 24px;
  }

  .nav {
    padding: 0 24px;
  }

  .signal-cards {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 0;
  }

  .stat {
    padding-right: 24px;
  }

  .stat-divider {
    margin-right: 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    text-align: left;
  }

  .signal-levels {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 44px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .stat-val {
    font-size: 28px;
  }

  .closing-headline {
    font-size: 36px;
  }
}