/* ============================================================
   ФЕМБОЙСКИЕ ВОЙСКА — styles
   Палитра транс-флага: голубой / розовый / белый
   ============================================================ */

:root {
  --blue: #5bcefa;
  --blue-strong: #3fb8ea;
  --pink: #f5a9b8;
  --pink-strong: #ef8ea3;
  --white: #ffffff;
  --ink: #1b1b24;
  --muted: #6a6a7a;
  --bg: #fbfbff;
  --bg-soft: #f3f7ff;
  --surface: #ffffff;
  --surface-2: #f4f8ff;
  --line: #e2e8f2;
  --line-soft: #eef2fa;
  --radius: 20px;
  --shadow: 0 20px 50px rgba(91, 150, 200, .16);
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Unbounded", "Manrope", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[hidden] { display: none !important; }

body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(91, 206, 250, .18), transparent 60%),
    radial-gradient(700px 420px at 0% 6%, rgba(245, 169, 184, .18), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--pink); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--blue-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

.container--narrow { width: min(820px, 100% - 40px); }

.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.6; }

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 251, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__flag {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(91, 206, 250, .25);
}

.logo__flag i { flex: 1; }
.logo__flag i:nth-child(1) { background: var(--blue); }
.logo__flag i:nth-child(2) { background: var(--pink); }
.logo__flag i:nth-child(3) { background: var(--white); }
.logo__flag i:nth-child(4) { background: var(--pink); }
.logo__flag i:nth-child(5) { background: var(--blue); }

.logo__text {
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1.15;
  letter-spacing: .16em;
  color: var(--muted);
  text-transform: uppercase;
}

.logo__text b {
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  transition: width .25s;
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s, background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}

.btn:active { transform: scale(.97); }

.btn--sm { padding: 10px 18px; font-size: 13.5px; }

.btn--primary {
  background: linear-gradient(120deg, var(--blue), var(--pink));
  color: #14141c;
  box-shadow: 0 12px 30px rgba(245, 169, 184, .45);
}

.btn--primary:hover {
  box-shadow: 0 16px 38px rgba(91, 206, 250, .45);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover { border-color: var(--blue); background: var(--surface-2); }

.btn--lg { padding: 17px 32px; font-size: 16px; }

/* ---------- hero ---------- */

.hero { padding: 64px 0 40px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.hero__copy { min-width: 0; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink-strong);
  box-shadow: 0 0 12px var(--pink-strong);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: .35; transform: scale(.8); }
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.hl {
  display: inline-block;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 46ch;
  color: #4c4c5c;
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 38px;
}

.hero__stats {
  display: flex;
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__stats li { display: flex; flex-direction: column; gap: 2px; }

.hero__stats b {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(90deg, var(--blue-strong), var(--pink-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stats span { font-size: 12px; color: var(--muted); }

.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: 6% 4% 4%;
  background: radial-gradient(circle at 50% 55%, rgba(91, 206, 250, .35), rgba(245, 169, 184, .2) 45%, transparent 70%);
  filter: blur(30px);
  z-index: -1;
  animation: glow 6s ease-in-out infinite;
}

@keyframes glow {
  50% { opacity: .55; transform: scale(1.06); }
}

.hero__photo {
  position: relative;
  width: min(340px, 92%);
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(135deg, var(--blue), var(--pink), var(--white), var(--pink), var(--blue));
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}

.hero__photo img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

@keyframes float {
  50% { transform: translateY(-14px) rotate(-1.2deg); }
}

.hero__tag {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 9px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

/* ---------- marquee ---------- */

.marquee {
  margin-top: 24px;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(91,206,250,.08), rgba(245,169,184,.08));
  overflow: hidden;
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee__track .dot { color: var(--pink-strong); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

.section { padding: 88px 0; }

section[id] { scroll-margin-top: 88px; }

.section--split {
  background: linear-gradient(180deg, transparent, var(--bg-soft) 20%, var(--bg-soft) 80%, transparent);
  border-block: 1px solid var(--line-soft);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section__intro { max-width: 640px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--blue-strong), var(--pink-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.section__intro h2 + p { margin-top: 14px; }

/* ---------- benefits ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit {
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(91, 150, 200, .06);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.benefit:hover {
  transform: translateY(-4px);
  border-color: var(--pink);
  box-shadow: var(--shadow);
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(91,206,250,.25), rgba(245,169,184,.25));
  font-size: 26px;
  margin-bottom: 16px;
}

.benefit h3 { font-size: 19px; margin-bottom: 8px; }
.benefit p { font-size: 14px; color: var(--muted); }

/* ---------- split / requirements ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split__text p { margin-top: 16px; }

.checklist {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  color: #45455a;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.split__art { display: grid; place-items: center; }

.photo-card {
  width: min(380px, 100%);
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--pink), var(--white), var(--blue));
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  transition: transform .3s;
}

.photo-card:hover { transform: rotate(0deg) scale(1.02); }

.photo-card img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  padding: 28px 26px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
}

.step__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  background: linear-gradient(90deg, var(--blue-strong), var(--pink-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 { margin: 16px 0 10px; font-size: 21px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- reviews ---------- */

.section--reviews {
  background: linear-gradient(180deg, transparent, var(--bg-soft) 15%, var(--bg-soft) 85%, transparent);
  border-block: 1px solid var(--line-soft);
}

.rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.rating b {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  background: linear-gradient(90deg, var(--blue-strong), var(--pink-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rating span { font-size: 13px; color: var(--muted); }

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  transition: border-color .25s, transform .25s;
}

.review:hover { border-color: var(--blue); transform: translateY(-3px); }

.review__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink);
}

.review__stars {
  color: var(--pink-strong);
  letter-spacing: .12em;
  font-size: 13px;
}

.review p { font-size: 15px; color: #3f3f52; line-height: 1.6; }

.review footer {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  font-size: 13px;
}

.review footer b { font-weight: 800; }
.review footer span { color: var(--muted); }

/* ---------- faq ---------- */

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

.faq details {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s;
}

.faq details[open] { border-color: var(--blue); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 22px;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(90deg, var(--blue-strong), var(--pink-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform .25s;
  flex-shrink: 0;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  padding: 0 22px 22px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- cta ---------- */

.cta { padding: 0 0 96px; }

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px;
  border-radius: 26px;
  border: 1px solid rgba(245, 169, 184, .5);
  background:
    radial-gradient(circle at 90% 10%, rgba(91, 206, 250, .25), transparent 55%),
    linear-gradient(120deg, #fff, var(--surface-2));
  box-shadow: var(--shadow);
}

.cta__copy { min-width: 0; }
.cta__img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 18px;
  flex-shrink: 0;
  border: 3px solid var(--pink);
}

.cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.cta p { margin-top: 12px; max-width: 52ch; }

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
  padding: 56px 0 26px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.logo--footer { margin-bottom: 16px; }

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer__nav b {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer__nav a { color: var(--muted); transition: color .2s; }
.footer__nav a:hover { color: var(--pink-strong); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(27, 27, 36, .55);
  backdrop-filter: blur(5px);
  animation: fadeIn .25s ease;
}

@keyframes fadeIn { from { opacity: 0; } }

.modal__card {
  width: min(430px, 100%);
  padding: 36px 32px 30px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 169, 184, .3), transparent 60%),
    #fff;
  text-align: center;
  box-shadow: 0 40px 90px rgba(27, 27, 36, .3);
  animation: pop .3s cubic-bezier(.2, .8, .3, 1.2);
}

@keyframes pop {
  from { transform: scale(.94); opacity: 0; }
}

.modal__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  font-size: 28px;
  box-shadow: 0 0 30px rgba(245, 169, 184, .5);
}

.modal__card h2 { font-size: 24px; margin-bottom: 10px; }
.modal__card p { font-size: 14.5px; margin-bottom: 24px; }
.modal__card .btn { width: 100%; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__art { order: -1; min-height: auto; display: grid; place-items: center; padding: 24px 0 8px; }
  .hero__photo { width: min(300px, 80%); }
  .hero__glow { inset: 10%; }
  .hero h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }

  .cta__inner { flex-direction: column; align-items: center; text-align: center; padding: 34px; }
  .cta__copy { max-width: 52ch; }
  .cta__copy h2 { margin-bottom: 10px; }
  .cta__img { order: -1; margin-bottom: 6px; }
  .cta__actions { justify-content: center; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .hero { padding: 44px 0 24px; }
  .hero__art { min-height: auto; padding: 18px 0 6px; }
  .section { padding: 64px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .steps, .reviews { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 600px) {
  .container, .container--narrow { width: calc(100% - 32px); }
  .benefits { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(1.8rem, 8.4vw, 2.6rem); }
  .hero__photo { width: 240px; }
  .hero__stats { gap: 22px; }
  .hero__stats b { font-size: 20px; }
  .hero__actions .btn { flex: 1; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
