:root {
  --bg: #06080d;
  --bg-soft: #0c1018;
  --panel: rgba(13, 17, 25, 0.82);
  --panel-2: rgba(18, 23, 34, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #9ca5b3;
  --cyan: #59f0ff;
  --cyan-soft: rgba(89, 240, 255, 0.16);
  --violet: #7a5cff;
  --violet-soft: rgba(122, 92, 255, 0.14);
  --success: #87ffb7;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(89, 240, 255, 0.09), transparent 25%),
    radial-gradient(circle at top right, rgba(122, 92, 255, 0.09), transparent 22%),
    linear-gradient(180deg, #05070b 0%, #090d14 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(89, 240, 255, 0.13), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 8, 13, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: white;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: white;
}

.hero {
  padding: 72px 0 36px;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.project-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
}

.eyebrow {
  padding: 10px 14px;
  border: 1px solid rgba(135,255,183,0.15);
  background: rgba(135,255,183,0.06);
  color: var(--success);
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.hero h1 span {
  background: linear-gradient(90deg, #ffffff 0%, #8dedff 45%, #9c88ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text,
.section-heading p,
.project-content p,
.system-item p,
.roadmap-step p,
.contact-card p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 680px;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  color: #031017;
  background: linear-gradient(135deg, var(--cyan), #b2f7ff);
  box-shadow: 0 14px 32px rgba(89, 240, 255, 0.24);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: white;
}

.hero-panel,
.proof-card,
.project-card,
.roadmap-card,
.contact-card,
.system-item {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel {
  padding: 22px;
  border-radius: 26px;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(135,255,183,0.55);
  animation: pulse 1.9s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(135,255,183,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(135,255,183,0); }
  100% { box-shadow: 0 0 0 0 rgba(135,255,183,0); }
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.metric-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.metric-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.93rem;
}

.section {
  padding: 42px 0 28px;
}

.section-heading {
  margin-bottom: 22px;
  max-width: 760px;
}

.section-heading h2,
.contact-card h2,
.systems-copy h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  margin: 8px 0 10px;
}

.section-kicker {
  color: var(--cyan);
}

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

.proof-card {
  padding: 20px;
  border-radius: 20px;
}

.proof-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.proof-card p {
  color: var(--muted);
  line-height: 1.66;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.project-card {
  border-radius: 24px;
  overflow: hidden;
}

.project-visual {
  position: relative;
  height: 220px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.project-visual-web {
  background:
    radial-gradient(circle at 20% 20%, rgba(89,240,255,0.24), transparent 24%),
    linear-gradient(135deg, rgba(10,15,24,1) 0%, rgba(15,26,42,1) 100%);
}

.project-visual-web::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  border: 1px solid rgba(89,240,255,0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent),
    linear-gradient(90deg, rgba(89,240,255,0.05), rgba(122,92,255,0.03));
  box-shadow: inset 0 0 40px rgba(89,240,255,0.06);
}

.project-visual-sim {
  background:
    radial-gradient(circle at 80% 15%, rgba(122,92,255,0.28), transparent 26%),
    linear-gradient(135deg, rgba(12,14,24,1) 0%, rgba(22,18,42,1) 100%);
}

.project-visual-sim::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px solid rgba(122,92,255,0.22);
  box-shadow:
    0 0 0 18px rgba(122,92,255,0.04),
    0 0 0 40px rgba(122,92,255,0.02);
}

.scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: scan 5s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.project-content {
  padding: 22px;
}

.project-tag {
  color: var(--success);
  margin-bottom: 10px;
}

.project-content h3 {
  font-size: 1.34rem;
  margin-bottom: 10px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip-row span {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.84rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #dce3ee;
}

.systems-grid {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 22px;
  align-items: start;
}

.systems-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.system-item {
  padding: 18px;
  border-radius: 18px;
}

.system-item h3 {
  margin-bottom: 7px;
  font-size: 1.02rem;
}

.roadmap-card {
  padding: 22px;
  border-radius: 22px;
}

.roadmap-card h3 {
  font-size: 1.32rem;
  margin: 8px 0 18px;
}

.roadmap-step {
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.roadmap-step:first-of-type {
  border-top: 0;
}

.roadmap-step strong {
  display: block;
  margin-bottom: 6px;
  color: white;
}

.contact-card {
  padding: 24px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.contact-meta {
  display: grid;
  gap: 8px;
  text-align: right;
}

.contact-meta a {
  color: var(--cyan);
}

.site-footer {
  padding: 40px 0 70px;
  text-align: center;
  color: #728091;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .projects-grid,
  .systems-grid,
  .proof-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-meta {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
    padding-top: 50px;
  }

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

  .nav {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 14px;
  }
}
