﻿:root {
  --bg: #05070d;
  --ink: rgba(235, 242, 255, 0.94);
  --muted: rgba(235, 242, 255, 0.66);
  --soft: rgba(235, 242, 255, 0.14);
  --card: rgba(10, 12, 18, 0.72);
  --card-strong: rgba(10, 12, 18, 0.86);
  --border: rgba(235, 242, 255, 0.14);
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --container: 1100px;

  --blue: #3aa7ff;
  --cyan: #00d4ff;
  --violet: #6a5cff;

  --focus: 0 0 0 4px rgba(58, 167, 255, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(1200px 700px at 12% 12%, rgba(58, 167, 255, 0.22), transparent 62%),
    radial-gradient(1100px 700px at 82% 18%, rgba(106, 92, 255, 0.18), transparent 60%),
    radial-gradient(1000px 650px at 56% 96%, rgba(0, 212, 255, 0.12), transparent 64%),
    var(--bg);
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("assets/noise.svg");
  opacity: 0.08;
  mix-blend-mode: overlay;
  z-index: -1;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--card-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 13, 0.62);
  border-bottom: 1px solid rgba(235, 242, 255, 0.08);
  z-index: -1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0.02em;
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(58, 167, 255, 0.95), rgba(106, 92, 255, 0.95));
  color: rgba(5, 7, 13, 0.95);
  font-weight: 900;
  box-shadow: 0 18px 46px rgba(58, 167, 255, 0.14);
}

.brand__text {
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__link {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(235, 242, 255, 0.78);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(235, 242, 255, 0.96);
}

.nav__link--cta {
  border: 1px solid rgba(235, 242, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.nav__link:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.hero {
  padding: 44px 0 10px;
}

.hero__panel {
  border-radius: calc(var(--radius) + 8px);
  padding: 34px 30px 28px;
  border: 1px solid rgba(235, 242, 255, 0.14);
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.78), rgba(10, 12, 18, 0.54));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero__panel::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(700px 320px at 20% 18%, rgba(58, 167, 255, 0.22), transparent 62%),
    radial-gradient(720px 360px at 84% 30%, rgba(106, 92, 255, 0.18), transparent 62%),
    radial-gradient(720px 340px at 60% 110%, rgba(0, 212, 255, 0.12), transparent 66%);
  opacity: 0.95;
}

.hero__panel > * {
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(235, 242, 255, 0.12);
  color: rgba(235, 242, 255, 0.72);
  font-size: 13px;
}

.badge__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  box-shadow: 0 0 0 4px rgba(58, 167, 255, 0.22), 0 0 0 10px rgba(0, 212, 255, 0.12);
}

.hero__title {
  margin: 16px 0 10px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
}

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

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0 0;
}

.pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(235, 242, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(235, 242, 255, 0.82);
  font-weight: 700;
  font-size: 13px;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.07);
}

.pill:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

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

.btn--sm {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.btn--primary {
  color: rgba(5, 7, 13, 0.96);
  background: linear-gradient(135deg, rgba(58, 167, 255, 0.98), rgba(0, 212, 255, 0.98));
  box-shadow: 0 18px 46px rgba(58, 167, 255, 0.18);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(58, 167, 255, 0.22);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(235, 242, 255, 0.14);
  color: rgba(235, 242, 255, 0.92);
}

.btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.section {
  padding: 58px 0;
}

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

.section__title {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 28px;
  letter-spacing: -0.02em;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.card {
  border-radius: calc(var(--radius) + 6px);
  padding: 22px;
  border: 1px solid rgba(235, 242, 255, 0.14);
  background: var(--card);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(720px 320px at var(--mx, 40%) var(--my, 15%), rgba(58, 167, 255, 0.18), transparent 62%),
    radial-gradient(820px 360px at calc(var(--mx, 40%) + 10%) calc(var(--my, 15%) + 25%), rgba(0, 212, 255, 0.12), transparent 66%),
    radial-gradient(700px 300px at 60% 120%, rgba(106, 92, 255, 0.08), transparent 70%);
  opacity: 0.95;
  transition: opacity 220ms ease;
  z-index: -1;
}

.card:hover::before {
  opacity: 1;
}

.card__eyebrow {
  margin: 0;
  font-size: 12px;
  color: rgba(235, 242, 255, 0.62);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__title {
  margin: 8px 0 8px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

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

.preview {
  margin: 16px 0 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(235, 242, 255, 0.12);
  background: rgba(8, 10, 16, 0.92);
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
}

.preview__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot--r {
  background: #ff5a67;
}

.dot--y {
  background: #ffbf3f;
}

.dot--g {
  background: #30d47c;
}

.preview__url {
  margin-left: 6px;
  font-size: 12px;
  color: rgba(235, 242, 255, 0.62);
}

.preview__img {
  width: 100%;
  height: clamp(220px, 22vw, 320px);
  object-fit: cover;
  object-position: top;
  display: block;
}

.card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.contact {
  border-radius: calc(var(--radius) + 8px);
  padding: 22px;
  border: 1px solid rgba(235, 242, 255, 0.14);
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.78), rgba(10, 12, 18, 0.54));
  box-shadow: var(--shadow);
}

.contact__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.footer {
  padding: 34px 0 50px;
}

.footer__copy {
  margin: 0;
  color: rgba(235, 242, 255, 0.55);
  font-size: 13px;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .btn,
  .reveal {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

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

  .hero__panel {
    padding: 28px 20px 22px;
  }

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

  .nav__links {
    gap: 6px;
  }

  .nav__link {
    padding: 10px 10px;
  }

  .preview__img {
    height: clamp(200px, 52vw, 300px);
  }
}
