:root {
  --bg: #0b0f1a;
  --panel: #121829;
  --panel-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --muted: #9ca3af;
  --accent: #7c3aed;
  --success: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --info: #60a5fa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 58, 237, 0.22), transparent 32%),
    radial-gradient(circle at 90% 15%, rgba(96, 165, 250, 0.14), transparent 24%),
    linear-gradient(180deg, #0b0f1a 0%, #0d1220 50%, #090d16 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.55;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  width: min(calc(100% - 32px), 1140px);
  margin: 0 auto;
  padding: 24px 0 42px;
  position: relative;
  z-index: 1;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.lockup img {
  width: auto;
  height: 40px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.13);
  color: #c4b5fd;
  padding: 9px 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: pulse 1.8s infinite;
}

.hero {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-style: italic;
  font-weight: 900;
  max-width: 10.8ch;
}

.hero p {
  margin: 0;
  max-width: 610px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.actions {
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(124, 58, 237, 0.34);
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.26);
  transition: transform 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.panel,
.card,
.status-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.panel {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 24, 41, 0.96), rgba(11, 15, 26, 1));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.panel-brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.lights {
  display: flex;
  gap: 7px;
}

.lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.lights span:nth-child(1) { background: #fb7185; }
.lights span:nth-child(2) { background: #fbbf24; }
.lights span:nth-child(3) { background: #34d399; }

.mono,
.clock,
.term,
.finding {
  font-family: Consolas, "Courier New", monospace;
}

.mono {
  color: #6b7280;
  font-size: 12px;
}

.clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c4b5fd;
  font-size: 12px;
}

.terminal {
  padding: 20px;
  min-height: 360px;
  background: linear-gradient(180deg, rgba(8, 11, 20, 0.98), rgba(7, 10, 18, 1));
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.68;
}

.term {
  min-height: 300px;
}

.t-muted { color: #71717a; }
.t-ok { color: var(--success); }
.t-warn { color: var(--warn); }
.t-bad { color: var(--danger); }
.t-info { color: var(--info); }
.t-strong { color: var(--text); font-weight: 700; }

.cursor {
  display: inline-block;
  width: 9px;
  height: 17px;
  background: rgba(52, 211, 153, 0.9);
  animation: blink 1s steps(1, end) infinite;
}

.section {
  margin-top: 28px;
}

.head {
  max-width: 700px;
  margin: 0 auto 16px;
  text-align: center;
}

.label {
  display: inline-block;
  margin-bottom: 10px;
  color: #a78bfa;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-style: italic;
  font-weight: 900;
}

.head p {
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 15px;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.token {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  border-radius: 14px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.amber { background: rgba(251, 191, 36, 0.1); color: var(--warn); border: 1px solid rgba(251, 191, 36, 0.2); }
.purple { background: rgba(124, 58, 237, 0.12); color: #a78bfa; border: 1px solid rgba(124, 58, 237, 0.22); }
.green { background: rgba(52, 211, 153, 0.1); color: var(--success); border: 1px solid rgba(52, 211, 153, 0.2); }
.blue { background: rgba(96, 165, 250, 0.1); color: var(--info); border: 1px solid rgba(96, 165, 250, 0.2); }

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.finding {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
  font-size: 11px;
}

.status-card {
  padding: 20px;
}

.status-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.status-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.live {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e9d5ff;
  font-weight: 700;
}

.footer {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #6b7280;
  font-size: 13px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-copy {
  text-align: right;
  line-height: 1.55;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (max-width: 980px) {
  .hero,
  .services {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .terminal {
    min-height: 320px;
  }

  .footer,
  .masthead {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(calc(100% - 24px), 1140px);
    padding-top: 16px;
  }

  .lockup img {
    height: 32px;
  }

  .hero p,
  .head p {
    font-size: 15px;
  }

  .hero h1 {
    max-width: none;
  }

  .btn {
    width: 100%;
  }

  .card,
  .status-card,
  .terminal {
    padding: 16px;
  }
}
