:root {
  --bg: #050713;
  --bg-soft: #0b1020;
  --card: rgba(255, 255, 255, 0.075);
  --card-strong: rgba(255, 255, 255, 0.12);
  --text: #f6f8ff;
  --muted: #aeb8d4;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #55f3d1;
  --accent-2: #7c6bff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 10%, rgba(124, 107, 255, 0.22), transparent 36%),
    radial-gradient(circle at 90% 15%, rgba(85, 243, 209, 0.14), transparent 32%),
    linear-gradient(145deg, #050713 0%, #08101f 42%, #070817 100%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

.orb {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.3;
}

.orb-one {
  top: 15%;
  left: -160px;
  background: var(--accent-2);
}

.orb-two {
  right: -120px;
  bottom: 10%;
  background: var(--accent);
}

.header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  height: 74px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 10, 24, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07111b;
  background: linear-gradient(135deg, var(--accent), #a7fff1);
  box-shadow: 0 0 34px rgba(85, 243, 209, 0.35);
  font-size: 14px;
}

.brand-text {
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  transition: color 0.25s ease;
}

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

.nav-cta {
  color: #06101a !important;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--card-strong);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 54px;
  padding-top: 150px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lead {
  max-width: 680px;
  font-size: 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

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

.btn.primary {
  color: #06101a;
  background: linear-gradient(135deg, var(--accent), #9ffff0);
  box-shadow: 0 16px 40px rgba(85, 243, 209, 0.22);
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.045);
}

.btn.full {
  width: 100%;
}

.hero-panel {
  position: relative;
}

.terminal {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal-top {
  height: 52px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.terminal-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
}

pre {
  margin: 0;
  padding: 32px;
  color: #dffcf7;
  white-space: pre-wrap;
  font-size: 15px;
  line-height: 1.9;
}

.metric-card {
  position: absolute;
  right: -22px;
  bottom: -38px;
  width: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 10, 24, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.metric-card strong {
  display: block;
  font-size: 25px;
  margin-bottom: 8px;
}

.metric-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.trust-strip {
  width: min(1180px, calc(100% - 40px));
  margin: -32px auto 0;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading p:last-child {
  font-size: 18px;
}

.cards {
  display: grid;
  gap: 22px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card, .about-card, .contact-card, .timeline-item, .tech-grid div {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 54px rgba(0,0,0,0.18);
}

.card {
  min-height: 300px;
  padding: 34px;
  border-radius: var(--radius);
  transition: transform 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.105);
}

.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 18px;
  background: rgba(85, 243, 209, 0.13);
  color: var(--accent);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 54px;
  align-items: center;
}

.feature-list {
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  color: #d8def1;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

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

.tech-grid div {
  min-height: 172px;
  padding: 26px;
  border-radius: 26px;
}

.tech-grid span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.tech-grid p {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

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

.timeline-item {
  padding: 28px;
  border-radius: 26px;
}

.timeline-item span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #06101a;
  background: var(--accent);
  font-weight: 900;
}

.about {
  padding-top: 72px;
}

.about-card {
  padding: clamp(34px, 6vw, 72px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(85, 243, 209, 0.1), transparent 38%),
    rgba(255,255,255,0.065);
}

.about-card p {
  font-size: 18px;
  max-width: 900px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: center;
  gap: 48px;
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius);
}

.contact-card div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-card div:first-child {
  padding-top: 0;
}

.contact-card div:nth-last-child(2) {
  border-bottom: 0;
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card p, .contact-card a:not(.btn) {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 54px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--accent);
  font-weight: 800;
}

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

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

@media (max-width: 920px) {
  .header {
    height: auto;
    min-height: 70px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 28px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(7, 10, 24, 0.96);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 16px;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 150px;
    gap: 28px;
  }

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

  .metric-card {
    position: static;
    width: auto;
    margin-top: 16px;
  }

  .trust-strip {
    border-radius: 28px;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(100% - 28px, 1180px);
    padding: 82px 0;
  }

  .brand-text {
    font-size: 16px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 17px;
  }

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

  .footer {
    flex-direction: column;
  }
}
