:root {
  --primary: #2C3E50;
  --accent: #F39C12;
  --neutral-dark: #7F8C8D;
  --neutral-light: #BDC3C7;
  --white: #FFFFFF;
  --black: #000000;
  --radius: 4px;
}

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

html, body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary);
  background-color: var(--white);
}

/* Typography */
h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--primary);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 12px;
  display: inline-block;
}

h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--primary);
}

p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--primary);
}

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

a:hover {
  color: var(--accent);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--neutral-light);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.05);
}

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

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo:hover {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 0;
}

nav a {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 48px 24px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

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

.footer-section a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 12px;
  color: var(--accent);
}

/* Main Container */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.hero {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(44, 62, 80, 0.95) 100%);
  color: var(--white);
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  color: var(--white);
  font-size: 52px;
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Sections */
section {
  padding: 60px 0;
  border-bottom: 1px solid var(--neutral-light);
}

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

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-full {
  grid-column: 1 / -1;
}

/* Cards */
.card {
  border: 1px solid var(--neutral-light);
  padding: 24px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  background-color: var(--white);
}

.card:hover {
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.1);
  transform: translateY(-4px);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  margin-bottom: 0;
  font-size: 14px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.image-small {
  max-width: 300px;
  margin: 20px auto;
}

.image-medium {
  max-width: 500px;
  margin: 30px 0;
}

.image-large {
  max-width: 100%;
  margin: 40px 0;
}

/* Buttons & CTAs */
.btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #e67e22;
  border-color: #e67e22;
}

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

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--neutral-light);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--primary);
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

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

button {
  background-color: var(--accent);
  color: var(--white);
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #e67e22;
}

/* Disclaimer & Compliance */
.disclaimer {
  background-color: #f8f9fa;
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin: 40px 0;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.6;
  color: var(--neutral-dark);
}

.disclaimer p {
  margin-bottom: 0;
}

.disclaimer strong {
  color: var(--primary);
}

/* Educational Notice */
.educational-notice {
  background-color: rgba(243, 156, 18, 0.05);
  border: 1px solid var(--accent);
  padding: 16px 20px;
  text-align: center;
  margin: 24px 0;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

/* List Styles */
ul, ol {
  margin-bottom: 20px;
  margin-left: 24px;
}

li {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

th {
  background-color: var(--primary);
  color: var(--white);
  padding: 12px;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 12px;
  border-bottom: 1px solid var(--neutral-light);
}

tr:hover {
  background-color: rgba(44, 62, 80, 0.02);
}

/* Glossary */
.glossary-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--neutral-light);
}

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

.glossary-item dt {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.glossary-item dd {
  color: var(--neutral-dark);
  margin-left: 0;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
  margin: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--accent);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -50px;
  top: 6px;
  width: 16px;
  height: 16px;
  background-color: var(--accent);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item h4 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-item p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--neutral-dark);
}

/* Cookie Banner */
#cookieBanner {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: var(--primary);
  color: var(--white);
  padding: 20px 24px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
}

#cookieBanner.show {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.cookie-btn.accept:hover {
  background-color: #e67e22;
}

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

.cookie-btn.decline:hover {
  background-color: rgba(243, 156, 18, 0.1);
}

.cookie-btn.learn {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  text-decoration: none;
}

.cookie-btn.learn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .hero {
    padding: 80px 24px;
  }

  .hero h1 {
    font-size: 36px;
  }

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

  nav {
    flex-wrap: wrap;
  }

  nav a {
    padding: 10px 12px;
    font-size: 13px;
  }

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline-item::before {
    left: -45px;
  }
}

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

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  .header-container {
    padding: 12px 16px;
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    padding: 60px 16px;
  }

  .hero h1 {
    font-size: 28px;
  }

  main {
    padding: 0 16px;
  }

  .section-container {
    padding: 0 16px;
  }

  section {
    padding: 40px 0;
  }

  nav a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .btn {
    padding: 10px 24px;
    font-size: 13px;
  }

  form {
    max-width: 100%;
  }
}
