:root {
  --bg: #070b10;
  --bg-soft: #0a0f16;
  --card: rgba(14, 22, 32, 0.72);
  --card-strong: rgba(14, 22, 32, 0.9);
  --text: #ecf4ff;
  --muted: rgba(236, 244, 255, 0.72);
  --border: rgba(140, 200, 255, 0.16);
  --accent: #21d4ff;
  --accent-2: #7c4dff;
  --accent-dark: #14a7c8;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  --ring: 0 0 0 3px rgba(33, 212, 255, 0.22);
}

* {
  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, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 14% 12%, rgba(33, 212, 255, 0.12), rgba(7, 11, 16, 0) 60%),
    radial-gradient(900px 520px at 82% 22%, rgba(124, 77, 255, 0.10), rgba(7, 11, 16, 0) 55%),
    radial-gradient(1200px 800px at 50% 92%, rgba(33, 212, 255, 0.08), rgba(7, 11, 16, 0) 62%),
    var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  background: rgba(7, 11, 16, 0.46);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(140, 200, 255, 0.1);
  z-index: 20;
}

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

.logo {
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(140, 200, 255, 0.14);
  background: linear-gradient(
    180deg,
    rgba(14, 22, 32, 0.6),
    rgba(7, 11, 16, 0.22)
  );
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding: 9px 12px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease,
    box-shadow 160ms ease, transform 160ms ease, filter 160ms ease;
}

.nav a:hover {
  color: rgba(236, 244, 255, 0.9);
  background: rgba(33, 212, 255, 0.06);
  transform: translateY(-1px);
}

.nav a[data-active="true"] {
  color: rgba(236, 244, 255, 0.96);
  background: radial-gradient(
      160px 60px at 30% 30%,
      rgba(33, 212, 255, 0.14),
      rgba(7, 11, 16, 0) 70%
    ),
    rgba(33, 212, 255, 0.08);
  border: 1px solid rgba(33, 212, 255, 0.26);
  box-shadow: 0 12px 26px rgba(33, 212, 255, 0.08);
  transform: translateY(-1px);
}

.hero {
  padding: 72px 0 52px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
}

.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.2rem 0 0.7rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.hero-metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.7), rgba(14, 22, 32, 0.46));
  border: 1px solid rgba(140, 200, 255, 0.16);
  border-radius: 14px;
  padding: 12px 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.metric-title {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
}

.metric-text {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  gap: 14px;
  align-items: start;
  justify-items: end;
}

.hero-glow {
  position: absolute;
  inset: -40px -40px -40px -40px;
  background:
    radial-gradient(520px 420px at 70% 40%, rgba(33, 212, 255, 0.22), rgba(7, 11, 16, 0) 60%),
    radial-gradient(420px 320px at 86% 70%, rgba(124, 77, 255, 0.14), rgba(7, 11, 16, 0) 60%);
  filter: blur(2px);
  pointer-events: none;
}

.hero-image {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(520px, 46vw);
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(140, 200, 255, 0.16);
  background: rgba(14, 22, 32, 0.45);
  box-shadow: var(--shadow);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      520px 360px at 18% 22%,
      rgba(33, 212, 255, 0.16),
      rgba(7, 11, 16, 0) 58%
    ),
    radial-gradient(
      760px 520px at 50% 50%,
      rgba(7, 11, 16, 0),
      rgba(7, 11, 16, 0.55) 68%,
      rgba(7, 11, 16, 0.84) 100%
    ),
    linear-gradient(180deg, rgba(7, 11, 16, 0.04), rgba(7, 11, 16, 0.7));
  pointer-events: none;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      1px 1px at 12% 18%,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0) 60%
    ),
    radial-gradient(
      1px 1px at 62% 44%,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0) 60%
    ),
    radial-gradient(
      1px 1px at 32% 78%,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0) 60%
    ),
    radial-gradient(
      1px 1px at 84% 70%,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0) 60%
    );
  opacity: 0.55;
  mix-blend-mode: overlay;
  filter: blur(0.2px);
  transform: scale(1.2);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.06) contrast(1.08) brightness(0.96);
  display: block;
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(420px, 92%);
  margin: 0 10px 0 0;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.86), rgba(14, 22, 32, 0.58));
  border: 1px solid rgba(140, 200, 255, 0.18);
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}

.hero-card h3 {
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.btn {
  display: inline-block;
  border: none;
  text-decoration: none;
  color: rgba(7, 11, 16, 0.95);
  background: linear-gradient(135deg, rgba(33, 212, 255, 1), rgba(124, 77, 255, 0.9));
  border-radius: 12px;
  font-weight: 700;
  padding: 11px 16px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(33, 212, 255, 0.18);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  filter: brightness(1.03) saturate(1.06);
  transform: translateY(-1px);
  box-shadow: 0 16px 44px rgba(33, 212, 255, 0.16);
}

.btn-ghost {
  background: rgba(14, 22, 32, 0.35);
  border: 1px solid rgba(33, 212, 255, 0.55);
  color: rgba(236, 244, 255, 0.92);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(33, 212, 255, 0.08);
  border-color: rgba(33, 212, 255, 0.7);
}

.btn-small {
  padding: 8px 12px;
}

.nav .btn.btn-small {
  padding: 9px 12px;
  border-radius: 999px;
}

.section {
  padding: 56px 0;
  scroll-margin-top: 96px;
}

.alt {
  background: radial-gradient(1000px 520px at 10% 0%, rgba(33, 212, 255, 0.08), rgba(10, 15, 22, 0) 64%),
    radial-gradient(820px 520px at 92% 40%, rgba(124, 77, 255, 0.06), rgba(10, 15, 22, 0) 62%),
    var(--bg-soft);
}

.cards,
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.articles-intro {
  color: var(--muted);
  max-width: 70ch;
  margin: 0 0 28px;
}

.article-topics {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.article-topic {
  scroll-margin-top: 96px;
}

.article-topic__title {
  margin: 0 0 14px;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(236, 244, 255, 0.95);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(33, 212, 255, 0.22);
  text-shadow: 0 0 18px rgba(33, 212, 255, 0.12);
}

.posts article h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card,
.posts article {
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.82), rgba(14, 22, 32, 0.52));
  border: 1px solid rgba(140, 200, 255, 0.16);
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card::before,
.posts article::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(420px 220px at 10% 18%, rgba(33, 212, 255, 0.10), rgba(7, 11, 16, 0) 58%);
  pointer-events: none;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(33, 212, 255, 0.95);
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form {
  display: grid;
  gap: 10px;
}

.form input,
.form textarea,
.form select {
  background: rgba(7, 11, 16, 0.7);
  color: var(--text);
  border: 1px solid rgba(140, 200, 255, 0.18);
  border-radius: 12px;
  padding: 12px;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(7, 11, 16, 0.2);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: rgba(33, 212, 255, 0.65);
  box-shadow: var(--ring);
}

.form textarea {
  resize: vertical;
}

.status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.footer {
  border-top: 1px solid rgba(140, 200, 255, 0.14);
  padding: 22px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer a {
  color: rgba(33, 212, 255, 0.92);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

a {
  color: rgba(33, 212, 255, 0.92);
}

.card:hover,
.posts article:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 212, 255, 0.22);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.social-links--compact {
  margin-top: 0;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(140, 200, 255, 0.22);
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.72), rgba(14, 22, 32, 0.38));
  color: rgba(33, 212, 255, 0.95);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease,
    color 180ms ease, filter 180ms ease;
}

.social-links--compact .social-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 212, 255, 0.45);
  box-shadow: 0 12px 28px rgba(33, 212, 255, 0.14);
  filter: brightness(1.05);
}

.social-link:focus-visible {
  outline: none;
  box-shadow: var(--ring), 0 12px 28px rgba(33, 212, 255, 0.14);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.social-links--compact .social-link svg {
  width: 19px;
  height: 19px;
}

.footer-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
}

.footer-contact {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-aside {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .hero-grid,
  .form-wrap {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    justify-items: stretch;
  }
  .hero-image {
    position: relative;
    right: auto;
    width: 100%;
    margin-top: 10px;
  }
  .hero-card {
    width: 100%;
    margin: 14px 0 0 0;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
}
