﻿:root {
  --home-purple-main: #7b4bff;
  --home-purple-light: #a98bff;
  --home-surface: rgba(15, 15, 28, 0.74);
}

main {
  overflow-x: hidden;
}

.blok {
  position: relative;
  padding: 86px 0;
}

.zaglavie-blok {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.zaglavie-blok h2 {
  margin-bottom: 10px;
}

.zaglavie-blok p {
  margin: 0;
}

.home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #090913;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
  transition: transform 0.2s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(123, 75, 255, 0.32), transparent 42%),
    linear-gradient(180deg, rgba(7, 8, 17, 0.72), rgba(12, 8, 25, 0.8));
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(169, 139, 255, 0.55);
  background: rgba(17, 15, 34, 0.65);
  color: #efe9ff;
  font-size: 0.86rem;
  font-weight: 600;

  margin-left: auto;
  margin-right: auto;
}

.home-hero-title {
  max-width: 34ch;
  margin: 0 auto 20px;
  line-height: 1.24;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.8vw, 3.9rem);
  letter-spacing: 0.02em;
  word-spacing: 0.08em;
  color: #f4f0ff;
  text-shadow: 0 8px 24px rgba(8, 4, 17, 0.6);
}


.hero-cta-wrap {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;

  justify-content: center;
}

.btn-hero-main {
  background: linear-gradient(135deg, var(--home-purple-main), var(--home-purple-light));
  border: 0;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
}

.btn-hero-main:hover,
.btn-hero-main:focus {
  transform: translateY(-2px);
}

.btn-hero-secondary {
  border-width: 2px;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
}
.hero-socials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 0;
}

.hero-socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(169, 139, 255, 0.55);
  background: rgba(15, 13, 35, 0.72);
  color: #efe9ff;
  text-decoration: none;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.hero-socials a:hover,
.hero-socials a:focus-visible {
  transform: translateY(-2px);
  background: rgba(123, 75, 255, 0.28);
  border-color: rgba(169, 139, 255, 0.9);
}

.hero-panel {
  border-radius: 16px;
  border: 1px solid rgba(169, 139, 255, 0.35);
  background: linear-gradient(160deg, rgba(15, 13, 35, 0.88), rgba(26, 19, 47, 0.76));
  padding: 24px;
  box-shadow: 0 20px 42px rgba(7, 5, 20, 0.55);

  max-width: 760px;
  margin: 54px auto 0;
  text-align: left;
}

.hero-panel h2 {
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: #f4ecff;

  text-align: center;
  text-transform: uppercase;
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-panel li {
  display: flex;
  gap: 9px;
  color: #dbcfff;
}

.hero-panel i {
  color: var(--home-purple-light);
  margin-top: 3px;
}

.section-kpis {
  padding-top: 30px;
  padding-bottom: 34px;
}

.stats-karta {
  height: 100%;
  text-align: center;
  border-radius: 14px;
  border: 1px solid rgba(98, 74, 166, 0.55);
  background: var(--home-surface);
  padding: 18px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stats-karta:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(53, 32, 104, 0.35);
}

.stats-chislo,
.kpi-value {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  line-height: 1;
  color: #f4eeff;
  border: 1px solid rgba(169, 139, 255, 0.55);
  background: rgba(123, 75, 255, 0.2);
}

.stats-tekst,
.kpi-label {
  margin: 0;
  color: #baa7f0;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stupka-karta,
.step-card,
.future-karta,
.future-card {
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(96, 75, 160, 0.5);
  background: linear-gradient(160deg, rgba(10, 8, 22, 0.76), rgba(21, 14, 40, 0.72));
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stupka-karta:hover,
.step-card:hover,
.future-karta:hover,
.future-card:hover {
  transform: translateY(-5px);
  border-color: rgba(169, 139, 255, 0.78);
  box-shadow: 0 14px 30px rgba(40, 26, 80, 0.36);
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #efe4ff;
  border: 1px solid rgba(169, 139, 255, 0.55);
  background: rgba(123, 75, 255, 0.2);
}

.stupka-karta h3,
.step-card h3,
.future-karta h3,
.future-card h3 {
  font-size: 1.18rem;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
}

.stupka-karta p,
.step-card p,
.future-karta p,
.future-card p {
  margin: 0;
  color: #c7b8ef;
  text-align: center;
}

.section-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 32%, rgba(123, 75, 255, 0.16), transparent 40%),
    radial-gradient(circle at 85% 68%, rgba(169, 139, 255, 0.12), transparent 38%);
  pointer-events: none;
}

.future-karta,
.future-card {
  position: relative;
  z-index: 2;
}

.future-karta i,
.future-card i {
  font-size: 1.45rem;
  color: var(--home-purple-light);
  margin-bottom: 0;
  flex-shrink: 0;
}

.section-cta {
  padding-top: 58px;
  padding-bottom: 88px;
}

.final-ramka {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(169, 139, 255, 0.55);
  background:
    radial-gradient(circle at 0% 0%, rgba(123, 75, 255, 0.18), transparent 30%),
    linear-gradient(160deg, rgba(16, 12, 34, 0.9), rgba(31, 21, 56, 0.86));
  padding: 38px 24px;
  box-shadow: 0 18px 36px rgba(8, 5, 22, 0.5);
}

.final-ramka h2 {
  margin-bottom: 10px;
}

.final-ramka p {
  margin: 0 auto 20px;
  max-width: 52ch;
  color: #d2c4f3;
}

.hero-animate-1,
.hero-animate-2,
.hero-animate-3,
.hero-animate-4,
.hero-animate-5 {
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
}

.hero-animate-1 {
  animation-delay: 0.1s;
}

.hero-animate-2 {
  animation-delay: 0.22s;
}

.hero-animate-3 {
  animation-delay: 0.34s;
}

.hero-animate-4 {
  animation-delay: 0.45s;
}

.hero-animate-5 {
  animation-delay: 0.55s;
}

.pokaji {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.pokaji.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .hero-animate-1,
  .hero-animate-2,
  .hero-animate-3,
  .hero-animate-4,
  .hero-animate-5,
  .pokaji,
  .stats-karta,
  .stupka-karta,
  .future-karta,
  .btn-hero-main {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 992px) {
  .home-hero {
    min-height: auto;
    padding: 90px 0 68px;
  }

  .hero-panel {
    margin-top: 18px;
  }

  .blok {
    padding: 70px 0;
  }
}
@media (max-width: 768px) {
  .home-hero-title {
    max-width: 100%;
  }

  .hero-cta-wrap .btn {
    width: 100%;
  }

  .section-kpis {
    padding-top: 22px;
  }

  .stats-karta,
  .kpi-card {
    padding: 16px 12px;
  }

  .stats-chislo,
  .kpi-value {
    font-size: 1.62rem;
  }
}

.section-kpis .kpi-card,
.section-kpis .stats-karta {
  border-radius: 14px;
  border: 1px solid rgba(98, 74, 166, 0.55);
  background: rgba(15, 15, 28, 0.74);
  padding: 18px 16px;
  text-align: center;
}

.section-parallax .section-head,
.section-parallax .zaglavie-blok,
.section-cta .cta-panel,
.section-cta .final-ramka {
  text-align: center;
}

.section-parallax .card-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.section-parallax .future-card p,
.section-parallax .future-karta p,
.section-cta .cta-panel p,
.section-cta .final-ramka p {
  text-align: center;
}