.hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 48px 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(223, 184, 135, 0.15) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(40px);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(231, 111, 81, 0.08) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(40px);
}
.hero__text { flex: 1; }
.hero__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: var(--color-secondary);
}
.hero__title em {
  color: var(--color-primary);
  font-style: normal;
  font-weight: 800;
}
.hero__desc {
  font-size: 16.5px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  font-family: var(--font-sans);
}
.hero__btns { display: flex; gap: 16px; }
@keyframes floatVideo {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
.hero__visual--cards {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  animation: none !important;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px !important;
  padding: 0 !important;
  margin-top: 10px;
}

.hero__card-deck {
  position: relative;
  width: 290px; /* Horizontal 4:3 ratio to perfectly match landscape drawings! */
  height: 218px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.deck-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(18, 60, 45, 0.16), 0 0 0 1px rgba(18, 60, 45, 0.04);
  overflow: hidden;
  transform-origin: center center;
  will-change: transform, opacity; /* orbit driven per-frame by cards-slider.js */
  backface-visibility: hidden;
  cursor: pointer;
  z-index: 1;
}

.deck-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.deck-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Covers the card flawlessly with the horizontal illustration scan */
  background: #fff;
  border-radius: 16px;
  pointer-events: none;
}

.deck-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 60, 45, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

/* Card positions are computed per-frame in cards-slider.js (continuous orbit). */

/* Interactive navigation dots below cards */
.deck-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  z-index: 5;
}

.deck-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(18, 60, 45, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.deck-dot:hover {
  background: rgba(18, 60, 45, 0.3);
}

.deck-dot.is-active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-primary);
  box-shadow: 0 2px 6px rgba(231, 111, 81, 0.3);
}

/* Custom Visual Play Overlay styling inside the V4 cards relative deck */
.hero__card-deck .hero__visual-overlay {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(18, 60, 45, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  z-index: 800;
  opacity: 0;
  pointer-events: none;
}

.hero__card-deck:hover .hero__visual-overlay {
  background: rgba(18, 60, 45, 0.18);
  opacity: 1;
  pointer-events: auto;
}

.hero__card-deck .hero__play-btn {
  width: auto;
  height: auto;
  border-radius: 30px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(252, 249, 245, 0.95);
  box-shadow: 0 10px 25px rgba(18, 60, 45, 0.15);
  transform: translateY(20px) scale(0.9);
  opacity: 0;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero__card-deck:hover .hero__play-btn {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.hero__card-deck .hero__play-btn svg {
  width: 20px;
  height: 20px;
  margin-left: 0;
  fill: var(--color-primary);
  transition: transform 0.3s ease;
}

.hero__card-deck .play-btn-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-secondary);
}

.hero__card-deck:hover .hero__play-btn:hover {
  background: var(--color-primary);
  transform: scale(1.05);
}

.hero__card-deck:hover .hero__play-btn:hover svg {
  fill: #fff;
}

.hero__card-deck:hover .hero__play-btn:hover .play-btn-text {
  color: #fff;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 10px 25px rgba(18, 60, 45, 0.15), 0 0 0 0px rgba(231, 111, 81, 0.3);
  }
  70% {
    box-shadow: 0 10px 25px rgba(18, 60, 45, 0.15), 0 0 0 15px rgba(231, 111, 81, 0);
  }
  100% {
    box-shadow: 0 10px 25px rgba(18, 60, 45, 0.15), 0 0 0 0px rgba(231, 111, 81, 0);
  }
}

/* Play button next to CTAs */
.btn-video {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(252, 249, 245, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(18, 60, 45, 0.12);
  color: var(--color-secondary);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(18, 60, 45, 0.04);
}
.btn-video:hover {
  background: var(--color-secondary-light, #e1ebe6);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(18, 60, 45, 0.08);
}
.btn-video__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  padding-left: 2px;
}

/* Premium Glassmorphic Modal */
.vs-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 24px;
}
.vs-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.vs-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 60, 45, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.vs-modal__container {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: rgba(252, 249, 245, 0.95);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 60px rgba(18, 60, 45, 0.25);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
}
.vs-modal.is-open .vs-modal__container {
  transform: scale(1);
}
.vs-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(18, 60, 45, 0.08);
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--color-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 20;
}
.vs-modal__close:hover {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(90deg);
}
.vs-modal__content {
  padding: 8px;
}
.vs-modal__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(18, 60, 45, 0.08);
  background: #000;
}
.vs-modal__video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
}

