/* ── INDEX2 HERO TEST ────────────────────────────── */
.hero-v2 {
  min-height: 880px;
  padding-top: calc(var(--nav-h) + 88px);
  padding-bottom: 70px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-v2-bg {
  position: absolute;
  top: 74px;
  right: -220px;
  width: 860px;
  height: 680px;
  border-radius: 0 0 0 460px;
  background:
    radial-gradient(ellipse at 74% 28%, rgba(240,235,255,.78) 0%, rgba(240,235,255,.36) 42%, transparent 68%),
    radial-gradient(ellipse at 42% 70%, rgba(232,245,238,.92) 0%, rgba(232,245,238,.38) 44%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(540px, 1.08fr);
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-v2-copy {
  max-width: 610px;
  animation: fadeUp .6s ease both;
}

.hero-v2-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.1vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  animation: fadeUp .6s .1s ease both;
}

.hero-v2-title em {
  color: var(--green);
  font-style: normal;
}

.hero-v2-sub {
  max-width: 570px;
  color: var(--gray-mid);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.66;
  margin-bottom: 36px;
  animation: fadeUp .6s .2s ease both;
}

.hero-v2-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp .6s .3s ease both;
}

.hero-v2-stats {
  margin-top: 46px;
}

.hero-v2-visual {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-right: -16px;
  animation: fadeUp .6s .2s ease both;
}

.hero-v2-image-placeholder {
  width: min(790px, 58vw);
  min-height: 600px;
  position: relative;
  isolation: isolate;
}

.hero-v2-image-placeholder::before {
  content: '';
  position: absolute;
  right: 26px;
  bottom: 0px;
  width: 585px;
  height: 500px;
  border-radius: 40px;
  background: rgba(27,127,78,.10);
  border: 1px solid rgba(27,127,78,.08);
  box-shadow: 0 24px 60px rgba(26,46,74,.07);
  z-index: 0;
}

.hero-v2-image-placeholder::after {
  display: none;
}

.hero-v2-phone {
  position: absolute;
  left: 64px;
  top: 76px;
  width: 210px;
  height: 408px;
  border: 10px solid #111827;
  border-radius: 34px;
  background: linear-gradient(180deg, #fbfbf6, #eef5ed);
  box-shadow: 0 22px 60px rgba(26,46,74,.2);
  transform: rotate(-5deg);
  z-index: 3;
}

.hero-v2-phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 58px;
  height: 16px;
  border-radius: 999px;
  background: #111827;
  transform: translateX(-50%);
}

.hero-v2-phone-bar {
  position: absolute;
  top: 48px;
  left: 20px;
  right: 20px;
  height: 34px;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-sm);
}

.hero-v2-chat {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
}

.hero-v2-chat.short { top: 116px; right: 56px; }
.hero-v2-chat:not(.short):not(.green):not(.purple) { top: 164px; }
.hero-v2-chat.green { top: 226px; background: rgba(232,245,238,.95); }
.hero-v2-chat.purple { top: 286px; background: rgba(240,235,255,.95); }

.hero-v2-person {
  position: absolute;
  right: 12px;
  bottom: 0px;
  width: 560px;
  height: 580px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  z-index: 2;
}

.hero-v2-person::before {
  display: none;
}

.hero-v2-person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  transform: none;
  position: relative;
  z-index: 0;
}

.hero-v2-person span,
.hero-v2-person small {
  display: none;
}

.hero-v2-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 236px;
  padding: 17px 20px 17px 64px;
  border: 1px solid rgba(226,232,240,.82);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px rgba(26,46,74,.11);
  backdrop-filter: blur(12px);
  z-index: 4;
}

.hero-v2-card::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--green-light);
  transform: translateY(-50%);
}

.hero-v2-card strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.2;
}

.hero-v2-card span {
  color: var(--gray-mid);
  font-size: 12px;
  line-height: 1.25;
}

.hero-v2-card-one {
  top: 130px;
  right: 22px;
}

.hero-v2-card-two {
  left: 52px;
  bottom: 82px;
  min-width: 280px;
}

.hero-v2-card-three {
  right: 112px;
  bottom: 176px;
}

.hero-v2-card-three::before {
  background: var(--purple-light);
}

@media (max-width: 960px) {
  .hero-v2 {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 56px);
  }

  .hero-v2-bg {
    top: 430px;
    right: -250px;
    width: 720px;
    height: 600px;
  }

  .hero-v2-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-v2-copy {
    max-width: 720px;
  }

  .hero-v2-visual {
    min-height: 520px;
    margin-right: 0;
  }

  .hero-v2-image-placeholder {
    width: min(680px, 100%);
  }
}

@media (max-width: 640px) {
  .hero-v2 {
    padding-top: calc(var(--nav-h) + 44px);
    padding-bottom: 56px;
  }

  .hero-v2-bg {
    top: 520px;
    right: -260px;
    width: 560px;
    height: 520px;
    opacity: .75;
  }

  .hero-v2-title {
    font-size: clamp(40px, 12vw, 58px);
    letter-spacing: -1px;
    margin-bottom: 16px;
  }

  .hero-v2-sub {
    font-size: 16px;
    line-height: 1.58;
    margin-bottom: 26px;
  }

  .hero-v2-actions {
    gap: 10px;
  }

  .hero-v2-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 32px;
  }

  .hero-v2-visual {
    min-height: 300px;
    overflow: visible;
    margin-top:40px;
  }

  .hero-v2-image-placeholder {
    width: 100%;
    min-height: 300px;
  }

  .hero-v2-image-placeholder::before {
    right: 0;
    bottom: 0px;
    width: 100%;
    height: 330px;
  }

  .hero-v2-phone {
    left: 8px;
    top: 78px;
    width: 142px;
    height: 288px;
    border-width: 7px;
    border-radius: 26px;
  }

  .hero-v2-phone-bar {
    top: 42px;
    left: 16px;
    right: 16px;
  }

  .hero-v2-chat {
    left: 16px;
    right: 16px;
    height: 28px;
  }

  .hero-v2-chat.short { top: 92px; right: 38px; }
  .hero-v2-chat:not(.short):not(.green):not(.purple) { top: 128px; }
  .hero-v2-chat.green { top: 174px; }
  .hero-v2-chat.purple { top: 218px; }

  .hero-v2-person {
    right: -8px;
    bottom: 0px;
    width: 100%;
    height: 350px;
  }

  .hero-v2-person img {
    object-position: 50% 100%;
    transform: none;
  }

  .hero-v2-card {
    min-width: 182px;
    padding: 12px 13px 12px 46px;
    border-radius: 14px;
  }

  .hero-v2-card::before {
    left: 13px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }

  .hero-v2-card strong {
    font-size: 12px;
  }

  .hero-v2-card span {
    font-size: 11px;
  }

  .hero-v2-card-one {
    top: 118px;
    right: 0;
  }

  .hero-v2-card-two {
    left: 0;
    bottom: 22px;
    min-width: 220px;
  }

  .hero-v2-card-three {
    right: 28px;
    bottom: 98px;
  }
}
