:root {
  --bg: #070813;
  --bg-deep: #03040a;
  --bg-soft: #101322;
  --bg-card: rgba(255, 255, 255, 0.08);

  --text: #f7f8ff;
  --muted: #aeb4c8;
  --muted-2: #7f86a3;

  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --accent-3: #f97316;
  --accent-4: #ff4ecd;

  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.24);

  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --shadow-purple: 0 28px 90px rgba(139, 92, 246, 0.28);

  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;

  --container: 1160px;

  /*
    Фоновые изображения.
    Создай папку assets рядом с index.html.
    Можешь заменить файлы на свои.
  */
  --hero-image: url("assets/hero-bg.jpg");
  --section-image-1: url("assets/abstract-01.jpg");
  --section-image-2: url("assets/abstract-02.jpg");
}

/* Reset */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  min-height: 100vh;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(139, 92, 246, 0.28), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(34, 211, 238, 0.18), transparent 32%),
    radial-gradient(circle at 55% 100%, rgba(249, 115, 22, 0.12), transparent 35%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Лёгкий шум поверх сайта — делает дизайн дороже и глубже */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.55'/%3E%3C/svg%3E");
}

/* Большой фиксированный фон.
   При скролле контент двигается, а фон остаётся на месте — получается Apple-like parallax. */

body::before {
  content: "";
  position: fixed;
  inset: -12vh -8vw;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(3, 4, 10, 0.42), rgba(3, 4, 10, 0.92)),
    radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.32), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(34, 211, 238, 0.18), transparent 26%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  filter: saturate(1.15) contrast(1.05);
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  color: var(--white);
  background: rgba(139, 92, 246, 0.75);
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(6, 7, 17, 0.62);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.65),
    rgba(34, 211, 238, 0.5),
    transparent
  );
  opacity: 0.7;
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.logo-mark {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.95), transparent 13%),
    radial-gradient(circle at 28% 24%, var(--accent-2), transparent 30%),
    linear-gradient(135deg, var(--accent), #4f46e5 58%, #111827);
  color: var(--white);
  box-shadow:
    0 16px 42px rgba(139, 92, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45),
    transparent 65%
  );
  transform: translateX(-70%) rotate(12deg);
  animation: logoShine 5s ease-in-out infinite;
}

@keyframes logoShine {
  0%,
  55% {
    transform: translateX(-80%) rotate(12deg);
  }

  75%,
  100% {
    transform: translateX(80%) rotate(12deg);
  }
}

.logo-text {
  font-size: 1.22rem;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.nav a {
  color: var(--muted);
  font-size: 0.94rem;
  padding: 9px 14px;
  border-radius: 999px;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
}

.nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  border-radius: 99px;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 92px;
  overflow: hidden;
  isolation: isolate;
}

/* Фоновое изображение hero с fixed attachment.
   Именно оно создаёт ощущение, что фон "едет" при скролле. */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(7, 8, 19, 0.38) 0%, rgba(7, 8, 19, 0.72) 56%, #070813 100%),
    radial-gradient(circle at 16% 24%, rgba(139, 92, 246, 0.42), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(34, 211, 238, 0.26), transparent 27%),
    radial-gradient(circle at 64% 78%, rgba(255, 78, 205, 0.12), transparent 24%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Сетка на фоне */

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black 0%, black 42%, transparent 100%);
  opacity: 0.45;
}

/* Световые пятна */

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  filter: blur(24px);
}

.hero::before {
  width: 460px;
  height: 460px;
  left: -150px;
  top: 25%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.36), transparent 66%);
  animation: floatLightOne 10s ease-in-out infinite alternate;
}

.hero::after {
  width: 420px;
  height: 420px;
  right: -130px;
  top: 12%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.26), transparent 66%);
  animation: floatLightTwo 12s ease-in-out infinite alternate;
}

@keyframes floatLightOne {
  from {
    transform: translate3d(0, -18px, 0) scale(1);
  }

  to {
    transform: translate3d(60px, 26px, 0) scale(1.08);
  }
}

@keyframes floatLightTwo {
  from {
    transform: translate3d(0, 12px, 0) scale(1);
  }

  to {
    transform: translate3d(-55px, 42px, 0) scale(1.1);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 58px;
}

.hero-content {
  position: relative;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dce4ff;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.09)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(185, 198, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 40px rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 20px;
}

.hero h1 {
  max-width: 790px;
  font-size: clamp(3.1rem, 7.2vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.085em;
  margin-bottom: 28px;
  text-wrap: balance;
  text-shadow:
    0 0 36px rgba(139, 92, 246, 0.18),
    0 22px 90px rgba(0, 0, 0, 0.45);
}

.hero h1::first-line {
  color: var(--white);
}

.hero p {
  max-width: 650px;
  color: #c3c9dc;
  font-size: 1.16rem;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.42);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 850;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 45%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.32), transparent 18%),
    linear-gradient(135deg, var(--accent), #4f46e5 56%, #312e81);
  color: var(--white);
  box-shadow:
    0 22px 50px rgba(139, 92, 246, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-primary:hover {
  box-shadow:
    0 30px 70px rgba(139, 92, 246, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.075);
  color: var(--white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.11);
}

/* Hero card */

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(7, 8, 19, 0.62);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(26px) saturate(1.25);
  -webkit-backdrop-filter: blur(26px) saturate(1.25);
  padding: 32px;
  transform-style: preserve-3d;
  animation: cardFloat 7s ease-in-out infinite alternate;
}

@keyframes cardFloat {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -12px, 0);
  }
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 32%),
    radial-gradient(circle at 78% 12%, rgba(34, 211, 238, 0.22), transparent 32%),
    radial-gradient(circle at 10% 92%, rgba(139, 92, 246, 0.22), transparent 34%);
  opacity: 0.85;
}

.card-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.56), transparent 68%);
  filter: blur(6px);
  animation: pulseGlow 4.5s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from {
    opacity: 0.55;
    transform: scale(0.95);
  }

  to {
    opacity: 0.95;
    transform: scale(1.12);
  }
}

.card-top {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c6ccde;
  font-size: 0.91rem;
  margin-bottom: 84px;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 999px;
  box-shadow:
    0 0 0 7px rgba(34, 197, 94, 0.12),
    0 0 24px rgba(34, 197, 94, 0.9);
}

.hero-card h2 {
  position: relative;
  z-index: 2;
  font-size: 2.9rem;
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 16px;
}

.hero-card p {
  position: relative;
  z-index: 2;
  color: #b9bfd3;
  font-size: 1rem;
}

.card-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.card-grid div {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
}

.card-grid div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 44%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card-grid div:hover::before {
  opacity: 1;
}

.card-grid strong,
.card-grid span {
  position: relative;
  z-index: 1;
  display: block;
}

.card-grid strong {
  font-size: 1.1rem;
}

.card-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */

.section {
  position: relative;
  padding: 118px 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 19, 0.94), rgba(7, 8, 19, 0.9)),
    var(--section-image-1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -260px;
  top: -240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 66%);
  filter: blur(12px);
  pointer-events: none;
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, transparent, black 22%, transparent 100%);
  opacity: 0.35;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 74px;
}

.section h2,
.contact-card h2 {
  font-size: clamp(2.25rem, 4vw, 4.12rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.section-text {
  color: #b8bed1;
  font-size: 1.08rem;
}

.section-text p {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.section-text p + p {
  margin-top: 24px;
}

/* Dark section */

.dark-section {
  background:
    linear-gradient(180deg, rgba(8, 10, 23, 0.9), rgba(4, 5, 12, 0.94)),
    radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.26), transparent 28%),
    radial-gradient(circle at 82% 40%, rgba(34, 211, 238, 0.15), transparent 30%),
    var(--section-image-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p {
  color: #b8bed1;
  margin-top: 18px;
  font-size: 1.06rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 305px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 25% 0%, rgba(139, 92, 246, 0.24), transparent 36%),
    radial-gradient(circle at 92% 14%, rgba(34, 211, 238, 0.18), transparent 32%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 30px 85px rgba(0, 0, 0, 0.34),
    0 0 50px rgba(139, 92, 246, 0.12);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.46), rgba(34, 211, 238, 0.18)),
    rgba(255, 255, 255, 0.08);
  color: #eef2ff;
  font-weight: 950;
  margin-bottom: 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.26rem;
  margin-bottom: 12px;
}

.feature-card p {
  position: relative;
  z-index: 1;
  color: #b5bbce;
  font-size: 0.96rem;
}

/* Values */

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.value-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 19px;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.115);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.value-item::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -80px;
  bottom: -90px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.045);
}

.value-item:hover::after {
  opacity: 1;
}

.value-item > span {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(255, 78, 205, 0.12)),
    rgba(255, 255, 255, 0.06);
  color: #dbe3ff;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.value-item div {
  position: relative;
  z-index: 1;
}

.value-item h3 {
  margin-bottom: 8px;
}

.value-item p {
  color: #b5bbce;
}

/* Contact */

.contact-section {
  position: relative;
  padding: 100px 0 128px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 8, 19, 0.9), rgba(3, 4, 10, 0.96)),
    radial-gradient(circle at 78% 18%, rgba(34, 211, 238, 0.22), transparent 30%),
    radial-gradient(circle at 18% 78%, rgba(139, 92, 246, 0.18), transparent 32%),
    var(--section-image-1);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.contact-section::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  left: 50%;
  bottom: -500px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 66%);
  filter: blur(10px);
}

.contact-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
  overflow: hidden;
  padding: 50px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(34, 211, 238, 0.1)),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    var(--shadow),
    0 0 90px rgba(139, 92, 246, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(26px) saturate(1.22);
  -webkit-backdrop-filter: blur(26px) saturate(1.22);
}

.contact-card::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 68%);
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 24%),
    radial-gradient(circle at 8% 100%, rgba(255, 78, 205, 0.15), transparent 28%);
}

.contact-card > div {
  position: relative;
  z-index: 1;
}

.contact-card p {
  color: #c1c7d8;
  margin-top: 17px;
}

.contact-info {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.contact-info a {
  display: inline-flex;
  padding: 15px 20px;
  border-radius: 999px;
  background: var(--white);
  color: #101322;
  font-weight: 950;
  box-shadow:
    0 18px 44px rgba(255, 255, 255, 0.16),
    0 18px 50px rgba(34, 211, 238, 0.14);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.contact-info a:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 60px rgba(255, 255, 255, 0.2),
    0 24px 70px rgba(34, 211, 238, 0.2);
}

.contact-info p {
  margin: 0;
  color: var(--text);
}

/* Footer */

.site-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 4, 10, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.5),
    rgba(34, 211, 238, 0.42),
    transparent
  );
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

/* Responsive */

@media (max-width: 1100px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card {
    min-height: 250px;
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .section-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-card {
    max-width: 620px;
  }

  .values-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    background: rgba(6, 7, 17, 0.82);
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(10, 12, 27, 0.96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 14px;
    border-radius: 13px;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.075);
  }

  .hero {
    min-height: auto;
    padding: 132px 0 72px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15.6vw, 4.7rem);
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-card {
    padding: 25px;
    border-radius: 26px;
  }

  .card-top {
    margin-bottom: 58px;
  }

  .hero-card h2 {
    font-size: 2.42rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 84px 0;
  }

  .section-text p {
    padding-left: 16px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .value-item {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 82px 0 96px;
  }

  .contact-card {
    padding: 31px;
    border-radius: 26px;
  }

  .footer-inner {
    padding: 26px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  /*
    На мобильных background-attachment: fixed часто работает нестабильно.
    Поэтому отключаем parallax на телефонах для плавности.
  */

  body::before,
  .hero-bg,
  .section,
  .dark-section,
  .contact-section {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}