:root {
  --bg: #060b16;
  --text: #f5f8ff;
  --muted: #9aa7bf;
  --accent-soft: #7ce7ff;
  --line: rgba(146, 190, 255, 0.18);
  --line-strong: rgba(146, 190, 255, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-lg: 24px;
  --container: 1160px;
  --ease: 220ms ease;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-width: 320px;
  font-family: "Segoe UI", "SF Pro Display", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(36, 115, 255, 0.18), transparent 32%),
    radial-gradient(circle at 82% 20%, rgba(33, 202, 255, 0.16), transparent 28%),
    radial-gradient(circle at 50% 48%, rgba(21, 35, 69, 0.28), transparent 36%),
    linear-gradient(180deg, #070b15 0%, #08101d 48%, #060b14 100%);
  background-attachment: fixed;
}

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

svg {
  display: block;
}

img {
  display: block;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.22;
  z-index: 0;
}

.site-shell::before {
  top: -8rem;
  right: -10rem;
  background: rgba(45, 115, 255, 0.42);
}

.site-shell::after {
  bottom: -12rem;
  left: -12rem;
  background: rgba(23, 201, 255, 0.28);
}

.container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 20px 0 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: rgba(8, 13, 24, 0.58);
  border: 1px solid rgba(122, 167, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(52, 117, 255, 0.25));
}

.brand__text {
  font-size: 1.45rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.topbar__nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color var(--ease);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background-clip: padding-box;
  backface-visibility: hidden;
  transition:
    transform var(--ease),
    border-color var(--ease),
    background-color var(--ease),
    color var(--ease),
    box-shadow var(--ease);
  cursor: pointer;
}

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

.button:active {
  transform: translateY(0);
}

.button--primary {
  color: #041018;
  background: linear-gradient(135deg, #45e29c 0%, #23baf9 58%, #3f79ff 100%);
  border-color: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 40px rgba(28, 141, 255, 0.2);
}

.button--primary:hover {
  box-shadow: 0 20px 44px rgba(28, 141, 255, 0.27);
}

.button--ghost {
  color: var(--text);
  background: rgba(13, 20, 34, 0.6);
  border-color: rgba(146, 190, 255, 0.18);
}

.button--ghost:hover {
  border-color: rgba(146, 190, 255, 0.32);
  background: rgba(18, 28, 44, 0.74);
}

.button--sm {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.95rem;
  border-radius: 16px;
}

.hero {
  padding: 54px 0 52px;
}

.hero__grid {
  max-width: none;
}

.hero__content {
  max-width: 760px;
  padding: 40px 0 24px;
}

.section-copy__eyebrow {
  margin: 0 0 14px;
  color: var(--accent-soft);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 5.8rem);
  line-height: 0.96;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.hero__description {
  max-width: 38rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__note {
  margin: 16px 0 0;
  color: #7e8aa2;
  font-size: 0.95rem;
}

.features {
  padding: 12px 0 36px;
}

.section-copy {
  max-width: 42rem;
  margin-bottom: 24px;
}

.section-copy__title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

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

.feature-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(11, 17, 31, 0.84), rgba(8, 13, 24, 0.92));
  box-shadow: var(--shadow);
  transition: transform var(--ease), border-color var(--ease), background-color var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.92), rgba(8, 13, 24, 0.96));
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.16rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.site-shell > main {
  flex: 1 0 auto;
}

.footer {
  margin-top: auto;
  padding: 30px 0 42px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(146, 190, 255, 0.12);
}

.footer__brand {
  font-size: 1.02rem;
  font-weight: 600;
}

.footer__line,
.footer__link {
  color: #8a96ad;
}

.footer__link:hover {
  color: var(--text);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 980px) {
  .hero {
    padding-top: 36px;
  }

  .hero__content {
    padding-top: 18px;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .topbar {
    padding-top: 14px;
  }

  .topbar__inner {
    flex-wrap: wrap;
    border-radius: 24px;
    padding: 14px;
  }

  .topbar__nav {
    width: 100%;
    justify-content: space-between;
  }

  .button {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__title {
    letter-spacing: -0.05em;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
