/* Лендинг /group */

.group-hero {
  position: relative;
  padding: 48px 0 28px;
  overflow: hidden;
}

.group-hero::before {
  content: '';
  position: absolute;
  inset: -40px 0 auto;
  height: 560px;
  background:
    radial-gradient(circle at 12% 0%, rgba(6, 182, 212, 0.28), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(236, 72, 153, 0.22), transparent 38%),
    radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.16), transparent 46%);
  pointer-events: none;
}

#who,
#can,
#why,
#how,
#settings,
#faq {
  scroll-margin-top: 88px;
}

.group-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 22px;
}

.group-toc a {
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 181, 253, 0.35);
  padding-bottom: 1px;
}

.group-toc a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.group-inline {
  font-weight: 600;
  color: #67e8f9;
  text-decoration: none;
  border-bottom: 1px solid rgba(103, 232, 249, 0.35);
}

.group-inline:hover {
  color: #fff;
}

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

.group-can__item {
  position: relative;
  min-height: 168px;
  padding: 22px 52px 28px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(6, 182, 212, 0.08), transparent 42%),
    rgba(28, 27, 26, 0.82);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.group-can__item::before {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #c084fc);
  opacity: 0.7;
}

.group-can__item:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.35);
}

.group-can__icon {
  position: absolute;
  right: -6px;
  bottom: -18px;
  font-size: 96px;
  line-height: 1;
  color: rgba(103, 232, 249, 0.14);
  pointer-events: none;
}

.group-can__item h3,
.group-can__item p {
  position: relative;
  z-index: 1;
}

.group-can__item h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.group-can__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.group-can__foot {
  margin: 28px 0 0;
  text-align: center;
}

.group-step__n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.7), rgba(139, 92, 246, 0.65));
}

.group-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.group-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: 36px;
  align-items: stretch;
}

.group-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.group-kicker img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.group-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  padding: 0.02em 2px 0.1em 0;
  overflow: visible;
}

.group-hero__sub {
  margin: 0 0 18px;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #e8e8e8;
}

.group-hero__lead {
  margin: 0 0 18px;
  max-width: 34em;
  font-size: 19px;
  line-height: 1.5;
  color: #ececec;
}

.group-hero__points {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.group-hero__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.group-hero__points li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #ec4899);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
  flex-shrink: 0;
}

.group-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.group-hero__actions .btn {
  min-width: 168px;
  min-height: 50px;
  font-size: 16px;
}

.group-hero__btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.group-hero__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.group-hero__hint {
  margin: 0;
  font-size: 14px;
  color: #c4c4c4;
}

.group-hero__visual {
  position: relative;
  z-index: 1;
  min-height: 520px;
}

.group-hero__glow {
  display: none;
}

.group-hero__shot {
  position: absolute;
  right: 0;
  top: 0;
  width: 72%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.group-hero__shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.28), transparent 42%);
  pointer-events: none;
}

.group-hero__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 12%;
}

.tg-slab {
  display: none;
  position: absolute;
  left: 0;
  bottom: 22px;
  z-index: 2;
  width: min(300px, 60%);
  padding: 12px 12px 13px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(28, 27, 26, 0.92);
  backdrop-filter: blur(16px);
}

.tg-slab.is-on {
  display: block;
}

.tg-slab__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tg-slab__emoji {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.tg-slab__head > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}

.tg-slab__head strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.tg-slab__head div span {
  font-size: 11px;
  line-height: 1.1;
  color: var(--text-muted);
}

.tg-slab__day {
  margin: 0 0 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
}

.tg-slab__thread {
  display: grid;
  gap: 8px;
}

.tg-line {
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.16);
  font-size: 13px;
  line-height: 1.35;
  color: #e8fdff;
}

.tg-line__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.tg-line b {
  font-size: 11px;
  font-weight: 700;
  color: #67e8f9;
}

.tg-line time {
  font-size: 10px;
  color: #8b8b8b;
  white-space: nowrap;
}

.tg-line--eva {
  background: rgba(255, 255, 255, 0.08);
  color: #eee;
}

.tg-line--eva b {
  color: #c4b5fd;
}

.group-phone__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.group-phone__bar img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.group-phone__bar strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.group-phone__bar span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.group-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  min-height: 230px;
  background: radial-gradient(circle at 0 0, rgba(6, 182, 212, 0.1), transparent 48%), #121110;
}

.group-msg {
  max-width: 90%;
  padding: 8px 10px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(10px);
  animation: groupMsgIn 0.55s ease forwards;
}

.group-msg:nth-child(1) { animation-delay: 0.25s; }
.group-msg:nth-child(2) { animation-delay: 0.7s; }
.group-msg:nth-child(3) { animation-delay: 1.15s; }
.group-msg:nth-child(4) { animation-delay: 1.6s; }

.group-msg small {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
}

.group-msg--them {
  align-self: flex-end;
  background: rgba(6, 182, 212, 0.18);
  color: #e8fdff;
}

.group-msg--eva {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: #eee;
}

.group-msg--eva small { color: #c4b5fd; }
.group-msg--them small { color: #67e8f9; }

.group-head {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}

.group-head .section-title {
  line-height: 50px;
  padding: 0.04em 0 0.16em;
  overflow: visible;
}

.group-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
}

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

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

.group-how {
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(28, 27, 26, 0.72);
}

.group-how__item {
  position: relative;
  padding: 28px 24px 26px;
}

.group-how__item + .group-how__item {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.group-how__n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.7), rgba(139, 92, 246, 0.65));
}

.group-how__item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.group-how__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.group-how__cta {
  display: flex;
  justify-content: center;
  margin: 22px 0 0;
}

.group-how__cta .btn {
  min-height: 44px;
  padding: 0 22px;
}

.group-step {
  padding: 22px 20px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(28, 27, 26, 0.78);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.group-step:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(36, 34, 32, 0.92);
}

.group-step img {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 16px;
  object-fit: cover;
}

.group-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.group-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.group-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.group-split--flip .group-frame {
  order: -1;
}

.group-copy p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}

.group-frame {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 320px;
}

.group-frame--square {
  aspect-ratio: 1;
  min-height: 0;
  width: 100%;
  max-width: 480px;
  justify-self: start;
}

.group-who {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: center;
  padding: 22px 28px 22px 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(28, 27, 26, 0.55);
}

.group-who__photo {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 3 / 4;
}

.group-who__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.group-who__copy {
  max-width: none;
  text-align: left;
}

.group-who__copy .section-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 42px;
  text-align: left;
}

.group-who__copy p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}

.group-who__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 6px;
}

.group-who__actions .btn {
  min-height: 42px;
  padding: 0 16px;
}

.group-who__copy .group-label {
  text-align: left;
}

.group-why {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(28, 27, 26, 0.72);
}

.group-why__photo {
  margin: 0;
  min-height: 320px;
}

.group-why__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}

.group-why__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px 36px 28px;
}

.group-why__copy .section-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 42px;
  text-align: left;
}

.group-why__copy p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}

.group-why__copy .group-label {
  text-align: left;
}

.group-why__actions {
  margin-top: 10px;
}

.group-why__actions .btn {
  min-height: 42px;
  padding: 0 18px;
}

.group-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 0.9s ease;
}

.group-frame--square img {
  min-height: 0;
  aspect-ratio: 1;
}

.group-frame:hover img {
  transform: scale(1.05);
}

.group-cta {
  position: relative;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  min-height: 280px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c0b0a;
}

.group-cta picture {
  position: absolute;
  inset: 0;
}

.group-cta__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 18%;
}

.group-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 10, 0.82) 0%, rgba(8, 8, 10, 0.42) 42%, rgba(8, 8, 10, 0.08) 68%, transparent 100%);
  pointer-events: none;
}

.group-cta__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  max-width: 28rem;
  padding: 36px 32px;
}

.group-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: left;
}

.group-cta p {
  margin: 0 0 18px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.group-cta .btn {
  min-height: 44px;
  padding: 0 22px;
}

.group-dock {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes groupFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes groupPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes groupMsgIn {
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .group-hero__grid,
  .group-split,
  .group-steps {
    grid-template-columns: 1fr;
  }

  .group-how {
    grid-template-columns: 1fr 1fr;
  }

  .group-how__item:nth-child(2n + 1) {
    border-left: 0;
  }

  .group-how__item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .group-why {
    grid-template-columns: 1fr;
  }

  .group-why__photo {
    min-height: 240px;
    max-height: 280px;
  }

  .group-who {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    padding: 18px;
    gap: 20px 24px;
  }

  .group-can {
    grid-template-columns: 1fr 1fr;
  }

  .group-split--flip .group-frame {
    order: 0;
  }

  .group-frame--square {
    max-width: none;
    justify-self: stretch;
  }

  .group-hero__visual {
    min-height: 0;
    max-width: 560px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
  }

  .group-hero__shot {
    position: relative;
    width: 100%;
    height: 280px;
  }

  .tg-slab {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .group-cta {
    aspect-ratio: 3 / 4;
    min-height: 420px;
  }

  .group-cta__photo {
    object-position: 0 15%;
  }

  .group-cta::after {
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.1) 28%, rgba(8, 8, 10, 0.78) 100%);
  }

  .group-cta__copy {
    justify-content: flex-end;
    max-width: none;
    padding: 24px 22px;
  }
}

@media (max-width: 720px) {
  .group-who {
    grid-template-columns: 1fr;
    padding: 16px 16px 20px;
    gap: 18px;
  }

  .group-who__photo {
    width: 100%;
    max-height: none;
  }

  .group-who__copy .section-title {
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 1.25;
  }

  .group-who__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 14px;
  }

  .group-who__actions .btn,
  .group-who__actions .group-inline {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .group-who__actions .group-inline {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    border-bottom-width: 1px;
    padding: 0 16px;
  }

  .group-cta {
    aspect-ratio: 3 / 4;
    min-height: 460px;
    height: auto;
  }

  .group-cta__photo {
    object-position: 50% 18%;
  }

  .group-cta::after {
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.06) 18%, rgba(8, 8, 10, 0.84) 86%);
  }

  .group-cta__copy {
    justify-content: flex-end;
    max-width: none;
    padding: 18px 16px 20px;
  }

  .group-cta h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  .group-cta p {
    font-size: 15px;
  }

  .group-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .group-how {
    grid-template-columns: 1fr;
  }

  .group-how__item + .group-how__item,
  .group-how__item:nth-child(n + 3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .group-dock {
    display: inline-flex;
  }

  .group-hero {
    padding-top: 20px;
  }

  .group-hero__lead {
    font-size: 16px;
  }

  .group-hero__visual {
    min-height: 0;
    display: grid;
    gap: 12px;
  }

  .group-hero__shot {
    position: relative;
    width: 100%;
    height: 280px;
  }

  .tg-slab {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .group-can {
    grid-template-columns: 1fr;
  }
}

@media (orientation: landscape) and (max-height: 540px) {
  .group-hero {
    padding-top: 12px;
    padding-bottom: 16px;
  }

  .group-hero__shot {
    height: 200px;
  }

  .group-cta {
    aspect-ratio: auto;
    min-height: 240px;
    height: 58vh;
  }

  .group-cta__copy {
    padding: 16px 18px;
  }

  .group-cta h2 {
    font-size: 22px;
  }

  .group-cta .btn {
    min-height: 42px;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal,
  .group-msg,
  .group-phone,
  .group-hero__glow,
  .group-frame img,
  .group-why__photo img,
  .group-hero__shot img {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
