:root {
  --pistachio: #9AB973;
  --dusty-rose: #C68A9E;
  --midnight-navy: #1A2F44;
  --warm-ivory: #FDF6F0;
  --light-gray: #F5F3F0;
  --border-gray: #E0DCD8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.125rem;
  line-height: 1.82;
  color: var(--midnight-navy);
  background-color: var(--warm-ivory);
}

/* Typography */
h1 {
  font-size: 3.8rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--midnight-navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--midnight-navy);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

h3 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--midnight-navy);
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--midnight-navy);
}

strong {
  font-weight: 600;
}

/* Accent text */
.accent-text {
  color: var(--pistachio);
  font-weight: 600;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--warm-ivory);
  border-bottom: 1px solid var(--border-gray);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pistachio);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

nav a {
  text-decoration: none;
  color: var(--midnight-navy);
  margin: 0 1.5rem;
  font-size: 1rem;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  display: inline-block;
}

nav a:hover,
nav a.active {
  color: var(--pistachio);
  border-bottom-color: var(--pistachio);
}

/* Main content */
main {
  margin-top: 80px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
section {
  padding: 150px 0;
}

section.light-bg {
  background-color: var(--light-gray);
}

section.ivory-bg {
  background-color: var(--warm-ivory);
}

/* Hero */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 47, 68, 0.35);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: white;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  color: white;
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero p {
  color: white;
  font-size: 1.5rem;
  line-height: 1.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Two column layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: 1fr 1fr;
}

.two-column.reverse > div:first-child {
  order: 2;
}

.two-column img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Grid cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 3rem 0;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-gray);
  transition: all 0.3s ease;
}

.card:hover {
  transform: scale(1.02);
  border-color: var(--pistachio);
  box-shadow: 0 8px 24px rgba(154, 185, 115, 0.12);
}

.card h3 {
  color: var(--midnight-navy);
  margin-top: 0;
}

.card p {
  color: var(--midnight-navy);
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--pistachio), #8fa368);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(154, 185, 115, 0.3);
}

.btn-secondary {
  background: var(--dusty-rose);
  background: linear-gradient(135deg, var(--dusty-rose), #b87790);
}

/* Forms */
form {
  max-width: 600px;
  margin: 2rem auto;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--midnight-navy);
}

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

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--pistachio);
  box-shadow: 0 0 0 3px rgba(154, 185, 115, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
footer {
  background-color: var(--midnight-navy);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 150px;
}

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

.footer-section h4 {
  color: var(--pistachio);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

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

.footer-section a:hover {
  color: var(--pistachio);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
}

.educational-notice {
  background: rgba(154, 185, 115, 0.1);
  border-left: 4px solid var(--pistachio);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-weight: 500;
  color: var(--midnight-navy);
}

/* Disclaimer section */
.disclaimer {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  border: 1px solid var(--border-gray);
}

.disclaimer h4 {
  color: var(--midnight-navy);
  margin-top: 0;
}

.disclaimer p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-gray);
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  cursor: pointer;
  font-weight: 600;
  color: var(--midnight-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--pistachio);
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 1rem;
  color: var(--midnight-navy);
}

.faq-answer.open {
  max-height: 500px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--midnight-navy);
  color: white;
  padding: 1.5rem 2rem;
  z-index: 999;
  display: none;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

.cookie-banner.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.cookie-btn-accept:hover {
  background: #8fa368;
}

.cookie-btn-reject {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
}

.cookie-btn-reject:hover {
  border-color: white;
}

.cookie-btn-learn {
  background: var(--dusty-rose);
  color: white;
}

.cookie-btn-learn:hover {
  background: #b87790;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .header-container {
    padding: 0 1rem;
  }

  nav {
    display: none;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .two-column.reverse > div:first-child {
    order: 0;
  }

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

  section {
    padding: 100px 0;
  }

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

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

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

  .cookie-banner.show {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap;
  }

  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
}

/* Parallax effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
