.hero-modern {
  --hero-violet: #7c3aed;
  --hero-violet-soft: #b7a5fb;
  --hero-green: #22c55e;
  position: relative;
  z-index: 2;
  min-height: 96vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #07080f;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.55) saturate(1.05) contrast(1.04);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 8, 15, 0.95) 0%, rgba(7, 8, 15, 0.7) 45%, rgba(7, 8, 15, 0.25) 78%, rgba(7, 8, 15, 0.45) 100%),
    linear-gradient(180deg, rgba(7, 8, 15, 0.55) 0%, transparent 28%, transparent 55%, rgba(7, 8, 15, 0.94) 100%);
}

.hero-modern .container {
  display: flex;
  width: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  min-height: 96vh;
  padding: 6.5rem 0 2.4rem;
  text-align: left;
}
.hero-main {
  width: 100%;
  max-width: 1000px;
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-main > *,
.hero-foot {
  animation: heroUp 0.8s cubic-bezier(0.22, 0.8, 0.32, 1) both;
}
.hero-main > *:nth-child(2) { animation-delay: 0.07s; }
.hero-main > *:nth-child(3) { animation-delay: 0.14s; }
.hero-foot { animation-delay: 0.22s; }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-modern h1.hero-title,
h1.hero-title {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-align: left;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.hero-modern h1.hero-title .hero-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85);
  text-stroke: 2px rgba(255, 255, 255, 0.85);
  text-shadow: none;
}

.hero-description {
  margin: 1.4rem 0 2rem;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  text-align: left;
  color: rgba(232, 236, 248, 0.8);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 52px;
  padding: 0 2rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.hero-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.16s ease;
}
.hero-btn-primary {
  background: #ffffff;
  border-color: #ffffff;
  color: #0a0a12;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.hero-btn-primary:hover {
  background: #e8eaf2;
  border-color: #e8eaf2;
  color: #0a0a12;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.hero-btn-primary:hover svg {
  transform: translateX(3px);
}
.hero-btn-secondary {
  background: rgba(10, 10, 20, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.hero-btn-secondary:hover {
  background: rgba(10, 10, 20, 0.65);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-2px);
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  width: 100%;
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 2.2rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  text-align: left;
}
.hero-stat + .hero-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 2.2rem;
}
.hero-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.hero-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(232, 236, 248, 0.6);
  white-space: nowrap;
}

.hero-client {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  min-width: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.hero-client:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.hero-client-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0a0a12;
  flex-shrink: 0;
}
.hero-client-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.hero-client-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}
.hero-client-ver {
  font-size: 0.62rem;
  font-weight: 700;
  font-style: normal;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
}
.hero-client-free {
  font-size: 0.62rem;
  font-weight: 700;
  font-style: normal;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}
.hero-client-text {
  font-size: 0.74rem;
  line-height: 1.4;
  color: rgba(232, 236, 248, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.why-section {
  padding-top: 5rem;
}

@media (max-width: 768px) {
  .hero-modern {
    min-height: 100svh;
  }
  .hero-bg video {
    object-position: 62% center;
  }
  .hero-gradient {
    background:
      linear-gradient(180deg, rgba(7, 8, 15, 0.6) 0%, rgba(7, 8, 15, 0.45) 40%, rgba(7, 8, 15, 0.72) 72%, rgba(7, 8, 15, 0.96) 100%);
  }
  .hero-inner {
    min-height: 100svh;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 6rem 0 3rem;
  }
  .hero-main {
    align-items: center;
    text-align: center;
    position: relative;
    top: -60px;
  }
  .hero-modern h1.hero-title,
  h1.hero-title {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
    text-align: center;
  }
  .hero-modern h1.hero-title .hero-outline {
    -webkit-text-stroke-width: 1.3px;
  }
  .hero-description {
    font-size: 0.92rem;
    text-align: center;
    margin-bottom: 1.6rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
  }
  .hero-btn {
    width: 100%;
    height: 50px;
  }
  .hero-foot {
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 2.2rem;
    padding-top: 1.4rem;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.4rem;
    width: 100%;
    max-width: 420px;
  }
  .hero-stat {
    align-items: center;
    text-align: center;
  }
  .hero-stat + .hero-stat {
    border-left: none;
    padding-left: 0;
  }
  .hero-stat-value {
    font-size: 1.3rem;
  }
  .hero-stat-label {
    font-size: 0.58rem;
  }
  .hero-client {
    margin: 0;
  }
  .hero-client-text {
    white-space: normal;
    max-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner > * {
    animation: none;
  }
  .hero-dot {
    animation: none;
  }
}
