:root {
  color-scheme: dark;
  --bg: #070b16;
  --bg-soft: #0f1730;
  --text: #f6f9ff;
  --muted: #c5d0ea;
  --card: rgba(16, 24, 46, 0.58);
  --stroke: rgba(220, 236, 255, 0.22);
  --accent: #7bc2ff;
  --accent-strong: #2d8ff3;
  --shadow: 0 34px 80px rgba(2, 5, 18, 0.6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100%;
  font-family: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", "Tahoma", sans-serif;
  color: var(--text);
  line-height: 1.55;
  background: linear-gradient(160deg, var(--bg), #0b1227 48%, var(--bg-soft));
  overflow-x: hidden;
}

.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}

.blob-a {
  width: 420px;
  height: 420px;
  background: #1f6fff;
  top: -140px;
  left: -100px;
}

.blob-b {
  width: 360px;
  height: 360px;
  background: #64ddff;
  right: -120px;
  top: 22%;
  animation-delay: -4s;
}

.blob-c {
  width: 400px;
  height: 400px;
  background: #9d7bff;
  bottom: -180px;
  left: 30%;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(14px, -18px, 0) scale(1.05); }
}

.shell {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.card {
  border: 1px solid var(--stroke);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  box-shadow: var(--shadow);
}

.top-nav {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
}

.brand-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background: linear-gradient(160deg, #9ed5ff, #2d8ff3);
  color: #021321;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.top-nav-links {
  display: flex;
  gap: 1.25rem;
}

.top-nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.top-nav-links a:hover {
  color: #e7f1ff;
}

.hero {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-copy,
.hero-visual {
  padding: clamp(1.2rem, 3vw, 2.3rem);
}

.hero-copy {
  border: 1px solid rgba(194, 224, 255, 0.2);
  border-radius: 1.25rem;
  background: linear-gradient(140deg, rgba(16, 22, 44, 0.7), rgba(11, 20, 39, 0.52));
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(140, 196, 255, 0.6);
  color: #b9dcff;
  padding: 0.35rem 0.72rem;
  font-size: 0.84rem;
}

h1 {
  margin: 0.85rem 0 0.95rem;
  line-height: 1.07;
  font-size: clamp(2.05rem, 6vw, 4.25rem);
  letter-spacing: -0.026em;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button {
  text-decoration: none;
  border-radius: 0.84rem;
  padding: 0.74rem 1.1rem;
  font-weight: 650;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #031221;
  background: linear-gradient(180deg, #a5d8ff, #49a4ff 45%, #1e84f1);
  box-shadow: 0 16px 32px rgba(28, 130, 241, 0.35);
}

.button-secondary {
  color: #e9f3ff;
  border: 1px solid rgba(225, 241, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
}

.button-nav {
  color: #0d1c30;
  background: linear-gradient(180deg, #d9edff, #a2cfff);
  white-space: nowrap;
}

.meta-points {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.meta-points li {
  border: 1px solid rgba(198, 227, 255, 0.28);
  border-radius: 999px;
  padding: 0.2rem 0.68rem;
  color: #cae5ff;
  font-size: 0.84rem;
}

.hero-visual {
  min-height: 22rem;
  transform-style: preserve-3d;
  transition: transform 220ms ease;
  background: linear-gradient(145deg, rgba(19, 30, 55, 0.66), rgba(18, 24, 41, 0.44));
}

.visual-caption {
  color: #bed9ff;
  font-size: 0.86rem;
  margin-bottom: 0.75rem;
}

.toast-stack {
  position: relative;
  height: 100%;
  min-height: 16rem;
}

.toast {
  position: absolute;
  left: 0;
  right: 0;
  border: 1px solid rgba(215, 234, 255, 0.22);
  border-radius: 0.95rem;
  padding: 0.82rem 0.9rem 0.75rem;
  background: rgba(8, 16, 34, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 34px rgba(3, 8, 20, 0.52);
  animation: toastPulse 9s ease-in-out infinite;
}

.toast-one { top: 8%; animation-delay: -1s; }
.toast-two { top: 36%; animation-delay: -3.2s; }
.toast-three { top: 64%; animation-delay: -5.4s; }

@keyframes toastPulse {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.92; }
  45% { transform: translateY(-6px) scale(1.01); opacity: 1; }
  70% { transform: translateY(2px) scale(0.995); opacity: 0.9; }
}

.toast-title {
  margin: 0;
  font-weight: 650;
}

.toast-body {
  margin: 0.28rem 0 0;
  color: #d2def4;
  font-size: 0.95rem;
}

.toast-time {
  margin: 0.22rem 0 0;
  color: #9fb1d7;
  font-size: 0.82rem;
}

section {
  margin-top: 1.15rem;
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3.3vw, 2.15rem);
}

h3 {
  margin: 0.3rem 0 0.42rem;
  font-size: 1.12rem;
}

.flow-grid,
.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.flow-item,
.highlight {
  padding: 1rem;
}

.flow-number {
  margin: 0;
  color: #9fc8ff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.flow-item p,
.highlight p {
  margin: 0;
  color: var(--muted);
}

.cta-card {
  padding: clamp(1.1rem, 3vw, 1.7rem);
  text-align: center;
}

.cta-card p {
  margin-top: 0.25rem;
  color: var(--muted);
}

.footer {
  margin: 1.2rem auto 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #b8c8e3;
  font-size: 0.9rem;
}

.footer a {
  color: #d8eaff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.21, 1, 0.35, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .top-nav {
    flex-wrap: wrap;
  }

  .top-nav-links {
    order: 3;
    width: 100%;
  }

  .flow-grid,
  .highlights {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blob,
  .toast,
  .reveal {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
