/* ClassPass Custom Styles - Warm Cream & Editorial Serif Aesthetic */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;0,900;1,600&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --font-serif: 'DM Serif Display', 'Playfair Display', serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --bg-cream: #FAF7EE;
  --bg-cream-card: #FFFFFF;
  --text-dark: #2A0E13;
  --text-maroon: #540E17;
  --text-muted: #6B5E59;
  --accent-gold: #FDE08B;
}

body {
  font-family: var(--font-body);
  color: #2A0E13;
  background-color: #FAF7EE;
  scroll-behavior: smooth;
  letter-spacing: -0.011em;
}

h1, h2, h3, h4, .font-serif, .serif-heading {
  font-family: var(--font-serif);
  letter-spacing: -0.015em;
}

.font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
}

.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

/* Warm cream theme backgrounds */
.bg-cream {
  background-color: #FAF7EE;
}

.bg-cream-soft {
  background-color: #F4EFE2;
}

.bg-cream-card {
  background-color: #FFFFFF;
}

.border-cream {
  border-color: #EBDDC8;
}

.text-dark-maroon {
  color: #380E14;
}

.bg-maroon-btn {
  background-color: #58111A;
  color: #FFFFFF;
  transition: all 0.2s ease;
}

.bg-maroon-btn:hover {
  background-color: #430B13;
  transform: translateY(-1px);
}

.bg-gold-btn {
  background-color: #FDE08B;
  color: #2D0F14;
  font-weight: 700;
  transition: all 0.2s ease;
}

.bg-gold-btn:hover {
  background-color: #FCD360;
  transform: translateY(-1px);
}

/* Activity Pastel Tiles */
.activity-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 16px 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  user-select: none;
}

.activity-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.tile-swimming { background-color: #D9EAFD; color: #1E3A8A; }
.tile-badminton { background-color: #D7F4E3; color: #14532D; }
.tile-tennis { background-color: #FEEBC8; color: #7C2D12; }
.tile-dance { background-color: #FED7E2; color: #831843; }
.tile-karate { background-color: #E9D8FD; color: #581C87; }
.tile-judo { background-color: #D8E2FE; color: #1E3A8A; }
.tile-yoga { background-color: #FFE0C2; color: #9A3412; }
.tile-music { background-color: #E0E7FF; color: #3730A3; }
.tile-boxing { background-color: #FEE2E2; color: #991B1B; }
.tile-more { background-color: #FFD2CD; color: #991B1B; }

/* Grid background pattern */
.bg-cream-grid-pattern {
  background-size: 36px 36px;
  background-image: 
    linear-gradient(to right, rgba(84, 14, 23, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(84, 14, 23, 0.035) 1px, transparent 1px);
}

.feature-pill-bar {
  background: #FFFFFF;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(84, 14, 23, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid #EFE6D8;
}

.trusted-pill-badge {
  background: #FFFFFF;
  border-radius: 9999px;
  border: 1px solid #E8DECD;
  box-shadow: 0 4px 14px rgba(84, 14, 23, 0.04);
}

/* QR Code laser scanner animation */
@keyframes scanLaser {
  0% {
    top: 5%;
    opacity: 0.2;
  }
  50% {
    top: 90%;
    opacity: 1;
  }
  100% {
    top: 5%;
    opacity: 0.2;
  }
}

.animate-scanner {
  animation: scanLaser 2.4s ease-in-out infinite;
}

/* Floating animation */
@keyframes softFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: softFloat 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: softFloat 5s ease-in-out 2s infinite;
}

/* Pulse badge ring */
@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.pulse-emerald-dot {
  animation: pulseRing 2s infinite;
}

/* Custom range slider styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: #e2e8f0;
  border-radius: 9999px;
  height: 8px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4f46e5;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.4);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #4338ca;
}

/* Interactive Card active state */
.architecture-card.active {
  border-color: #6366f1;
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.18), 0 8px 10px -6px rgba(99, 102, 241, 0.1);
  transform: translateY(-4px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Tab indicator transition */
.tab-btn.active {
  background-color: #4f46e5;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Video Placeholder & Embed Frame */
.video-placeholder-container {
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at center, #1e1b4b 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.5), 0 0 25px -5px rgba(99, 102, 241, 0.25);
}

.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.6);
  animation: playPulse 2.2s infinite;
  transition: transform 0.2s ease;
}

.video-play-btn:hover {
  transform: scale(1.08);
}

@keyframes playPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  }
  70% {
    box-shadow: 0 0 0 22px rgba(99, 102, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

/* Software Checkbox / Radio Pill Cards (Warm Cream Theme) */
.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0.875rem;
  border: 1.5px solid #EBDDC8;
  background-color: #FAF7EE;
  color: #380E14;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.choice-card:hover {
  border-color: #58111A;
  color: #2A0E13;
  background-color: #F4EFE2;
}

.choice-card.active,
.choice-card:has(input:checked) {
  border-color: #58111A;
  background-color: #FFFFFF;
  color: #58111A;
  box-shadow: 0 4px 15px -3px rgba(88, 17, 26, 0.15);
}

.choice-card .check-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #C4B5A5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.2s ease;
}

.choice-card.active .check-indicator,
.choice-card:has(input:checked) .check-indicator {
  border-color: #58111A;
  background-color: #58111A;
  color: #FFFFFF;
}

/* Bottleneck Checkbox Cards (Warm Cream Theme) */
.bottleneck-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1.5px solid #EBDDC8;
  background-color: #FAF7EE;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.bottleneck-card:hover {
  border-color: #58111A;
  background-color: #F4EFE2;
  transform: translateY(-2px);
}

.bottleneck-card.active,
.bottleneck-card:has(input:checked) {
  border-color: #58111A;
  background-color: #FFFFFF;
  box-shadow: 0 4px 20px -3px rgba(88, 17, 26, 0.12);
}

.bottleneck-card .box-indicator {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #C4B5A5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.bottleneck-card.active .box-indicator,
.bottleneck-card:has(input:checked) .box-indicator {
  border-color: #58111A;
  background-color: #58111A;
  color: #FFFFFF;
}

/* Architecture Tier Cards (Warm Cream / Clean Card Styling) */
.architecture-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.architecture-card.active {
  border-color: #58111A !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 12px 30px rgba(88, 17, 26, 0.12);
}

/* Save Toast Notification */
#save-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  transform: translateY(150%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#save-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* FAQ Accordion */
.faq-item {
  border: 1.5px solid #EBDDC8;
  border-radius: 1rem;
  background-color: #ffffff;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: #58111A;
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 700;
  color: #2A0E13;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: #381014;
  font-size: 0.925rem;
  line-height: 1.65;
}

.faq-item.open .faq-content {
  max-height: 600px;
  padding-bottom: 1.35rem;
}


