:root {
  --nutri-bg-deep: #090f0e;
  --nutri-panel-surface: #111d1a;
  --nutri-brand-neon: #10b981;
  --nutri-brand-gold: #f59e0b;
  --nutri-text-pure: #f3f4f6;
  --nutri-text-fade: #9ca3af;
  --nutri-border-soft: 16px;
  
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--nutri-bg-deep);
  color: var(--nutri-text-pure);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Page Scroll Progress Bar */
@keyframes scroll-prog {
  from { width: 0%; }
  to { width: 100%; }
}
.nutri-top-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--nutri-brand-neon), var(--nutri-brand-gold));
  width: 0%;
  z-index: 9999;
  animation: scroll-prog linear;
  animation-timeline: scroll();
}

/* Custom Scroll-driven Entry Transitions */
@keyframes nutri-reveal-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nutri-reveal-active {
  animation: nutri-reveal-in both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

/* Navigation System Styles */
.nutri-head-bar {
  backdrop-filter: blur(12px);
  background: rgba(9, 15, 14, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nutri-director-linkage ul li a.nutri-anchor {
  color: var(--nutri-text-fade);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nutri-director-linkage ul li a.nutri-anchor:hover {
  color: var(--nutri-brand-neon);
}

.nutri-director-linkage ul li a.nutri-anchor::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--nutri-brand-neon);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nutri-director-linkage ul li a.nutri-anchor:hover::after {
  transform: scaleX(1);
}

/* Interactive CTA system */
.nutri-action-trigger {
  display: inline-block;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #051a14 !important;
  font-weight: 700;
  border-radius: var(--nutri-border-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.nutri-action-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  filter: brightness(1.1);
}

.nutri-trigger-ghost {
  display: inline-block;
  background: transparent;
  color: var(--nutri-brand-neon);
  border: 2px solid var(--nutri-brand-neon);
  font-weight: 700;
  border-radius: var(--nutri-border-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.75rem;
  transition: all 0.3s ease;
}

.nutri-trigger-ghost:hover {
  background: var(--nutri-brand-neon);
  color: #051a14;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* Responsive Mobile Navigation (CSS only) */
@media (max-width: 767px) {
  .nutri-director-linkage {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nutri-bg-deep);
    border-bottom: 2px solid var(--nutri-brand-neon);
    padding: 1.5rem;
  }
  
  #nutri-nav-toggle:checked ~ .nutri-director-linkage {
    display: block;
  }
  
  .nutri-director-linkage ul li {
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
  }
  
  .nutri-director-linkage ul li a.nutri-anchor::after {
    display: none;
  }
}

/* Hamburger transition mechanics */
.nutri-burger-trigger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.nutri-burger-trigger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--nutri-text-pure);
  transition: all 0.3s ease;
}

#nutri-nav-toggle:checked ~ .nutri-burger-trigger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#nutri-nav-toggle:checked ~ .nutri-burger-trigger span:nth-child(2) {
  opacity: 0;
}

#nutri-nav-toggle:checked ~ .nutri-burger-trigger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Feature Grid and Accordion Elements styling */
.nutri-diet-shield {
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nutri-diet-shield:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Input Fields Underline Interaction style */
.nutri-linear-input {
  transition: border-bottom-color 0.3s ease;
}

.nutri-linear-input:focus {
  border-bottom-color: var(--nutri-brand-neon) !important;
}

.nutri-linear-input::placeholder {
  color: rgba(156, 163, 175, 0.4);
}