/* VitaminEnergyFlow - Human-Crafted Modern Authority Theme */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Newsreader', 'Merriweather', 'Georgia', serif;
  --color-brand-primary: #0f3a2f;
  --color-brand-accent: #10b981;
  --color-brand-dark: #0a231c;
  --color-brand-light: #f4f7f5;
  --color-warm-bg: #faf9f6;
  --color-text-main: #1f2937;
  --color-text-muted: #4b5563;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-serif-title {
  font-family: var(--font-serif);
}

/* Reading Progress Bar */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #047857);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

.pulse-badge {
  animation: pulseGlow 2.5s infinite;
}

/* Card Hover Effects */
.editorial-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.editorial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 58, 47, 0.12);
  border-color: #cbd5e1;
}

/* Interactive Calculator Tabs */
.calc-tab-btn.active {
  background-color: #0f3a2f;
  color: #ffffff;
  border-color: #0f3a2f;
}

/* Accordion transition */
.accordion-content {
  transition: max-height 0.35s ease-out, opacity 0.3s ease;
}

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

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
}
