/* pre-sale.css – стили для страницы предпродажной подготовки */
:root {
  --spacing: 4px;
  --primary: lab(65.9688% 57.7443 77.7888);
}

html, body {
  overflow-x: visible !important;
}

/* ========== ЦЕНТРИРОВАНИЕ SECTION-LABEL ========== */
.pre-sale-section-label {
  text-align: center;
  display: table;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(16px);
  background: #0e162480;
  border: 1px solid #ffffff14;
  padding: 6px 20px;
  border-radius: 40px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary-text);
  margin-bottom: 20px;
}

#how-it-works {
    margin-top: 70px;
}

.gradient-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  font-family: 'Space Grotesk', system-ui;
  margin-bottom: 48px;
}
.gradient-title .white-part {
  color: #ffffff;
}
.gradient-title .gradient-text {
  background: var(--btn-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* ========== HERO ========== */
.pre-sale-hero {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow-x: clip;
}
.pre-sale-hero .container {
  max-width: 1280px;
  padding: 60px 24px 0 24px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.pre-sale-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: calc(100% + 200px);
  background-image: url('../img/11.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}
.hero-pre-sale-content {
  position: relative;
  z-index: 1;
}
.hero-pre-sale-grid {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.back-to-home {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.back-to-home a {
  color: var(--secondary-text);
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.2s;
}
.back-to-home a:hover {
  color: var(--active-tab);
}
.jp-flag-badge {
  background: #0e162480;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--active-tab);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.jp-flag-badge i {
  color: lab(65.9688% 57.7443 77.7888);
}
.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 24px 0;
  color: var(--headers-color);
  font-family: 'Space Grotesk', system-ui;
}
.hero-title .gradient-text {
  display: inline-block;
}
.hero-description {
  font-size: 1.1rem;
  color: #cbd5e6;
  max-width: 90%;
  margin-bottom: 32px;
}

/* ========== 6 ЭТАПОВ ========== */
.stages-pre-sale-section {
  padding: 120px 0 70px 0;
}
.stages-pre-sale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.stage-pre-sale-card {
  background: linear-gradient(145deg, lab(7.06747% -0.19002 -10.6574 / 0.9), lab(3.61341% -0.0697747 -6.86977 / 0.6));
  border-radius: 28px;
  padding: 28px 20px;
  border: 1px solid rgba(255,215,130,0.1);
  transition: transform 0.2s;
}
.stage-pre-sale-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,215,130,0.3);
}
.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.stage-icon {
  width: 48px;
  height: 48px;
  background: var(--btn-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage-icon i {
  font-size: 1.4rem;
  color: #0a0f1a;
}
.stage-number {
  font-size: 2rem;
  font-weight: 800;
  font-family: monospace;
  color: lab(67.45% -0.932187 -7.4149);
  opacity: 0.7;
}
.stage-pre-sale-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.stage-pre-sale-card p {
  color: lab(67.45% -0.932187 -7.4149);
  font-size: 0.875rem;
  line-height: 1.45;
}

/* ========== БЛОК "ЧТО ВЫ ПОЛУЧИТЕ" + СТАТИСТИКА ========== */
.benefits-pre-sale-section {
  padding: 70px 0;
}
.benefits-pre-sale-section .container {
  max-width: 1400px;
  padding: 0 24px;
  margin: 0 auto;
}
.benefits-stats-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 48px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 20px;
}

/* Левый блок статистики (аналог stats-stickers-pre-sale) */
.stats-stickers-pre-sale {
  flex: 0 0 600px;
  width: 600px;
  height: 364px;
  background: linear-gradient(135deg, lab(65.9688% 57.7443 77.7888) 0%, lab(51.8127% 59.2393 -70.0043) 50%, lab(44.3191% 38.7476 -76.8339) 100%);
  border-radius: 32px;
  padding: 40px 32px;
  border: 1px solid rgba(255,215,130,0.2);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 100px;
}
.stat-sticker {
  margin-bottom: 32px;
}
.stat-sticker:last-child {
  margin-bottom: 0;
}
.stat-label-small {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: lab(2.42796 -0.0840873 -4.13788);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.stat-number-large {
  font-size: 6rem;
  font-weight: 700;
  color: lab(2.42796 -0.0840873 -4.13788);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-desc {
  font-size: 0.75rem;
  line-height: 1.5;
  color: lab(2.42796 -0.0840873 -4.13788);
}
.stat-percent {
  font-size: 2.25rem;
  font-weight: 700;
  color: lab(2.42796 -0.0840873 -4.13788);
  line-height: 1;
}

/* Правый блок – без фона, заголовок 3rem */
.benefits-right-pre-sale {
  flex: 0 0 600px;
  width: 600px;
  height: 560px;
  background: transparent;
  border: none;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.benefits-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 32px;
  font-family: 'Space Grotesk', system-ui;
  color: #ffffff;
}
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.benefit-item {
  background: #0e162480;
  border: 1px solid #ffffff14;
  border-radius: 24px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: var(--active-tab);
  width: 100%;
  box-sizing: border-box;
  min-height: 70px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: default;
}
.benefit-item:hover {
  transform: translateY(-4px);
  background: rgba(14, 22, 36, 0.9);
  border-color: rgba(255,215,130,0.3);
}
.benefit-icon-bg {
  width: 40px;
  height: 40px;
  background-color: color-mix(in oklab, var(--primary) 15%, transparent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.benefit-item:hover .benefit-icon-bg {
  transform: scale(1.05);
}
.benefit-icon-bg i {
  font-size: 1.2rem;
  color: lab(65.9688% 57.7443 77.7888);
}
.benefit-item strong {
  color: #ffffff;
}

/* ========== CTA ========== */
.cta-pre-sale-container {
  margin: 20px auto 70px;
}
.cta-section-pre-sale {
  background: linear-gradient(145deg, lab(7.06747% -0.19002 -10.6574 / 0.9), lab(3.61341% -0.0697747 -6.86977 / 0.6));
  border-radius: 32px;
  border: 1px solid rgba(255, 215, 130, 0.1);
  padding: 50px 40px;
  text-align: center;
  margin-top: 60px;
}
.cta-section-pre-sale h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.cta-button {
  background: var(--btn-gradient);
  border: none;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1320px) {
  .benefits-stats-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }
  .stats-stickers-pre-sale,
  .benefits-right-pre-sale {
    flex-basis: auto;
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: auto;
  }
  .benefits-right-pre-sale {
    padding: 0;
  }
}
@media (max-width: 1100px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .gradient-title {
    font-size: 2rem;
  }
}
@media (max-width: 900px) {
  .stages-pre-sale-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}
@media (max-width: 768px) {
  .pre-sale-hero .container {
    padding-top: 40px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 1rem;
    max-width: 100%;
  }
  .stages-pre-sale-section {
    padding: 90px 0 50px 0;
  }
  .gradient-title {
    font-size: 1.6rem;
  }
  .stat-number-large {
    font-size: 3rem;
  }
  .stat-percent {
    font-size: 1.6rem;
  }
  .benefits-title {
    font-size: 2rem;
  }
  .benefit-item {
    font-size: 0.9rem;
    padding: 12px 16px;
  }
  .benefit-icon-bg {
    width: 32px;
    height: 32px;
  }
  .benefit-icon-bg i {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-description {
    font-size: 0.9rem;
  }
  .gradient-title {
    font-size: 1.3rem;
  }
  .stat-number-large {
    font-size: 2.5rem;
  }
  .stat-percent {
    font-size: 1.3rem;
  }
  .benefits-title {
    font-size: 1.6rem;
  }
  .benefit-item {
    font-size: 0.85rem;
  }
  .stage-header {
    flex-wrap: wrap;
    gap: 12px;
  }
}