.landing-page .nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100vw - 28px));
  z-index: 60;
}

.landing-page main {
  margin-top: 118px;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(18px, 3vw, 34px);
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background:
    linear-gradient(145deg, rgba(8, 10, 18, 0.84), rgba(8, 16, 30, 0.76)),
    linear-gradient(145deg, rgba(160, 32, 240, 0.2), rgba(0, 216, 255, 0.15)),
    url("/IMG/banner.png?version=1.3") center / cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 780;
  color: var(--cyan-bright);
}

.hero-copy h1 {
  margin: 0;
  font-family: "Exo2Var", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.1;
  max-width: 16ch;
}

.hero-lead {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

html[data-theme="light"] .hero-section {
  background:
    linear-gradient(145deg, rgba(245, 247, 255, 0.85), rgba(235, 242, 255, 0.8)),
    linear-gradient(145deg, rgba(127, 32, 216, 0.18), rgba(8, 173, 214, 0.15)),
    url("/IMG/banner.png?version=1.3") center / cover no-repeat;
}

.stat-card {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 14px;
}

html[data-theme="light"] .stat-card {
  background: rgba(255, 255, 255, 0.85);
}

.stat-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  font-family: "Exo2Var", sans-serif;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.part-section {
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.flow-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.flow-card {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
}

html[data-theme="light"] .flow-card {
  background: rgba(255, 255, 255, 0.82);
}

.flow-index {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--violet), var(--cyan));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.flow-card h3 {
  margin: 12px 0 8px;
  font-family: "Exo2Var", sans-serif;
  font-size: 1rem;
}

.flow-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.control-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.control-card {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.control-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 216, 255, 0.2), transparent 65%);
  pointer-events: none;
}

html[data-theme="light"] .control-card {
  background: rgba(255, 255, 255, 0.86);
}

.control-card h3 {
  margin: 0 0 8px;
  font-family: "Exo2Var", sans-serif;
}

.control-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

html[dir="rtl"] .hero-actions,
html[dir="rtl"] .flow-grid,
html[dir="rtl"] .control-grid {
  direction: rtl;
}

@media (max-width: 980px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .flow-grid,
  .control-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .landing-page .nav {
    top: 10px;
    width: calc(100vw - 16px);
  }

  .landing-page main {
    margin-top: 92px;
  }

  .hero-section,
  .part-section {
    border-radius: 16px;
    padding: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
