/* =========================================================
   NutritionProstateCare Germany — Premium European Wellness Design System
   Palette: Deep Atlantic Sapphire, Glacier Mint & Sunset Coral
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Primary Brand: Deep Atlantic Sapphire & Navy */
  --color-primary-950: #0a192f;
  --color-primary-900: #0f2b48;
  --color-primary-800: #173d63;
  --color-primary-700: #1e4e7c;
  --color-primary-600: #2563eb;
  --color-primary-500: #3b82f6;

  /* Secondary: Fresh Glacier Mint */
  --color-mint-900: #064e3b;
  --color-mint-700: #0f766e;
  --color-mint-600: #0d9488;
  --color-mint-500: #14b8a6;
  --color-mint-100: #ccfbf1;
  --color-mint-50: #f0fdfa;

  /* High-Conversion Accent: Sunset Coral / Tangerine */
  --color-coral-600: #ea580c;
  --color-coral-500: #f97316;
  --color-coral-400: #fb923c;
  --color-coral-100: #ffedd5;

  /* Neutral Surface */
  --color-surface-bg: #f8fafc;
  --color-surface-card: #ffffff;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;

  /* Shadows */
  --shadow-subtle: 0 2px 4px 0 rgba(15, 43, 72, 0.04);
  --shadow-card: 0 10px 30px -10px rgba(15, 43, 72, 0.08), 0 4px 12px -2px rgba(15, 43, 72, 0.04);
  --shadow-hover: 0 20px 40px -12px rgba(15, 43, 72, 0.16), 0 8px 16px -4px rgba(15, 43, 72, 0.06);
  --shadow-glow-coral: 0 10px 25px -5px rgba(249, 115, 22, 0.35);
  --shadow-glow-blue: 0 10px 25px -5px rgba(37, 99, 235, 0.3);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-surface-bg);
  color: var(--color-slate-800);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-dark {
  background: rgba(15, 43, 72, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Buttons */
.btn-coral-glow {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow-coral);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-coral-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(234, 88, 12, 0.45);
  filter: brightness(1.05);
}

.btn-sapphire {
  background: linear-gradient(135deg, #0f2b48 0%, #173d63 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow-blue);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sapphire:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(15, 43, 72, 0.35);
  filter: brightness(1.08);
}

/* Cards */
.npc-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.npc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13, 148, 136, 0.3);
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-mint {
  background-color: var(--color-mint-50);
  color: var(--color-mint-700);
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.badge-sapphire {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-coral {
  background-color: var(--color-coral-100);
  color: var(--color-coral-600);
  border: 1px solid rgba(234, 88, 12, 0.25);
}

/* Floating Animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

/* Pulse Glow */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

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

/* Slide-over Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(15, 43, 72, 0.15);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #0f2b48;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(15, 43, 72, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  border-left: 4px solid var(--color-mint-500);
}

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

/* Quiz Steps */
.quiz-option-btn {
  transition: all 0.2s ease;
}
.quiz-option-btn:hover, .quiz-option-btn.selected {
  border-color: #0d9488;
  background-color: #f0fdfa;
  color: #0f2b48;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
