/* ===================================================================
   🎨 GLOBAL THEME VARIABLES (Consolidated for proper loading)
   =================================================================== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f0fdf4;
  --bg-tertiary: #f8faf9;
  --bg-card: #ffffff;
  --hero-bg: linear-gradient(135deg, #d4f1e0 0%, #fff9d6 50%, #d4f1e0 100%);
  --text-primary: #1a2e1a;
  --text-secondary: #2d4a2d;
  --text-muted: #5a7a5a;
  --text-light: #ffffff;
  --dark: #1a1a1a;
  --light: #ffffff;
  --gray: #f5f5f5;
  --text-gray: #5a7a5a;
  --ja-green: #009B3A;
  --ja-green-light: #00C853;
  --ja-gold: #FED100;
  --ja-gold-dark: #D4A017;
  --ja-black: #1a1a1a;
  --gradient-gold: linear-gradient(135deg, #FED100 0%, #FFA500 100%);
  --gradient-green: linear-gradient(135deg, #009B3A 0%, #00C853 100%);
  --gradient-hero: linear-gradient(135deg, #009B3A 0%, #FED100 100%);
  --gradient-jamaica: linear-gradient(135deg, #009B3A 0%, #FED100 50%, #009B3A 100%);
  --value-gradient: linear-gradient(135deg, #1a2e1a 0%, #009B3A 50%, #1a2e1a 100%);
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: rgba(0, 155, 58, 0.2);
  --card-shadow: 0 4px 20px rgba(0, 155, 58, 0.08);
  --card-shadow-hover: 0 12px 40px rgba(0, 155, 58, 0.15);
  --icon-bg: linear-gradient(135deg, rgba(0, 155, 58, 0.1), rgba(254, 209, 0, 0.1));
  --accent-glow: rgba(254, 209, 0, 0.3);
  --glow-primary: rgba(0, 155, 58, 0.3);
  --glow-secondary: rgba(254, 209, 0, 0.3);
  --button-text: #1a1a1a;
  --nav-height: 72px;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-border: rgba(0, 155, 58, 0.2);
  --nav-glow: rgba(254, 209, 0, 0.15);
  --nav-text: #1a2e1a;
  --nav-text-muted: #5a7a5a;
  --nav-accent: #009B3A;
  --nav-accent-dark: #007A2E;
  --shadow-lg: 0 25px 50px -12px rgba(0, 155, 58, 0.15);
  --shadow-glow: 0 0 40px rgba(254, 209, 0, 0.3);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --nav-transition: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --drawer-width: 320px;
  --drawer-bg: linear-gradient(180deg, #ffffff, #f0fdf4);
  --scroll-top: 0;
  --chat-bg: var(--bg-primary);
  --chat-header-bg: var(--bg-secondary);
  --chat-border: var(--card-border);
  --chat-text: var(--text-primary);
  --chat-text-muted: var(--text-muted);
  --chat-accent: var(--ja-green);
  --chat-gold: var(--ja-gold);
  --chat-user-text: var(--ja-green);
  --chat-input-bg: var(--bg-tertiary);
  --chat-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  --section-title: #0a3d1a;
  --highlight-bg: #fff9d6;
}

/* ===================================================================
   🎯 GLOBAL RESET & CONTAINER
   =================================================================== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===================================================================
   🎞️ ANIMATIONS
   =================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px) translateZ(0); }
  to { opacity: 1; transform: translateY(0) translateZ(0); }
}

@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(40px) rotateX(10deg) translateZ(0); }
  to { opacity: 1; transform: translateY(0) rotateX(0) translateZ(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(254, 209, 0, 0.1); }
  50% { box-shadow: 0 0 0 12px rgba(254, 209, 0, 0); }
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes bounceLuxury {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(-12px); opacity: 1; }
}

@keyframes pulseArrow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(254, 209, 0, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(254, 209, 0, 0); }
}

@keyframes progressAnim {
  from { width: 0; }
  to { width: 75%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes starPop {
  0% { opacity: 0; transform: scale(0) rotate(-180deg); }
  60% { transform: scale(1.3) rotate(10deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes titleReveal {
  from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes fadeInUpLuxury {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideInBadge {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes soundOnPulse {
  0%, 100% { box-shadow: var(--card-shadow), 0 0 25px rgba(254, 209, 0, 0.4), inset 0 0 15px rgba(254, 209, 0, 0.1); }
  50% { box-shadow: var(--card-shadow), 0 0 35px rgba(254, 209, 0, 0.6), inset 0 0 20px rgba(254, 209, 0, 0.15); }
}

@keyframes rocketLaunch {
  0%, 100% { transform: translateX(4px) rotate(-10deg); }
  50% { transform: translateX(8px) rotate(-15deg) scale(1.1); }
}

@keyframes patternMove {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(80px) translateY(80px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes titleShimmer {
  to { background-position: 200% center; }
}

/* ===================================================================
   ♿ ACCESSIBILITY & PERFORMANCE
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
  .stat-item, .feature-card, .testimonial-card, .cta-content, .cta-actions .btn-primary, .cta-actions .btn-outline {
    opacity: 1 !important;
    transform: none !important;
  }
  .film-grain-overlay {
    opacity: 0.02 !important;
  }
}

.product-card, .btn-product, .book-mockup {
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ===================================================================
   🔊 AUDIO TOGGLE
   =================================================================== */
.audio-toggle {
  position: absolute;
  top: 90px;
  right: 24px;
  z-index: 100;
  background: var(--button-text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--card-border);
  color: var(--ja-gold);
  padding: 12px 20px;
  border-radius: 50px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: var(--card-shadow);
  min-height: 48px;
  pointer-events: auto !important;
}

.audio-toggle:hover {
  background: var(--bg-tertiary);
  border-color: var(--ja-gold);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover), 0 0 15px rgba(255, 215, 0, 0.2);
  color: var(--text-primary);
}

.audio-toggle:active { transform: translateY(0); }

.audio-toggle svg {
  width: 1.3rem;
  height: 1.3rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.audio-toggle:hover svg { transform: scale(1.15); }

.audio-toggle .audio-text {
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.audio-toggle.sound-on {
  background: rgba(254, 209, 0, 0.15);
  border-color: var(--ja-gold);
  color: var(--ja-gold);
  box-shadow: var(--card-shadow), 0 0 25px rgba(254, 209, 0, 0.4), inset 0 0 15px rgba(254, 209, 0, 0.1);
  animation: soundOnPulse 2s ease-in-out infinite;
}

.audio-toggle.sound-on:hover {
  background: rgba(254, 209, 0, 0.25);
  border-color: var(--ja-gold);
  box-shadow: var(--card-shadow-hover), 0 0 35px rgba(254, 209, 0, 0.6), inset 0 0 20px rgba(254, 209, 0, 0.15);
  transform: translateY(-2px);
}

.audio-toggle.sound-on svg { filter: drop-shadow(0 0 8px rgba(254, 209, 0, 0.6)); }

@media (max-width: 991px) {
  .audio-toggle { top: 85px; right: 20px; padding: 10px 18px; font-size: 0.85rem; }
}

@media (max-width: 767px) {
  .audio-toggle {
    top: 80px; right: 16px; padding: 0; gap: 0; border-radius: 50%;
    width: 48px; height: 48px; min-height: 48px;
  }
  .audio-toggle .audio-text { display: none !important; }
  .audio-toggle svg { width: 1.5rem; height: 1.5rem; margin: 0; }
  .audio-toggle.sound-on { width: 48px; height: 48px; }
}

@media (max-width: 380px) {
  .audio-toggle { top: 75px; right: 12px; width: 44px; height: 44px; min-height: 44px; }
  .audio-toggle svg { width: 1.3rem; height: 1.3rem; }
  .audio-toggle.sound-on { width: 44px; height: 44px; }
}

/* ===================================================================
   🎬 HERO SECTION - VIDEO BACKGROUND & CONTENT
   =================================================================== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background: rgba(255, 255, 255, 0);
}

#youtube-player {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%) scale(1.02);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: filter 1.2s ease, transform 1.2s ease, opacity 1s ease;
  will-change: opacity, transform;
  filter: brightness(1.35) contrast(1.08) saturate(1.15);
}

#youtube-player.loaded {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-fallback-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(0, 155, 58, 0.15) 0%, transparent 60%), radial-gradient(ellipse at bottom, rgba(254, 209, 0, 0.1) 0%, transparent 60%), linear-gradient(135deg, rgba(10, 42, 26, 0) 0%, #525e5a 40%, rgba(26, 26, 26, 0) 100%);
  background-size: 400% 400%;
  opacity: 1;
  z-index: -1;
  pointer-events: none;
  transition: opacity 1.2s var(--transition-luxury);
  animation: gradientShift 8s ease infinite;
}

.video-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.8s var(--transition-luxury) 0.2s;
  pointer-events: none;
}

.video-container.video-ready .video-loader, .video-container.video-ready .video-fallback-gradient {
  opacity: 0;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 3px solid transparent;
  border-top-color: var(--ja-gold);
  border-right-color: var(--ja-gold);
  border-radius: 50%;
  animation: spin 1.2s var(--transition-luxury) infinite;
  box-shadow: 0 0 20px rgba(254, 209, 0, 0.3);
  position: relative;
}

.loader-ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid transparent;
  border-bottom-color: var(--ja-green);
  border-left-color: var(--ja-green);
  border-radius: 50%;
  animation: spin 0.8s reverse var(--transition-luxury) infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 20%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.20) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10 !important;
  padding: 3rem 2.5rem !important;
  background: rgba(0,0,0,0.08) !important;
  -webkit-backdrop-filter: blur(30px) saturate(180%) !important;

  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  text-align: center;
  animation: fadeInUpLuxury 1.2s var(--transition-luxury) 0.3s both;
}

.hero-badge {
  display: inline-flex;
  align-items: start;
  gap: 10px;
  background: rgba(254, 209, 0, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid rgba(254, 209, 0, 0.5) !important;
  margin-bottom: 1.5rem;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  color: #FFD700 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(254, 209, 0, 0.2) !important;
  animation: slideInBadge 0.8s var(--transition-luxury) 0.5s both;
}

.hero-badge span {
  color: #FFD700 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

.flag-stripes {
  display: flex;
  gap: 3px;
}

.flag-stripes span {
  width: 16px;
  height: 3px;
  border-radius: 2px;
}

.flag-stripes span:nth-child(1) { background: var(--ja-green); }
.flag-stripes span:nth-child(2) { background: var(--ja-gold); }
.flag-stripes span:nth-child(3) { background: var(--ja-black); border: 1px solid rgba(255, 255, 255, 0.3); }

.hero-subtitle {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 4px 16px rgba(0, 0, 0, 0.7) !important;
  font-weight: 500 !important;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem) !important;
  line-height: 1.7 !important;
  margin-bottom: 2.5rem;
  animation: fadeInUpLuxury 1s var(--transition-luxury) 0.9s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 6rem;
  animation: fadeInUpLuxury 1s var(--transition-luxury) 1.1s both;
}

.hero-cta .btn {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.4) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.hero-cta .btn:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 10px 35px rgba(255, 215, 0, 0.7), 0 0 40px rgba(255, 215, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.5) !important;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: #ffffff !important;
  animation: titleReveal 1.4s var(--transition-luxury) 0.7s both;
}

.hero-title .highlight1 {
  display: block !important;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)) !important;
  position: relative !important;
}

.hero-title .highlight1::before {
  content: attr(data-text) !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  -webkit-text-stroke: 1px rgba(255, 215, 0, 0.3) !important;
  -webkit-text-fill-color: transparent !important;
  z-index: -1 !important;
}

.hero-title .highlight2 {
  display: block !important;
  background: linear-gradient(135deg, #00FF7F 0%, #00C853 50%, #00FF7F 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 10px rgba(0, 255, 127, 0.5)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)) !important;
  position: relative !important;
}

.hero-title .highlight2::before {
  content: attr(data-text) !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  -webkit-text-stroke: 1px rgba(0, 255, 127, 0.3) !important;
  -webkit-text-fill-color: transparent !important;
  z-index: -1 !important;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
  font-size: 0.85rem;
  animation: bounceLuxury 2.5s ease-in-out infinite;
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  border: 2px solid #FFD700 !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFD700 !important;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3) !important;
  animation: pulseArrow 2s ease-in-out infinite;
}

/* ===================================================================
   📊 STATS SECTION
   =================================================================== */
.stats-horizontal {
  background: var(--gradient-gold);
  font-family: 'Inter', system-ui, sans-serif;
  transition: background 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.film-grain-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  transition: opacity 0.6s ease;
}

.theme-toggle {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 30;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: scale(1.02);
}

.toggle-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

[data-theme="sunset"] .moon { opacity: 0.4; transform: scale(0.85); }
[data-theme="emerald"] .sun { opacity: 0.4; transform: scale(0.85); }

.z-10.stats { max-width: 1200px; }

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
}

.stat-item {
  flex: 1 1 180px;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.25rem;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s ease, background 0.6s ease;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.stat-item.in-view { opacity: 1; transform: translateY(0) scale(1); }

@media (hover: hover) {
  .stat-item:hover {
    transform: translateZ(10px) translateY(-4px) scale(1.015);
    box-shadow: var(--card-shadow-hover), 0 0 35px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: var(--glow-primary);
    z-index: 5;
  }
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  transition: transform 0.35s ease, background 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateZ(8px);
}

.stat-item:hover .stat-icon { transform: scale(1.08) translateZ(12px); }

.stat-content { transform: translateZ(4px); }

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--value-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 0.35rem;
  opacity: 0.9;
}

.stat-divider {
  width: 1px;
  align-self: center;
  height: 55%;
  background: linear-gradient(to bottom, transparent, var(--card-border), transparent);
  opacity: 0.5;
  margin: 0 0.75rem;
  transition: opacity 0.4s ease;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  transition: background 0.7s ease, opacity 0.7s ease;
}

.glow-left { top: -20%; left: -10%; width: 500px; height: 500px; background: var(--glow-primary); opacity: 0.18; }
.glow-right { bottom: -20%; right: -10%; width: 450px; height: 450px; background: var(--glow-secondary); opacity: 0.15; }

.stat-item:focus-visible { outline: 2px solid var(--glow-primary); outline-offset: 3px; }

/* Stats Mobile */
@media (max-width: 768px) {
  .stat-divider { display: none; }
  .stats-row { gap: 0.875rem; }
  .stat-item { max-width: 100%; flex: 1 1 45%; }
}

/* ===================================================================
   📦 PRODUCTS SECTION
   =================================================================== */
.products {
  position: relative;
  padding: 6rem 2rem;
  background: var(--bg-primary);
  overflow: hidden;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text-primary);
}

.products::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--ja-gold) 50%, var(--text-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.02em;
}

.title-icon {
  color: var(--ja-gold);
  font-size: 1.8rem;
  text-shadow: 0 4px 20px rgba(254, 209, 0, 0.3);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  perspective: 1200px;
}

.product-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow), 0 0 0 1px rgba(255, 255, 255, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  animation: cardEntrance 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }

.product-card:hover {
  transform: translateZ(20px) rotateX(2deg) rotateY(-2deg) scale(1.02);
  box-shadow: var(--card-shadow-hover), 0 0 40px rgba(254, 209, 0, 0.15), 0 0 0 1px rgba(254, 209, 0, 0.3);
  border-color: rgba(254, 209, 0, 0.4);
  z-index: 10;
}

.product-image {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 2rem;
  perspective: 1000px;
  min-height: 220px;
}

.book-mockup {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 6 / 5;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover .book-mockup {
  transform: rotateY(-15deg) rotateX(5deg) translateZ(30px);
}

.book-cover {
  background: transparent;
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  border-radius: 8px 4px 4px 8px;
  box-shadow: var(--bs-border-color-translucent);
}

.book-front {
  position: absolute;
  inset: 0;
  background-image: url("../img/theartofdriving.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 8px 4px 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: translateZ(1px);
}

.book-front2 {
  border-color: rgba(0, 155, 58, 0.5);
  background-image: url("../img/interactive.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.book-cover::before {
  position: absolute;
  content: "";
  left: -3px;
  top: 4px;
  bottom: 4px;
  width: 6px;
  border-radius: 4px 0 0 4px;
  transform: translateZ(-1px);
}

.product-content { transform: translateZ(20px); }

.product-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.product-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.product-description strong { color: var(--ja-gold); font-weight: 600; }

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
  transition: transform 0.2s ease;
}

.product-features li i {
  color: var(--ja-green);
  background: rgba(254, 209, 0, 0.2);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.product-card:hover .product-features li i {
  background: rgba(254, 209, 0, 0.4);
  transform: scale(1.1);
  color: var(--ja-black);
}

.btn-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--gradient-green);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(254, 209, 0, 0.3);
  box-shadow: 0 4px 20px rgba(0, 155, 58, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  transform: translateZ(10px);
}

.btn-product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(254, 209, 0, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50px;
}

.btn-product:hover {
  transform: translateZ(15px) translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 155, 58, 0.6), 0 0 25px rgba(254, 209, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(254, 209, 0, 0.6);
}

.btn-product:hover::before { opacity: 1; }

.btn-product i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-product:hover i { transform: translateX(3px); }

.btn-book { background: var(--gradient-green); }

.btn-online {
  background: var(--bg-tertiary);
  border-color: rgba(12, 52, 27, 0.5);
  color: gray;
}

.bundle-offer {
  background: linear-gradient(135deg, rgba(254, 209, 0, 0.12), rgba(0, 155, 58, 0.25));
  border: 1px solid rgba(254, 209, 0, 0.3);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: pulseGlow 4s ease-in-out infinite;
  transform: translateZ(10px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.bundle-offer:hover { transform: translateZ(20px) scale(1.01); }

.bundle-offer::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, transparent, rgba(254, 209, 0, 0.2), transparent);
  animation: shimmer 3s linear infinite;
  border-radius: 26px;
  pointer-events: none;
}

.bundle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gradient-gold);
  color: var(--ja-black);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 1.5rem;
  border-radius: 30px;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(254, 209, 0, 0.35);
}

.bundle-offer h3 { font-size: 1.6rem; margin: 0 0 0.75rem; color: var(--text-primary); }
.bundle-offer p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 1.05rem; }

.btn-bundle {
  background: var(--gradient-gold);
  color: var(--ja-black);
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 30px rgba(254, 209, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  border: none;
  font-size: 1.05rem;
}

.btn-bundle:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 45px rgba(254, 209, 0, 0.6);
}

/* Products Mobile */
@media (max-width: 768px) {
  .products { padding: 4rem 1.5rem; }
  .section-title { font-size: 2rem; }
  .product-card { padding: 1.75rem; }
  .bundle-offer { padding: 1.75rem; }
}

/* ===================================================================
   🎯 QUIZ BANNER SECTION
   =================================================================== */
.quiz-banner-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.quiz-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(0, 155, 58, 0.08) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(254, 209, 0, 0.06) 0%, transparent 40%), repeating-linear-gradient(45deg, transparent, transparent 25px, rgba(255, 255, 255, 0.02) 25px, rgba(255, 255, 255, 0.02) 26px);
  pointer-events: none;
}

.quiz-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.quiz-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 155, 58, 0.15);
  border: 1px solid rgba(0, 155, 58, 0.3);
  color: var(--ja-green);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.quiz-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.highlight-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quiz-description {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.quiz-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
}

.quiz-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.quiz-feature i { color: var(--ja-gold); }

.quiz-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-quiz-primary {
  background: var(--gradient-gold);
  color: var(--ja-black);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(254, 209, 0, 0.35);
}

.btn-quiz-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(254, 209, 0, 0.45);
}

.btn-quiz-secondary {
  background: var(--card-bg);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.btn-quiz-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--ja-green);
}

.quiz-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.quiz-card-mockup {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.quiz-visual:hover .quiz-card-mockup { transform: rotateY(0) rotateX(0); }

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
}

.card-dots { display: flex; gap: 6px; }
.card-dots span { width: 10px; height: 10px; border-radius: 50%; }
.card-dots span:nth-child(1) { background: #ff5f56; }
.card-dots span:nth-child(2) { background: #ffbd2e; }
.card-dots span:nth-child(3) { background: #27c93f; }

.card-title { color: var(--text-primary); font-weight: 600; font-size: 0.95rem; }

.quiz-question-box {
  background: var(--bg-tertiary);
  padding: 12px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.quiz-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 15px; }

.option {
  background: var(--card-bg);
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: 1px solid var(--card-border);
}

.option.correct {
  background: rgba(0, 155, 58, 0.2);
  border: 1px solid rgba(0, 155, 58, 0.4);
  color: var(--ja-green);
}

.progress-bar-container {
  height: 6px;
  background: var(--card-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar-fill {
  height: 100%;
  width: 75%;
  background: var(--gradient-gold);
  border-radius: 3px;
  animation: progressAnim 15s ease-out forwards;
}

.score-badge {
  background: rgba(254, 209, 0, 0.15);
  color: var(--ja-gold);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  display: inline-block;
}

.floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ja-gold);
  font-size: 1.2rem;
  box-shadow: var(--card-shadow);
  animation: float 6s ease-in-out infinite;
}

.icon-1 { top: 10%; left: 0; animation-delay: 0s; }
.icon-2 { bottom: 15%; left: -10%; animation-delay: 2s; }
.icon-3 { top: 20%; right: -5%; animation-delay: 4s; }

/* Quiz Mobile */
@media (max-width: 968px) {
  .quiz-banner-grid { grid-template-columns: 1fr; text-align: center; }
  .quiz-description, .quiz-features { margin-left: auto; margin-right: auto; }
  .quiz-cta-group { justify-content: center; }
  .quiz-visual { order: -1; min-height: 300px; }
  .floating-icon { display: none; }
}

/* ===================================================================
   ✨ FEATURES SECTION
   =================================================================== */
.features-section {
  position: relative;
  padding: 8rem 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(254, 209, 0, 0.3) 50%, transparent 100%);
}

.features-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 155, 58, 0.3) 50%, transparent 100%);
}

.features-section .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
  position: relative;
  z-index: 2;
}

.features-section .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(225, 196, 58, 0.08);
  border: 1px solid rgba(254, 209, 0, 0.25);
  color: var(--dark);
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(254, 209, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: fadeInDown 0.8s ease-out;
}

.features-section .section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--ja-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--ja-gold);
  animation: pulse 2s ease-in-out infinite;
}

.features-section .section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--ja-gold) 50%, var(--text-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s linear infinite;
}

.features-section .section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.feature-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--card-shadow);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(254, 209, 0, 0) 0%, rgba(254, 209, 0, 0.5) 50%, rgba(0, 155, 58, 0.5) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(254, 209, 0, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(254, 209, 0, 0.3);
  box-shadow: var(--card-shadow-hover), 0 0 40px rgba(254, 209, 0, 0.15);
}

.feature-card:hover::before, .feature-card:hover::after { opacity: 1; }

.feature-icon {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
  background: var(--icon-bg);
  border: 1px solid rgba(254, 209, 0, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(254, 209, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--ja-gold);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 8px rgba(254, 209, 0, 0.3));
}

.feature-card:hover .feature-icon {
  background: var(--gradient-hero);
  border-color: rgba(254, 209, 0, 0.5);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 32px rgba(254, 209, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.feature-card:hover .feature-icon svg {
  color: #fff;
  transform: scale(1.1);
  filter: drop-shadow(0 4px 12px rgba(254, 209, 0, 0.6));
}

.feature-title {
  position: relative;
  z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--ja-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-description {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-description { color: var(--text-primary); }

.feature-card.reveal-up { transition-delay: calc(var(--i, 0) * 0.1s); }
.feature-card:nth-child(1) { --i: 0; }
.feature-card:nth-child(2) { --i: 1; }
.feature-card:nth-child(3) { --i: 2; }
.feature-card:nth-child(4) { --i: 3; }
.feature-card:nth-child(5) { --i: 4; }
.feature-card:nth-child(6) { --i: 5; }

/* Features Responsive */
@media (max-width: 992px) {
  .features-section { padding: 6rem 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .features-section .section-header { margin-bottom: 4rem; }
  .feature-card { padding: 2rem 1.8rem; }
  .feature-title { font-size: 1.25rem; }
}

@media (max-width: 576px) {
  .features-section { padding: 4rem 0; }
  .features-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .features-section .section-header { margin-bottom: 3rem; }
  .features-section .section-title { font-size: 2rem; }
  .features-section .section-subtitle { font-size: 1rem; }
  .feature-card { padding: 1.8rem 1.5rem; }
  .feature-icon { width: 60px; height: 60px; margin-bottom: 1.5rem; }
  .feature-icon svg { width: 1.7rem; height: 1.7rem; }
  .feature-title { font-size: 1.15rem; }
  .feature-description { font-size: 0.9rem; }
}

/* ===================================================================
   💬 TESTIMONIALS SECTION
   =================================================================== */
.testimonials-section {
  position: relative;
  padding: 8rem 0;
  background: var(--bg-secondary);
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 155, 58, 0.3) 50%, transparent 100%);
}

.testimonials-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(254, 209, 0, 0.3) 50%, transparent 100%);
}

.testimonials-section .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
  position: relative;
  z-index: 2;
}

.testimonials-section .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(254, 209, 0, 0.08);
  border: 1px solid rgba(254, 209, 0, 0.25);
  color: var(--ja-gold);
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(254, 209, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: fadeInDown 0.8s ease-out;
}

.testimonials-section .section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--ja-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--ja-gold);
  animation: pulse 2s ease-in-out infinite;
}

.testimonials-section .section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--ja-gold) 50%, var(--text-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s linear infinite;
}

.testimonials-section .section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-family: 'Georgia', serif;
  font-size: 10rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(254, 209, 0, 0.05);
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 0;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(254, 209, 0, 0) 0%, rgba(254, 209, 0, 0.5) 50%, rgba(0, 155, 58, 0.5) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: rgba(254, 209, 0, 0.3);
  box-shadow: var(--card-shadow-hover), 0 0 40px rgba(254, 209, 0, 0.15);
}

.testimonial-card:hover::before {
  color: rgba(254, 209, 0, 0.15);
  transform: scale(1.1) rotate(-5deg);
}

.testimonial-card:hover::after { opacity: 1; }

.testimonial-rating {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.testimonial-rating svg {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--ja-gold);
  filter: drop-shadow(0 0 8px rgba(254, 209, 0, 0.5));
  animation: starPop 0.6s ease-out backwards;
}

.testimonial-rating svg:nth-child(1) { animation-delay: 0.1s; }
.testimonial-rating svg:nth-child(2) { animation-delay: 0.2s; }
.testimonial-rating svg:nth-child(3) { animation-delay: 0.3s; }
.testimonial-rating svg:nth-child(4) { animation-delay: 0.4s; }
.testimonial-rating svg:nth-child(5) { animation-delay: 0.5s; }

.testimonial-text {
  position: relative;
  z-index: 1;
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 2rem 0;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-text { color: var(--text-primary); }

.testimonial-author {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
  transition: border-color 0.3s ease;
}

.testimonial-card:hover .testimonial-author { border-top-color: rgba(254, 209, 0, 0.2); }

.author-avatar {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(254, 209, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.author-avatar::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient-hero);
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.5s ease;
}

.author-avatar span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ja-black);
  letter-spacing: 1px;
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(254, 209, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.testimonial-card:hover .author-avatar::before { opacity: 1; }

.author-info { display: flex; flex-direction: column; gap: 0.2rem; }

.author-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.testimonial-card:hover .author-name {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--ja-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.author-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
}

.author-location::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--ja-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--ja-green);
}

.testimonial-card:hover .author-location { color: var(--text-secondary); }

.testimonial-card.reveal-up { transition-delay: calc(var(--i, 0) * 0.15s); }
.testimonial-card:nth-child(1) { --i: 0; }
.testimonial-card:nth-child(2) { --i: 1; }
.testimonial-card:nth-child(3) { --i: 2; }

/* Testimonials Responsive */
@media (max-width: 992px) {
  .testimonials-section { padding: 6rem 0; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .testimonials-section .section-header { margin-bottom: 4rem; }
  .testimonial-card { padding: 2rem 1.8rem; }
  .testimonial-text { font-size: 1rem; }
}

@media (max-width: 576px) {
  .testimonials-section { padding: 4rem 0; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonials-section .section-header { margin-bottom: 3rem; }
  .testimonials-section .section-title { font-size: 2rem; }
  .testimonials-section .section-subtitle { font-size: 1rem; }
  .testimonial-card { padding: 2rem 1.5rem; }
  .testimonial-card::before { font-size: 8rem; top: -15px; }
  .testimonial-rating svg { width: 1.1rem; height: 1.1rem; }
  .testimonial-text { font-size: 0.95rem; line-height: 1.7; }
  .author-avatar { width: 48px; height: 48px; }
  .author-avatar span { font-size: 1rem; }
  .author-name { font-size: 0.95rem; }
  .author-location { font-size: 0.8rem; }
}

/* ===================================================================
   🚀 CTA SECTION
   =================================================================== */
.cta-section {
  position: relative;
  padding: 8rem 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(254, 209, 0, 0.02) 40px, rgba(254, 209, 0, 0.02) 80px);
  animation: patternMove 20s linear infinite;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(254, 209, 0, 0.5) 20%, rgba(0, 155, 58, 0.5) 50%, rgba(254, 209, 0, 0.5) 80%, transparent 100%);
  box-shadow: 0 0 20px rgba(254, 209, 0, 0.3);
  animation: glowPulse 3s ease-in-out infinite;
}

.cta-section > .container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 155, 58, 0.5) 20%, rgba(254, 209, 0, 0.5) 50%, rgba(0, 155, 58, 0.5) 80%, transparent 100%);
  box-shadow: 0 0 20px rgba(0, 155, 58, 0.3);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 3rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--card-shadow), 0 0 40px rgba(254, 209, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-content:hover {
  border-color: rgba(254, 209, 0, 0.3);
  box-shadow: var(--card-shadow-hover), 0 0 60px rgba(254, 209, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.cta-content::before, .cta-content::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(254, 209, 0, 0.3);
  pointer-events: none;
  transition: all 0.5s ease;
}

.cta-content::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
  border-radius: 32px 0 0 0;
}

.cta-content::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 32px 0;
}

.cta-content:hover::before, .cta-content:hover::after {
  width: 80px;
  height: 80px;
  border-color: rgba(254, 209, 0, 0.6);
  box-shadow: 0 0 20px rgba(254, 209, 0, 0.3);
}

.cta-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--ja-gold) 30%, var(--text-primary) 50%, var(--ja-gold) 70%, var(--text-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShimmer 6s linear infinite;
}

.cta-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-actions .btn-primary {
  position: relative;
  background: var(--gradient-gold);
  color: var(--ja-black);
  padding: 1.3rem 2.8rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(254, 209, 0, 0.4), 0 0 40px rgba(254, 209, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.cta-actions .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.cta-actions .btn-primary:hover::before { left: 100%; }

.cta-actions .btn-primary::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50px;
  background: var(--gradient-gold);
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.4s ease;
}

.cta-actions .btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(254, 209, 0, 0.5), 0 0 60px rgba(254, 209, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  filter: brightness(1.1);
}

.cta-actions .btn-primary:hover::after { opacity: 0.6; }
.cta-actions .btn-primary:active { transform: translateY(-2px) scale(1); }

.cta-actions .btn-primary svg {
  width: 1.3rem;
  height: 1.3rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-actions .btn-primary:hover svg {
  transform: translateX(4px) rotate(-10deg);
  animation: rocketLaunch 0.6s ease-in-out;
}

.cta-actions .btn-outline {
  position: relative;
  background: transparent;
  color: var(--text-primary);
  padding: 1.3rem 2.8rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  border: 2px solid var(--card-border);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.cta-actions .btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 155, 58, 0.1), rgba(254, 209, 0, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.cta-actions .btn-outline:hover {
  border-color: var(--ja-green);
  color: var(--ja-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 155, 58, 0.3), 0 0 40px rgba(0, 155, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-actions .btn-outline:hover::before { opacity: 1; }
.cta-actions .btn-outline svg, .cta-actions .btn-outline span { position: relative; z-index: 1; }

.cta-actions .btn-outline svg {
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-actions .btn-outline:hover svg { transform: scale(1.2) rotate(360deg); }

/* CTA Responsive */
@media (max-width: 992px) {
  .cta-section { padding: 6rem 0; }
  .cta-content { padding: 3rem 2rem; margin: 0 1rem; }
  .cta-title { font-size: clamp(2rem, 5vw, 3rem); }
  .cta-subtitle { font-size: 1.1rem; margin-bottom: 2.5rem; }
  .cta-actions { gap: 1rem; }
  .cta-actions .btn-primary, .cta-actions .btn-outline { padding: 1.2rem 2.2rem; font-size: 1rem; }
}

@media (max-width: 576px) {
  .cta-section { padding: 4rem 0; }
  .cta-content { padding: 2.5rem 1.5rem; margin: 0 0.5rem; border-radius: 24px; }
  .cta-content::before, .cta-content::after { width: 40px; height: 40px; }
  .cta-content:hover::before, .cta-content:hover::after { width: 50px; height: 50px; }
  .cta-title { font-size: 2rem; letter-spacing: -1px; margin-bottom: 1rem; }
  .cta-subtitle { font-size: 1rem; margin-bottom: 2rem; line-height: 1.6; }
  .cta-actions { flex-direction: column; gap: 1rem; }
  .cta-actions .btn-primary, .cta-actions .btn-outline { width: 100%; padding: 1.2rem 2rem; font-size: 0.95rem; justify-content: center; }
  .cta-actions .btn-primary svg, .cta-actions .btn-outline svg { width: 1.1rem; height: 1.1rem; }
}

@media (max-width: 380px) {
  .cta-content { padding: 2rem 1.2rem; }
  .cta-title { font-size: 1.7rem; }
  .cta-subtitle { font-size: 0.95rem; }
  .cta-actions .btn-primary, .cta-actions .btn-outline { padding: 1.1rem 1.5rem; font-size: 0.9rem; }
}