:root {
  --primary-bg: #fdfcf9;
  --accent-purple: #6d28d9;
  --accent-green: #15803d;
  --accent-orange: #c2410c;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --border-light: #e5e5e5;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -1.5px;
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
}

h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

a {
  color: var(--accent-purple);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-orange);
  text-shadow: 0 0 8px rgba(109, 40, 217, 0.2);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(253, 252, 249, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(229, 229, 229, 0.3);
}

header.scrolled {
  background-color: rgba(253, 252, 249, 0.98);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 7.5%;
  max-width: 1660px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-purple);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-purple);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

main {
  margin-top: 80px;
}

.container {
  max-width: 1660px;
  margin: 0 auto;
  padding: 0 7.5%;
  width: 100%;
}

.hero {
  position: relative;
  background-image: url('images/hero-nutrients.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.4) 0%, rgba(26, 26, 26, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
}

.section {
  padding: 180px 0;
  border-bottom: 1px solid var(--border-light);
}

.section:last-of-type {
  border-bottom: none;
}

.section-title {
  margin-bottom: 4rem;
  text-align: center;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.15rem;
}

.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.content-block:nth-child(even) {
  direction: rtl;
}

.content-block:nth-child(even) > * {
  direction: ltr;
}

.content-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.content-text h3 {
  color: var(--accent-purple);
  margin-bottom: 1.5rem;
}

.nutrient-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.nutrient-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-purple);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.48s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.nutrient-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(109, 40, 217, 0.15);
}

.nutrient-card h4 {
  color: var(--accent-purple);
  font-family: Georgia, serif;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.nutrient-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.research-highlight {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-green);
  margin: 2rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.research-highlight h4 {
  color: var(--accent-green);
  font-family: Georgia, serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.faq-section {
  max-width: 900px;
  margin: 3rem auto;
}

.faq-item {
  background-color: var(--white);
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background-color: var(--white);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--accent-purple);
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.faq-question:hover {
  background-color: rgba(109, 40, 217, 0.05);
  border-bottom-color: var(--accent-purple);
}

.faq-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  text-align: center;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.65s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 500px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin: 3rem 0;
}

.article-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.article-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
}

.article-content {
  padding: 2rem;
}

.article-content h3 {
  color: var(--accent-purple);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.article-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.article-link {
  color: var(--accent-purple);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.article-link:hover {
  color: var(--accent-orange);
}

footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 7.5%;
  margin-top: 6rem;
}

.footer-content {
  max-width: 1660px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-purple);
  text-shadow: none;
}

.footer-contact {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-notice {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 1.5rem 2rem;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner.show {
  display: flex;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-light);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--accent-purple);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background-color: var(--accent-orange);
}

.cookie-btn-reject {
  background-color: var(--border-light);
  color: var(--text-dark);
}

.cookie-btn-reject:hover {
  background-color: #d0d0d0;
}

.cookie-btn-learn {
  background-color: transparent;
  color: var(--accent-purple);
  border: 1px solid var(--accent-purple);
}

.cookie-btn-learn:hover {
  background-color: rgba(109, 40, 217, 0.05);
}

.disclaimer-box {
  background-color: rgba(109, 40, 217, 0.08);
  border-left: 4px solid var(--accent-purple);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.disclaimer-box h4 {
  color: var(--accent-purple);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  padding: 0.85rem 2rem;
  background-color: var(--accent-purple);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.2);
}

.cta-text {
  text-align: center;
  padding: 2rem 0;
  font-size: 1.1rem;
  color: var(--accent-purple);
  font-weight: 600;
}

.thank-you-container {
  text-align: center;
  padding: 6rem 2rem;
}

.thank-you-container h1 {
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.policy-page h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-page ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.policy-page li {
  margin-bottom: 0.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.blog-post {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.blog-post-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-post-content {
  padding: 1.5rem;
}

.blog-post-content h3 {
  color: var(--accent-purple);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.blog-post-excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.read-more {
  color: var(--accent-purple);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--accent-orange);
}

.article-full {
  max-width: 850px;
  margin: 2rem auto;
}

.article-full img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .container {
    padding: 0 5%;
  }

  nav {
    padding: 1rem 5%;
  }

  .section {
    padding: 120px 0;
  }

  .content-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-block:nth-child(even) {
    direction: ltr;
  }

  .nutrient-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .nutrient-cards {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  header {
    padding: 1rem 0;
  }

  nav {
    padding: 0.75rem 5%;
  }

  .logo {
    font-size: 1.4rem;
  }
}
