:root {
  --bg: #07111f;
  --bg-soft: #0d1830;
  --panel: rgba(255,255,255,0.06);
  --panel-strong: rgba(255,255,255,0.1);
  --text: #f5f7fb;
  --muted: #a8b3c7;
  --line: rgba(255,255,255,0.12);
  --accent: #82b1ff;
  --accent-2: #72f1d1;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 20px;
  --max: 1180px;
}

* { 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;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(130,177,255,0.22), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(114,241,209,0.16), transparent 22%),
    linear-gradient(180deg, #08111f 0%, #07111f 50%, #060b14 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7, 17, 31, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(130,177,255,0.95), rgba(114,241,209,0.95));
  box-shadow: 0 10px 30px rgba(130,177,255,0.25);
  position: relative;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(7,17,31,0.7);
  border-radius: 10px;
  transform: rotate(45deg);
}

.brand-mark::after {
  inset: 13px;
  border-width: 1px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--muted);
  font-size: 0.96rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  transition: 180ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.24);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #05101d;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(114,241,209,0.18);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.btn-tertiary {
  background: rgba(255,255,255,0.02);
  color: var(--muted);
}

.hero,
.page-hero {
  padding: 88px 0 48px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-2);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 14ch;
}

.lead {
  margin: 20px 0 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.hero-actions .btn { padding: 12px 16px; }

.actions-tight { margin-top: 16px; }
.actions-inline { margin: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.stat span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -25% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(130,177,255,0.22), transparent 60%);
  pointer-events: none;
}

.terminal {
  background: #050a14;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #d8e3f5;
  font-size: 0.92rem;
  line-height: 1.7;
  overflow: auto;
}

.terminal .muted { color: #7e8ca8; }
.terminal .accent { color: #72f1d1; }
.terminal .blue { color: #82b1ff; }

.section {
  padding: 44px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.7;
}

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 100%;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(130,177,255,0.16), rgba(114,241,209,0.16));
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 1.2rem;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.7;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

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

.showcase .card h3,
.product-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}

.product-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.callout {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  line-height: 1.7;
}

.page-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
  color: var(--muted);
}

.page-meta a {
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.cta {
  padding: 56px 0 80px;
}

.cta-panel {
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(130,177,255,0.14), rgba(114,241,209,0.12));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.cta-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.7;
}

footer {
  padding: 24px 0 42px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

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

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

  .section-header,
  .cta-panel,
  .footer-inner {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .nav-inner {
    min-height: 66px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .page-hero {
    padding-top: 52px;
  }

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

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

