/* ============================================
   LANDING — УмСпорт
   Rubik (лого) · Unbounded (заголовки) · Montserrat (текст)
   ============================================ */

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

:root {
  --blue:   #4342f6;
  --lime:   #d7fe67;
  --purple: #ab71ff;
  --dark:   #000000;
  --white:  #ffffff;
  --bg:     #f6f8fe;
  --text:   #000000;
  --radius: 30px;
  --radius-box: 45px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ============================================
   CONTAINER
   ============================================ */
.l-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.l-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  border-radius: 100px;
  padding: 14px 32px;
  cursor: pointer;
  border: none;
  transition: opacity 0.18s;
  white-space: nowrap;
}
.l-btn:hover { opacity: 0.82; }
.l-btn--blue { background: var(--blue); color: var(--white); }
.l-btn--lime { background: var(--lime); color: var(--dark); }
.l-btn--lg { padding: 18px 40px; font-size: 0.9375rem; }
.l-btn--login-mobile {
  background: #d9d9d9;
  color: var(--blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.l-btn-login {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--blue);
  background: #d9d9d9;
  border-radius: 100px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  transition: opacity 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
}
.l-btn-login:hover { opacity: 0.78; }

/* ============================================
   STARS
   ============================================ */
.l-star {
  position: absolute;
  font-weight: 900;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}
.l-star--blue  { color: var(--blue); }
.l-star--lime  { color: var(--lime); }

/* ============================================
   HEADER
   ============================================ */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

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

.l-logo {
  font-family: 'Rubik', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: #1f1f1f;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.l-nav {
  display: flex;
  gap: 40px;
  flex: 1;
  justify-content: center;
}
.l-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--dark);
  transition: opacity 0.18s;
}
.l-nav a:hover { opacity: 0.5; }

.l-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.l-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.l-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.l-burger.active span:nth-child(2) { opacity: 0; }
.l-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.l-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: var(--bg);
  border-top: 1px solid rgba(0,0,0,0.07);
}
.l-mobile-nav.open { display: flex; }
.l-mobile-nav a {
  color: var(--dark);
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

/* ============================================
   HERO
   ============================================ */
.l-hero {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
}

.l-hero__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.l-hero__content { flex: 1; max-width: 600px; }

.l-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.l-tag-pill {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.l-tag-pill--blue   { background: var(--blue);   color: var(--white); }
.l-tag-pill--purple { background: var(--purple);  color: #ffefef; }
.l-tag-pill--lime   { background: var(--lime);    color: var(--dark); }

.l-hero__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.375rem);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 20px;
}

.l-hero__highlight {
  display: inline-block;
  background: var(--lime);
  border-radius: 100px;
  padding: 2px 20px 4px;
}

.l-hero__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 470px;
  opacity: 0.75;
}

.l-hero__images {
  flex-shrink: 0;
  position: relative;
  width: 420px;
  height: 420px;
}
.l-hero__img {
  position: absolute;
  object-fit: contain;
}
.l-hero__img--1 { width: 260px; bottom: 0; left: 0; }
.l-hero__img--2 { width: 220px; top: 0; right: 0; }

.l-star--1 { font-size: 7rem; top: -24px; right: 32px; opacity: 0.12; }
.l-star--2 { font-size: 4rem; bottom: 32px; left: 16px; opacity: 0.10; }

/* ============================================
   CONTENT BOX
   ============================================ */
.l-content-box {
  background: var(--white);
  border-radius: var(--radius-box) var(--radius-box) 0 0;
}

/* ============================================
   SECTIONS
   ============================================ */
.l-section { padding: 72px 0; }

.l-section__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
}

.l-section__sub {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(0,0,0,0.55);
  margin-bottom: 48px;
}

/* ============================================
   STEPS
   ============================================ */
.l-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.l-step {
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  gap: 20px;
  /* desktop — all light */
  background: var(--bg);
  color: var(--dark);
}

.l-step__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.l-step__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  opacity: 0.65;
}

.l-step__badge {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  width: 80px;
  height: 50px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  flex-shrink: 0;
}
.l-step__badge--lime { background: var(--lime); color: var(--dark); }
.l-step__badge--blue { background: var(--blue); color: var(--white); }

/* ============================================
   AUDIENCE CARDS
   ============================================ */
.l-audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.l-acard {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.l-acard__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.l-acard__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.l-acard__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--dark);
}

.l-acard__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.l-atag {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  white-space: nowrap;
  line-height: 1.2;
}

.l-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--white);
  border-radius: 50%;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: var(--dark);
}

/* ============================================
   REPORT CARDS
   ============================================ */
.l-report {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.l-rcard {
  border-radius: var(--radius);
  padding: 28px 24px;
}
.l-rcard--full { grid-column: 1 / -1; }
.l-rcard--bg   { background: var(--bg); }
.l-rcard--lime { background: var(--lime); }
.l-rcard--blue { background: var(--blue); color: var(--white); }
.l-rcard--dark { background: var(--dark); color: var(--white); }

.l-rcard__label {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.l-rcard__big {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.1875rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 12px;
}

.l-rcard__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  opacity: 0.75;
}

.l-psychotypes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.l-psycho {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  padding: 8px 20px;
  border-radius: 100px;
}
.l-psycho--dark    { background: var(--dark);   color: var(--white); }
.l-psycho--outline { border: 1.5px solid rgba(0,0,0,0.2); color: var(--dark); }
.l-psycho--blue    { background: var(--blue);   color: var(--white); }
.l-psycho--lime    { background: var(--lime);   color: var(--dark); }

.l-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.l-bar {
  height: 9px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  overflow: hidden;
}
.l-bar__fill {
  height: 100%;
  border-radius: 100px;
}

/* ============================================
   REPORT DETAIL
   ============================================ */
.l-report-detail { padding-top: 0; }
.l-report-detail__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.l-report-detail__text { flex: 1; }
.l-report-detail__body {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(0,0,0,0.55);
  margin-top: 16px;
}
.l-report-detail__img { flex-shrink: 0; width: 340px; }
.l-report-detail__img img { width: 100%; }

/* ============================================
   CTA BANNER
   ============================================ */
.l-cta {
  background: var(--blue);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.l-cta__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}
.l-cta__text { flex: 1; }
.l-cta__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.15;
}
.l-cta__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
.l-cta__img { flex-shrink: 0; width: 300px; }
.l-cta__img img { width: 100%; }

.l-star--cta-1 { font-size: 7rem; top: -8px;   right: 32px;  opacity: 0.22; }
.l-star--cta-2 { font-size: 4rem; bottom: 16px; left: 16px;   opacity: 0.18; }

/* ============================================
   FOOTER
   ============================================ */
.l-footer {
  background: var(--bg);
  color: rgba(0,0,0,0.45);
  padding: 24px 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
}
.l-footer a { color: rgba(0,0,0,0.45); text-decoration: underline; }
.l-footer a:hover { color: var(--dark); }

/* ============================================
   TABLET (max 900px)
   ============================================ */
@media (max-width: 900px) {
  .l-nav        { display: none; }
  .l-burger     { display: flex; }
  .l-btn-login  { display: none; }

  .l-hero__inner  { flex-direction: column; gap: 32px; }
  .l-hero__content { max-width: 100%; }
  .l-hero__images { width: 100%; height: 280px; }
  .l-hero__img--1 { width: 190px; left: 10%; }
  .l-hero__img--2 { width: 170px; right: 10%; }

  .l-steps    { grid-template-columns: 1fr; }
  .l-audience { grid-template-columns: 1fr; }

  .l-report { grid-template-columns: 1fr; }
  .l-rcard--full { grid-column: auto; }

  .l-report-detail__inner { flex-direction: column; }
  .l-report-detail__img   { width: 100%; max-width: 340px; margin: 0 auto; }

  .l-cta__inner { flex-direction: column; text-align: center; }
  .l-cta__img   { width: 220px; }
}

/* ============================================
   MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
  .l-header__inner { height: 60px; }
  .l-logo { font-size: 1.125rem; }

  .l-hero { padding: 24px 0 40px; }
  .l-hero__title { font-size: 1.75rem; }
  .l-hero__images { display: none; }
  .l-star--1, .l-star--2 { display: none; }

  .l-content-box { border-radius: 24px 24px 0 0; }

  .l-section { padding: 48px 0; }
  .l-section__sub { margin-bottom: 32px; }

  /* Mobile steps — colorful */
  .l-step--1 {
    background: var(--dark);
    color: var(--white);
  }
  .l-step--1 .l-step__text { opacity: 0.65; color: var(--white); }
  .l-step--1 .l-step__badge--lime { background: #faffec; color: var(--dark); }

  .l-step--2 {
    background: var(--lime);
    color: var(--dark);
  }
  .l-step--2 .l-step__badge--blue { background: var(--white); color: var(--dark); }

  .l-step--3 {
    background: var(--blue);
    color: var(--white);
  }
  .l-step--3 .l-step__text { opacity: 0.75; color: var(--white); }
  .l-step--3 .l-step__badge--lime { background: #faffec; color: var(--dark); }

  .l-cta { padding: 56px 0; }
  .l-cta__img { display: none; }
  .l-cta__title { font-size: 1.5rem; }
}
