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

:root {
  --bg: #f4fbff;
  --surface: #ffffff;
  --ink: #081021;
  --muted: #526078;
  --line: #d6e5f0;
  --primary: #0094ea;
  --primary-strong: #0075ba;
  --accent: #00c784;
  --shadow: 0 14px 40px rgba(8, 16, 33, 0.08);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

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

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

.container {
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(244, 251, 255, 0.9);
  border-bottom: 1px solid rgba(214, 229, 240, 0.8);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  width: 184px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 0.52rem 0.88rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: 200ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: #dff3ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 800;
  font-size: 0.94rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), #10b7ff 55%, #18caa5);
  color: white;
  box-shadow: 0 9px 28px rgba(0, 148, 234, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 148, 234, 0.28);
}

.btn-ghost {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.6rem 0 4rem;
  background: url("../svg/hero-grid.svg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 12%, rgba(0, 199, 132, 0.26), transparent 35%), radial-gradient(circle at 20% 82%, rgba(0, 148, 234, 0.2), transparent 42%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.6rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.34rem 0.82rem;
  border-radius: 999px;
  background: #e7f6ff;
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.18;
  margin: 0;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2rem, 4.8vw, 3.85rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.24rem;
}

p {
  margin: 0;
}

.hero p {
  margin-top: 1rem;
  max-width: 62ch;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.visual {
  background: #071a2e;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d9ebff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(217, 235, 255, 0.17);
}

.dot-set {
  display: flex;
  gap: 0.4rem;
}

.dot-set span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #89b7df;
}

.dot-set span:nth-child(1) {
  background: #ff9070;
}

.dot-set span:nth-child(2) {
  background: #ffd270;
}

.dot-set span:nth-child(3) {
  background: #50d2a7;
}

.visual-body {
  min-height: 280px;
  background: url("../svg/world-lines.svg") center/cover no-repeat;
  position: relative;
}

.visual-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(250px, 86%);
  border-radius: 14px;
  background: rgba(4, 12, 23, 0.78);
  color: #f5fbff;
  border: 1px solid rgba(203, 230, 255, 0.2);
  padding: 0.9rem;
}

.visual-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.visual-card p {
  font-size: 0.88rem;
  color: #b8d9ee;
}

.section {
  padding: 4.6rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}

.section-header p {
  max-width: 62ch;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.card {
  grid-column: span 4;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -24% -140px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 148, 234, 0.12), transparent 66%);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(8, 16, 33, 0.14);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e6f4ff;
  color: var(--primary-strong);
  margin-bottom: 0.9rem;
}

.card p {
  color: var(--muted);
  margin-top: 0.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 1.1rem;
}

.stat strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--primary-strong);
}

.stat span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.93rem;
}

.timeline {
  border-left: 2px solid #c9e5f8;
  margin-left: 0.45rem;
  padding-left: 1.3rem;
  display: grid;
  gap: 1.1rem;
}

.t-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  position: relative;
}

.t-item::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  left: -1.73rem;
  top: 1.1rem;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 199, 132, 0.2);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2a3344;
}

.form input,
.form textarea,
.form select {
  border: 1px solid #cad8e6;
  border-radius: 10px;
  padding: 0.68rem 0.72rem;
  font: inherit;
  color: var(--ink);
  background: #fdfefe;
}

.form textarea {
  min-height: 132px;
  resize: vertical;
}

.form .full {
  grid-column: 1 / -1;
}

.page-hero {
  padding: 4.1rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 148, 234, 0.18), transparent 45%), radial-gradient(circle at 82% 70%, rgba(0, 199, 132, 0.14), transparent 50%);
}

.page-hero .container {
  position: relative;
}

.breadcrumbs {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: #3f5b74;
  font-size: 0.86rem;
  font-weight: 700;
}

.breadcrumbs a {
  color: #0b70ad;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  color: #14253c;
}

.faq-list p {
  margin-top: 0.6rem;
  color: var(--muted);
}

.legal {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  margin-top: 1rem;
}

.legal h3 {
  margin-bottom: 0.6rem;
}

.legal p,
.legal li,
.legal td,
.legal th {
  color: #2f394b;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.7rem;
}

.legal th,
.legal td {
  border: 1px solid #d8e7f1;
  padding: 0.55rem;
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

.footer {
  border-top: 1px solid #cddfeb;
  margin-top: 3rem;
  background: #ecf6fc;
}

.footer-main {
  padding: 2.2rem 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.footer-links a {
  border: 1px solid #c8deed;
  background: white;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.45rem 0.82rem;
  font-size: 0.86rem;
}

.footer small {
  color: #526078;
}

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

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

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

  .card {
    grid-column: span 6;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0;
  }

  .nav-links {
    width: 100%;
  }

  .hero {
    padding-top: 4.4rem;
  }

  .card {
    grid-column: span 12;
  }

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

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