:root {
  --bg: #101127;
  --bg-2: #171a34;
  --surface: rgba(21, 24, 49, 0.76);
  --surface-light: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.10);
  --text: #f6f7ff;
  --muted: #c6c8de;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #8ef2c2;
  --accent-2: #fb76b7;
  --accent-3: #7d8cff;
  --warning: #ffd36a;
  --container: 1220px;
  --shadow: 0 24px 55px rgba(7, 10, 28, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(125, 140, 255, 0.28), transparent 22%),
    radial-gradient(circle at 90% 10%, rgba(251, 118, 183, 0.22), transparent 20%),
    radial-gradient(circle at 50% 80%, rgba(142, 242, 194, 0.16), transparent 26%),
    linear-gradient(180deg, #0d1024 0%, #121733 42%, #171a34 100%);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; padding: 9px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--accent); font-size: 12px; font-weight: 700;
}
h1, h2, h3 { font-family: 'DM Serif Display', serif; line-height: 1.04; margin: 0 0 16px; }
h1 { font-size: clamp(48px, 7vw, 50px); }
h2 { font-size: clamp(36px, 5vw, 56px); }
h3 { font-size: clamp(26px, 3vw, 34px); }
p { margin: 0; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }

.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .12;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 14px 14px; mix-blend-mode: soft-light; z-index: -1;
}

.header { position: sticky; top: 14px; z-index: 1000; padding-top: 14px; }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px;
  border-radius: 26px; background: rgba(13, 16, 36, 0.56); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow);
}
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 8px rgba(142, 242, 194, 0.08);
}
.logo strong, .logo small { display: block; }
.logo small { color: var(--muted); font-size: 12px; }
.nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.nav a { color: #e6e8fb; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.header__phone {
  padding: 12px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-weight: 700; white-space: nowrap;
}
.menu-toggle { display: none; background: none; border: none; width: 42px; height: 42px; padding: 0; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px auto; background: #fff; }

.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden;
}
.hero__bg, .hero__shade { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.hero__shade {
  background: linear-gradient(110deg, rgba(9,12,26,.90) 18%, rgba(21,24,49,.70) 46%, rgba(21,24,49,.40) 100%);
}
.hero__grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center;
}
.hero__content p { font-size: clamp(18px, 2vw, 21px); max-width: 760px; }
.hero__chip {
  display: inline-flex; align-items: center; padding: 10px 14px; margin-bottom: 20px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); color: var(--warning); font-weight: 700;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 32px; }
.hero__mini-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.hero__mini-grid div,
.hero__panel,
.pain-box,
.about-card,
.about__note,
.step-card,
.price-card,
.contact-form,
.mini-card,
.faq-item,
.case-card {
  border: 1px solid var(--line);
  background: rgba(17, 20, 41, 0.68);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.hero__mini-grid div { padding: 18px; border-radius: 22px; }
.hero__mini-grid strong { display: block; margin-bottom: 8px; font-size: 17px; }
.hero__mini-grid span { display: block; color: var(--muted); font-size: 14px; }
.hero__panel { padding: 30px; border-radius: 30px; }
.hero__panel ul { display: grid; gap: 14px; margin-top: 24px; }
.hero__panel li { padding-left: 28px; position: relative; color: #f5f7ff; }
.hero__panel li::before {
  content: ''; position: absolute; left: 0; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 58px;
  border-radius: 999px; padding: 16px 24px; font-weight: 700; border: 0; cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary {
  color: #121426; background: linear-gradient(135deg, var(--accent), #b6ffd8, var(--warning));
  box-shadow: 0 16px 32px rgba(142, 242, 194, 0.26);
}
.btn--secondary {
  color: #fff; background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.18);
}
.btn--secondary-dark {
  color: #fff; background: linear-gradient(135deg, rgba(125,140,255,.24), rgba(251,118,183,.16)); border: 1px solid rgba(255,255,255,.15);
}
.btn--full { width: 100%; }

.pain__layout {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px;
}
.pain-box {
  padding: 28px; border-radius: 28px; min-height: 220px;
}
.pain-box--large { grid-row: span 2; min-height: 458px; background: linear-gradient(180deg, rgba(125,140,255,.22), rgba(17,20,41,.72)); }
.pain-box h3 { color: #fff; }

.about__grid,
.contact__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 38px; align-items: center; }
.about__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.about-card { padding: 22px; border-radius: 24px; }
.about-card strong { display: block; margin-bottom: 10px; font-size: 18px; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.stats div {
  padding: 20px; border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.04)); border: 1px solid var(--line);
}
.stats strong { display: block; font-size: 34px; color: var(--accent); margin-bottom: 8px; }
.about__visual { position: relative; }
.about__visual img { width: 100%; min-height: 620px; object-fit: cover; border-radius: 34px; }
.about__note {
  position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 24px; border-radius: 24px;
  background: rgba(12, 14, 31, 0.82);
}

.cases__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.case-card {
  overflow: hidden; border-radius: 28px; transition: transform .35s ease, box-shadow .35s ease;
}
.case-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px rgba(8, 11, 29, 0.42); }
.case-card img { width: 100%; height: 240px; object-fit: cover; transition: transform .5s ease; }
.case-card:hover img { transform: scale(1.06); }
.case-card__body { padding: 26px; }

.process__grid,
.pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card,
.price-card { padding: 26px; border-radius: 28px; }
.step-card span,
.pill {
  display: inline-flex; margin-bottom: 16px; padding: 8px 12px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(142,242,194,.18), rgba(251,118,183,.14)); color: var(--warning); font-weight: 700; letter-spacing: .06em;
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(125,140,255,.20), rgba(142,242,194,.12) 35%, rgba(17,20,41,.74));
  transform: translateY(-10px); border-color: rgba(142,242,194,.26);
}
.price-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.price-card__head strong { font-size: 26px; color: var(--accent); white-space: nowrap; }
.price-card ul { display: grid; gap: 10px; margin: 20px 0 26px; }
.price-card li { position: relative; padding-left: 24px; }
.price-card li::before { content: '•'; position: absolute; left: 8px; top: 0; color: var(--warning); font-size: 22px; line-height: 1; }

.faq__wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.faq__items { display: grid; gap: 14px; }
.faq-item { border-radius: 24px; overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: none;
  background: none; padding: 22px 24px; color: #fff; text-align: left; cursor: pointer; font-weight: 700;
}
.faq-question span {
  width: 28px; height: 28px; flex-shrink: 0; position: relative;
}
.faq-question span::before,
.faq-question span::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; background: var(--accent); transform: translate(-50%, -50%);
  transition: transform .3s ease;
}
.faq-question span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.active .faq-question span::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 24px; }
.faq-item.active .faq-answer { padding-bottom: 22px; }

.contact__copy { padding-right: 20px; }
.contact__cards { display: grid; gap: 14px; margin-top: 28px; }
.mini-card { padding: 18px 20px; border-radius: 22px; }
.mini-card strong { display: block; margin-bottom: 8px; color: var(--accent); }
.contact-form { padding: 30px; border-radius: 32px; }
.field { display: grid; gap: 10px; margin-bottom: 18px; }
.field label { font-weight: 700; color: #fff; }
.field input,
.field textarea {
  width: 100%; padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: #fff; outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(214, 217, 239, 0.72); }
.field input:focus,
.field textarea:focus {
  border-color: rgba(142,242,194,.48); box-shadow: 0 0 0 4px rgba(142,242,194,.12); background: rgba(255,255,255,.08);
}
.form-caption { margin-top: 14px; font-size: 14px; }
.form-message { min-height: 24px; margin-top: 14px; font-weight: 700; }
.form-message.success { color: var(--accent); }
.form-message.error { color: #ff9aa2; }

.footer { padding: 38px 0 52px; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
}
.footer__links { display: grid; gap: 10px; justify-items: end; color: var(--muted); }
.footer__links a:hover { color: var(--accent); }

[data-reveal] {
  opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .hero__grid,
  .about__grid,
  .faq__wrap,
  .contact__grid { grid-template-columns: 1fr; }
  .pain__layout { grid-template-columns: repeat(2, 1fr); }
  .pain-box--large { grid-row: span 1; min-height: 260px; }
  .cases__grid, .process__grid, .pricing__grid, .about__points, .stats { grid-template-columns: repeat(2, 1fr); }
  .header__inner { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; }
  .hero__mini-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 82px 0; }
  .header { top: 8px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header__phone { display: none; }
  .header__inner { position: relative; }
  .nav {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 10px); display: none; flex-direction: column; gap: 10px;
    padding: 16px; border-radius: 20px; background: rgba(15, 18, 40, 0.96);
  }
  .nav.is-open { display: flex; }
  .pain__layout, .cases__grid, .process__grid, .pricing__grid, .about__points, .stats { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
  .about__visual img { min-height: 420px; }
  .footer__links { justify-items: start; }
}
