/* ==========================================
   RIVUR HEALTH MARKETING SITE - CUSTOM STYLES
   Nature-inspired, modern, trustworthy design
   ========================================== */

/* ==========================================
   ROOT VARIABLES - BRAND COLORS
   ========================================== */
:root {
  /* Primary Nature-Inspired Palette */
  --primary-green: #2D7A4F;
  --primary-green-dark: #1E5A3A;
  --primary-green-light: #42A068;
  
  --secondary-sage: #7A9D8F;
  --secondary-sage-light: #A4C2B5;
  
  --accent-willow: #9DC183;
  --accent-earth: #A67C52;
  --accent-sky: #6B9AC4;
  
  /* Neutral Tones */
  --bg-cream: #F8F6F3;
  --bg-white: #FFFFFF;
  --bg-light-sage: #F0F4F2;
  
  --text-dark: #2C3E35;
  --text-medium: #5A6B63;
  --text-light: #8A9B93;
  
  /* Semantic Colors */
  --success: #42A068;
  --warning: #D4A574;
  --error: #C75450;
  --info: #6B9AC4;
  
  /* Spacing & Sizing */
  --header-height: 80px;
  --footer-height: auto;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --box-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  
  /* Transitions */
  --transition-base: all 0.3s ease;
}

/* ==========================================
   GLOBAL STYLES
   ========================================== */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--primary-green-dark);
  text-decoration: none;
}

/* ==========================================
   HEADER STYLES
   ========================================== */
.site-header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
}

.site-header .navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand .brand-icon {
  font-size: 1.75rem;
  color: var(--accent-willow);
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--primary-green) !important;
}

.navbar-toggler {
  border: 2px solid var(--primary-green);
  padding: 0.5rem 0.75rem;
  order: 2; /* Push hamburger to the right */
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(45, 122, 79, 0.25);
}

/* Mobile Navigation Collapse Menu */
.navbar-collapse {
  order: 3;
}

@media (max-width: 991.98px) {
  .site-header {
    height: auto;
    min-height: var(--header-height);
  }

  .site-header .navbar {
    flex-wrap: wrap;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--bg-light-sage);
    padding: 1rem;
    z-index: 1000;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .navbar-collapse .navbar-nav {
    padding: 0.5rem 0;
  }

  .navbar-collapse .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: var(--border-radius);
  }

  .navbar-collapse .nav-link:hover {
    background-color: var(--bg-light-sage);
  }

  .navbar-collapse .header-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-light-sage);
    margin-top: 0.5rem;
  }

  .navbar-collapse .header-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .navbar-collapse .user-profile-header {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 0;
  }
}

/* Header CTA Buttons */
.header-cta-group {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* User Profile in Header */
.user-profile-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.user-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.user-tier-badge {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 12px;
  background-color: var(--bg-light-sage);
  color: var(--primary-green);
  font-weight: 600;
}

.user-tier-badge.subscribed {
  background-color: var(--accent-willow);
  color: var(--bg-white);
}

/* ==========================================
   BUTTON STYLES
   ========================================== */
.btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--primary-green-dark);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
  background-color: var(--primary-green);
  color: var(--bg-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-light);
}

.btn-outline:hover {
  background-color: var(--text-dark);
  color: var(--bg-white);
  border-color: var(--text-dark);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background-color: var(--primary-green);
    color: var(--bg-white);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  background: linear-gradient(135deg, var(--bg-light-sage) 0%, var(--bg-cream) 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(157, 193, 131, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subheadline {
  font-size: 1.5rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
}

/* ==========================================
   SECTION STYLES
   ========================================== */
.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--bg-white);
}

.section-cream {
  background-color: var(--bg-cream);
}

.section-sage {
  background-color: var(--bg-light-sage);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================
   CARD COMPONENTS
   ========================================== */
.card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition-base);
  border: none;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-lg);
}

.card-icon {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-medium);
  margin-bottom: 0;
}

/* AI Assistant Cards */
.ai-assistant-card {
  text-align: center;
  padding: 2.5rem;
}

.ai-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--accent-willow) 0%, var(--secondary-sage) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--bg-white);
  box-shadow: var(--box-shadow);
}

.ai-avatar.dr-willow {
  background: linear-gradient(135deg, var(--accent-willow) 0%, var(--primary-green) 100%);
}

.ai-avatar.research {
  background: linear-gradient(135deg, var(--accent-sky) 0%, var(--secondary-sage) 100%);
}

.ai-avatar.qa {
  background: linear-gradient(135deg, var(--accent-earth) 0%, var(--secondary-sage-light) 100%);
}

.ai-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.ai-role {
  font-size: 1rem;
  color: var(--text-medium);
  font-style: italic;
  margin-bottom: 1rem;
}

.ai-description {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Feature Cards */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--bg-light-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  color: var(--primary-green);
}

/* ==========================================
   PRICING TABLE
   ========================================== */
.pricing-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.pricing-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--box-shadow-lg);
  flex: 1;
  max-width: 400px;
  min-width: 300px;
  text-align: center;
  position: relative;
  transition: var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border: 3px solid var(--primary-green);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-willow);
  color: var(--bg-white);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.875rem;
}

.pricing-tier {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--text-medium);
  border-bottom: 1px solid var(--bg-light-sage);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .check-icon {
  color: var(--success);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.pricing-features .cross-icon {
  color: var(--text-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ==========================================
   EVIDENCE PREFERENCE SELECTOR
   ========================================== */
.evidence-preference-selector {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.evidence-option {
  background-color: var(--bg-white);
  border: 2px solid var(--text-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition-base);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.evidence-option:hover {
  border-color: var(--primary-green);
  box-shadow: var(--box-shadow);
}

.evidence-option.selected {
  border-color: var(--primary-green);
  background-color: var(--bg-light-sage);
}

.evidence-option input[type="radio"] {
  margin-top: 0.25rem;
  width: 20px;
  height: 20px;
  accent-color: var(--primary-green);
}

.evidence-option-content {
  flex: 1;
}

.evidence-option-title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.evidence-option-description {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-sage);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-weight: 600;
  padding: 1.5rem;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-base);
}

.accordion-button:hover {
  background-color: var(--bg-light-sage);
}

.accordion-button:not(.collapsed) {
  background-color: var(--bg-light-sage);
  color: var(--primary-green);
}

/*
.accordion-button::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition-base);
}

.accordion-button:not(.collapsed)::after {
  content: '?';
}
*/
.accordion-body {
  padding: 1.5rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonial-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-size: 1.125rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent-willow);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
.site-footer {
  background-color: var(--text-dark);
  color: var(--bg-light-sage);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-willow);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-tagline {
  color: var(--secondary-sage-light);
  margin-bottom: 2rem;
}

.footer-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--secondary-sage-light);
  transition: var(--transition-base);
}

.footer-links a:hover {
  color: var(--accent-willow);
  padding-left: 0.25rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: var(--transition-base);
  font-size: 1.25rem;
}

.social-icon:hover {
  background-color: var(--accent-willow);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--secondary-sage);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: var(--secondary-sage-light);
  font-size: 0.9rem;
}

/* ==========================================
   FORMS
   ========================================== */
.form-control,
.form-select {
  border: 2px solid var(--text-light);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition-base);
  height: auto;
  background-color: var(--bg-white);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(45, 122, 79, 0.25);
  outline: none;
}

.form-select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%235A6B63' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  appearance: none;
}

/* Small form controls for ingredient rows */
.form-control-sm,
.form-select-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 2px solid var(--text-light);
  border-radius: var(--border-radius);
}

.form-select-sm {
  padding-right: 2rem;
  background-position: right 0.5rem center;
}

/* Input Group Styling - ensure consistent height and borders */
.input-group .form-control,
.input-group .form-select {
  border: 2px solid var(--text-light);
}

.input-group .form-control:focus,
.input-group .form-select:focus {
  border-color: var(--primary-green);
  z-index: 3;
}

/* Fix input-group border radius */
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: -2px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-control,
.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* Input group with small size - match standard form control height */
.input-group-sm .form-control,
.input-group-sm .form-select {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--text-light);
  border-radius: var(--border-radius);
}

.input-group-sm .form-select {
  padding-right: 2.5rem;
}

/* First item in input group */
.input-group > .form-control:first-child,
.input-group > .form-select:first-child {
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
}

/* Last item in input group */
.input-group > .form-control:last-child,
.input-group > .form-select:last-child {
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-text {
  color: var(--text-medium);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ==========================================
   BADGES & PILLS
   ========================================== */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-block;
}

.badge-primary {
  background-color: var(--primary-green);
  color: var(--bg-white);
}

.badge-secondary {
  background-color: var(--secondary-sage);
  color: var(--bg-white);
}

.badge-success {
  background-color: var(--success);
  color: var(--bg-white);
}

.badge-warning {
  background-color: var(--warning);
  color: var(--bg-white);
}

/* ==========================================
   UTILITIES
   ========================================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 992px) {
  .hero-headline {
    font-size: 2.5rem;
  }
  
  .hero-subheadline {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 2rem;
  }
  
  .hero-subheadline {
    font-size: 1.125rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .header-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .ai-assistant-card {
    padding: 1.5rem;
  }
  
  .pricing-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-green);
  color: var(--bg-white);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
  .site-header,
  .site-footer,
  .hero-cta-group,
  .btn {
    display: none;
  }
  
  body {
    background-color: white;
    color: black;
  }
}

/* ==========================================
   WELLNESS DASHBOARD STYLES
   ========================================== */

/* Dashboard Section */
.dashboard-section {
  padding: 2rem 0 4rem;
  background-color: var(--bg-cream);
  min-height: calc(100vh - var(--header-height) - 200px);
}

/* Dashboard Header */
.dashboard-header {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.dashboard-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-green);
  box-shadow: var(--box-shadow);
}

.dashboard-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-greeting {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.25rem;
}

.dashboard-email {
  font-size: 0.95rem;
}

.dashboard-profile-progress {
  text-align: right;
}

/* Dashboard Tabs Container */
.dashboard-tabs-container {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

/* Dashboard Tabs (Desktop) */
.dashboard-tabs {
  border-bottom: 2px solid var(--bg-light-sage);
  padding: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.dashboard-tabs .nav-item {
  flex-shrink: 0;
}

.dashboard-tabs .nav-link {
  color: var(--text-medium);
  border: none;
  border-bottom: 3px solid transparent;
  padding: 1rem 1.25rem;
  font-weight: 500;
  transition: var(--transition-base);
  white-space: nowrap;
  border-radius: 0;
  margin-bottom: -2px;
}

.dashboard-tabs .nav-link:hover {
  color: var(--primary-green);
  background-color: var(--bg-light-sage);
  border-bottom-color: var(--secondary-sage);
}

.dashboard-tabs .nav-link.active {
  color: var(--primary-green);
  background-color: transparent;
  border-bottom-color: var(--primary-green);
  font-weight: 600;
}

.dashboard-tabs .nav-link i {
  font-size: 1.1rem;
}

/* Dashboard Mobile Dropdown */
.dashboard-mobile-dropdown .dropdown-toggle {
  padding: 1rem 1.25rem;
  font-weight: 600;
  border-radius: var(--border-radius);
}

.dashboard-mobile-dropdown .dropdown-toggle::after {
  display: none;
}

.dashboard-mobile-dropdown .dropdown-menu {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-lg);
  border: 1px solid var(--bg-light-sage);
  padding: 0.5rem 0;
}

.dashboard-mobile-dropdown .dropdown-item {
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition-base);
}

.dashboard-mobile-dropdown .dropdown-item:hover {
  background-color: var(--bg-light-sage);
  color: var(--primary-green);
}

.dashboard-mobile-dropdown .dropdown-item.active {
  background-color: var(--primary-green);
  color: var(--bg-white);
}

.dashboard-mobile-dropdown .dropdown-item i {
  width: 24px;
}

/* Dashboard Tab Content */
.dashboard-tab-content {
  padding: 2rem;
  min-height: 400px;
}

.tab-content-inner {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Tab Loading State */
.tab-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

/* Coming Soon Container */
.coming-soon-container {
  max-width: 500px;
  margin: 0 auto;
}

.coming-soon-icon {
  opacity: 0.7;
}

/* Dashboard Responsive */
@media (max-width: 991px) {
  .dashboard-header {
    padding: 1.5rem;
  }
  
  .dashboard-avatar {
    width: 60px;
    height: 60px;
  }
  
  .dashboard-greeting {
    font-size: 1.5rem;
  }
  
  .dashboard-profile-progress {
    text-align: left;
    margin-top: 1rem;
  }
  
  .dashboard-profile-progress .progress {
    width: 100% !important;
  }
}

@media (max-width: 576px) {
  .dashboard-section {
    padding: 1rem 0 2rem;
  }
  
  .dashboard-header {
    padding: 1rem;
  }
  
  .dashboard-greeting {
    font-size: 1.25rem;
  }
  
  .dashboard-tab-content {
    padding: 1.5rem 1rem;
  }
}