/* ============================================
   COLLAB PAGE — collab.html
   Structure matches Artem Belakh reference
   ============================================ */

.collab-body {
  background: var(--color-white);
  color: #1A1A1A;
}

/* Collab page — акцентные кнопки в ОФИЦИАЛЬНОМ красном UFC #D20A0A */
.collab-body {
  --color-red: #D20A0A;            /* UFC official red */
  --color-red-glow: rgba(210, 10, 10, 0.20);
}

/* Override tokens for light bg sections */
.collab-body .eyebrow { color: var(--color-red); }

/* NAV — скрыт на collab странице */
.nav--transparent { display: none; }

/* ============================================
   1. HERO
   ============================================ */
.c-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
  /* content выровнен по низу через align-items: flex-end */
}

.c-hero__img-wrap {
  position: absolute;
  inset: 0;
}

.c-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .c-hero__img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: right bottom;
    margin-left: auto;
    display: block;
  }
}

/* Placeholder gradient removed — real image now in place */

.c-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.0) 30%,
    rgba(0,0,0,0.55) 70%,
    rgba(0,0,0,0.85) 100%
  );
}

.c-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  /* растягиваем на всю высоту hero */
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* лого вверху, контент внизу */
  justify-content: space-between;
  padding-top: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(48px, 8vw, 100px);
}

.c-hero__logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--color-white);
  text-decoration: none;
}

/* группируем нижний контент */
.c-hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.c-hero__title {
  font-family: var(--font-display);
  color: #fff;
  max-width: 80%;
}

.c-hero__collab-tag {
  margin-top: 0;
}

.c-hero__logo span {
  color: var(--color-red);
}

.c-hero__collab-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-red);
}

.c-hero__collab-dot {
  display: none;
}

.c-hero__cta {
  align-self: flex-start;
}

/* ============================================
   2. VALUE PROPS
   ============================================ */
.c-value {
  background: #F5F5F5;
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px solid #EBEBEB;
}

.c-value__title {
  font-family: var(--font-display);
  color: #1A1A1A;
  margin-bottom: 56px;
}

.c-value__title em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--color-red);
  text-underline-offset: 4px;
}

.c-value__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.c-value__item { }

.c-value__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
}

.c-value__item-title {
  color: #1A1A1A;
  margin-bottom: 10px;
}

.c-value__item-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}

/* ============================================
   3. QUOTE STRIP
   ============================================ */
.c-quote-strip {
  background: #F5F5F5;
  padding: 48px 0;
  border-bottom: 1px solid #E0E0E0;
}

.c-quote-strip__text {
  font-family: var(--font-display);
  color: #1A1A1A;
}

/* ============================================
   4. FIGHTER FEATURE
   ============================================ */
.c-fighter-feature {
  background: #fff;
  border-bottom: 1px solid #EBEBEB;
  overflow: hidden;
}

.c-fighter-feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  /* строки растягиваются на высоту правой колонки */
  align-items: stretch;
}

.c-fighter-feature__left {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* минимальная высота чтобы боец был виден целиком */
  min-height: 560px;
}

.c-fighter-feature__photo {
  display: block;
  /* высота = высота колонки, ширина по пропорциям */
  width: auto;
  height: 100%;
  max-height: 640px;
  object-fit: contain;
  object-position: center bottom;
}

.c-fighter-feature__right {
  padding: clamp(60px, 8vw, 100px) 0;
}

/* Phone stack mockup */
.c-phone-stack {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.c-phone {
  position: absolute;
  width: 220px;
  background: #1A1A1A;
  border-radius: 32px;
  border: 1.5px solid #333;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  overflow: hidden;
}

.c-phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: #333;
  border-radius: 3px;
  z-index: 2;
}

.c-phone__screen {
  aspect-ratio: 9/19.5;
  overflow: hidden;
  background: #0A0A0F;
}

.c-phone__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder for missing images */
.c-phone__screen--fighter {
  background: linear-gradient(160deg, #1a0505 0%, #050514 100%);
}

.c-phone--back {
  transform: rotate(-8deg) translateX(-40px);
  z-index: 1;
  opacity: 0.7;
}

.c-phone--front {
  transform: rotate(3deg) translateX(30px);
  z-index: 2;
}

.c-phone--single {
  position: relative;
  width: 240px;
  margin: 0 auto;
}

.c-fighter-feature__title {
  font-family: var(--font-display);
  color: #1A1A1A;
  margin-bottom: 24px;
}

.c-fighter-feature__title span {
  color: var(--color-red);
}

.c-fighter-feature__desc {
  color: #555;
  margin-bottom: 36px;
  max-width: 440px;
}

/* ============================================
   5. PRO SECTION
   ============================================ */
.c-pro-section {
  background: #FAFAFA;
  padding: clamp(60px, 8vw, 100px) 0;
}

.c-pro-section__title {
  font-family: var(--font-display);
  color: #1A1A1A;
  margin-bottom: 16px;
}

.c-pro-section__subtitle {
  color: #666;
  margin-bottom: 72px;
}

/* Alternating feature blocks */
.c-pro-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid #E8E8E8;
}

.c-pro-block--right-text .c-pro-block__visual { order: -1; }

.c-pro-block__title {
  color: #1A1A1A;
  margin-bottom: 16px;
}

.c-pro-block__desc {
  color: #555;
  margin-bottom: 24px;
}

.c-pro-block__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-pro-block__list li {
  font-size: 14px;
  color: #444;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.c-pro-block__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-size: 12px;
}

.c-pro-block__cta { margin-top: 8px; }

.c-pro-block__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-pro-section__cta-row {
  display: flex;
  justify-content: center;
  padding-top: 48px;
}

/* ============================================
   6. DARK SPLIT — Dieting & Training
   ============================================ */
.c-dark-split {
  background: var(--color-black);
  color: var(--color-text-primary);
  overflow: hidden;
}

.c-dark-split__headings {
  padding: clamp(60px, 8vw, 100px) 0 40px;
}

.c-dark-split__title {
  font-family: var(--font-display);
  color: #fff;
}

.c-dark-split__title--strike {
  text-decoration: line-through;
  color: var(--color-text-dim);
  text-decoration-color: var(--color-red);
}

/* Fighter photo + quote side by side */
.c-dark-split__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(48px, 6vw, 80px) 0;
}

.c-dark-split__photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.c-dark-split__photo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.c-dark-split__quote-side {
  display: flex;
  align-items: center;
}

.c-dark-split__quote p {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.6;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* Full-width fighter photo */
/* .c-dark-split__full-photo — styles disabled */

.c-dark-split__full-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.c-dark-split__full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.0) 40%,
    rgba(0,0,0,0.7) 100%
  );
}

/* Bottom quote */
.c-dark-split__bottom-quote {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.7;
  color: var(--color-text-secondary);
  font-style: italic;
  max-width: 100%;
  padding: clamp(48px, 6vw, 80px) 0;
  margin-top: 0;
}

/* ============================================
   7. WAITLIST CTA
   ============================================ */
.c-waitlist {
  background: #fff;
  overflow: hidden;
}

.c-waitlist__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}

.c-waitlist__left {
  padding: clamp(60px, 8vw, 100px) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  justify-content: center;
}

.c-waitlist__title {
  font-family: var(--font-display);
  color: #1A1A1A;
  margin: 0;
}

.c-waitlist__desc {
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
}

.c-waitlist__right {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.c-waitlist__photo {
  display: block;
  width: auto;
  height: 100%;
  max-height: 700px;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.c-waitlist__scroll-cta { }

.c-waitlist__card {
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.c-waitlist__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-red);
}

.c-waitlist__price-block {
  margin-bottom: 24px;
}

.c-waitlist__price-label {
  margin-bottom: 8px;
}

.c-waitlist__price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: #1A1A1A;
  line-height: 1;
  margin-bottom: 6px;
}

.c-waitlist__price-note {
  font-size: 13px;
  color: #888;
}

.c-waitlist__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

/* Override input styles for light bg */
.c-waitlist .waitlist__input {
  background: #fff;
  border-color: #D0D0D0;
  color: #1A1A1A;
  border-radius: var(--radius-pill);
  padding: 16px 32px;
}

.c-waitlist .waitlist__input::placeholder { color: #aaa; }
.c-waitlist .waitlist__input:focus { border-color: var(--color-red); }

.c-waitlist__submit {
  width: 100%;
  justify-content: center;
}

.c-waitlist__disclaimer {
  font-size: 13px;
  color: #888;
  margin-top: 12px;
}

/* success msg override for light bg */
.c-waitlist .waitlist__success {
  background: rgba(88, 108, 237, 0.06);
  border-color: rgba(88, 108, 237, 0.2);
}

.c-waitlist .waitlist__success-icon { color: var(--color-red); }

/* footer on collab light page */
.footer--red {
  background: var(--color-black);
}

.footer--red .footer__logo span { color: var(--color-red); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .c-value__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .c-fighter-feature__inner {
    grid-template-columns: 1fr;
  }

  .c-fighter-feature__left { order: 2; }
  .c-fighter-feature__right { order: 1; }

  .c-phone-stack { height: 380px; }

  .c-pro-block {
    grid-template-columns: 1fr;
  }

  /* Мобильный порядок: текст сначала, картинка снизу — для всех блоков */
  .c-pro-block__text    { order: 1; }
  .c-pro-block__visual  { order: 2; }

  /* Сбрасываем desktop-порядок для right-text блока */
  .c-pro-block--right-text .c-pro-block__visual { order: 2; }
  .c-pro-block--right-text .c-pro-block__text   { order: 1; }

  .c-dark-split__body {
    grid-template-columns: 1fr;
  }

  .c-dark-split__photo { min-height: 320px; }
  .c-dark-split__photo-overlay {
    background: linear-gradient(to bottom, transparent 50%, var(--color-black) 100%);
  }

  .c-waitlist__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .c-value__grid { grid-template-columns: 1fr; }
  .c-hero__title { font-size: clamp(24px, 7vw, 36px); }
}

/* ============================================
   PRICING CARD — c-plan & c-cancel
   ============================================ */

/* Plan block */
.c-plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #E0E0E0;
}

.c-plan__label {
  display: block;
}

.c-plan__price {
  font-family: var(--font-display);
  font-size: 70px;
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #1A1A1A;
}

.c-plan__currency {
  font-size: 0.4em;
  vertical-align: super;
  font-weight: 700;
}

.c-plan__period {
  font-size: 0.25em;
  font-weight: 600;
  letter-spacing: 0;
  color: #888;
  vertical-align: middle;
}

.c-plan__note {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  margin-top: -4px;
}

/* Cancellation block */
.c-cancel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-cancel__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1A1A1A;
}

.c-cancel__text {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

.c-cancel__email {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c-cancel__footnote {
  font-size: 11px;
  color: #aaa;
}

/* Pro block images — фиксированная высота для всех */
.c-pro-block__img-wide,
.c-pro-block__img-phone {
  display: block;
  width: auto;
  height: 480px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

/* ============================================
   FEATURE CARDS — 5-карточная сетка
   ============================================ */
.c-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.c-feature-card {
  background: #F5F5F5;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.c-feature-card__icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  flex-shrink: 0;
}

.c-feature-card__title {
  color: #1A1A1A;
}

.c-feature-card__desc {
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}

@media (max-width: 900px) {
  .c-feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .c-feature-cards {
    grid-template-columns: 1fr;
  }
}
