@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --bg: #07131f;
  --bg-soft: #0d2030;
  --card: rgba(11, 26, 41, 0.82);
  --card-strong: rgba(8, 22, 35, 0.92);
  --line: rgba(193, 228, 255, 0.14);
  --text: #eaf3fb;
  --muted: #98adbf;
  --accent: #62d6ff;
  --accent-2: #7cffc3;
  --warn: #ffca73;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(98, 214, 255, 0.18), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(124, 255, 195, 0.14), transparent 24%),
    linear-gradient(180deg, #040b11 0%, var(--bg) 38%, #050d14 100%);
  font: 16px/1.6 "Inter", system-ui, sans-serif;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.55;
}

.page-shell::before {
  width: 22rem;
  height: 22rem;
  top: 8rem;
  right: -8rem;
  background: rgba(98, 214, 255, 0.12);
}

.page-shell::after {
  width: 18rem;
  height: 18rem;
  left: -7rem;
  bottom: 22rem;
  background: rgba(124, 255, 195, 0.10);
}

.topbar,
main,
.footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(98, 214, 255, 0.18), rgba(124, 255, 195, 0.18));
  border: 1px solid var(--line);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  display: grid;
}

.brand-text strong,
.section h2,
.hero h1,
.card h3,
.panel-card h2,
.timeline h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.85rem;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.topnav a:hover,
.footer a:hover,
.panel-card a:hover {
  color: var(--accent);
}

main {
  padding: 2rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: 2rem 0 1rem;
}

.hero-copy,
.hero-panel,
.section,
.footer,
.card,
.panel-card,
.portal-section {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.section,
.portal-section {
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(13, 28, 44, 0.86), rgba(8, 20, 31, 0.92));
  backdrop-filter: blur(16px);
}

.hero-copy {
  padding: 2.2rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.lede {
  max-width: 62ch;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(193, 228, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #3aa5ff);
  color: #02131d;
}

.btn.ghost {
  border-color: rgba(193, 228, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
}

.btn.large {
  min-width: 14rem;
  min-height: 3.4rem;
}

.panel-card,
.card {
  border-radius: 1.4rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.panel-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
}

.panel-card.accent {
  background:
    radial-gradient(circle at top right, rgba(98, 214, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(13, 42, 59, 0.96), rgba(8, 25, 38, 0.94));
}

.panel-card p,
.card-tag,
.timeline span {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.panel-card h2 {
  margin: 0.8rem 0 0.85rem;
  font-size: 1.5rem;
  line-height: 1.1;
}

.panel-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
}

.panel-card li + li { margin-top: 0.55rem; }

.module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.module-actions.compact {
  margin-top: 0.9rem;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(193, 228, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.mini-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(98, 214, 255, 0.32);
  color: var(--accent);
}

.section {
  margin-top: 1.25rem;
  padding: 2rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.section-heading.narrow {
  max-width: 42rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.grid.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
}

.card h3 {
  margin: 0.75rem 0 0.55rem;
  font-size: 1.25rem;
}

.module-card {
  background:
    radial-gradient(circle at top right, rgba(98, 214, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.03);
}

.card p,
.section p,
.timeline p,
.portal-section p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline article {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0 1rem;
  border-top: 1px solid rgba(193, 228, 255, 0.12);
}

.timeline article:last-child {
  border-bottom: 1px solid rgba(193, 228, 255, 0.12);
}

.timeline span {
  color: var(--warn);
  font-size: 0.9rem;
}

.timeline h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.portal-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.5rem 2rem;
  background:
    radial-gradient(circle at top right, rgba(124, 255, 195, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(13, 28, 44, 0.94), rgba(8, 20, 31, 0.95));
}

.contact-cta {
  justify-content: flex-end;
  margin-top: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  margin-top: 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero,
  .grid.cards-3,
  .portal-section {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero h1 { max-width: 14ch; }

  .section-heading,
  .topbar,
  .footer,
  .portal-section {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .contact-cta {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .topbar,
  main,
  .footer {
    width: min(100% - 1rem, 1180px);
  }

  .hero-copy,
  .hero-panel,
  .section,
  .portal-section {
    border-radius: 1.4rem;
  }

  .hero-copy,
  .section,
  .portal-section {
    padding: 1.2rem;
  }

  .hero-panel {
    padding: 0.85rem;
  }

  .topnav {
    gap: 0.75rem;
  }
}
