:root {
  --bg: #0a0a0f;
  --surface: #111827;
  --surface2: #1a2332;
  --accent: #f59e0b;
  --accent-dim: rgba(245,158,11,0.12);
  --text: #f5f0e8;
  --text-muted: #8892a4;
  --text-subtle: #4b5568;
  --border: rgba(245,158,11,0.18);
  --green: #22c55e;
  --red: #ef4444;
  --font: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; }

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

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; }
.nav-brand { font-size: 1.1rem; font-weight: 900; letter-spacing: 0.15em; color: var(--text); }
.nav-tag { color: var(--accent); margin-left: 0.25rem; }
.nav-sub { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-left: auto; }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: #0a0a0f; }
.btn-primary:hover { background: #fbbf24; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* TERMINAL */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,158,11,0.08);
  font-family: var(--mono);
  font-size: 0.78rem;
}
.terminal-bar {
  background: var(--surface2);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ef4444; }
.amber { background: #f59e0b; }
.green { background: #22c55e; }
.t-title { margin-left: auto; color: var(--text-subtle); font-size: 0.72rem; }
.terminal-body { padding: 1.25rem 1.25rem 1rem; }
.t-line { color: var(--text-muted); margin-bottom: 0.6rem; display: flex; gap: 0.6rem; align-items: baseline; }
.t-ok { color: var(--green); font-weight: bold; }
.t-ts { color: var(--text-subtle); flex-shrink: 0; }
.t-muted { color: var(--text-subtle); font-style: italic; margin-top: 0.5rem; }

/* STATS */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
}
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 1rem 2rem;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* SYSTEMS */
.systems { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; margin-bottom: 0.75rem; }
.section-sub { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.sys-card {
  background: var(--surface);
  padding: 2.25rem;
  transition: background 0.2s;
}
.sys-card:hover { background: var(--surface2); }
.sys-icon { color: var(--accent); margin-bottom: 1rem; }
.sys-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.sys-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* CLIENTS */
.clients {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem;
  text-align: center;
}
.clients-tag { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2rem; }
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.logo-item { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; color: var(--text-muted); padding: 0.4rem 0; }

/* MANIFESTO */
.manifesto {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2.5rem;
}
.manifesto-cta { display: flex; justify-content: center; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-name { font-size: 0.85rem; font-weight: 900; letter-spacing: 0.12em; }
.footer-tagline { font-size: 0.72rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; margin-left: auto; flex-wrap: wrap; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { width: 100%; font-size: 0.72rem; color: var(--text-subtle); margin-top: 0.5rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding-top: 6rem; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(2n) { border-right: none; }
  .systems-grid { grid-template-columns: 1fr; }
  .nav-sub { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-links { margin-left: 0; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
