:root {
  --primary: #2C3E50;
  --accent-red: #E74C3C;
  --accent-green: #2ECC71;
  --accent-blue: #3498DB;
  --light: #ECF0F1;
  --dark: #1a1a1a;
  --white: #ffffff;
}

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

html, body {
  font-family: 'Open Sans', 'Lato', sans-serif;
  color: var(--primary);
  background-color: var(--white);
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

main {
  margin-top: 80px;
  padding-bottom: 2rem;
}

section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section.hero {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(44, 62, 80, 0.9) 100%);
  color: var(--white);
  text-align: center;
  padding: 6rem 2rem;
}

section.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

section.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

h1, h2, h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.3rem;
}

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section-content.reverse {
  direction: rtl;
}

.section-content.reverse > * {
  direction: ltr;
}

.section-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  max-height: 400px;
  object-fit: cover;
}

.section-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.section-text ul, .section-text ol {
  margin: 1.5rem 0;
  margin-left: 2rem;
}

.section-text li {
  margin-bottom: 0.8rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background: var(--light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--accent-blue);
}

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

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

table td {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

table tr:hover {
  background-color: var(--light);
}

.disclaimer {
  background-color: #FFF3CD;
  border-left: 4px solid #FFB400;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.7;
}

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

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

section.alt-bg-2 {
  background-color: rgba(236, 240, 241, 0.5);
}

.cta-link {
  display: inline-block;
  background-color: var(--accent-blue);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 1rem;
}

.cta-link:hover {
  background-color: var(--accent-red);
  transform: translateY(-2px);
}

footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

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

footer p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.9;
}

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

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

.footer-legal {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer-legal a {
  margin: 0 1rem;
}

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

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

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

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

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

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

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

.cookie-accept:hover {
  background-color: #27a347;
}

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

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

.cookie-learn {
  background-color: var(--accent-blue);
  color: var(--white);
}

.cookie-learn:hover {
  background-color: #2980b9;
}

form {
  max-width: 600px;
  margin: 2rem auto;
  background: var(--light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

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

input[type="email"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

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

button[type="submit"] {
  background-color: var(--accent-blue);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
}

button[type="submit"]:hover {
  background-color: var(--accent-red);
  transform: translateY(-2px);
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

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

.faq-question {
  font-weight: 600;
  color: var(--accent-blue);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.faq-answer {
  line-height: 1.8;
  font-size: 0.95rem;
}

.thank-you-content {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-content h1 {
  font-size: 2.5rem;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.thank-you-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 3rem 0;
}

@media (max-width: 768px) {
  header {
    padding: 0.8rem 0;
  }

  .navbar {
    padding: 0 1rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  main {
    margin-top: 70px;
  }

  section {
    padding: 2.5rem 1rem;
  }

  section.hero {
    padding: 3rem 1rem;
  }

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

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

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

  .section-content img {
    max-height: 300px;
  }

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

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }

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

@media (max-width: 480px) {
  .nav-links {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  section.hero h1 {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

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

  .cta-link {
    display: block;
    text-align: center;
  }
}
