.section{padding:64px 0}

.hero{
  position:relative;
  overflow:hidden;
  padding:90px 0 70px;
  border-bottom:1px solid var(--border);
}

.hero::before{
  content:"";
  position:absolute;
  inset:-20% -10% auto auto;
  width:620px;
  height:620px;
  background:radial-gradient(circle, rgba(127,208,210,0.18) 0%, rgba(127,208,210,0.08) 32%, rgba(127,208,210,0) 68%);
  filter:blur(10px);
  animation:mitisFloatA 18s ease-in-out infinite;
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  inset:auto auto -28% -10%;
  width:520px;
  height:520px;
  background:radial-gradient(circle, rgba(85,195,165,0.16) 0%, rgba(85,195,165,0.07) 35%, rgba(85,195,165,0) 70%);
  filter:blur(12px);
  animation:mitisFloatB 22s ease-in-out infinite;
  pointer-events:none;
}

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

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:50px;
  align-items:center;
}

.hero-text{
  max-width:720px;
}

.hero-visual{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-visual::before{
  content:"";
  position:absolute;
  width:340px;
  height:340px;
  background:radial-gradient(circle, rgba(127,208,210,0.18), transparent 70%);
  filter:blur(24px);
  z-index:0;
}

.hero-visual img{
  position:relative;
  z-index:1;
  max-width:520px;
  width:100%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 16px 38px rgba(0,0,0,0.32));
  transform:rotate(-4deg) scale(1.02);
}

.hero-text h1 {
  max-width: 680px;
}

.hero-subsection {
  padding-top: 20px;
}

.hero-subcontent {
  max-width: 820px;
}

.hero-subcontent .lead {
  margin-top: 0;
}

.hero-subcontent .btns {
  margin-top: 24px;
}

.hero-compact {
  padding: 78px 0 54px;
}

@keyframes mitisFloatA{
  0%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(-30px,18px,0) scale(1.08)}
  100%{transform:translate3d(0,0,0) scale(1)}
}

@keyframes mitisFloatB{
  0%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(25px,-16px,0) scale(1.05)}
  100%{transform:translate3d(0,0,0) scale(1)}
}

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

  .hero-visual {
    margin-top: 40px;
  }

  .hero-visual img {
    transform: scale(1);
    max-width: 420px;
  }

  .hero{padding:72px 0 56px}
}

@media (max-width: 900px) {
  .hero::before,
  .hero::after,
  .hero-visual::before {
    display: none;
  }
}
