@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #07100f;
  --bg2: #0b1715;
  --text: #edf5f1;
  --muted: #94aaa3;
  --line: rgba(237,245,241,.12);
  --accent: #8ff0bd;
  --accent2: #4ed69b;
  --card: rgba(255,255,255,.035);
  --mono: 'DM Mono', monospace;
  --sans: 'Manrope', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: radial-gradient(circle at 80% 10%, rgba(67,174,127,.12), transparent 28%), var(--bg);
  color: var(--text); font-family: var(--sans); line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.nav {
  height: 78px; padding: 0 6vw; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(18px); background: rgba(7,16,15,.78);
}
.brand { font-size: 25px; font-weight: 800; letter-spacing: .02em; }
.brand span, em { color: var(--accent); font-style: normal; }
.nav nav { display: flex; gap: 30px; }
.nav nav a { color: var(--muted); font-size: 13px; transition: .2s; }
.nav nav a:hover { color: var(--text); }
.nav-cta { font-size: 12px; border: 1px solid var(--line); padding: 10px 15px; border-radius: 4px; }
.hero { min-height: 88vh; display: grid; align-items: center; padding: 80px 6vw; }
.hero-grid { max-width: 1250px; width: 100%; margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.eyebrow, .section-kicker { font-family: var(--mono); color: var(--accent); font-size: 11px; letter-spacing: .18em; }
.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; box-shadow: 0 0 16px var(--accent); }
h1 { font-size: clamp(48px, 6.2vw, 88px); line-height: .98; letter-spacing: -.055em; margin: 22px 0; }
.hero-copy { color: var(--muted); max-width: 620px; font-size: 17px; }
.hero-actions { display: flex; gap: 12px; margin: 34px 0 45px; }
.button { padding: 13px 19px; border-radius: 3px; font-weight: 700; font-size: 13px; }
.primary { background: var(--accent); color: #07100f; }
.primary span { margin-left: 15px; }
.ghost { border: 1px solid var(--line); color: var(--text); }
.stats { display: flex; gap: 38px; }
.stats div { display: grid; gap: 2px; }
.stats strong { font-family: var(--mono); font-size: 20px; }
.stats span { color: var(--muted); font-size: 11px; }
.hero-visual { position: relative; min-height: 390px; display: grid; place-items: center; }
.terminal { width: 100%; max-width: 560px; border: 1px solid rgba(143,240,189,.2); border-radius: 8px; background: #050b0a; box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; position: relative; z-index: 2; }
.terminal-bar { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.terminal-bar span { width: 7px; height: 7px; border-radius: 50%; background: #33413d; }
.terminal-bar label { font: 10px var(--mono); color: #687a73; margin-left: 8px; }
pre { padding: 25px; font: 12px/2 var(--mono); color: #c9d7d2; overflow: auto; }
.muted { color: #63746e; } .green { color: var(--accent); }
.network-orbit { position: absolute; border: 1px dashed rgba(143,240,189,.14); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; } .orbit-two { width: 300px; height: 300px; transform: rotate(45deg); }
.section { max-width: 1250px; margin: auto; padding: 125px 6vw; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.03; letter-spacing: -.045em; margin: 18px 0 0; }
.section-text { color: var(--muted); font-size: 16px; max-width: 600px; padding-top: 30px; }
.section-text p + p { margin-top: 22px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 50px; }
.card { background: var(--card); border: 1px solid var(--line); padding: 30px; min-height: 260px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-5px); border-color: rgba(143,240,189,.35); }
.icon, .project-no { font: 11px var(--mono); color: var(--accent); }
.card h3 { font-size: 22px; margin: 28px 0 10px; }
.card p, .project p, .lab p, .contact p { color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.tags span { font: 9px var(--mono); border: 1px solid var(--line); color: #a7b9b2; padding: 5px 7px; }
.projects { border-top: 1px solid var(--line); }
.project-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 55px; }
.project-heading p { color: var(--muted); max-width: 250px; font-size: 13px; }
.project-list { border-top: 1px solid var(--line); }
.project { display: grid; grid-template-columns: 70px 1fr 30px; gap: 20px; align-items: center; padding: 27px 0; border-bottom: 1px solid var(--line); transition: padding .2s; }
.project:hover { padding-left: 10px; padding-right: 10px; }
.project h3 { font-size: 20px; margin-bottom: 4px; }
.arrow { color: var(--accent); }
.lab { border-top: 1px solid var(--line); }
.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.lab p { margin: 25px 0; max-width: 550px; }
.text-link { font: 12px var(--mono); color: var(--accent); }
.text-link span { margin-left: 12px; }
.topology { height: 300px; position: relative; background-image: linear-gradient(rgba(143,240,189,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(143,240,189,.05) 1px, transparent 1px); background-size: 30px 30px; border: 1px solid var(--line); }
.node { position: absolute; z-index: 2; background: #0a1714; border: 1px solid rgba(143,240,189,.45); color: var(--accent); font: 10px var(--mono); padding: 12px; box-shadow: 0 0 25px rgba(143,240,189,.08); }
.n1 { left: 42%; top: 38%; } .n2 { left: 12%; top: 15%; } .n3 { right: 12%; top: 15%; } .n4 { left: 12%; bottom: 15%; } .n5 { right: 12%; bottom: 15%; }
.line { position: absolute; height: 1px; background: rgba(143,240,189,.35); transform-origin: left; }
.l1 { width: 145px; left: 26%; top: 32%; transform: rotate(20deg); }
.l2 { width: 145px; left: 52%; top: 32%; transform: rotate(-20deg); }
.l3 { width: 150px; left: 26%; top: 57%; transform: rotate(-20deg); }
.l4 { width: 150px; left: 52%; top: 57%; transform: rotate(20deg); }
.contact { text-align: center; border-top: 1px solid var(--line); }
.contact p { margin: 25px auto 30px; max-width: 560px; }
.contact-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; font: 12px var(--mono); }
.contact-links a { color: var(--accent); border-bottom: 1px solid rgba(143,240,189,.3); padding-bottom: 3px; }
footer { border-top: 1px solid var(--line); padding: 25px 6vw; display: flex; justify-content: space-between; color: #60726c; font: 10px var(--mono); }

@media (max-width: 800px) {
  .nav nav { display: none; }
  .hero { padding-top: 60px; }
  .hero-grid, .split, .lab-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 330px; }
  .cards { grid-template-columns: 1fr; }
  .project-heading { display: block; }
  .project-heading p { margin-top: 20px; }
  .stats { gap: 20px; flex-wrap: wrap; }
  .section { padding-top: 85px; padding-bottom: 85px; }
  footer { gap: 15px; flex-direction: column; }
}
