/* Corazón de Colibrí - Design System & Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Color Tokens */
  --color-primary: #0F766E;        /* Deep Teal */
  --color-primary-light: #14B8A6;  /* Bright Turquoise */
  --color-primary-dark: #0D5D56;   /* Dark Teal */
  --color-accent: #E11D48;         /* Rose / Magenta */
  --color-accent-hover: #BE123C;   /* Deep Magenta */
  --color-magenta-light: #FCE7F3;  /* Soft Magenta Tint */
  --color-violet: #8B5CF6;         /* Soft Violet */
  --color-violet-light: #EDE9FE;   /* Violet Tint */
  --color-leaf: #10B981;           /* Leaf Green */

  /* Neutral Surface Colors */
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-dark: #0F172A;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --border-light: #E2E8F0;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 4px rgba(15, 118, 110, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 118, 110, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(15, 118, 110, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(225, 29, 72, 0.25);
  --shadow-teal-glow: 0 0 25px rgba(20, 184, 166, 0.25);
}

/* Base Styles */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Glassmorphism Utilities */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Keyframe Animations */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(225, 29, 72, 0.8);
  }
}

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

@keyframes progressShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

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

.animate-slide-up {
  animation: slideInUp 0.5s ease-out forwards;
}

/* Custom Progress Bar Styling */
.progress-bar-bg {
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #14B8A6 0%, #0F766E 70%, #E11D48 100%);
  background-size: 200% 100%;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: progressShimmer 2.5s infinite;
}

/* Badge & Category Tab Styles */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.tab-btn {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}

/* Product Card Styling */
.product-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #E2E8F0;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px rgba(15, 118, 110, 0.15);
  border-color: var(--color-primary-light);
}

/* Floating Toast Notification */
.social-proof-toast {
  position: fixed;
  bottom: 85px;
  left: 20px;
  z-index: 40;
  max-width: 340px;
  transition: all 0.5s ease;
}

@media (min-width: 768px) {
  .social-proof-toast {
    bottom: 24px;
    left: 24px;
  }
}

/* Accordion FAQs */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.25s ease-out;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
}

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

/* SVG Logo Styling */
.logo-hummingbird {
  transition: transform 0.3s ease;
}
.logo-hummingbird:hover {
  transform: scale(1.05);
}

/* Category Group Navigation & Badges */
.group-tab-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.group-tab-card:hover {
  transform: translateY(-2px);
}

.group-tab-card.active {
  border-color: var(--color-primary);
  background-color: #F0FDF4;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.15);
}

.badge-group-1 {
  background-color: #CCFBF1;
  color: #0F766E;
  border: 1px solid #99F6E4;
}

.badge-group-2 {
  background-color: #F3E8FF;
  color: #6B21A8;
  border: 1px solid #E9D5FF;
}

.badge-group-3 {
  background-color: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

/* Category Divider Headers */
.category-group-header {
  scroll-margin-top: 100px;
}

/* Optgroup Styling in Select Dropdowns */
optgroup {
  font-weight: 800;
  color: #0F766E;
  background-color: #F8FAFC;
  padding: 8px 4px;
}

optgroup option {
  font-weight: 500;
  color: #1E293B;
  background-color: #FFFFFF;
  padding: 6px 12px;
}

/* Modal animation & backdrop */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
}

