/* ==========================================================================
   JellyBop Mobile Science, Art & Entertainment Studio — Master Stylesheet
   Bright, Cheerful, High-Conversion Light & Vibrant Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  /* Color Palette - Bright, Warm, Cheerful & High Contrast */
  --bg-main: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFAFC;
  
  --border-subtle: #E2E8F0;
  --border-card: #E5E7EB;
  --border-highlight: rgba(6, 182, 212, 0.3);
  
  /* Text */
  --text-heading: #0F172A;
  --text-main: #1E293B;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  /* Brand Module Accent Colors */
  --playlab-primary: #EA580C;
  --playlab-glow: rgba(234, 88, 12, 0.25);
  --playlab-bg: #FFF7ED;
  --playlab-border: #FDBA74;
  --playlab-grad: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  
  --scilab-primary: #0284C7;
  --scilab-glow: rgba(2, 132, 199, 0.25);
  --scilab-bg: #F0F9FF;
  --scilab-border: #7DD3FC;
  --scilab-grad: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  
  --artlab-primary: #059669;
  --artlab-glow: rgba(5, 150, 105, 0.25);
  --artlab-bg: #ECFDF5;
  --artlab-border: #6EE7B7;
  --artlab-grad: linear-gradient(135deg, #10B981 0%, #059669 100%);
  
  --brand-purple: #7C3AED;
  --brand-yellow: #D97706;
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Radius & Shadows */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 12px 28px -4px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 20px 35px -5px rgba(15, 23, 42, 0.1), 0 10px 15px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow-cyan: 0 8px 25px rgba(2, 132, 199, 0.25);
  --shadow-glow-orange: 0 8px 25px rgba(234, 88, 12, 0.25);
  --shadow-glow-emerald: 0 8px 25px rgba(5, 150, 105, 0.25);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-surface);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: #FAFAFC;
  background-image: 
    radial-gradient(circle at 10% 8%, rgba(2, 132, 199, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 15%, rgba(249, 115, 22, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 85%, rgba(16, 185, 129, 0.06) 0%, transparent 45%);
  min-height: 100vh;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 800;
  line-height: 1.2;
}

.gradient-text-hero {
  background: linear-gradient(135deg, #0284C7 0%, #7C3AED 40%, #EA580C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-playlab {
  background: linear-gradient(135deg, #EA580C 0%, #E11D48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-scilab {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-artlab {
  background: linear-gradient(135deg, #059669 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism & Light Cards */
.glass-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
}

/* Light Floating Hero Card */
.hero-visual-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 28px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.6);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.hero-visual-card:hover {
  transform: translateY(-4px);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  z-index: 20;
  padding: 0.6rem 1.1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.15), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  font-size: 0.825rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: floatSlow 6s ease-in-out infinite;
}

/* Buttons */
.btn-jelly {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-jelly::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}

.btn-jelly:hover::after {
  left: 100%;
}

.btn-primary-glow {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-primary-glow:hover {
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5);
  transform: translateY(-2px);
}

.btn-accent-glow {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
}

.btn-accent-glow:hover {
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
  transform: translateY(-2px);
}

.btn-outline-glass {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--text-heading);
  box-shadow: var(--shadow-subtle);
}

.btn-outline-glass:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-whatsapp:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-cyan {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.badge-orange {
  background: #FFEDD5;
  color: #C2410C;
  border: 1px solid #FED7AA;
}

.badge-green {
  background: #D1FAE5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.badge-purple {
  background: #EDE9FE;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
}

/* Tab System */
.tab-trigger {
  padding: 0.9rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tab-trigger:hover {
  color: var(--text-heading);
  background: #F1F5F9;
}

.tab-trigger.active-playlab {
  background: #FFF7ED;
  color: #EA580C;
  border-color: #FDBA74;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15);
}

.tab-trigger.active-scilab {
  background: #F0F9FF;
  color: #0284C7;
  border-color: #7DD3FC;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

.tab-trigger.active-artlab {
  background: #ECFDF5;
  color: #059669;
  border-color: #6EE7B7;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15);
}

/* Custom Range Slider */
.slider-custom {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #E2E8F0;
  outline: none;
  transition: background 0.3s;
}

.slider-custom::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7, #2563EB);
  cursor: pointer;
  border: 3px solid #FFFFFF;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
  transition: transform 0.15s ease-in-out;
}

.slider-custom::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Accordion */
.faq-header {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #FFFFFF;
  border: none;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-body);
}

.faq-content.open {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
  transition: max-height 0.4s ease-in-out;
}

/* Gallery Hover & Lightbox */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-card-hover);
  border-color: #CBD5E1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.1) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--text-main);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

/* Video Modal */
.video-modal-box {
  background: #0F172A;
  border-radius: var(--radius-xl);
  max-width: 850px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* Keyframe Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.8deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(8px) rotate(-0.8deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.animate-float {
  animation: floatSlow 6s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 5s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem !important;
  }
  .tab-trigger {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Shopping Cart Slide-Over Drawer & Store Elements
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  z-index: 10001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  background: #EA580C;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  position: absolute;
  top: -5px;
  right: -5px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
}

.product-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: #CBD5E1;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

