:root {
  --bg: #090d14;
  --bg2: #0d121b;
  --card: rgba(18, 25, 37, .74);
  --card2: #111824;
  --border: rgba(255,255,255,.08);
  --text: #f4f7fb;
  --muted: #8f9bad;
  --accent: #6be7b5;
  --accent2: #5aa7ff;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(90,167,255,.10), transparent 35%),
    radial-gradient(circle at 90% 25%, rgba(107,231,181,.08), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: .025;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.container {
  width: min(var(--max), calc(100% - 42px));
  margin: 0 auto;
}

.header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(9,13,20,.76);
  backdrop-filter: blur(14px);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #151f2e, #111722);
  border: 1px solid var(--border);
}

.brand-mark svg {
  width: 24px;
  fill: var(--accent);
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-size: 15px;
  letter-spacing: .03em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: .2s ease;
}

nav a:hover,
nav a.active {
  color: var(--text);
}

.hero {
  padding: 120px 0 105px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: center;
}

.pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #b3bdca;
  background: rgba(255,255,255,.025);
  font-size: 12px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(107,231,181,.8);
}

.hero h1 {
  margin: 26px 0 28px;
  max-width: 780px;
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: .99;
  letter-spacing: -.055em;
}

.hero h1 span {
  color: #8492a7;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.btn.primary {
  color: #07130e;
  background: var(--accent);
}

.btn.secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
}

.network-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(24,34,50,.93), rgba(12,17,26,.95));
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}

.terminal-top {
  height: 48px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--border);
}

.terminal-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d4654;
}

.terminal-top strong {
  margin-left: auto;
  color: #768296;
  font-family: monospace;
  font-size: 11px;
  font-weight: 500;
}

.network-map {
  position: relative;
  height: 265px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.network-map:before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--accent2),
    var(--accent),
    transparent);
  opacity: .5;
}

.node {
  position: relative;
  z-index: 2;
  width: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.node i {
  width: 20px;
  height: 20px;
  margin-bottom: 13px;
  border: 5px solid #172130;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 30px rgba(107,231,181,.3);
}

.node-b i {
  background: var(--accent2);
  box-shadow: 0 0 30px rgba(90,167,255,.35);
}

.node b {
  font-size: 11px;
  letter-spacing: .12em;
}

.node small {
  color: var(--muted);
  font-size: 10px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--border);
}

.metrics div {
  padding: 18px;
  border-right: 1px solid var(--border);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics small,
.metrics strong {
  display: block;
}

.metrics small {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.metrics strong {
  margin-top: 5px;
  font-size: 12px;
}

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

.section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.section-title span,
.section-label {
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.section-title h2,
.architecture h2,
.status-panel h2 {
  margin: 15px 0 50px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.feature {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--accent);
  font: 11px monospace;
}

.feature h3 {
  margin: 58px 0 12px;
  font-size: 19px;
}

.feature p,
.architecture p {
  color: var(--muted);
  font-size: 14px;
}

.architecture {
  background: rgba(255,255,255,.012);
}

.architecture-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.architecture h2 {
  margin-bottom: 25px;
}

.stack {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.stack > div {
  min-height: 92px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.stack > div:last-child {
  border-bottom: 0;
}

.stack span {
  grid-row: 1 / 3;
  color: var(--accent);
  font: 11px monospace;
}

.stack b {
  font-size: 14px;
}

.stack small {
  color: var(--muted);
}

.status-panel {
  padding: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
}

.status-panel h2 {
  margin: 10px 0;
  font-size: 30px;
}

.status-panel p {
  margin: 0;
  color: var(--muted);
}

.status-indicator {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--accent);
  font-size: 14px;
}

.status-indicator span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(107,231,181,.8);
}

footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.footer-grid p {
  max-width: 350px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2,100px);
  gap: 10px 35px;
}

.footer-links a,
.copyright a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.copyright {
  margin-top: 55px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: #697587;
  font-size: 11px;
}

.page-main {
  min-height: 72vh;
  padding-bottom: 100px;
}

.page-header {
  padding: 100px 0 70px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-header h1 {
  margin: 15px 0 20px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.page-header p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}

.content-grid article,
.contact-card,
.legal,
.status-table,
.status-meta {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
}

.content-grid p,
.contact-card p,
.legal {
  color: var(--muted);
}

.contact-card {
  max-width: 720px;
}

.contact-card small {
  display: block;
  color: var(--muted);
}

.contact-card a {
  display: inline-block;
  margin: 12px 0;
  color: var(--accent);
  font-size: 24px;
  text-decoration: none;
}

.status-table {
  padding: 0;
  overflow: hidden;
}

.status-table > div {
  min-height: 76px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.status-table > div:last-child {
  border-bottom: 0;
}

.status-table strong {
  font-size: 14px;
}

.status-table small {
  color: var(--accent);
}

.status-meta {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.status-meta strong {
  color: var(--text);
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.error-page > div > span {
  color: var(--accent);
  font: 14px monospace;
}

.error-page h1 {
  margin: 10px;
  font-size: 48px;
}

.error-page p {
  margin-bottom: 30px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .architecture-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

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

  .hero {
    padding-top: 80px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    height: auto;
    padding: 17px 0;
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
  }

  .hero {
    padding: 65px 0;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

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

  .status-panel,
  .footer-grid,
  .copyright {
    align-items: flex-start;
    gap: 25px;
    flex-direction: column;
  }

  .status-table > div {
    grid-template-columns: 30px 1fr;
  }

  .status-table small {
    grid-column: 2;
  }
}
