/* --- Variables & Reset --- */
:root {
  --bg-color: #ffffff;
  --text-main: #0f172a; /* Dark Slate */
  --text-light: #64748b;
  --accent-blue: #2563eb; /* Tech Blue */
  --accent-dark: #1e40af;
  --border-color: #e2e8f0;
  --white: #ffffff;

  --font-main: "Inter", sans-serif;

  --container-width: 1440px;
  --header-height: 80px;
  --gap-grid: 1px; /* For Swiss border grid effect */
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
img {
  max-width: 100%;
  display: block;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.header__container {
  max-width: var(--container-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent-blue);
  letter-spacing: -0.02em;
  z-index: 1001;
}

.header__logo-img {
  height: 32px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__menu {
  display: flex;
  gap: 32px;
}

.header__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}

/* Swiss Style Hover Effect: Simple Underline */
.header__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-blue);
  transition: width 0.3s ease;
}

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

.header__link:hover::after {
  width: 100%;
}

.header__cta {
  background-color: var(--accent-blue);
  color: var(--white);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  /* Strict Shape DNA: No Border Radius */
  border-radius: 0;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.header__cta:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
}

.header__burger {
  display: none;
  color: var(--text-main);
}

/* --- Mobile Menu --- */
@media (max-width: 992px) {
  .header__menu {
    display: none; /* Hide default menu */
  }

  .header__burger {
    display: block;
    z-index: 1001;
  }

  .header__nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
    gap: 30px;
  }

  .header__nav.active {
    transform: translateX(0);
  }

  .header__menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    font-size: 1.2rem;
  }

  .header__cta {
    width: 100%;
    text-align: center;
    max-width: 300px;
  }
}

/* --- Footer --- */
.footer {
  background-color: #f8fafc; /* Very light cool grey */
  border-top: 1px solid var(--border-color);
  padding: 80px 0 20px;
  margin-top: auto; /* Push to bottom if content is short */
}

.footer__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  /* Swiss Grid: 4 equal columns */
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer__col--brand {
  padding-right: 20px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-blue);
  margin-bottom: 20px;
}

.footer__logo-img {
  height: 24px;
}

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

.footer__title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 24px;
  font-weight: 700;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer__link:hover {
  color: var(--accent-blue);
  padding-left: 4px; /* Micro-interaction: shift right */
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer__icon {
  width: 18px;
  height: 18px;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Hero Section --- */
.hero {
  /* Offset for fixed header */
  padding-top: var(--header-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-color);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-height));
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

/* Content Column */
.hero__content {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border-color); /* Grid line */
  background-color: var(--white);
  position: relative;
  z-index: 10;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--accent-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  background: #eff6ff;
  padding: 8px 12px;
  width: fit-content;
  /* Strict DNA: No radius */
}

.hero__badge-icon {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-size: clamp(3rem, 5vw, 5rem); /* Giant typography */
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.text-accent {
  color: var(--accent-blue);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 500px;
  margin-bottom: 48px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

/* Buttons */
.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  /* Strict DNA: No radius */
}

.hero__btn--primary {
  background-color: var(--accent-blue);
  color: var(--white);
  border-color: var(--accent-blue);
}

.hero__btn--primary:hover {
  background-color: var(--accent-dark);
  /* Micro-interaction: Scale slightly */
  transform: scale(1.02);
}

.hero__btn--outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}

.hero__btn--outline:hover {
  border-color: var(--text-main);
  background-color: var(--text-main);
  color: var(--white);
}

/* Stats */
.hero__stats {
  margin-top: auto;
  display: flex;
  gap: 60px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Visual Column (Canvas) */
.hero__visual {
  position: relative;
  background-color: #f8fafc; /* Light gray contrast */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__overlay-text {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-family: "Courier New", monospace; /* Tech feel */
  font-size: 0.75rem;
  color: var(--text-light);
  opacity: 0.5;
  pointer-events: none;
}

/* Responsive Hero */
@media (max-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 40px 24px;
  }

  .hero__visual {
    min-height: 400px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__btn {
    width: 100%;
  }
}

/* --- Common Section Styles --- */
.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 60px;
  max-width: 700px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Bento Grid --- */
.bento-grid {
  display: grid;
  /* 3 columns layout */
  grid-template-columns: repeat(3, 1fr);
  /* Swiss Style: No gaps visually, we use borders on items */
  gap: 0;
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.bento-item {
  background-color: var(--white);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease;
  min-height: 320px; /* Force minimum height */
}

.bento-item:hover {
  background-color: #f8fafc; /* Subtle interaction */
}

/* Specific Sizes */
.bento-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-item--wide {
  grid-column: span 3;
  min-height: auto; /* Allow auto height for bottom bar */
}

/* Content Styling */
.bento-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bento-content--row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.bento-icon-box {
  width: 50px;
  height: 50px;
  background-color: var(--accent-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  /* Strict DNA: Square icons */
}

.bento-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-main);
}

.bento-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* List inside Large Card */
.bento-list {
  margin-top: auto; /* Push to bottom */
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.bento-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.bento-list li i {
  color: var(--accent-blue);
  width: 20px;
  height: 20px;
}

/* Link in Wide Card */
.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.bento-link:hover {
  background-color: var(--accent-blue);
  color: var(--white);
  border-color: var(--accent-blue);
}

/* Responsive Bento */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-item--large {
    grid-column: span 2; /* Full width on tablet */
    grid-row: auto;
  }

  .bento-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    display: flex;
    flex-direction: column;
    border-left: none; /* Reset borders for stack */
  }

  .bento-item {
    border-left: 1px solid var(--border-color);
    min-height: auto;
  }

  .bento-content--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* --- Programs List --- */
.program-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--text-main); /* Bold top line */
}

.program-item {
  display: grid;
  /* Grid layout: Number | Title/Desc | Arrow */
  grid-template-columns: 80px 1fr 200px;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
  align-items: flex-start;
  transition: all 0.3s ease;
  cursor: pointer;
}

.program-item:hover {
  background-color: #f8fafc;
  padding-left: 20px; /* Micro-interaction: shift content */
  padding-right: 20px;
}

.program-num {
  font-family: "Courier New", monospace; /* Mono font for numbers */
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 6px;
  transition: color 0.3s ease;
}

.program-item:hover .program-num {
  color: var(--accent-blue);
}

.program-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.program-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.program-item:hover .program-title {
  color: var(--accent-blue);
}

.program-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 600px;
}

.program-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
  color: var(--text-main);
  font-weight: 500;
}

.program-arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.program-item:hover .program-arrow {
  transform: translateX(10px); /* Micro-interaction: Move arrow */
  color: var(--accent-blue);
}

/* Responsive Programs */
@media (max-width: 768px) {
  .program-item {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 16px;
    padding: 30px 0;
  }

  .program-num {
    font-size: 0.9rem;
    margin-top: 0;
  }

  .program-action {
    justify-content: flex-start; /* Align left on mobile */
    margin-top: 10px;
  }

  .program-item:hover {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* --- Trust Section (Reviews & FAQ) --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Create borders via gap and background color trick, or just borders */
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.review-item {
  background-color: var(--white);
  padding: 40px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.review-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-blue);
  margin-bottom: 24px;
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.6;
  font-style: italic; /* Editorial feel */
  color: var(--text-main);
  margin-bottom: 32px;
  flex-grow: 1;
}

.review-author {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Spacer between reviews and FAQ */
.section-spacer {
  height: 100px;
}

/* --- FAQ --- */
.faq-block {
  display: grid;
  grid-template-columns: 1fr 2fr; /* 1/3 text, 2/3 questions */
  gap: 60px;
  border-top: 4px solid var(--text-main); /* Strong divider */
  padding-top: 60px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-weight: 600;
  color: var(--accent-blue);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.3s ease;
}

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

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg); /* Plus becomes Cross */
  color: var(--accent-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-inner {
  padding-bottom: 24px;
  color: var(--text-light);
  line-height: 1.6;
}

.faq-question.active + .faq-answer {
  max-height: 200px; /* Adjust if content is very long */
}

/* Responsive Trust Section */
@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-item {
    border-right: 1px solid var(--border-color); /* Maintain right border */
  }

  .faq-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  padding-right: 40px;
}

.contact-features {
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-main);
}

.contact-feature-item i {
  color: var(--accent-blue);
  width: 20px;
  height: 20px;
}

.contact-note {
  background-color: #f1f5f9;
  padding: 20px;
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
  border-left: 4px solid var(--accent-blue);
}

/* --- Form Styles --- */
.contact-form-wrapper {
  background-color: var(--white);
  padding: 40px;
  border: 1px solid var(--border-color); /* Swiss Frame */
  position: relative;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  color: var(--text-main);
  transition: all 0.3s ease;
  border-radius: 0; /* Strict DNA */
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  background-color: #f8fafc;
}

.form-input.error {
  border-color: #ef4444; /* Red */
}

.error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 6px;
}

.form-input.error + .error-msg {
  display: block;
}

/* Custom Checkbox */
.form-check {
  margin-bottom: 24px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--accent-blue);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.check-text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

.check-text a {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* Fake Captcha Box */
.captcha-box {
  background-color: #f9f9f9;
  border: 1px solid #d3d3d3;
  padding: 15px 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  min-width: 250px;
}

.captcha-label {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.captcha-mark {
  height: 24px;
  width: 24px;
  margin-right: 10px;
}

.captcha-text {
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
}

.captcha-logo {
  width: 24px;
  height: 24px;
  opacity: 0.5;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 18px;
  background-color: var(--accent-blue);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.3s ease;
}

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

.submit-btn:disabled {
  background-color: #94a3b8;
  cursor: not-allowed;
}

/* Success Message */
.success-message {
  display: none; /* Hidden by default */
  text-align: center;
  padding: 40px 20px;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 20;
}

.success-message.active {
  display: flex;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: #dcfce7; /* Light Green */
  color: #16a34a; /* Green */
  border-radius: 50%; /* Circle looks okay here as a status indicator */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-icon i {
  width: 32px;
  height: 32px;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.success-text {
  color: var(--text-light);
  margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding-right: 0;
    margin-bottom: 40px;
  }
}

/* --- Cookie Pop-up --- */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--text-main); /* Dark background */
  color: var(--white);
  padding: 20px 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid var(--border-color);
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-text a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.cookie-btn {
  background-color: var(--accent-blue);
  color: var(--white);
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  border-radius: 0; /* Strict DNA */
  transition: background-color 0.3s ease;
}

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

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-btn {
    width: 100%;
  }
}

/* --- Policy Pages Styling (privacy.html etc.) --- */
/* Target specific structure: main > section.pages > .container */

.pages {
  padding: 120px 0 80px; /* Top padding for fixed header */
  min-height: 80vh;
}

.pages .container {
  max-width: 800px; /* Improved readability width */
}

.pages h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 4px solid var(--accent-blue); /* Style accent */
}

.pages h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 16px;
}

.pages p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 16px;
}

.pages ul {
  margin-bottom: 24px;
  padding-left: 20px;
  list-style: disc;
  color: var(--text-light);
}

.pages li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.pages a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.pages a:hover {
  text-decoration: none;
}
