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

:root {
  --bg: #07070e;
  --bg-card: #0f0f1a;
  --bg-card-hover: #141428;
  --amber: #f5a623;
  --amber-dim: rgba(245,166,35,0.15);
  --amber-border: rgba(245,166,35,0.25);
  --text: #e8e8f0;
  --text-muted: #6b6b80;
  --text-dim: #4a4a5a;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
  border-bottom: 1px solid var(--amber-border);
  background: rgba(7,7,14,0.9);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}

.nav-status {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.status-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber);
  display: inline-block;
  margin-right: 6px;
}

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

/* ===== HERO ===== */
.hero {
  padding: 5rem 2rem 4rem;
}

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

/* Terminal */
.terminal-block {
  background: var(--bg-card);
  border: 1px solid var(--amber-border);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  box-shadow: 0 0 40px rgba(245,166,35,0.06), inset 0 1px 0 rgba(245,166,35,0.1);
}

.terminal-header {
  background: rgba(245,166,35,0.08);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--amber-border);
}

.t-dots {
  display: flex;
  gap: 5px;
}
.t-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
  display: block;
}

.t-title {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.t-line {
  color: var(--text-muted);
  line-height: 1.5;
}

.t-prompt { color: var(--amber); font-weight: 500; }
.t-comment { color: var(--text-dim); font-size: 0.65rem; }
.t-success { color: #7ecf8e; }
.t-amber { color: var(--amber); }

/* Stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 1.5rem;
  border: 1px solid var(--amber-border);
  border-radius: 8px;
  overflow: hidden;
}

.stat {
  padding: 1rem;
  text-align: center;
  border-right: 1px solid var(--amber-border);
}
.stat:last-child { border-right: none; }

.stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  font-family: var(--font-display);
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero right */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
}

.hero-headline {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 400;
}

.hero-tagline {
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 600;
  border-left: 3px solid var(--amber);
  padding-left: 1rem;
  font-style: italic;
}

/* ===== WHAT IT DOES ===== */
.what-it-does {
  padding: 6rem 2rem;
  border-top: 1px solid var(--amber-border);
}

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

.wid-header {
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.wid-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

.wid-card {
  background: var(--bg-card);
  padding: 2.5rem;
  transition: background 0.2s;
}
.wid-card:hover { background: var(--bg-card-hover); }

.wid-num {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.wid-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.wid-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== PROCESS ===== */
.process {
  padding: 6rem 2rem;
  border-top: 1px solid var(--amber-border);
}

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

.process-label {
  margin-bottom: 3rem;
}

.process-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.proc-item {
  display: grid;
  grid-template-columns: 120px 1fr 100px;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
}

.proc-phase {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--amber);
  letter-spacing: 0.1em;
  padding-top: 3px;
}

.proc-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.proc-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.proc-time {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-align: right;
  padding-top: 3px;
}

.proc-divider {
  height: 1px;
  background: var(--amber-border);
}

.process-footer {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--amber-border);
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 6rem 2rem;
  border-top: 1px solid var(--amber-border);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-rule {
  width: 60px;
  height: 2px;
  background: var(--amber);
  margin: 0 auto 3rem;
}

.manifesto-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.manifesto-tagline {
  font-size: 0.9rem;
  color: var(--amber);
  font-style: italic;
  margin-top: 2rem;
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--amber-border);
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-status {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.footer-market {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--amber);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--amber-border);
}

.footer-bottom p {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-right { order: -1; }

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

  .proc-item {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
  }
  .proc-time {
    grid-column: 2;
    text-align: left;
    padding-top: 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-meta { text-align: left; }
  .footer-status, .footer-meta { justify-content: flex-start; }

  .process-footer {
    flex-direction: column;
    gap: 1rem;
  }
}