:root{
  --bg: #0F1419;
  --surface: #1A2129;
  --surface-2: #212B34;
  --border: #2C3742;
  --text: #E8ECEF;
  --text-muted: #8B98A5;
  --accent: #5EEAD4;
  --accent-dim: #1F4F49;
  --warm: #F2A65A;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains 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-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 24px;
}

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

h1,h2,h3{font-family:var(--font-display); font-weight:600; letter-spacing:-0.01em;}

.eyebrow{
  font-family:var(--font-mono);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:0.12em;
  color:var(--accent);
  margin-bottom:12px;
}

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

/* HEADER */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(15,20,25,0.85);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.logo{
  font-family:var(--font-display);
  font-weight:700;
  font-size:20px;
  letter-spacing:-0.02em;
}
.logo span{color:var(--accent);}
.nav{display:flex; gap:32px;}
.nav a{
  font-size:14px; color:var(--text-muted);
  transition:color 0.15s ease;
}
.nav a:hover{color:var(--text);}
.nav-cta{display:inline-flex;}

@media (max-width:720px){
  .nav{display:none;}
}

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 24px;
  border-radius:6px;
  font-size:14px; font-weight:500;
  border:1px solid var(--border);
  transition:all 0.15s ease;
  white-space:nowrap;
}
.btn-accent{
  background:var(--accent);
  color:#06302C;
  border-color:var(--accent);
}
.btn-accent:hover{
  background:#7FF1DD;
}
.btn-ghost{
  background:transparent;
  color:var(--text);
}
.btn-ghost:hover{
  border-color:var(--text-muted);
}

/* HERO */
.hero{
  padding:96px 0 80px;
  border-bottom:1px solid var(--border);
}
.hero-inner{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:48px;
  align-items:center;
}
.hero h1{
  font-size:56px;
  line-height:1.08;
  margin:16px 0 24px;
}
.hero-lede{
  font-size:18px;
  color:var(--text-muted);
  max-width:46ch;
  margin-bottom:36px;
}
.hero-actions{display:flex; gap:16px;}

.hero-visual{position:relative;}
.net-svg{width:100%; height:auto; display:block;}

.links line{
  stroke:var(--border);
  stroke-width:1.5;
}
.node{
  fill:var(--surface-2);
  stroke:var(--accent);
  stroke-width:1.5;
}
.node-core{
  fill:var(--accent);
  stroke:none;
}
.node-dim{
  stroke:var(--text-muted);
  opacity:0.5;
}

.pulse{
  fill:var(--accent);
  opacity:0;
  animation:travel 4s linear infinite;
}
.pulse-2{
  fill:var(--warm);
  animation:travel 5s linear infinite;
  animation-delay:1.5s;
}
@keyframes travel{
  0%{ offset-distance:0%; opacity:0; }
  8%{ opacity:1; }
  92%{ opacity:1; }
  100%{ offset-distance:100%; opacity:0; }
}
@media (prefers-reduced-motion: reduce){
  .pulse, .pulse-2{ animation:none; opacity:0; }
}

.status-tag{
  position:absolute;
  bottom:8px; left:50%;
  transform:translateX(-50%);
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--text-muted);
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:999px;
  padding:6px 16px;
  display:flex; align-items:center; gap:8px;
  white-space:nowrap;
}
.status-tag .dot{
  width:8px; height:8px; border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 0 rgba(94,234,212,0.6);
  animation:ping 2s ease-out infinite;
}
@keyframes ping{
  0%{box-shadow:0 0 0 0 rgba(94,234,212,0.5);}
  70%{box-shadow:0 0 0 6px rgba(94,234,212,0);}
  100%{box-shadow:0 0 0 0 rgba(94,234,212,0);}
}

@media (max-width:880px){
  .hero{padding:56px 0;}
  .hero-inner{grid-template-columns:1fr; gap:48px;}
  .hero h1{font-size:38px;}
  .hero-visual{order:-1; max-width:380px; margin:0 auto;}
}

/* SERVICES */
.services{padding:96px 0; border-bottom:1px solid var(--border);}
.services h2{font-size:36px; margin-bottom:48px;}

.service-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1px;
  background:var(--border);
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
}
.service-card{
  background:var(--surface);
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.service-card h3{font-size:18px;}
.service-card p{
  color:var(--text-muted);
  font-size:14px;
  flex-grow:1;
}
.status-pill{
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--accent);
  letter-spacing:0.04em;
}
.tags{
  display:flex; flex-wrap:wrap; gap:8px;
  list-style:none;
  margin-top:8px;
}
.tags li{
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--text-muted);
  border:1px solid var(--border);
  border-radius:4px;
  padding:3px 8px;
}

@media (max-width:880px){
  .service-grid{grid-template-columns:1fr;}
  .services{padding:56px 0;}
  .services h2{font-size:28px;}
}

/* APPROACH */
.approach{padding:96px 0; border-bottom:1px solid var(--border);}
.approach-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
}
.approach h2{font-size:36px; margin-bottom:20px;}
.approach-lede{color:var(--text-muted); font-size:16px;}
.approach-list{display:flex; flex-direction:column; gap:28px;}
.approach-item h3{
  font-size:16px; margin-bottom:8px; color:var(--warm);
}
.approach-item p{color:var(--text-muted); font-size:14px;}

@media (max-width:880px){
  .approach{padding:56px 0;}
  .approach-inner{grid-template-columns:1fr; gap:40px;}
  .approach h2{font-size:28px;}
}

/* CONTACTS */
.contacts{padding:96px 0;}
.contacts h2{font-size:36px; margin-bottom:40px;}

.terminal{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  max-width:640px;
}
.terminal-bar{
  display:flex; align-items:center; gap:8px;
  padding:12px 16px;
  border-bottom:1px solid var(--border);
  background:var(--surface-2);
}
.t-dot{width:11px; height:11px; border-radius:50%; display:inline-block;}
.t-red{background:#E24B4A;}
.t-amber{background:#EF9F27;}
.t-green{background:#5DCAA5;}
.terminal-title{
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--text-muted);
  margin-left:8px;
}
.terminal-body{
  padding:24px;
  font-family:var(--font-mono);
  font-size:14px;
}
.terminal-body p{margin-bottom:8px;}
.prompt{color:var(--accent);}
.output{color:var(--text-muted); padding-left:0;}
.output a{color:var(--warm); border-bottom:1px solid transparent;}
.output a:hover{border-bottom-color:var(--warm);}
.cursor{
  color:var(--accent);
  animation:blink 1s step-end infinite;
}
@keyframes blink{
  0%, 50%{opacity:1;}
  50.01%, 100%{opacity:0;}
}

@media (max-width:880px){
  .contacts{padding:56px 0;}
  .contacts h2{font-size:28px;}
  .terminal-body{font-size:12px; padding:16px;}
}

/* FOOTER */
.site-footer{
  border-top:1px solid var(--border);
  padding:32px 0;
}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:12px;
  font-size:13px; color:var(--text-muted);
  font-family:var(--font-mono);
}
.footer-inner .logo{font-size:16px;}
