:root {
  --color-primary: #2E7D32;
  --color-primary-dark: #1B5E20;
  --color-primary-light: #81C784;
  --color-accent: #C8E6C9;
  --color-text: #263238;
  --color-text-light: #546E7A;
  --color-white: #FFFFFF;
  --color-bg: #F5F5F5;
  --color-bg-alt: #E8F5E9;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
  --radius: 8px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
}

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

a:hover,
a:focus {
  color: var(--color-primary-dark);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

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

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

/* Navigation */
.nav {
  display: none;
}

.nav__list {
  display: flex;
  gap: 1.5rem;
}

.nav__link {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link:focus::after,
.nav__link--active::after {
  width: 100%;
}

/* Mobile Menu Button */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0;
}

.menu-toggle__bar {
  width: 24px;
  height: 3px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
  z-index: 999;
}

.mobile-nav--open {
  transform: translateX(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.mobile-nav__link {
  display: block;
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-bg);
}

.mobile-nav__link:hover,
.mobile-nav__link:focus {
  background: var(--color-bg-alt);
}

/* Hero Section */
.hero {
  padding: 7rem 0 4rem;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-white) 100%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.hero__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

.hero__text {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn--primary:hover,
.btn--primary:focus {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--secondary:hover,
.btn--secondary:focus {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Sections */
.section {
  padding: 4rem 0;
}

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

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

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.card__text {
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

.card__price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1rem;
}

/* Features */
.features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon svg {
  width: 32px;
  height: 32px;
}

.feature__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.feature__text {
  color: var(--color-text-light);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 3rem;
  color: var(--color-accent);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial__text {
  padding-top: 1.5rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.testimonial__author {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.testimonial__role {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Contact */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item__icon svg {
  width: 24px;
  height: 24px;
}

.contact-item__title {
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}

.contact-item__text {
  color: var(--color-text-light);
}

/* Footer */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 3rem 0 1.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
}

.footer__logo svg {
  width: 40px;
  height: 40px;
}

.footer__desc {
  color: var(--color-accent);
  font-size: 0.9375rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: var(--color-accent);
  font-size: 0.9375rem;
}

.footer__link:hover,
.footer__link:focus {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-accent);
}

/* Page Header */
.page-header {
  padding: 7rem 0 3rem;
  background: var(--color-bg-alt);
  text-align: center;
}

.page-header__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.page-header__breadcrumb {
  margin-top: 0.5rem;
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

.page-header__breadcrumb a {
  color: var(--color-primary);
}

/* Content */
.content {
  padding: 3rem 0;
}

.content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 2rem 0 1rem;
}

.content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 1.5rem 0 0.75rem;
}

.content p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.content ul,
.content ol {
  margin: 1rem 0 1rem 1.5rem;
}

.content li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.content ol li {
  list-style: decimal;
}

/* Thank You Page */
.thank-you {
  padding: 8rem 0 4rem;
  text-align: center;
}

.thank-you__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you__icon svg {
  width: 40px;
  height: 40px;
}

.thank-you__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.thank-you__text {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
  padding: 1.25rem;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner__text {
  font-size: 0.9375rem;
  color: var(--color-text);
}

.cookie-banner__text a {
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-banner__btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  padding: 1rem;
}

.cookie-modal--visible {
  opacity: 1;
  visibility: visible;
}

.cookie-modal__content {
  background: var(--color-white);
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-bg);
}

.cookie-modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.cookie-modal__close {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}

.cookie-modal__close:hover {
  background: var(--color-bg);
}

.cookie-modal__close svg {
  width: 20px;
  height: 20px;
}

.cookie-modal__body {
  padding: 1.25rem;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-bg);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option__info {
  flex: 1;
  padding-right: 1rem;
}

.cookie-option__title {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.cookie-option__desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Toggle Switch */
.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--color-bg);
  border-radius: 26px;
  transition: background var(--transition);
}

.toggle__slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle input:checked + .toggle__slider {
  background: var(--color-primary);
}

.toggle input:checked + .toggle__slider::before {
  transform: translateX(22px);
}

.toggle input:disabled + .toggle__slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal__footer {
  padding: 1.25rem;
  border-top: 1px solid var(--color-bg);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  z-index: 1003;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

/* Focus Styles */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    display: block;
  }

  .mobile-nav {
    display: none;
  }

  .hero {
    padding: 9rem 0 5rem;
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .hero__content {
    gap: 2rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section__title {
    font-size: 2.25rem;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 280px;
  }

  .features {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature {
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 200px;
  }

  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 280px;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__brand {
    max-width: 300px;
  }

  .footer__links {
    flex-direction: row;
    gap: 3rem;
  }

  .page-header {
    padding: 9rem 0 4rem;
  }

  .page-header__title {
    font-size: 2.5rem;
  }

  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-banner__text {
    flex: 1;
  }

  .cookie-banner__buttons {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.25rem;
  }

  .card {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .testimonial {
    flex: 1 1 calc(33.333% - 1rem);
  }
}
