/* ===============================
  CSS RESET & NORMALIZE
=============================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* Set base font size for REM units */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F8FAFB;
  color: #406452;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  background: none;
  color: #246D3C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A2C432;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button, .cta-btn {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.23s;
}
:focus {
  outline: 2px solid #A2C432;
  outline-offset: 2px;
}

/* ==========================
  PALETTE (Soft Pastel Variant)
========================== */
:root {
  --color-primary: #246D3C;   /* deep green */
  --color-accent: #A2C432;    /* lime pastel */
  --color-bg: #F8FAFB;        /* soft gray-blue */
  --color-bg2: #F6F7F9;       /* secondary background */
  --color-secondary: #EDEDED; /* pastel grey */
  --color-soft-pink: #F6C9C5; /* pink pastel */
  --color-soft-mint: #C9E6DC; /* mint pastel */
  --color-soft-yellow: #FFF8D3; /* yellow pastel */
  --color-soft-blue: #D7EAFE; /* blue pastel */
  --color-dark: #223527;
  --color-white: #fff;
  --color-card-shadow: rgba(36, 109, 60, 0.08);
  --color-border: #E5EDF0; /* subtle border */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --transition: 0.33s cubic-bezier(0.65,0,0.35,1);
}

/* ==================
  TYPOGRAPHY HIERARCHY
================== */
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  margin-bottom: 18px;
  line-height: 1.18;
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.22;
}
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
}
p, li, label, input, textarea, select, span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #406452;
}
p, ul, ol {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
.em {
  font-style: italic;
}

/* ==================
  LAYOUT HELPERS
=================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  background: var(--color-bg2);
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--color-card-shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 600px) {
  .content-wrapper {
    padding: 22px 8px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 4px 16px var(--color-card-shadow);
  padding: 20px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  background: var(--color-soft-mint);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  margin-bottom: 24px;
  margin-top: 12px;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card p {
  color: #223527;
  font-style: italic;
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 1.07rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tips-list ul {
  margin-bottom: 18px;
}

/* ==========================
  HEADER & NAVIGATION
========================== */
header {
  background: linear-gradient(135deg, #F6C9C5 0%, #FFFFF6 60%, #C9E6DC 100%);
  box-shadow: 0 2px 12px 0 var(--color-card-shadow);
  border-bottom: 1.5px solid var(--color-border);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}
header nav {
  display: flex;
  gap: 28px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.01rem;
  padding: 7px 0 4px 0;
  border-radius: 6px;
  color: #376952;
  transition: color .22s, background .22s;
}
header nav a:hover, header nav a.active {
  color: var(--color-accent);
  background: #d7eafe40;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #A2C432 8%, #C9E6DC 80%);
  color: var(--color-dark);
  border: none;
  border-radius: 37px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.11rem;
  padding: 11px 35px;
  margin-left: 8px;
  box-shadow: 0 1.5px 6px 0 rgba(162,196,50,0.12);
  letter-spacing: 0.02em;
  transition: background var(--transition), box-shadow var(--transition);
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(100deg, #C9E6DC 8%, #A2C432 80%);
  color: var(--color-primary);
  box-shadow: 0 3px 18px 0 rgba(162,196,50,0.20);
}

/* ===========
  MOBILE MENU
============ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 17px;
  right: 18px;
  z-index: 2201;
  background: var(--color-accent);
  color: #fff;
  font-size: 2rem;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 3px 14px 0 var(--color-card-shadow);
  transition: background .18s, color .18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #C9E6DC;
  color: var(--color-primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(140deg, #FFF8D3 17%, #F6C9C5 80%, #C9E6DC 100%);
  box-shadow: 0 0 40px 0 rgba(36,109,60,0.14);
  z-index: 3000;
  transform: translateX(-120vw);
  opacity: 0;
  visibility: hidden;
  transition: transform .45s cubic-bezier(0.65,0,0.35,1), opacity .33s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--color-primary);
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 3100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff6;
  box-shadow: 0 2px 10px 0 var(--color-card-shadow);
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 96px 32px 28px 32px;
  align-items: flex-start;
  width: 100%;
  height: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-dark);
  font-weight: 500;
  padding: 10px 0 8px 2px;
  border-radius: 9px;
  width: 100%;
  transition: color .2s, background .22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #d7eafe48;
  color: var(--color-primary);
}
@media (max-width: 1020px) {
  header nav {
    gap: 16px;
  }
  .cta-btn {
    padding: 11px 19px;
  }
}
@media (max-width: 870px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ==========================
  MAIN STRUCTURE
========================== */
main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 42px;
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px 8px 20px;
}
/* Responsive spacing */
@media (max-width: 600px) {
  main {
    gap: 16px;
    margin-top: 20px;
  }
  section {
    margin-bottom: 38px;
    padding: 18px 6px 4px 6px;
  }
}

/* ==================
  FOOTER
================== */
footer {
  background: linear-gradient(90deg, #C9E6DC 0%, #F6C9C5 100%);
  border-top: 1px solid var(--color-border);
  margin-top: 46px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 32px 16px 24px 16px;
}
footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-dark);
  font-size: 1rem;
  font-family: var(--font-display);
  opacity: 0.81;
  transition: color .18s, opacity .18s;
}
footer nav a:hover {
  color: var(--color-accent);
  opacity: 1;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
  margin-left: 12px;
}
footer .contact-info img {
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
footer a img {
  max-width: 50px;
  margin-bottom: 10px;
}
@media (max-width: 750px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 6px 12px 6px;
  }
  footer nav {
    gap: 10px;
  }
}

/* =============================
  CARDS, PRODUCT LIST, FEATURES
============================= */
.card-container, .product-list, .tips-list, .illustrated-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 20px;
  margin-bottom: 22px;
}
.product-list > div, .tips-list > ul {
  background: var(--color-soft-blue);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 var(--color-card-shadow);
  padding: 26px 19px 21px 19px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-list h3 {
  margin-bottom: 6px;
}
.product-list ul {
  margin-bottom: 9px;
}
.features, .feature-item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-item {
  background: var(--color-soft-mint);
  border-radius: 14px;
  padding: 18px 15px;
  min-width: 205px;
}

/* For icons in list items */
ul li img, .text-section ul li img {
  width: 1.5em;
  margin-right: 11px;
  vertical-align: middle;
  filter: drop-shadow(0 1px 3px rgba(162,196,50,0.10));
}

/* =====================
  INTERACTIONS
===================== */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background var(--transition), color .19s, box-shadow .22s, transform .17s;
}
.cta-btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(.98);
}

/* Subtle card hover  */
.card, .product-list > div, .feature-item {
  transition: box-shadow .21s, transform .17s;
}
.card:hover, .product-list > div:hover, .feature-item:hover {
  box-shadow: 0 6px 32px 0 var(--color-card-shadow);
  transform: translateY(-2px) scale(1.012);
}

/* ==================
 RESPONSIVE FLEXBOX
=================== */
@media (max-width: 900px) {
  .product-list, .card-container, .features, .feature-item-list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .product-list > div, .feature-item {
    min-width: unset;
    padding: 17px 10px;
  }
}

/* =======================
 TESTIMONIALS & REVIEWS
======================= */
.testimonial-card {
  background: var(--color-white);
  border-left: 7px solid var(--color-soft-pink);
  color: #223527;
}
.testimonial-card p,
.testimonial-card strong,
.testimonial-card div {
  color: var(--color-dark);
}
.testimonial-card img {
  width: 20px;
  vertical-align: middle;
  margin: 0 7px 0 0;
}

/* Ensure contrast for reviews */
.testimonial-card {
  box-shadow: 0 4px 28px -3px rgba(162,196,50,0.13);
}

/* =====================
  FORMS/INPUTS (example)
===================== */
input, textarea, select {
  background: var(--color-bg2);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 1rem;
  transition: border-color .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
}

/* =====================
  COOKIE CONSENT BANNER
===================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #FFF8D3 0%, #C9E6DC 100%);
  box-shadow: 0 -3px 20px 0 rgba(162,196,50,0.13);
  padding: 22px 20px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 4010;
  font-size: 1rem;
  transition: transform .43s, opacity .22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-dark);
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: 27px;
  padding: 7px 20px;
  font-size: 1rem;
  margin: 0 2px;
  box-shadow: 0 1px 10px 0 rgba(162,196,50,0.06);
  transition: background .18s, color .18s, box-shadow .22s;
}
.cookie-btn.reject {
  background: var(--color-soft-pink);
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: var(--color-soft-mint);
  color: var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f7b8b1;
  color: var(--color-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #a9e3ca;
  color: var(--color-primary);
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(36,109,60,0.28);
  z-index: 4020;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 36px rgba(36,109,60,0.19);
  padding: 32px 18px 28px 24px;
  max-width: 360px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  background: none;
  color: var(--color-primary);
  border: none;
  font-size: 1.6rem;
  position: absolute;
  top: 16px; right: 20px;
  cursor: pointer;
  padding: 0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category-label {
  flex: 1;
  color: var(--color-primary);
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: #EDEDED;
  position: relative;
  cursor: pointer;
  transition: background .18s;
}
.cookie-toggle.active {
  background: var(--color-accent);
}
.cookie-toggle-switch {
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 2px 0 var(--color-card-shadow);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left .22s;
}
.cookie-toggle.active .cookie-toggle-switch {
  left: 20px;
}
.cookie-category-row.essential .cookie-toggle {
  background: #EDEDED;
}
.cookie-category-row.essential .cookie-category-label {
  opacity: 0.7;
}

/* ====================
  MISCELLANEOUS
==================== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #d7eafe;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafb;
}
hr {
  border: 0;
  border-top: 1.5px solid var(--color-border);
  margin: 34px 0 24px 0;
}

/* Decorative pastel shapes for dreamy effect (optional, can be used as background or overlay) */
.pastel-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

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