:root {
  --bg: #f4f8ff;
  --bg-alt: #deecff;
  --text: #0c1a2b;
  --muted: #3f5067;
  --line: #c7d9f4;
  --accent: #0077ff;
  --accent-2: #00b3a5;
  --card: #ffffffcc;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", sans-serif;
  background: radial-gradient(90rem 40rem at 10% -20%, #d2e8ff 0%, transparent 55%),
    radial-gradient(75rem 30rem at 90% -15%, #c8fff8 0%, transparent 50%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-alt) 100%);
  color: var(--text);
  min-height: 100%;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: radial-gradient(#001a3d 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.topbar {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #ffffffb3;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.top-cta {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.5rem auto 3rem;
}

.hero {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  padding: clamp(1.25rem, 3.5vw, 3rem);
  background: linear-gradient(165deg, #ffffffd9, #ffffffa6);
}

.tag {
  display: inline-block;
  margin: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #dceaff;
  color: #0d4eb9;
  font-size: 0.82rem;
  font-weight: 700;
}

h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 6.5vw, 4rem);
  line-height: 1.06;
  margin: 0.8rem 0 0;
  max-width: 16ch;
}

.lead {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.1rem;
}

.cta-row {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 0.85rem;
  padding: 0.8rem 1.05rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

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

.btn.primary {
  background: linear-gradient(120deg, var(--accent), #0090ff);
  color: #fff;
  box-shadow: 0 10px 24px #0077ff40;
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: #ffffffd6;
}

.stats {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats div {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #ffffffd6;
  padding: 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stats strong {
  font-size: 0.95rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.features {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.banner {
  margin-top: 0.95rem;
  border-radius: 1.3rem;
  border: 1px solid #99e2dc;
  background: linear-gradient(140deg, #eafff8 0%, #ecf7ff 100%);
  padding: 1.2rem;
}

.banner h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.banner p {
  margin: 0.55rem 0 1rem;
  color: var(--muted);
}

footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 1.4rem;
  padding: 0.8rem 0.2rem;
  color: #40526f;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 450ms ease, transform 450ms ease;
}

@media (max-width: 980px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .stats {
    grid-template-columns: 1fr;
  }

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

  footer {
    flex-direction: column;
  }
}
