:root {
  color-scheme: dark;

  --bg-0: #070b14;
  --bg-1: #0b1220;
  --fg: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --subtle: rgba(255, 255, 255, 0.55);

  --accent: #8b5cf6;
  --accent2: #22d3ee;
  --danger: #fb7185;

  --glass: rgba(255, 255, 255, 0.08);
  --glass-2: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke-2: rgba(255, 255, 255, 0.18);

  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-2: 24px;

  --container: 1120px;
  --pad: clamp(16px, 4vw, 28px);
  --gap: clamp(14px, 2.8vw, 24px);

  --h1: clamp(2.1rem, 5.2vw, 3.4rem);
  --h2: clamp(1.4rem, 3.2vw, 2.05rem);
  --p: clamp(1rem, 2.1vw, 1.05rem);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  background: radial-gradient(1400px 900px at 20% -20%, rgba(139, 92, 246, 0.35), transparent 60%),
    radial-gradient(1200px 800px at 110% 10%, rgba(34, 211, 238, 0.22), transparent 55%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  color: var(--fg);
  overflow-x: hidden;
}

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

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

.container {
  width: min(var(--container), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 10px;
  z-index: 9999;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--stroke);
  transform: translateY(-200%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: none;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.bg__glow {
  position: absolute;
  filter: blur(55px);
  opacity: 0.75;
  transform: translate3d(0, 0, 0);
}

.bg__glow--a {
  width: 520px;
  height: 520px;
  left: -140px;
  top: 12vh;
  background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.9), transparent 65%);
}

.bg__glow--b {
  width: 640px;
  height: 640px;
  right: -240px;
  top: -120px;
  background: radial-gradient(circle at 40% 40%, rgba(34, 211, 238, 0.75), transparent 65%);
}

.bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("./assets/noise.svg");
  background-repeat: repeat;
  background-size: 220px 220px;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 14px;
}

.brand:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.85);
  outline-offset: 3px;
}

.brand__logo {
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35));
}

.brand__name {
  font-weight: 680;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

@media (max-width: 420px) {
  .nav__link {
    padding: 9px 10px;
  }
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--fg);
}

.nav__link[aria-current="true"] {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.28);
  color: var(--fg);
}

.nav__link:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.9);
  outline-offset: 3px;
}

.hero {
  padding: clamp(26px, 5vw, 56px) 0 clamp(26px, 5vw, 52px);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
  }
}

.hero__copy {
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: var(--radius-2);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--subtle);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero__title {
  margin: 0;
  font-size: var(--h1);
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--p);
  max-width: 64ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero__showcase {
  padding: 18px;
  border-radius: var(--radius-2);
}

.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
}

.stat__label {
  color: var(--subtle);
  font-size: 0.9rem;
}

.stat__value {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero__note {
  margin: 10px 2px 0;
  color: var(--subtle);
  font-size: 0.95rem;
}

.section {
  padding: clamp(20px, 4.2vw, 44px) 0;
}

.section--tight {
  padding-top: 12px;
}

.section__head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section__title {
  margin: 0;
  font-size: var(--h2);
  letter-spacing: -0.015em;
}

.section__subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.2px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease,
    box-shadow 160ms ease;
  user-select: none;
}

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

.btn:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.9);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(34, 211, 238, 0.85));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(34, 211, 238, 0.14), 0 16px 40px rgba(139, 92, 246, 0.12);
}

.btn--primary:hover {
  box-shadow: 0 18px 52px rgba(34, 211, 238, 0.18), 0 18px 52px rgba(139, 92, 246, 0.16);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--fg);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

.cards {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  overflow: hidden;
  border-radius: var(--radius-2);
  transition: transform 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-2);
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .card:hover {
    transform: none;
    transition: none;
  }
}

.card__media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: scale(1.02);
}

.card__body {
  padding: 14px 14px 16px;
}

.card__title {
  margin: 0;
  letter-spacing: -0.01em;
}

.card__desc {
  margin: 8px 0 0;
  color: var(--muted);
}

.card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.chip:active {
  transform: translateY(1px);
}

.chip:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.9);
  outline-offset: 3px;
}

.contact {
  padding: clamp(16px, 2.6vw, 22px);
  border-radius: var(--radius-2);
  display: grid;
  gap: 18px;
}

@media (min-width: 860px) {
  .contact {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.contact__actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer {
  padding: 26px 0 30px;
  color: var(--subtle);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__dot {
  opacity: 0.55;
}

.footer__link {
  color: var(--muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
  padding-bottom: 2px;
}

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

