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

:root {
  --glacier-blue: #2C5F7A;
  --mountain-pine: #3D6B4F;
  --soft-sunlight: #F4C430;
  --crystal-white: #FAFAFA;
  --dark-text: #1a1a1a;
  --light-gray: #f0f0f0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dark-text);
  background-color: var(--crystal-white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.07em;
}

h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.italic-subtitle {
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.07em;
  margin-bottom: 2rem;
}

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

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

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

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

header nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

header nav a {
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: var(--glacier-blue);
}

header .nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-text);
}

main {
  margin-top: 80px;
  width: 100%;
}

section {
  width: 100%;
  padding: 180px 2rem;
}

section.full-width {
  padding: 0;
}

.container-wide {
  max-width: 1800px;
  margin: 0 auto;
}

.section-hero {
  background: linear-gradient(135deg, var(--glacier-blue) 0%, var(--mountain-pine) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 240px 2rem;
  text-align: center;
}

.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/hero-stream.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.section-hero .content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.section-hero h1 {
  color: white;
  margin-bottom: 1rem;
}

.section-hero .subtitle {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.07em;
  opacity: 0.95;
}

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

section.bg-white {
  background-color: white;
}

section.bg-gradient {
  background: linear-gradient(180deg, var(--glacier-blue) 0%, rgba(44, 95, 122, 0.1) 100%);
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

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

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.02);
}

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

.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.55s ease-in-out;
  border: 1px solid rgba(44, 95, 122, 0.1);
}

.card:hover {
  transform: scale(1.07);
  box-shadow: 0 15px 40px rgba(244, 196, 48, 0.2), 0 15px 40px rgba(44, 95, 122, 0.15);
}

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

.card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
}

.card-item {
  margin-bottom: 1.5rem;
}

.card-item:last-child {
  margin-bottom: 0;
}

.list-style {
  list-style: none;
  padding: 0;
}

.list-style li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  line-height: 1.8;
}

.list-style li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--glacier-blue);
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

table thead {
  background-color: var(--glacier-blue);
  color: white;
}

table th {
  padding: 1.25rem;
  text-align: left;
  font-weight: 500;
  border: none;
}

table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(44, 95, 122, 0.1);
}

table tbody tr:hover {
  background-color: rgba(44, 95, 122, 0.05);
}

.faq-item {
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--glacier-blue);
  padding-left: 1.5rem;
}

.faq-item.collapsed {
  border-left-color: rgba(44, 95, 122, 0.3);
}

.faq-question {
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--glacier-blue);
  transition: color 0.3s ease;
}

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

.faq-toggle {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  line-height: 1.25rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.faq-item.expanded .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  margin-top: 0.75rem;
  color: #555;
  line-height: 1.8;
}

.faq-item.expanded .faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--glacier-blue);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.btn:hover {
  background-color: var(--mountain-pine);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 95, 122, 0.3);
}

.btn-secondary {
  background-color: var(--mountain-pine);
}

.btn-secondary:hover {
  background-color: var(--glacier-blue);
}

.btn-outline {
  background-color: transparent;
  color: var(--glacier-blue);
  border: 2px solid var(--glacier-blue);
}

.btn-outline:hover {
  background-color: var(--glacier-blue);
  color: white;
}

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(--glacier-blue);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(44, 95, 122, 0.3);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--glacier-blue);
  box-shadow: 0 0 0 3px rgba(44, 95, 122, 0.1);
}

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

.disclaimer {
  background-color: rgba(244, 196, 48, 0.1);
  border-left: 4px solid var(--soft-sunlight);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

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

.educational-notice {
  background: linear-gradient(135deg, rgba(44, 95, 122, 0.05) 0%, rgba(61, 107, 79, 0.05) 100%);
  border: 1px solid rgba(44, 95, 122, 0.2);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
  font-weight: 500;
  color: var(--glacier-blue);
}

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

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

footer h4 {
  margin-bottom: 1rem;
  font-weight: 500;
}

footer a {
  color: rgba(250, 250, 250, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.5rem;
}

footer a:hover {
  color: var(--soft-sunlight);
}

footer .contact-info {
  line-height: 1.8;
}

footer .contact-info p {
  margin-bottom: 0.5rem;
}

footer .footer-bottom {
  border-top: 1px solid rgba(250, 250, 250, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid rgba(44, 95, 122, 0.2);
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
}

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

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

.cookie-banner-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

.cookie-banner-actions {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.cookie-banner-actions a,
.cookie-banner-actions button {
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-accept {
  background-color: var(--glacier-blue);
  color: white;
}

.btn-accept:hover {
  background-color: var(--mountain-pine);
}

.btn-reject {
  background-color: var(--light-gray);
  color: var(--glacier-blue);
}

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

.btn-learn {
  background-color: transparent;
  color: var(--glacier-blue);
  text-decoration: underline;
}

.btn-learn:hover {
  color: var(--mountain-pine);
}

.fade-in {
  opacity: 0;
  transform: translateY(50px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  section {
    padding: 120px 1.5rem;
  }

  .section-hero {
    padding: 180px 1.5rem;
  }

  header nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 80px;
    right: 0;
    background: white;
    padding: 1rem 2rem;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  header nav.active {
    display: flex;
  }

  header .nav-toggle {
    display: block;
  }

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

  .two-column.reverse {
    direction: ltr;
  }

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

  .cookie-banner .container-wide {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: space-between;
  }

  .cookie-banner-actions a,
  .cookie-banner-actions button {
    flex: 1;
  }

  table {
    font-size: 0.9rem;
  }

  table th,
  table td {
    padding: 0.75rem;
  }
}

.text-balance {
  text-wrap: balance;
}

.opacity-75 {
  opacity: 0.75;
}
