/* hero.css — Diagonal split hero, clip-path, responsive adaptation */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-bg) 0%, #F0E8FF 50%, var(--c-bg) 100%);
}

/* Decorative floating shapes — each a different accent color */
.hero-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-decor__shape {
  position: absolute;
  opacity: 0.35;
  will-change: transform;
}

/* Shape 1 — violet */
.hero-decor__shape--1 {
  top: 12%;
  left: 6%;
  width: 80px;
  height: 80px;
  color: var(--c-accent-bright);
  animation: zs-float 9s ease-in-out infinite;
}

/* Shape 2 — pink */
.hero-decor__shape--2 {
  top: 68%;
  left: 14%;
  width: 56px;
  height: 56px;
  color: var(--c-accent-pink);
  animation: zs-drift 14s ease-in-out infinite;
  animation-delay: -2s;
}

/* Shape 3 — gold */
.hero-decor__shape--3 {
  top: 30%;
  left: 44%;
  width: 44px;
  height: 44px;
  opacity: 0.28;
  color: var(--c-accent-gold-bright);
  animation: zs-float-reverse 11s ease-in-out infinite;
  animation-delay: -4s;
}

/* Shape 4 — mint */
.hero-decor__shape--4 {
  bottom: 14%;
  right: 48%;
  width: 110px;
  height: 110px;
  opacity: 0.25;
  color: var(--c-accent-mint-bright);
  animation: zs-drift 18s ease-in-out infinite;
  animation-delay: -6s;
}

/* Shape 5 — violet */
.hero-decor__shape--5 {
  top: 16%;
  right: 50%;
  width: 64px;
  height: 64px;
  opacity: 0.3;
  color: var(--c-accent-pink-bright);
  animation: zs-float 13s ease-in-out infinite;
  animation-delay: -3s;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-content {
  width: 55%;
  padding-right: 40px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--c-text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-content .btn {
  margin-top: 8px;
}

/* Diagonal split right side */
.hero-diagonal {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
  overflow: hidden;
}

.hero-diagonal__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Accent gradient overlay on top of photo — violet → pink */
.hero-diagonal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.82) 0%, rgba(233, 75, 138, 0.7) 100%);
  z-index: 2;
}

/* Glow effect along the diagonal edge — animated pulse */
.hero-diagonal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.4) 0%, transparent 50%);
  filter: blur(40px);
  z-index: 3;
  pointer-events: none;
  animation: zs-pulse-glow 5s ease-in-out infinite;
}

/* Inner page hero (smaller, with image placeholder) */
.hero--inner {
  min-height: 50vh;
}

.hero--inner .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero--inner .hero-content {
  width: 100%;
  padding-right: 0;
}

.hero--inner .hero-image {
  position: relative;
  z-index: 2;
}

.hero--inner .hero-image .img-placeholder {
  aspect-ratio: 4 / 3;
}
