/* Sound Nutrition Website Styles */

body {
  font-family: "Noto Serif", serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, rgba(0,255,0,0.2), #ffffff);
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  background: transparent;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

header nav {
  white-space: nowrap;
}

header nav a {
  margin-left: 1.5em;
  text-decoration: none;
  color: #00A651;
}

.brand {
  font-size: 1.5em;
  color: #00A651;
  font-weight: normal;
  text-decoration: none;
  white-space: nowrap;
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #00A651;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile navigation */
.nav-mobile {
  position: absolute;
  top: 100%;
  right: 0;
  width: auto;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  padding: 1em 0;
  border-radius: 8px;
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile a {
  padding: 1em 2em;
  text-decoration: none;
  color: #00A651;
  text-align: right;
  border-bottom: 1px solid rgba(0, 166, 81, 0.1);
  white-space: nowrap;
}

.nav-mobile a:hover {
  background: rgba(0, 166, 81, 0.05);
}

/* Home page hero section */
.hero {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  padding: 3em 1em;
  text-align: center;
}

.hero-content {
  max-width: 600px;
}

.screenshots-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  margin-bottom: 2em;
}

.hero img.screenshot {
  width: 300px;
  /* transform: perspective(800px) rotateY(-10deg); */
}

.hero img.watch-screenshot {
  width: 200px;
}

.hero img.icon {
  width: 100px;
  margin: 0 auto 1em auto;
  border-radius: 20px;
  display: block;
}

.download-buttons img {
  height: 50px;
  margin: 0.5em;
}

/* Features section */
.features {
  padding: 2em 1.5em;
  max-width: 800px;
  margin: 0 auto;
}

.features h2 {
  color: #00A651;
  margin-bottom: 1em;
}

.features ul {
  list-style: disc;
  padding-left: 1.5em;
}

/* Content pages styling */
.content {
  max-width: 800px;
  margin: 2em auto;
  padding: 0 1em;
}

h1 {
  color: #00A651;
}

/* Footer */
footer {
  background: transparent;
  padding: 2em 1em;
  font-size: 0.9em;
  border-top: 1px solid #e0e0e0;
  margin-top: 2em;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
  color: #666;
}

.footer-column h3 {
  font-size: 1em;
  margin-bottom: 1em;
  color: #333;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5em;
}

.footer-column a {
  text-decoration: none;
  color: #666;
}

.footer-column a:hover {
  color: #00A651;
}

.footer-brand {
  text-align: right;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0.5em;
}

.footer-brand .logo img {
  width: 30px;
  height: 30px;
  margin-right: 0.5em;
  border-radius: 6px;
}

.footer-brand .tagline {
  color: #666;
  margin-bottom: 1em;
}

.footer-copyright {
  text-align: center;
  margin-top: 2em;
  padding-top: 2em;
  border-top: 1px solid #e0e0e0;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 1em;
}

.footer-social a {
  color: #666;
  text-decoration: none;
  font-size: 1.2em;
}

.footer-social a:hover {
  color: #00A651;
}

/* Jobs page specific styles */
.jobs-message {
  font-size: 1.1em;
  margin: 2em 0;
  padding: 2em;
  background: transparent;
  border-radius: 8px;
  text-align: center;
}

.last-updated {
  color: #666;
  font-size: 0.9em;
  margin-top: 2em;
}

/* Media queries for responsive design */
@media (max-width: 1010px) {
  header {
    position: relative;
  }
  
  .hamburger {
    display: flex;
  }
  
  header nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
  }
  .footer-copyright {
    flex-direction: column;
    gap: 1em;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-brand .logo {
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    align-items: center;
    gap: 5em;
  }
  .hero-content {
    padding-right: 2em;
  }
  .screenshots-container {
    flex-direction: row;
    align-items: flex-end;
    gap: 1.5em;
  }
}

/* Child Development Page Styles */
.child-development-hero {
  background: linear-gradient(135deg, rgba(0,166,81,0.1), rgba(0,166,81,0.05));
  padding: 2em;
  border-radius: 12px;
  margin: 2em 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2em;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #00A651;
  display: block;
}

.stat-text {
  font-size: 0.9em;
  color: #666;
  margin-top: 0.5em;
}

.success-story {
  background: #f9f9f9;
  padding: 2em;
  border-radius: 8px;
  margin: 4em 0;
  border-left: 4px solid #00A651;
}

.success-story blockquote {
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.6;
  margin: 0;
  color: #333;
}

.success-story cite {
  display: block;
  margin-top: 1em;
  color: #00A651;
  font-weight: bold;
}

.nutrition-brain-connection {
  margin: 3em 0;
}

.science-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.science-point {
  text-align: center;
  padding: 1.5em;
  border-radius: 8px;
  background: rgba(0,166,81,0.05);
}

.science-point i {
  font-size: 2.5em;
  color: #00A651;
  margin-bottom: 1em;
}

.science-point h3 {
  color: #00A651;
  margin-bottom: 1em;
}

.app-benefits {
  margin: 3em 0;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
  margin-top: 2em;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  padding: 1em;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.benefit-item i {
  font-size: 1.5em;
  color: #00A651;
  margin-top: 0.2em;
  flex-shrink: 0;
}

.benefit-item h3 {
  color: #00A651;
  margin: 0 0 0.5em 0;
  font-size: 1.1em;
}

.benefit-item p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.5;
}

.key-nutrients {
  margin: 3em 0;
}

.nutrients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1em;
  margin-top: 2em;
}

.nutrient-card {
  background: #fff;
  padding: 1.5em;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-top: 3px solid #00A651;
}

.nutrient-card h4 {
  color: #00A651;
  margin: 0 0 1em 0;
  font-size: 1.1em;
}

.nutrient-card p {
  margin: 0;
  font-size: 0.85em;
  color: #666;
  line-height: 1.4;
}

.cta-section {
  background: linear-gradient(135deg, #00A651, rgba(0,166,81,0.8));
  color: white;
  padding: 3em 2em;
  border-radius: 12px;
  text-align: center;
  margin: 3em 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1em;
}

.cta-section p {
  font-size: 1.1em;
  margin-bottom: 2em;
  opacity: 0.9;
}

.sources-link {
  text-align: center;
  margin: 2em 0;
  padding: 1em;
  background: #f8f9fa;
  border-radius: 8px;
}

.sources-link a {
  color: #00A651;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

.sources-link a:hover {
  text-decoration: underline;
}

/* Responsive adjustments for child development page */
@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
  
  .stat-number {
    font-size: 2em;
  }
  
  .science-points {
    grid-template-columns: 1fr;
  }
  
  .benefit-list {
    grid-template-columns: 1fr;
  }
  
  .nutrients-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .cta-section {
    padding: 2em 1em;
  }
}

@media (max-width: 480px) {
  .nutrients-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .benefit-item {
    flex-direction: column;
    text-align: center;
  }
  
  .success-story {
    padding: 1.5em;
  }
}

/* Sources Page Styles */
.disclaimer {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1.5em;
  margin: 2em 0;
}

.disclaimer p {
  margin: 0;
  color: #856404;
  line-height: 1.6;
}

.sources-content {
  margin: 2em 0;
}

.source-category {
  margin: 3em 0;
}

.source-category h3 {
  color: #00A651;
  border-bottom: 2px solid #00A651;
  padding-bottom: 0.5em;
  margin-bottom: 1.5em;
}

.sources-list {
  list-style: none;
  padding: 0;
}

.sources-list li {
  background: #f8f9fa;
  margin: 1.5em 0;
  padding: 1.5em;
  border-radius: 8px;
  border-left: 4px solid #00A651;
}

.sources-list li strong {
  color: #00A651;
  font-size: 1.1em;
}

.sources-list a {
  color: #0066cc;
  text-decoration: none;
  word-break: break-all;
}

.sources-list a:hover {
  text-decoration: underline;
}

.sources-list em {
  color: #666;
  font-style: italic;
  display: block;
  margin-top: 0.5em;
}

.methodology-note {
  background: #e8f4fd;
  border: 1px solid #bee5eb;
  border-radius: 8px;
  padding: 2em;
  margin: 3em 0;
}

.methodology-note h3 {
  color: #0c5460;
  margin-top: 0;
}

.methodology-note ul {
  padding-left: 1.5em;
}

.methodology-note li {
  margin: 0.5em 0;
  line-height: 1.6;
}

.app-disclaimer {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 2em;
  margin: 3em 0;
}

.app-disclaimer h3 {
  color: #00A651;
  margin-top: 0;
}

.last-updated {
  text-align: center;
  color: #666;
  font-size: 0.9em;
  margin: 3em 0;
  padding: 1em;
  border-top: 1px solid #e0e0e0;
}

/* Responsive adjustments for sources page */
@media (max-width: 768px) {
  .disclaimer {
    padding: 1em;
  }
  
  .methodology-note {
    padding: 1.5em;
  }
  
  .app-disclaimer {
    padding: 1.5em;
  }
  
  .sources-list li {
    padding: 1em;
  }
}

/* Preventative Health Marketing Page Styles */
.hero-section {
  text-align: center;
  padding: 3em 2em;
  background: linear-gradient(135deg, rgba(0,166,81,0.1), rgba(0,166,81,0.05));
  border-radius: 12px;
  margin: 2em 0;
}

.hero-section h1 {
  font-size: 2.5em;
  color: #00A651;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3em;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.benefits-section {
  margin: 4em 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.benefit-card {
  background: #fff;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card h3 {
  font-size: 1.3em;
  color: #333;
  margin-bottom: 1em;
}

.benefit-card p {
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.benefit-card strong {
  color: #00A651;
}

.how-it-works {
  margin: 4em 0;
  padding: 3em 2em;
  background: #f8f9fa;
  border-radius: 12px;
}

.comparison-section {
  margin: 4em 0;
}

.myplate-section {
  margin: 4em 0;
}

/* Weight Loss Page Specific Styles */
.weight-loss-hero {
  margin: 4em 0;
}

.why-it-works {
  margin: 4em 0;
}

.app-solution {
  margin: 4em 0;
}

.weight-loss-slideshow {
  margin: 4em 0;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5em;
  margin-top: 2em;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #00A651;
  color: white;
  border-radius: 50%;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 1em;
}

.step h3 {
  color: #00A651;
  margin-bottom: 1em;
}

.step p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.testimonial-preview {
  text-align: center;
  padding: 3em 2em;
  background: rgba(0,166,81,0.05);
  border-radius: 12px;
  margin: 4em 0;
}

.testimonial-preview blockquote {
  font-size: 1.3em;
  font-style: italic;
  line-height: 1.6;
  color: #333;
  margin: 0 0 1em 0;
}

.testimonial-preview cite {
  color: #00A651;
  font-weight: bold;
  font-style: normal;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin: 2em 0;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: #00A651;
  color: white;
  text-decoration: none;
  padding: 1em 2em;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background: #008540;
}

.guarantee {
  font-size: 0.9em;
  color: #666;
  margin: 1em 0 0 0;
}

/* Responsive adjustments for preventative health page */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2em;
  }
  
  .hero-subtitle {
    font-size: 1.1em;
  }
  
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 2em;
  }
  
  .how-it-works {
    padding: 2em 1em;
  }
  
  .testimonial-preview blockquote {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2em 1em;
  }
  
  .benefit-card {
    padding: 1.5em;
  }
  
  .download-btn {
    padding: 0.8em 1.5em;
  }
}

/* References Section Styles */
.references-section {
  margin: 4em 0 2em 0;
  padding: 2em;
  background: #f8f9fa;
  border-radius: 8px;
}

.references-section h2 {
  color: #00A651;
  margin-bottom: 1.5em;
  border-bottom: 2px solid #00A651;
  padding-bottom: 0.5em;
}

.references-list {
  line-height: 1.8;
  margin-bottom: 2em;
}

.references-list li {
  margin-bottom: 1em;
  font-size: 0.95em;
  color: #333;
}

.references-list a {
  color: #0066cc;
  word-break: break-all;
}

.references-list a:hover {
  text-decoration: underline;
}

.references-list em {
  font-style: italic;
}

@media (max-width: 768px) {
  .references-section {
    padding: 1.5em;
  }
  
  .references-list {
    font-size: 0.9em;
  }
}

/* Social Media Button Styles */
.social-follow {
  margin: 2em 0;
}

.social-follow p {
  font-size: 1.1em;
  margin-bottom: 1.5em;
  color: #333;
}

.social-platform {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  margin: 1em 0;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #ddd;
}

.platform-name {
  font-weight: 600;
  color: #333;
  font-size: 1.1em;
}

.platform-name i {
  margin-right: 0.5em;
  width: 20px;
  text-align: center;
}

.platform-buttons {
  display: flex;
  gap: 0.5em;
}

.social-btn {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  text-align: center;
  border: 2px solid;
  transition: all 0.3s ease;
  min-width: 70px;
}

/* Facebook buttons */
.social-platform:has(.fa-facebook-f) {
  border-left-color: #1877F2;
}

.social-platform:has(.fa-facebook-f) .platform-name {
  color: #1877F2;
}

.social-platform:has(.fa-facebook-f) .follow-btn {
  background: #1877F2;
  border-color: #1877F2;
  color: white;
}

.social-platform:has(.fa-facebook-f) .follow-btn:hover {
  background: #166FE5;
  border-color: #166FE5;
}

.social-platform:has(.fa-facebook-f) .share-btn {
  background: transparent;
  border-color: #1877F2;
  color: #1877F2;
}

.social-platform:has(.fa-facebook-f) .share-btn:hover {
  background: #1877F2;
  color: white;
}

/* Twitter/X buttons */
.social-platform:has(.fa-x-twitter) {
  border-left-color: #000000;
}

.social-platform:has(.fa-x-twitter) .platform-name {
  color: #000000;
}

.social-platform:has(.fa-x-twitter) .follow-btn {
  background: #000000;
  border-color: #000000;
  color: white;
}

.social-platform:has(.fa-x-twitter) .follow-btn:hover {
  background: #333333;
  border-color: #333333;
}

.social-platform:has(.fa-x-twitter) .share-btn {
  background: transparent;
  border-color: #000000;
  color: #000000;
}

.social-platform:has(.fa-x-twitter) .share-btn:hover {
  background: #000000;
  color: white;
}

/* Instagram buttons */
.social-platform:has(.fa-instagram) {
  border-left-color: #E4405F;
}

.social-platform:has(.fa-instagram) .platform-name {
  color: #E4405F;
}

.social-platform:has(.fa-instagram) .follow-btn {
  background: linear-gradient(45deg, #F56040, #E4405F, #C13584, #833AB4);
  border-color: #E4405F;
  color: white;
}

.social-platform:has(.fa-instagram) .follow-btn:hover {
  background: linear-gradient(45deg, #E4405F, #C13584, #833AB4, #7025A0);
}

.social-platform:has(.fa-instagram) .share-btn {
  background: transparent;
  border-color: #E4405F;
  color: #E4405F;
}

.social-platform:has(.fa-instagram) .share-btn:hover {
  background: linear-gradient(45deg, #F56040, #E4405F, #C13584, #833AB4);
  color: white;
  border-color: #E4405F;
}

/* Mobile responsiveness for social buttons */
@media (max-width: 768px) {
  .social-platform {
    flex-direction: column;
    gap: 1em;
    text-align: center;
  }
  
  .platform-buttons {
    justify-content: center;
    gap: 1em;
  }
  
  .social-btn {
    flex: 1;
    min-width: 80px;
  }
}