/* MusyaOm WELLNESS - Modern Design System */
:root {
  --primary: #0F766E;
  --primary-hover: #0D9488;
  --primary-light: #CCFBF1;
  --primary-dark: #115E59;
  --bg-main: #FAF9F6;
  --bg-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --gold: #D97706;
  --gold-light: #FEF3C7;
  --coral: #E11D48;
  --coral-light: #FFE4E6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 118, 110, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(15, 118, 110, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Alfa Theme: Brand Palette (Pink #F7A2C3, Burgundy #650020, Orange #F16323) */
body.theme-alfa {
  --primary: #650020;             /* Burgundy as primary noble color */
  --primary-hover: #4e0019;
  --primary-light: #fce7f0;       /* Soft pink tint */
  --primary-dark: #380012;
  --alfa-orange: #F16323;         /* Energy Orange for CTAs & highlights */
  --alfa-orange-hover: #d95318;
  --alfa-pink: #F7A2C3;           /* Gentle Blossom Pink */
  --alfa-pink-light: #fef2f7;
  --alfa-burgundy: #650020;       /* Deep Burgundy / Wine */
  --bg-main: #FCF9F7;             /* Warm velvet cream background */
  --bg-card: #FFFFFF;
  --text-main: #2A0914;           /* Deep wine-charcoal text */
  --text-muted: #7E5F6B;
  --border: #F1DEE6;
  --shadow-md: 0 4px 16px -2px rgba(101, 0, 32, 0.08), 0 2px 4px -2px rgba(241, 99, 35, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(101, 0, 32, 0.14), 0 4px 6px -2px rgba(241, 99, 35, 0.06);
}

body.theme-alfa .btn-primary {
  background: linear-gradient(135deg, #F16323 0%, #D9480F 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(241, 99, 35, 0.35) !important;
  border: none !important;
}

body.theme-alfa .btn-primary:hover {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(241, 99, 35, 0.45) !important;
}

body.theme-alfa .btn-orange {
  background: linear-gradient(135deg, #F16323 0%, #D9480F 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(241, 99, 35, 0.35) !important;
  border: none !important;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.theme-alfa .btn-orange:hover {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(241, 99, 35, 0.45) !important;
}

/* Button in color of Annual VIP price: #78350F / #B45309 warm amber-gold */
body.theme-alfa .btn-vip-price {
  background: linear-gradient(135deg, #B45309 0%, #78350F 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(120, 53, 15, 0.35) !important;
  border: none !important;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.theme-alfa .btn-vip-price:hover {
  background: linear-gradient(135deg, #D97706 0%, #92400E 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(120, 53, 15, 0.45) !important;
}

/* Target any leftover dark green / teal buttons */
body.theme-alfa button.bg-teal-600,
body.theme-alfa button.bg-teal-700,
body.theme-alfa button.bg-brand-700,
body.theme-alfa a.bg-teal-600,
body.theme-alfa a.bg-teal-700,
body.theme-alfa .bg-teal-600 {
  background-color: #F16323 !important;
  border-color: #F16323 !important;
}

body.theme-alfa button.bg-teal-800 {
  background-color: #650020 !important;
}

body.theme-alfa .btn-outline {
  color: #650020;
  border-color: #650020;
}

body.theme-alfa .btn-outline:hover {
  background-color: #FCE7F0;
  border-color: #650020;
  color: #650020;
}

body.theme-alfa .badge-tag {
  background: #FCE7F0;
  color: #650020;
  border: 1px solid #F7A2C3;
}

body.theme-alfa .badge-vip {
  background: linear-gradient(135deg, #650020 0%, #4E0019 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(101, 0, 32, 0.3);
}

body.theme-alfa .header-glass {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(241, 222, 230, 0.9);
}

body.theme-alfa .bottom-nav-pwa {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(241, 222, 230, 0.9);
}

body.theme-alfa .bottom-tab.active {
  color: #F16323;
}

body.theme-alfa .form-input:focus {
  border-color: #F16323;
  box-shadow: 0 0 0 3px rgba(241, 99, 35, 0.15);
}

body.theme-alfa .card-wellness {
  border-color: #F1DEE6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Space for mobile bottom bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header & Nav */
.header-glass {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 40;
}

/* Offset for fixed/sticky header when clicking in-page anchor links */
section[id], div[id] {
  scroll-margin-top: 100px;
}

.container-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Custom buttons */
.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 9px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--primary-light);
}

.btn-gold {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
  transition: all 0.2s ease;
}

.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Cards */
.card-wellness {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-wellness:hover {
  box-shadow: var(--shadow-lg);
}

/* Badges */
.badge-vip {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  color: #92400E;
  border: 1px solid #FDE68A;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-free {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-tag {
  background: #F1F5F9;
  color: #475569;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
}

/* Mobile Bottom Navigation */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 8px 12px;
  z-index: 50;
}

@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  gap: 3px;
  transition: color 0.15s;
}

.bottom-tab.active, .bottom-tab:hover {
  color: var(--primary);
  font-weight: 600;
}

/* Floating Founder Chat Pill & Modal */
.floating-chat-trigger {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 45;
}

@media (min-width: 768px) {
  .floating-chat-trigger {
    bottom: 24px;
    right: 24px;
  }
}

.chat-bubble-btn {
  background: var(--primary);
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.35);
  cursor: pointer;
  border: 2px solid white;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-bubble-btn:hover {
  transform: scale(1.08);
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
}

/* Custom form inputs */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
  background: #FFFFFF;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

/* Range slider for bonuses */
.bonus-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #E2E8F0;
  outline: none;
}

.bonus-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.4);
}

/* Pulse animation for live founder indicator */
@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-indicator {
  width: 9px;
  height: 9px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite ease-in-out;
}
