/* CSS RESET & NORMALIZE */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, li, nav, main, footer, section, header, button {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #181C1E;
  color: #F7F3E8;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #81A860;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover,
a:focus {
  color: #fff;
  text-shadow: 0 0 5px #81A86088;
}
ul {
  list-style: none;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* COLOR VARIABLES */
:root {
  --primary: #255A25;
  --primary-rgb: 37,90,37;
  --secondary: #81A860;
  --accent: #F7F3E8;
  --bg-dark: #181C1E;
  --bg-card: #23282B;
  --neon: #53e8c2;
  --danger: #ff4d6d;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: linear-gradient(90deg, #181C1E 88%, #1d5631 100%);
  box-shadow: 0 2px 16px 0 #255A2522;
  position: relative;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: #F7F3E8BB;
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 20px;
  position: relative;
  transition: color 0.18s, background 0.2s;
}
header nav a:hover, header nav a.active {
  color: #fff;
  background: rgba(129,168,96,0.18);
  box-shadow: 0 0 4px 0 #81A86055;
}
header img {
  height: 42px;
  width: auto;
}

.cta.primary {
  background: linear-gradient(90deg, #255A25 95%, #53e8c2 120%);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 30px;
  padding: 12px 26px;
  font-size: 18px;
  box-shadow: 0 2px 18px 0 #53e8c288;
  border: none;
  margin-left: 16px;
  transition: background 0.15s, box-shadow 0.2s, color 0.14s;
  outline: none;
  position: relative;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, #53e8c2 30%, #255A25 100%);
  color: #181C1E;
  box-shadow: 0 2px 28px 0 #53e8c2dd;
}

.cta {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 22px;
  padding: 11px 22px;
  border: 1.5px solid var(--secondary);
  background: transparent;
  font-size: 17px;
  margin: 12px 0 0 0;
  box-shadow: 0 0 0 0 transparent;
  transition: box-shadow 0.16s, color 0.14s, background 0.15s;
  outline: none;
}
.cta:hover, .cta:focus {
  background: #81A860;
  color: #181C1E;
  box-shadow: 0 0 12px 0 #81A860bb;
  border-color: #53e8c2;
}

/* BURGER MENU (MOBILE) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  color: #53e8c2;
  margin-left: 16px;
  padding: 4px 8px;
  z-index: 120;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #81A860;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,28,30, 0.98);
  z-index: 222;
  padding: 20px 0 0 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.5,2,.6,1), opacity 0.23s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.active {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 32px;
  color: #53e8c2;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 5px 16px 16px 0;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #81A860;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  margin-top: 20px;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 2.2;
  padding: 12px 10px 12px 0;
  border-radius: 17px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:active {
  background: #255A2599;
  color: #53e8c2;
}

@media (max-width: 990px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .cta.primary {
    font-size: 16px;
    padding: 10px 15px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta.primary {
    display: none;
  }
}

/* HERO SECTIONS */
.hero {
  width: 100%;
  background: linear-gradient(100deg, #255A25 72%, #53e8c2 95%);
  box-shadow: 0 2px 40px 0 #53e8c244;
  padding: 50px 0 60px 0;
}
.hero .container {
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper {
  gap: 30px;
  align-items: flex-start;
  margin: 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 4px 28px #0008, 0 0 4px #53e8c2;
}
.hero .subheadline {
  color: #f7f3e8cc;
  font-size: 1.27rem;
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 16px;
}

@media (max-width: 540px) {
  .hero {
    padding: 25px 0 34px 0;
  }
  .hero h1 {
    font-size: 1.35rem;
    line-height: 1.18;
  }
  .hero .subheadline {
    font-size: 1.02rem;
  }
}

/* CARD CONTAINERS AND CARDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 2px 28px 0 #53e8c211, 0 1.5px 7px #255A2511;
  position: relative;
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  gap: 12px;
  transition: box-shadow 0.14s, transform 0.18s;
  border: 1.5px solid #255A2544;
}
.card:hover {
  box-shadow: 0 4px 34px 0 #53e8c199, 0 1.5px 12px #255A2533;
  transform: translateY(-3px) scale(1.017);
}

/* CONTENT GRIDS */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-grid,
.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .category-grid > div {
  background: var(--bg-card);
  border-radius: 17px;
  padding: 22px 18px 16px 18px;
  min-width: 220px;
  flex: 1 1 282px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 #53e8c222;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #81A86033;
  position: relative;
  transition: box-shadow 0.14s, border-color 0.14s;
}
.feature-grid > div:hover, .category-grid > div:hover {
  border-color: #53e8c2;
  box-shadow: 0 2px 34px #81a86033, 0 0px 16px #53e8c2bb;
}

.feature-grid img, .category-grid img {
  height: 32px;
  width: 32px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 5px #53e8c2);
}

/* FEATURE ITEM (REQUIRED FLEX PATTERN) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TEXT-IMAGE & TEXT SECTION */
.text-image-section,
.text-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  align-items: flex-start;
  gap: 28px;
}
.text-image-section img {
  flex: 0 0 190px;
  width: 190px;
  border-radius: 12px;
  box-shadow: 0 2px 16px #81A86033;
  object-fit: cover;
}
@media (max-width: 768px) {
  .text-image-section, .text-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

/* TESTIMONIAL CARD */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F3E8;
  border-radius: 18px;
  color: #23282B;
  margin-bottom: 20px;
  box-shadow: 0 4px 38px 0 #53e8c222, 0 2px 8px #81a86011;
  font-family: var(--font-body);
  font-size: 1.08em;
  border: 1.2px solid #81A86033;
  transition: border-color 0.14s, box-shadow 0.14s, color 0.14s;
}
.testimonial-card:hover {
  border-color: #53e8c2;
  box-shadow: 0 6px 40px 0 #53e8c244, 0 2px 12px #81a86044;
}
.testimonial-card img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  filter: drop-shadow(0 0 9px #53e8c266);
  background: #81A86022;
  padding: 4px;
  margin-right: 3px;
}
.testimonial-card p {
  flex: 1 1 0%;
  font-size: 1.08em;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.97em;
  font-style: italic;
  color: #255A25cc;
  margin-left: 8px;
}

/* VALUE LIST/CONTACT INFO */
.value-list, .text-section ul {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 14px;
}
.value-list li, .text-section ul li {
  display: flex;
  align-items: center;
  font-size: 1.04em;
  color: #f7f3e8ee;
  gap: 13px;
}
.value-list img, .text-section ul img {
  height: 24px;
  width: 24px;
  margin-right: 5px;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 12px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
  color: #53e8c2;
}
h3 {
  font-size: 1.22rem;
  color: #81A860;
}
h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
}
p, ul, li {
  font-family: var(--font-body);
  color: #f7f3e8ee;
  margin-bottom: 6px;
  line-height: 1.7;
}
p {
  font-size: 1em;
}
strong {
  color: #53e8c2;
  font-weight: 600;
  font-family: var(--font-display);
}

/* FOOTER */
footer {
  background: #181C1E;
  color: #F7F3E8cc;
  width: 100%;
  padding: 40px 0 10px 0;
  border-top: 2.7px solid #255A256f;
  box-shadow: 0 -2px 22px #53e8c207;
  font-size: 15px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-bottom: 14px;
}
footer nav a {
  color: #53e8c2;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
}
footer nav a:hover {
  color: #fff;
  text-shadow: 0 0 7px #53e8c288;
}

/* SPACING UTILITIES */
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }
.gap-20 { gap: 20px !important; }
.pt-40 { padding-top: 40px; }

/* RESPONSIVE - MOBILE STYLES */
@media (max-width: 768px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .content-wrapper, .feature-grid, .category-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .hero h1 { font-size: 1.3rem; }
  h2 { font-size: 1.16rem; }
  h3 { font-size: 1.04rem; }
  .feature-grid>div, .category-grid>div, .card, .testimonial-card {
    min-width: unset;
    padding: 18px 10px 13px 10px;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  h1 { font-size: 1.05rem; }
  h2 { font-size: 1.01rem; }
}

/* ANIMATIONS */
.cta.primary, .cta, .mobile-menu, .mobile-menu-close, .mobile-nav a, .feature-grid>div, .category-grid>div, .card, .testimonial-card {
  transition: box-shadow 0.14s, background 0.12s, border-color 0.14s, color 0.14s, transform 0.14s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 300;
  background: rgba(24,28,30,0.99);
  color: #F7F3E8;
  border-top: 2px solid #53e8c2;
  box-shadow: 0 -3px 24px #53e8c244;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 28px 17px 28px;
  font-size: 1em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.20s, transform 0.26s cubic-bezier(.5,2,.6,1);
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner-message {
  flex: 1;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  padding: 11px 24px;
  border-radius: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  outline: none;
  border: none;
  margin-left: 0;
  margin-right: 0;
  background: var(--bg-dark);
  color: #81A860;
  border: 1.5px solid #53e8c2;
  box-shadow: 0 2px 10px #53e8c208;
  transition: background 0.13s, color 0.15s, border-color 0.1s;
}
.cookie-banner button.accept {
  background: linear-gradient(90deg,#53e8c2 75%,#81A860 100%);
  color: #181C1E;
  border: 1.7px solid #81A860;
  margin-left: 0 !important;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  color: #fff;
  background: linear-gradient(90deg, #81A860 33%,#53e8c2 100%);
}
.cookie-banner button.reject {
  background: #181C1E;
  color: #ff4d6d;
  border: 1.5px solid #ff4d6dbb;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #ff4d6d;
  color: #181C1E;
}
.cookie-banner button.settings {
  background: #23282B;
  color: #53e8c2;
  border: 1.7px solid #53e8c2;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #53e8c2;
  color: #23282B;
}
@media (max-width: 790px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 7px 13px 11px;
    font-size: 0.97em;
  }
  .cookie-banner .cookie-buttons {
    gap: 8px;
    margin-left: 0;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 350;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(24,28,30, 0.91);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #23282B;
  color: #F7F3E8;
  border-radius: 14px;
  padding: 30px 26px 22px 26px;
  min-width: 320px;
  max-width: 98vw;
  max-height: 80vh;
  box-shadow: 0 4px 43px #53e8c2aa, 0 1px 24px #255A251B;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 1;
  animation: cookieModalPop .36s cubic-bezier(.5,2,.6,1);
}
@keyframes cookieModalPop {
  from {opacity: 0; transform: translateY(60px) scale(0.96);}
  to {opacity: 1; transform: none;}
}
.cookie-modal h2 { color: #53e8c2; font-size: 1.28em; }
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-switch {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cookie-modal .switch {
  width: 42px;
  height: 22px;
  display: inline-block;
  border-radius: 14px;
  background: #23282B;
  border: 1.5px solid #53e8c2;
  position: relative;
  transition: background 0.18s;
}
.cookie-modal .switch input {
  display: none;
}
.cookie-modal .slider {
  position: absolute;
  left: 2.5px; top: 2.5px;
  width: 17px; height: 17px;
  background: #53e8c2;
  border-radius: 50%;
  transition: transform 0.16s, background 0.16s;
}
.cookie-modal .switch input:checked + .slider {
  transform: translateX(18px);
  background: #81A860;
}
.cookie-modal .cat-description, .cookie-modal .cat-essential {
  font-size: 0.97em;
  color: #F7F3E8cc;
  margin-top: 3px;
  margin-left: 34px;
}
.cookie-modal .cat-essential {
  color: #81A860;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 9px; right: 13px;
  font-size: 27px;
  color: #53e8c2;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.17s;
  outline: none;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #81A860;
}
.cookie-modal .modal-actions {
  margin-top: 21px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 9px 23px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 18px;
  border: none;
  font-size: 1em;
  background: #23282B;
  color: #53e8c2;
  border: 1.5px solid #53e8c2;
  margin-left: 0;
  transition: background 0.16s, color 0.18s, border-color 0.1s;
}
.cookie-modal .modal-actions button.save {
  background: linear-gradient(90deg,#53e8c2 75%,#81A860 100%);
  color: #181C1E;
  border: 1.7px solid #81A860;
}
.cookie-modal .modal-actions button.save:hover,
.cookie-modal .modal-actions button.save:focus {
  background: linear-gradient(90deg, #81A860 33%,#53e8c2 100%);
  color: #fff;
}
.cookie-modal .modal-actions button.cancel {
  background: #23282B;
  color: #ff4d6d;
  border: 1.5px solid #ff4d6dbb;
}
.cookie-modal .modal-actions button.cancel:hover,
.cookie-modal .modal-actions button.cancel:focus {
  background: #ff4d6d;
  color: #23282B;
}
@media (max-width: 600px) {
  .cookie-modal {
    min-width: 94vw;
    padding: 18px 5vw 15px 5vw;
  }
}

/* MICRO-INTERACTIONS */
.card:active, .feature-grid>div:active, .category-grid>div:active {
  transform: scale(0.98);
  box-shadow: 0 2px 14px #53e8c199;
}
.cta:active, .cta.primary:active {
  transform: scale(0.98);
}

/* SCROLLBAR (MODERN/FUTURISTIC) */
::-webkit-scrollbar {
  width: 9px;
  background: #23282b;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg,#53e8c233,#23282B);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #53e8c2cc;
}

/* SELECTION (FUTURISTIC ACCENT) */
::selection {
  background: #53e8c2;
  color: #181C1E;
}

/* SPECIALS & UTILS */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1em;
  border-radius: 7px;
  background: #23282B;
  color: #F7F3E8;
  border: 1.5px solid #81A86066;
  padding: 10px;
  margin: 7px 0;
  outline: none;
  transition: border-color 0.13s, background 0.10s;
}
input:focus, textarea:focus, select:focus {
  border-color: #53e8c2;
  background: #181C1E;
}

/* Hide elements visually but keep them accessible for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
