/* Coming soon — hero art + layered motion (CSS only) */

.cs-page {
  min-height: 100vh;
  background: #050508;
  color: var(--text-primary);
}

.cs-main {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cs-scene {
  position: relative;
  flex: 1;
  min-height: calc(100vh - 72px);
  overflow: hidden;
}

.cs-image-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cs-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform-origin: center 60%;
  animation: cs-kenburns 45s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes cs-kenburns {
  0% {
    transform: scale(1.03) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(-0.8%, 0.4%);
  }
}

/* Subtle “wind” shimmer over the meadow */
.cs-wind {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(167, 139, 250, 0.04) 40%,
    rgba(124, 156, 245, 0.06) 50%,
    rgba(167, 139, 250, 0.04) 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: cs-wind-sheen 14s ease-in-out infinite;
  mix-blend-mode: soft-light;
}

@keyframes cs-wind-sheen {
  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.35;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.65;
  }
}

/* Decorative butterflies (sit over the artwork; not pixel-perfect to source) */
.cs-butterflies {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cs-butterfly {
  position: absolute;
  width: 28px;
  height: 22px;
  opacity: 0.78;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  perspective: 80px;
}

.cs-butterfly-inner {
  position: relative;
  width: 100%;
  height: 100%;
  animation: cs-flutter 0.22s ease-in-out infinite alternate;
}

.cs-wing {
  position: absolute;
  top: 2px;
  width: 14px;
  height: 18px;
  border-radius: 50% 40% 60% 45%;
  background: linear-gradient(145deg, rgba(255, 248, 240, 0.92), rgba(255, 220, 200, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cs-wing--l {
  left: 0;
  transform-origin: right center;
  animation: cs-wing-l 0.18s ease-in-out infinite alternate;
}

.cs-wing--r {
  right: 0;
  transform-origin: left center;
  animation: cs-wing-r 0.18s ease-in-out infinite alternate;
}

@keyframes cs-wing-l {
  from {
    transform: rotateY(12deg) rotate(-8deg);
  }
  to {
    transform: rotateY(55deg) rotate(-4deg);
  }
}

@keyframes cs-wing-r {
  from {
    transform: rotateY(-12deg) rotate(8deg);
  }
  to {
    transform: rotateY(-55deg) rotate(4deg);
  }
}

@keyframes cs-flutter {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-1px);
  }
}

/* Flight paths (each butterfly) */
.cs-butterfly--1 {
  left: 6%;
  top: 72%;
  animation: cs-path-1 28s ease-in-out infinite;
}

.cs-butterfly--2 {
  left: 72%;
  top: 38%;
  animation: cs-path-2 32s ease-in-out infinite;
  animation-delay: -6s;
}

.cs-butterfly--3 {
  left: 84%;
  top: 22%;
  animation: cs-path-3 36s ease-in-out infinite;
  animation-delay: -12s;
}

@keyframes cs-path-1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(-5deg) scale(0.95);
  }
  25% {
    transform: translate(18vw, -6vh) rotate(8deg) scale(1);
  }
  50% {
    transform: translate(10vw, -12vh) rotate(3deg) scale(0.98);
  }
  75% {
    transform: translate(-4vw, -4vh) rotate(-10deg) scale(1);
  }
}

@keyframes cs-path-2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(6deg) scale(1);
  }
  33% {
    transform: translate(-12vw, 8vh) rotate(-12deg) scale(0.92);
  }
  66% {
    transform: translate(-22vw, -4vh) rotate(4deg) scale(1.02);
  }
}

@keyframes cs-path-3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(0.9);
  }
  40% {
    transform: translate(-16vw, 14vh) rotate(15deg) scale(1);
  }
  70% {
    transform: translate(-8vw, 4vh) rotate(-8deg) scale(0.95);
  }
}

/* Bottom content strip */
.cs-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(to top, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.45) 55%, transparent 100%);
}

.cs-panel-inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.cs-panel h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.cs-panel p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 32rem;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
}

.cs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.cs-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .cs-butterfly {
    width: 22px;
    height: 18px;
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-bg,
  .cs-wind,
  .cs-butterfly,
  .cs-butterfly-inner,
  .cs-wing--l,
  .cs-wing--r {
    animation: none !important;
  }

  .cs-bg {
    transform: none;
  }
}
