/* =========================================================
   AniLog — hero-секция
   ========================================================= */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 52px;
  padding-top: clamp(68px, 9vw, 112px);
  padding-bottom: clamp(46px, 6vw, 74px);
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 790px;
  animation: rise-in 0.8s 0.06s var(--ease-out) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--violet-light);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.21em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow__line {
  position: relative;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), rgba(139, 92, 246, 0.1));
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.62);
}

.eyebrow__line::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet-light);
  box-shadow: 0 0 10px rgba(183, 156, 255, 0.8);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7.2vw, 6.25rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

.text-gradient {
  background: linear-gradient(105deg, #f0e9ff 0%, #baa2ff 40%, #74d8f8 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  max-width: 510px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.35vw, 16.5px);
  line-height: 1.72;
}

/* Декоративный «медальон» в правой части hero */
.hero-art {
  position: relative;
  display: grid;
  width: clamp(238px, 25vw, 326px);
  aspect-ratio: 1;
  flex-shrink: 0;
  place-items: center;
  animation: fade-in 1.2s 0.2s ease both;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.36), rgba(56, 189, 248, 0.08) 48%, transparent 72%);
  filter: blur(24px);
}

.hero-art__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-art__orbit--outer {
  inset: 0;
  border-style: dashed;
  border-color: rgba(183, 156, 255, 0.24);
  animation: spin 80s linear infinite;
}

.hero-art__orbit--inner {
  inset: 15%;
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow:
    inset 0 0 50px rgba(139, 92, 246, 0.09),
    0 0 50px rgba(139, 92, 246, 0.06);
}

.hero-art__core {
  position: relative;
  z-index: 2;
  display: flex;
  width: 45%;
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 35%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(19, 20, 34, 0.8);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.32),
    0 0 44px rgba(139, 92, 246, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.17);
  transform: rotate(-7deg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: float 7s ease-in-out infinite;
}

.hero-art__kicker {
  color: var(--muted-2);
  font-size: clamp(7px, 0.7vw, 9px);
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-art__word {
  margin: 7px 0;
  background: linear-gradient(120deg, #fff, #bca6ff 55%, #7bdaf7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.hero-art__star {
  position: absolute;
  z-index: 3;
  color: var(--violet-light);
  text-shadow: 0 0 18px rgba(183, 156, 255, 0.65);
  animation: twinkle 4s ease-in-out infinite;
}

.hero-art__star--one {
  top: 9%;
  right: 16%;
  font-size: 19px;
}

.hero-art__star--two {
  bottom: 18%;
  left: 9%;
  color: var(--cyan);
  font-size: 13px;
  animation-delay: -1.7s;
}

.hero-art__comet {
  position: absolute;
  top: 24%;
  left: 3%;
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.7));
  transform: rotate(-37deg);
  transform-origin: right center;
  opacity: 0.72;
}

.hero-art__comet::after {
  content: "";
  position: absolute;
  top: -1.5px;
  right: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}
