/* =========================================================
   LANDING 2026 — SYSTEM GRID FOUNDATION
   Aurora Patch • Step 2
   ========================================================= */

/* ---------- GLOBAL RESET FOR LANDING ---------- */

body.landing-page {
  background: #f7f8fa !important;
  background-image: none !important;
}

.landing-page {
  background: #f7f8fa;
  color: #1e1f22;
}

/* ---------- MAIN CONTAINER ---------- */

.landing-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SECTION BASE ---------- */

.landing-section {
  padding-top: 10px;
}

.landing-section--tight {
  padding: 64px 0;
}

/* ---------- GRID: TEXT + IMAGE ---------- */

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

/* reverse layout */
.section-grid.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.section-text h2 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 600;
}

.section-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #4a4d55;
  max-width: 520px;
}

/* ---------- IMAGE BLOCK ---------- */

.section-media {
  background: #e9ebef;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.section-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* =========================================================
   AURORA STEP 3 — ABOUT / SYSTEM SECTION
   ========================================================= */

.section-text h2 {
  font-size: 40px;
}

.section-text p + p {
  margin-top: 14px;
}

.section-media {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
/* =========================================================
   AURORA STEP 4 — PLAYER ACTIONS AS SYSTEM SECTIONS
   ========================================================= */

.section-grid {
  margin-top: 32px;
}

.section-grid + .section-grid {
  margin-top: 80px;
}

.section-text h2 {
  max-width: 520px;
}

.section-text p {
  max-width: 520px;
}

.section-media {
  background: #eef0f3;
}

@media (max-width: 900px) {
  .section-grid,
  .section-grid.reverse {
    grid-template-columns: 1fr;
  }

  .section-media {
    order: -1;
  }
}
/* =========================================================
   AURORA STEP 4.1 — HORIZONTAL SYSTEM BLOCK
   ========================================================= */

.horizontal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 48px;
}

.h-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.h-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #4a4d55;
}

@media (max-width: 900px) {
  .horizontal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* =========================================================
   AURORA STEP 4.2 — ICON ANCHORS (SYSTEM STYLE)
   ========================================================= */

.h-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.h-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  margin-left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef0f3;
  border-radius: 12px;
}

.h-icon img {
  width: 100px;
  height: 100px;
  opacity: 0.85;
}

.h-item h3 {
  margin-bottom: 10px;
}
/* =========================================================
   AURORA STEP 4.3 — GAME SCREENSHOTS AS VISUAL ANCHORS
   ========================================================= */
/* === GAME SCREENSHOT CARD === */

.h-image {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 4 / 3;
  margin: 0 auto 18px;

  padding: 10px;
  border-radius: 20px;

  background: linear-gradient(
    180deg,
    rgba(240, 242, 235, 0.95),
    rgba(232, 235, 228, 0.85)
  );

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.h-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  border-radius: 14px;

  filter: saturate(0.9) contrast(0.95) brightness(0.98);
}

.h-item p {
  max-width: 260px;
  margin: 0 auto;
}
/* =========================================================
   AURORA STEP 5.1 — PRIMARY STATS CARDS
   ========================================================= */

.stat-item--primary {
  grid-column: span 2;

  padding: 28px 30px;

  background: linear-gradient(180deg, #ffffff 0%, #f4f7ee 100%);

  border-radius: 20px;

  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);

  position: relative;
}

/* Главная цифра */
.stat-item--primary strong {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Заголовок */
.stat-item--primary span {
  display: block;
  margin-top: 8px;

  font-size: 17px;
  font-weight: 600;
}

/* Пояснение */
.stat-item--primary small {
  display: block;
  margin-top: 6px;

  font-size: 14px;
  opacity: 0.75;
}
/* =========================================================
   AURORA — PROJECT STATS (SYSTEM EMPHASIS)
   ========================================================= */

.landing-stats {
  background: linear-gradient(180deg, #f7f8fa 0%, #f3f5f7 100%);
}

.stats-title {
  font-size: 40px;
  margin-bottom: 48px;
}

/* === ОСНОВНЫЕ МЕТРИКИ === */

.stats-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

/* =========================================================
   AURORA — PROJECT STATS (SYSTEM EMPHASIS)
   ========================================================= */

.landing-stats {
  background: linear-gradient(180deg, #f7f8fa 0%, #f3f5f7 100%);
}

.stats-title {
  font-size: 40px;
  margin-bottom: 48px;
}

/* === ОСНОВНЫЕ МЕТРИКИ === */

.stats-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

.stat-card--primary {
  padding: 36px 40px;
  border-radius: 22px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 249, 251, 0.95)
  );

  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.stat-card--primary strong {
  font-size: 48px;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.stat-card--primary span {
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.stat-card--primary p {
  font-size: 15px;
  color: #5b5e66;
  max-width: 420px;
}

/* === ВТОРИЧНЫЕ === */

.stats-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stat-card {
  padding: 22px 24px;
  border-radius: 18px;
  background: #ffffff;

  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.06),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.stat-card strong {
  font-size: 28px;
  display: block;
  margin-bottom: 6px;
}

.stat-card span {
  font-size: 15px;
  font-weight: 600;
  display: block;
}

.stat-card small {
  font-size: 13px;
  color: #6a6d75;
}

/* === ADAPTIVE === */

@media (max-width: 900px) {
  .stats-main {
    grid-template-columns: 1fr;
  }

  .stats-secondary {
    grid-template-columns: 1fr;
  }
}

/* === SYSTEM STATS SECTION === */

.landing-stats-system {
  margin: 20px;
  text-align: center;
  background: linear-gradient(180deg, #f7f8fa 0%, #f1f3f6 100%);
}

/* Заголовок */
.stats-title {
  font-size: 28px;
  margin-bottom: 64px;
}

/* === PRIMARY STATS === */

.stats-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.stat-primary {
  padding: 28px 32px;
  border-radius: 18px;

  background: transparent;

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04);
}

.stat-primary strong {
  font-size: 24px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.stat-primary span {
  font-size: 18px;
  font-weight: 500;
}

.stat-primary small {
  display: block;
  margin-top: 6px;
  color: #6b6f76;
}

/* Акцент на резерв */
.stat-primary.accent strong {
  color: #2e7d32;
}

/* === SECONDARY STATS === */

.stats-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.6);

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.stat-secondary strong {
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.stat-secondary span {
  font-size: 15px;
  color: #5a5e66;
}

/* === MOBILE === */

@media (max-width: 900px) {
  .stats-primary {
    grid-template-columns: 1fr;
  }

  .stats-secondary {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   AURORA STEP 6 — HOW TO START (SYSTEM STEPS)
   ========================================================= */

.landing-steps h2 {
  margin-bottom: 48px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: flex-start;
  gap: 20px;
}

.step-num {
  font-size: 28px;
  font-weight: 600;
  color: #6b8f3f;
  line-height: 1;
}

.step-content h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.step-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4d55;
  max-width: 520px;
}

/* адаптив */
@media (max-width: 700px) {
  .step-item {
    grid-template-columns: 1fr;
  }

  .step-num {
    font-size: 22px;
  }
}
@media (max-width: 900px) {
  .steps-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.landing-cta-top .auth-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.landing-cta {
  text-align: center;
}

.landing-cta .auth-buttons {
  justify-content: center;
  margin-top: 24px;
}

/* =========================================================
   AURORA HERO 2026 — VISUAL + CTA INSIDE HERO
   ========================================================= */

.landing-hero-2026 {
  position: relative;
  padding: 84px 0 56px;
  overflow: hidden;
  box-shadow: inset 0 -40px 60px rgba(247, 248, 250, 1);
}

/* Фон: мягкая картинка + вуаль, чтобы текст читался */
.landing-hero-2026 .hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(247, 248, 250, 0.9),
      rgba(247, 248, 250, 0.96)
    ),
    url("/img/land_farm.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.98) contrast(0.98);
  transform: scale(1.02);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

/* LEFT side */
.hero-left {
  max-width: 640px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 18px;
}

.hero-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.hero-brand-text .hero-title {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.hero-brand-text .hero-tagline {
  font-size: 12px;
  color: rgba(30, 31, 34, 0.64);
  margin-top: 2px;
}

.hero-h1 {
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(30, 31, 34, 0.78);
  max-width: 54ch;
  margin: 0 0 10px 0;
}

.hero-note {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(30, 31, 34, 0.58);
  max-width: 52ch;
  margin: 0;
}

/* CTA внутри hero — аккуратно и по центру внутри своего блока */
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* RIGHT side visual */
.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-visual {
  width: min(520px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: translateY(6px);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(0.98) brightness(1.01);
}

/* Адаптив */
@media (max-width: 980px) {
  .landing-hero-2026 {
    padding: 64px 0 44px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-right {
    justify-content: flex-start;
  }

  .hero-h1 {
    font-size: 40px;
  }
}

@media (max-width: 520px) {
  .hero-h1 {
    font-size: 34px;
  }

  .hero-brand {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-visual {
    border-radius: 18px;
  }
}

/* Уважение к reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .landing-hero-2026 .hero-bg {
    transform: none;
  }
  .hero-visual {
    transform: none;
  }
}

.section-media img {
   background: rgba(240, 242, 235, 0.8); 
  filter: saturate(0.95) contrast(0.96) brightness(0.98);
}
.stat-number {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.stat-number {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat-currency {
  font-weight: 600;
  font-size: 0.9em;
  line-height: 1;
  opacity: 0.9;
}
.stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.stat-title {
  display: block;
}
.referral-message {
  margin-top: 12px;
  font-size: 17px;
  color: var(--text-muted);
  opacity: 0.9;
}
