/* NutriWave Main Styles */
/* Component-specific styles for the website */

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 100;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

.nav-brand .nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  text-decoration: none;
}

.logo-emoji {
  font-size: var(--font-2xl);
}

.logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--health-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--health-primary);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  height: 40px;
  width: 40px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  min-height: 80vh;
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-size: var(--font-6xl);
  font-weight: var(--font-bold);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: var(--font-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: var(--font-2xl);
  font-weight: var(--font-bold);
  color: var(--health-primary);
}

.stat-label {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  max-width: 300px;
  width: 100%;
}

.app-screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: var(--font-4xl);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--font-xl);
  color: var(--text-secondary);
}

/* Features Overview */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl);
}

.feature-icon {
  margin-bottom: var(--space-lg);
}

.feature-icon .icon {
  font-size: var(--font-5xl);
  display: block;
}

.feature-title {
  font-size: var(--font-2xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.feature-description {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.feature-list {
  list-style: none;
  text-align: left;
}

.feature-list li {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: var(--space-lg);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--health-success);
  font-weight: var(--font-bold);
}

/* How It Works */
.steps-grid {
  display: grid;
  gap: var(--space-3xl);
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-2xl);
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-base);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--health-primary);
  color: var(--neutral-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-2xl);
  font-weight: var(--font-bold);
  flex-shrink: 0;
}

.step-content {
  max-width: 400px;
}

.step-title {
  font-size: var(--font-2xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.step-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-image {
  max-width: 200px;
  flex-shrink: 0;
}

.step-screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Pricing Overview */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.pricing-card {
  position: relative;
  text-align: center;
  padding: var(--space-2xl);
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--health-primary);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--health-primary);
  color: var(--neutral-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--font-sm);
  font-weight: var(--font-semibold);
}

.pricing-header {
  margin-bottom: var(--space-xl);
}

.pricing-title {
  font-size: var(--font-2xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-sm);
}

.price-amount {
  font-size: var(--font-4xl);
  font-weight: var(--font-bold);
  color: var(--health-primary);
}

.price-period {
  font-size: var(--font-lg);
  color: var(--text-tertiary);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-xl);
  text-align: left;
}

.pricing-features li {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
}

.pricing-note {
  text-align: center;
  color: var(--text-tertiary);
  font-size: var(--font-sm);
}

/* Download Section */
.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.download-title {
  font-size: var(--font-4xl);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.download-subtitle {
  font-size: var(--font-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.download-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.download-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.feature-check {
  color: var(--health-success);
  font-weight: var(--font-bold);
  font-size: var(--font-lg);
}

.download-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.app-store-btn,
.google-play-btn {
  display: block;
  transition: transform 0.2s ease;
}

.app-store-btn:hover,
.google-play-btn:hover {
  transform: scale(1.05);
}

.store-badge {
  height: 60px;
  width: auto;
}

.qr-code {
  text-align: center;
  margin-top: var(--space-lg);
}

.qr-image {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);
}

.qr-text {
  margin-top: var(--space-sm);
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

/* Footer */
.footer {
  background: var(--neutral-900);
  color: var(--text-inverse);
  padding: var(--space-3xl) 0 var(--space-xl) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-md);
}

.footer-tagline {
  color: var(--neutral-300);
  font-size: var(--font-lg);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-title {
  font-size: var(--font-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-lg);
  color: var(--text-inverse);
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: var(--space-sm);
}

.footer-link {
  color: var(--neutral-300);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--health-primary);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-700);
  padding-top: var(--space-xl);
  text-align: center;
}

.footer-copyright {
  color: var(--neutral-500);
  font-size: var(--font-sm);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .download-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .step-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .step-image {
    max-width: 250px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--neutral-200);
    padding: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-content {
    padding: var(--space-lg) var(--space-md);
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: var(--font-5xl);
    margin-bottom: var(--space-md);
  }
  
  .hero-subtitle {
    font-size: var(--font-lg);
    margin-bottom: var(--space-xl);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .nav-actions {
    margin-right: var(--space-sm);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--font-4xl);
    padding: 0 var(--space-md);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: var(--font-lg);
    padding: 0 var(--space-md);
  }
  
  .hero-text {
    padding: 0 var(--space-md);
  }
  
  .section-title {
    font-size: var(--font-3xl);
  }
  
  .nav-actions {
    margin-right: var(--space-md);
  }
  
  .section-subtitle {
    font-size: var(--font-lg);
  }
  
  .feature-card,
  .pricing-card {
    padding: var(--space-lg);
  }
  
  .step-card {
    padding: var(--space-lg);
  }
  
  .download-buttons {
    align-items: stretch;
  }
  
  .store-badge {
    height: 50px;
  }
}

/* Animation and Interactions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll-triggered animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Focus management for accessibility *//*
 Pricing Toggle Styles */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.toggle-label {
  font-size: var(--font-md);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary-500);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.savings-badge {
  background: var(--primary-100);
  color: var(--primary-600);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  font-weight: var(--font-medium);
  margin-left: var(--space-xs);
}

.toggle-label:last-child {
  color: var(--text-primary);
}/* Pric
ing Toggle Styles */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.toggle-label {
  font-size: 16px;
  font-weight: 500;
  color: #666;
  user-select: none;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: all 0.4s ease;
  border-radius: 34px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: all 0.4s ease;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch:hover .toggle-slider {
  background-color: #bbb;
}

input:checked + .toggle-slider {
  background-color: #4CAF50;
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

input:focus + .toggle-slider {
  box-shadow: 0 0 1px #4CAF50;
}

.savings-badge {
  background: #e8f5e8;
  color: #2d5a2d;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}

.toggle-label:last-child {
  color: #333;
}
/* Pr
icing Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.toggle-label {
  font-size: 16px;
  font-weight: 500;
  color: #666;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.savings-badge {
  background: #e8f5e8;
  color: #2d5a2d;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}/* G
oogle Play Coming Soon Styles */
.google-play-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.coming-soon-text {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  margin: 0;
  text-align: center;
  opacity: 0.8;
}

.google-play-btn {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.google-play-btn:hover {
  opacity: 0.5;
}