/* ==========================================================================
   Braznet 3D Interactive Product Showcase Section Styles (LIGHT THEME)
   Aligned with official Braznet Light Brand Aesthetics (#F8F9FF / #FFFFFF)
   ========================================================================== */

:root {
  --brand-blue: #0021D2;
  --brand-blue-light: #1E3AFF;
  --brand-blue-glow: rgba(0, 33, 210, 0.15);
  --brand-green: #B6FF2E;
  --brand-green-dark: #121F00;
  --light-bg: #F8F9FF;
  --card-light-bg: rgba(255, 255, 255, 0.98);
  --glass-border-light: rgba(0, 33, 210, 0.12);
  --glass-border-active-light: rgba(0, 33, 210, 0.35);
}

/* Global Mobile Overflow Safeguard */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* 3D Perspective Stage Container */
.hero-3d-stage {
  perspective: 1200px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  position: relative;
  width: 100%;
}

@media (max-width: 639px) {
  .hero-3d-stage {
    padding-bottom: 60px;
  }
}

/* Dynamic Glowing Ambient Orbs for Light Theme */
.glow-orb-primary {
  background: radial-gradient(circle, rgba(30, 58, 255, 0.12) 0%, rgba(30, 58, 255, 0) 70%);
  filter: blur(70px);
  animation: pulseOrb 8s ease-in-out infinite alternate;
}

.glow-orb-secondary {
  background: radial-gradient(circle, rgba(182, 255, 46, 0.25) 0%, rgba(182, 255, 46, 0) 70%);
  filter: blur(80px);
  animation: pulseOrb 10s ease-in-out infinite alternate-reverse;
}

@keyframes pulseOrb {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  50% { transform: scale(1.15) translate(20px, -20px); opacity: 1; }
  100% { transform: scale(0.9) translate(-15px, 15px); opacity: 0.7; }
}

/* 3D Product Carousel Deck */
.product-deck {
  position: relative;
  width: 100%;
  min-height: 560px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .product-deck {
    min-height: 680px;
  }
}

@media (max-width: 480px) {
  .product-deck {
    min-height: 710px;
  }
}

/* Individual 3D Card Base (LIGHT THEME) */
.product-card-3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(145deg, #FFFFFF 0%, #F8F9FF 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  box-shadow: 0 20px 45px -10px rgba(0, 33, 210, 0.08),
              0 8px 20px -5px rgba(0, 0, 0, 0.04);
  transform-style: preserve-3d;
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity, filter;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
}

@media (max-width: 640px) {
  .product-card-3d {
    border-radius: 20px;
    padding: 1.25rem !important;
  }
}

/* Active 3D Card Highlight (LIGHT THEME) */
.product-card-3d.active {
  border-color: var(--glass-border-active-light);
  box-shadow: 0 35px 75px -15px rgba(0, 33, 210, 0.18),
              0 0 35px rgba(182, 255, 46, 0.3),
              inset 0 1px 1px #FFFFFF;
}

.product-card-3d:hover {
  border-color: rgba(30, 58, 255, 0.3);
}

/* Product Card 3D Depth Layers */
.card-content-layer {
  transform: translateZ(40px);
  transition: transform 0.5s ease;
}

.card-image-wrapper {
  transform: translateZ(65px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 15px 25px rgba(0, 33, 210, 0.15));
}

.product-card-3d:hover .card-image-wrapper {
  transform: translateZ(90px) scale(1.04);
}

.card-badge-3d {
  transform: translateZ(75px);
}

/* Reflection Overlay (Light Theme) */
.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.8) 50%,
    transparent 55%
  );
  pointer-events: none;
  transition: opacity 0.5s ease;
  transform: translateZ(95px);
}

.product-card-3d.active .card-shine {
  animation: shineSweep 4s ease-in-out infinite;
}

@keyframes shineSweep {
  0% { transform: translateZ(95px) translateX(-50%); }
  30% { transform: translateZ(95px) translateX(50%); }
  100% { transform: translateZ(95px) translateX(50%); }
}

/* Product Selector Tabs (LIGHT THEME) */
.nav-pill-btn {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #FFFFFF;
  color: #444557;
  border: 1px solid rgba(0, 33, 210, 0.1);
}

.nav-pill-btn:hover {
  background: #F1F3FA;
  color: #0021D2;
}

.nav-pill-btn.active {
  background: linear-gradient(135deg, #0021D2 0%, #1E3AFF 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(0, 33, 210, 0.3);
  border-color: transparent;
}

.nav-pill-btn.active .pill-icon {
  color: #B6FF2E;
  transform: scale(1.15) rotate(5deg);
}

/* PROMINENT NAVIGATION ARROWS (High Z-Index & Float Depth) */
.nav-arrow-3d {
  position: absolute;
  top: 50%;
  z-index: 1000 !important;
  transform: translateY(-50%) translateZ(250px) !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #0021D2;
  color: #0021D2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 33, 210, 0.25),
              0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.nav-arrow-3d.prev-arrow {
  left: -20px;
}

.nav-arrow-3d.next-arrow {
  right: -20px;
}

@media (max-width: 639px) {
  .nav-arrow-3d {
    width: 44px !important;
    height: 44px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) translateZ(250px) !important;
  }
  .nav-arrow-3d.prev-arrow {
    left: 8px !important;
  }
  .nav-arrow-3d.next-arrow {
    right: 8px !important;
  }
}

@media (min-width: 640px) {
  .nav-arrow-3d.prev-arrow {
    left: -32px;
  }
  .nav-arrow-3d.next-arrow {
    right: -32px;
  }
}

@media (min-width: 1024px) {
  .nav-arrow-3d.prev-arrow {
    left: -48px;
  }
  .nav-arrow-3d.next-arrow {
    right: -48px;
  }
}

.nav-arrow-3d:hover {
  background: #B6FF2E;
  color: #0F1B2A;
  border-color: #B6FF2E;
  transform: translateY(-50%) translateZ(280px) scale(1.15) !important;
  box-shadow: 0 15px 35px rgba(182, 255, 46, 0.5),
              0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 639px) {
  .nav-arrow-3d:hover {
    transform: translateZ(280px) scale(1.1) !important;
  }
}

.nav-arrow-3d:active {
  transform: translateY(-50%) translateZ(250px) scale(0.95) !important;
}

/* Light Theme Spec Chips */
.spec-chip {
  background: #F1F3FA;
  border: 1px solid rgba(0, 33, 210, 0.1);
  color: #181C21;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.spec-chip:hover {
  background: #E8EBFF;
  border-color: rgba(0, 33, 210, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   FRAMER-STYLE INFINITE MARQUEE TESTIMONIALS (Ayzz The Designer Style)
   ========================================================================== */

.framer-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.framer-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: framerMarqueeScroll 35s linear infinite;
  will-change: transform;
}

@media (max-width: 640px) {
  .framer-marquee-track {
    gap: 14px;
  }
}

.framer-marquee-wrapper:hover .framer-marquee-track {
  animation-play-state: paused;
}

@keyframes framerMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card-framer {
  flex-shrink: 0;
  width: 320px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 33, 210, 0.1);
  box-shadow: 0 15px 35px -5px rgba(0, 33, 210, 0.08), 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

@media (max-width: 640px) {
  .testimonial-card-framer {
    width: 275px;
    border-radius: 18px;
  }
}

@media (min-width: 640px) {
  .testimonial-card-framer {
    width: 360px;
  }
}

.testimonial-card-framer:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(0, 33, 210, 0.35);
  box-shadow: 0 25px 50px -10px rgba(0, 33, 210, 0.2), 0 0 25px rgba(182, 255, 46, 0.3);
}

.testimonial-img-container {
  overflow: hidden;
  position: relative;
  background: #F8F9FF;
}

.testimonial-img-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card-framer:hover .testimonial-img-container img {
  transform: scale(1.05);
}

.zoom-overlay-hint {
  position: absolute;
  inset: 0;
  background: rgba(0, 33, 210, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
  gap: 8px;
}

.testimonial-card-framer:hover .zoom-overlay-hint {
  opacity: 1;
}
