:root {
  --bg: #f2f0ff;
  --bg-alt: #ffffff;
  --text: #2a2a38;
  --text-muted: #5f6174;
  --purple: #7a5bff;
  --purple-dark: #6a4ae6;
  --lime: #c9ff4f;
  --lime-dark: #b6f13a;
  --line: #e6e6ef;
  --shadow: 0 12px 30px rgba(26, 26, 40, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 100%;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Mulish", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 80px;
  padding: 10px 14px;
  background: #ffffff;
  color: #000;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
  z-index: 9999;
}

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

body {
  position: relative;
}

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

a:hover { color: var(--purple); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px 0 80px;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header,
main,
.footer {
  position: relative;
  z-index: 2;
}

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

.bg-lines svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.bg-lines .lines {
  opacity: 0;
}

.bg-lines .line {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #4c3a90;
}

.bg-lines .lights {
  opacity: 0.9;
}

.bg-lines .light {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #7a6bb5;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

.bg-lines .light1,
.bg-lines .light2,
.bg-lines .light3,
.bg-lines .light9,
.bg-lines .light10,
.bg-lines .light17 {
  animation: light-up 16s linear infinite;
}

.bg-lines .light4,
.bg-lines .light5,
.bg-lines .light6,
.bg-lines .light7,
.bg-lines .light8,
.bg-lines .light11,
.bg-lines .light12,
.bg-lines .light13,
.bg-lines .light14,
.bg-lines .light15,
.bg-lines .light16 {
  animation: light-down 20s linear infinite;
}

@keyframes light-up {
  from { transform: translate3d(0, 1200px, 0); }
  to { transform: translate3d(0, -1200px, 0); }
}

@keyframes light-down {
  from { transform: translate3d(0, -1200px, 0); }
  to { transform: translate3d(0, 1200px, 0); }
}

.bg-lines .light1 { animation-delay: -2s; }
.bg-lines .light2 { animation-delay: -6s; }
.bg-lines .light3 { animation-delay: -10s; }
.bg-lines .light9 { animation-delay: -4s; }
.bg-lines .light10 { animation-delay: -8s; }
.bg-lines .light17 { animation-delay: -12s; }

.bg-lines .light4 { animation-delay: -1s; }
.bg-lines .light5 { animation-delay: -5s; }
.bg-lines .light6 { animation-delay: -9s; }
.bg-lines .light7 { animation-delay: -13s; }
.bg-lines .light8 { animation-delay: -3s; }
.bg-lines .light11 { animation-delay: -7s; }
.bg-lines .light12 { animation-delay: -11s; }
.bg-lines .light13 { animation-delay: -15s; }
.bg-lines .light14 { animation-delay: -2s; }
.bg-lines .light15 { animation-delay: -6s; }
.bg-lines .light16 { animation-delay: -10s; }

@media (prefers-reduced-motion: reduce) {
  .bg-lines .light {
    animation: none !important;
  }
}

.site-header .container,
.footer .container {
  padding-left: 80px;
  padding-right: 48px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 22px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--lime));
  display: grid;
  place-items: center;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000000;
  justify-content: flex-end;
  flex: 1;
}

.header-actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purple-dark); }
.btn-lime { background: var(--lime); color: #15151f; }
.btn-lime:hover { background: var(--lime-dark); }
.btn-outline { border-color: var(--purple); color: var(--purple); background: transparent; }

.section { padding: 110px 0; }
.section--tight { padding: 70px 0; }

.section#hero {
  padding-top: 60px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-title {
  font-size: 80px;
  font-weight: 300;
  margin: 0 0 8px;
}

.section-lead {
  color: var(--text-muted);
  max-width: 720px;
  font-size: 16px;
}

.hero {
  background: #f2f0ff;
  position: relative;
  overflow: hidden;
}

.hero .container {
  padding-left: 80px;
  padding-right: 48px;
}


.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  padding: 60px 0 90px;
}

.hero-title {
  font-size: 100px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 300;
  margin: 10px 0 16px;
  color: #7a4ce2;
  vertical-align: middle;
}

.hero-text { color: var(--text); font-size: 18px; max-width: 540px; }

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

.hero-cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hero-card {
  background: #f8f7ff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  min-height: 120px;
}

.hero-card h4 { margin: 0 0 6px; font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.hero-card p { margin: 0; color: var(--text-muted); font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat strong { display: block; font-size: 24px; margin-bottom: 6px; color: var(--purple); }
.stat span { color: var(--text-muted); font-size: 13px; }

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

.service-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-block:last-child {
  border-bottom: none;
}

.service-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
}

.service-icon img {
  width: 22px;
  height: 22px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ece7ff;
  color: #2b2b3a;
  font-size: 13px;
  border: 1px solid #e1dbff;
}

.chip-new {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  padding: 4px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
}

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card h3 { margin: 10px 0 10px; font-size: 18px; }

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #efeaff, #eaffc2);
  display: grid;
  place-items: center;
}

.icon-box img { width: 22px; height: 22px; }

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

.case-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.case-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: #f1f1f7;
  overflow: hidden;
  margin-bottom: 12px;
}

.case-card h4 { margin: 0 0 8px; font-size: 15px; }
.case-card p { margin: 0; font-size: 12px; color: var(--text-muted); }

.section-purple {
  background: linear-gradient(135deg, #7d59ff 0%, #9968ff 40%, #c9ff4f 120%);
  color: #fff;
}

.section-purple .section-lead { color: rgba(255, 255, 255, 0.9); }

.form-block {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  padding: 18px;
}

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

.form-field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.form-field input, .form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: inherit;
}

.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,0.7); }

.map-block {
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 16px;
}

.hero-banner {
  margin-bottom: 30px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.advantages {
  margin-top: 20px;
  display: grid;
  gap: 28px;
}

.adv-row {
  display: grid;
  grid-template-columns: 80px 280px 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.adv-row:last-child {
  border-bottom: none;
}

.adv-num {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.adv-title {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.adv-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 620px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.logo-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.footer {
  background: #f0f0f6;
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
}

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

.footer-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
  color: var(--text-muted);
}

.footer-bottom {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cards, .stat-row, .card-grid-4, .case-grid, .logo-grid, .footer-grid, .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .hero-title { font-size: 36px; }
  .section-heading { flex-direction: column; align-items: flex-start; }
}
