/* --- 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F8F4F0;
  color: #333;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* --- CUSTOM PROPERTIES (with fallback) --- */
:root {
  --color-primary: #1F4141;
  --color-secondary: #8ED365;
  --color-accent: #F8F4F0;
  --color-highlight: #FFD93B;
  --color-cta: #FF6B6C;
  --color-dark: #232323;
  --shadow-card: 0 4px 14px rgba(31,65,65,0.07),0 1.5px 5px rgba(142,211,101,0.14);
  --shadow-btn: 0 2px 7px rgba(31,65,65,0.10), 0 3px 10px rgba(255,219,59,0.06);
  --border-radius-lg: 22px;
  --border-radius: 14px;
  --border-radius-sm: 7px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* --- UTILITY CLASSES ---*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h1 {
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
h4 {
  font-size: 1.08rem;
  font-weight: 600;
}
p, li, blockquote, cite {
  font-family: var(--font-body), Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #303030;
}
p {
  margin-bottom: 10px;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}
blockquote {
  background: var(--color-highlight);
  color: #1F4141;
  border-left: 6px solid var(--color-secondary);
  padding: 18px 26px 18px 22px;
  font-family: var(--font-display), Arial, Helvetica, sans-serif;
  margin-bottom: 8px;
  border-radius: var(--border-radius);
  font-size: 1.08rem;
}
cite {
  display: block;
  font-style: normal;
  color: var(--color-primary);
  font-weight: 500;
}
ul, ol {
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 8px;
}
h1 span, h2 span, h3 span {
  color: var(--color-secondary);
}

/* --- LAYOUT --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-card);
}
.features-grid,
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 18px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  transition: transform .15s cubic-bezier(.27,.46,.15,1.45), box-shadow .22s cubic-bezier(.37,.78,.11,1.32);
  padding: 26px 22px;
}
.card:hover {
  transform: translateY(-6px) scale(1.03) rotate(-.6deg);
  box-shadow: 0 8px 24px rgba(31,65,65,0.15);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 30px 24px;
  min-width: 210px;
  flex: 1 1 230px;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .22s, transform .18s;
  overflow: hidden;
  border: 2px solid transparent;
}
.feature-item img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 1px 2px rgba(140,211,101,0.16));
  background: var(--color-accent);
  border-radius: 50%;
  padding: 7px;
}
.feature-item:hover {
  box-shadow: 0 9px 28px rgba(31,65,65,0.16);
  border-color: var(--color-secondary);
  transform: translateY(-3px) scale(1.025) rotate(.5deg);
}
.badge {
  background: var(--color-secondary);
  color: #1F4141;
  padding: 4px 14px;
  font-size: 0.96rem;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-top: 6px;
  box-shadow: 0 1px 5px rgba(142,211,101,0.09);
  display: inline-block;
  animation: badge-pop 0.8s cubic-bezier(0.22,1.61,0.36,1) both;
}
@keyframes badge-pop {
  0% {transform: scale(0.5); opacity: 0;}
  70% {transform: scale(1.13); opacity: 1;}
  100% {transform: scale(1);}
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--border-radius-lg);
  background: #fffbe5;
  box-shadow: 0 3px 18px rgba(31,65,65,0.07);
  margin-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
  border-left: 5px solid var(--color-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: float-in 1.6s cubic-bezier(.19,1,.55,1.05) both;
}
@keyframes float-in {
  0%{transform:translateY(40px);opacity:0;}
  80%{transform:translateY(-6px);opacity:1;}
  100%{transform:translateY(0);}
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
  transition: box-shadow .16s;
  margin-bottom: 10px;
  position: relative;
}
.faq-item h3 {
  color: var(--color-secondary);
  margin-bottom: 8px;
}
.faq-item:hover {
  box-shadow: 0 9px 20px rgba(31,65,65,0.13);
}

/* --- HEADER/NAVIGATION --- */
header {
  width: 100%;
  padding: 0;
  background: #fff;
  border-bottom: 1.5px solid #F3F3F3;
  position: relative;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 16px;
}
header a img {
  max-height: 43px;
}
nav {
  display: flex;
  align-items: center;
  gap: 27px;
}
nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.03rem;
  padding: 7px 13px;
  border-radius: 18px;
  transition: background .13s, color .13s;
  position: relative;
}
nav a:not(.cta-primary):hover, nav a:focus-visible {
  background: var(--color-secondary);
  color: #1F4141;
}
.cta-primary {
  background: var(--color-secondary);
  color: #1F4141;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 9999px;
  padding: 10px 25px;
  margin-left: 10px;
  box-shadow: var(--shadow-btn);
  font-size: 1.08rem;
  transition: transform .18s, box-shadow .17s, background .15s;
  border: 2px solid var(--color-secondary);
  letter-spacing: 0.6px;
  vertical-align: middle;
}
.cta-primary:hover, .cta-primary:focus-visible {
  background: #ffd93b;
  color: #1F4141;
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 7px 24px rgba(255,219,59,0.21);
  border-color: #FFD93B;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #1F4141;
  border-radius: 50%;
  font-size: 2.15rem;
  padding: 10px;
  border: 2px solid var(--color-primary);
  box-shadow: 0 5px 15px rgba(31,65,65,0.05);
  z-index: 1150;
  margin-left: 16px;
  transition: background .14s, transform .14s;
}
.mobile-menu-toggle:active {transform: scale(0.9);}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 18px 5px rgba(31,65,65,0.19);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.72,1.6,.36,1);
  z-index: 9999;
  padding: 30px 24px 24px 36px;
  gap: 36px;
  will-change: transform;
  touch-action: manipulation;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-cta);
  color: #fff;
  font-size: 2.02rem;
  border-radius: 50%;
  width: 47px;
  height: 47px;
  align-self: flex-end;
  margin-bottom: 18px;
  transition: background .14s, transform .12s;
  z-index: 10001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus-visible {
  background: #fd4142;
  transform: rotate(8deg) scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 8px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  padding: 12px 10px 12px 0;
  color: var(--color-primary);
  border-radius: 12px;
  background: none;
  border-left: 7px solid transparent;
  transition: background .12s, color .12s, border-color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus-visible {
  background: var(--color-secondary);
  color: #1F4141;
  border-left: 7px solid var(--color-primary);
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #fff;
  border-top: 1.5px solid #F3F3F3;
  padding: 30px 0 10px;
  margin-top: 44px;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}
.footer-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.footer-info img {
  max-height: 38px;
  margin-right: 8px;
}
.footer-info p {
  font-size: 1rem;
  color: #373737;
  margin-bottom: 7px;
  font-family: var(--font-body);
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 3px;
}
.footer-nav a {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.98rem;
  background: var(--color-secondary);
  border-radius: 12px;
  padding: 4px 14px;
  transition: background .12s, color .12s;
}
.footer-nav a:hover, .footer-nav a:focus-visible {
  background: var(--color-highlight);
  color: #1F4141;
}

/* --- CARDS & GRIDS --- */
.card-container, .features-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 280px;
}
@media (max-width: 900px) {
  .content-grid,
  .card-container,
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* --- SECTIONS & SPACING --- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
main section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  gap: 24px;
}

/* --- PLAYFUL DYNAMIC ANIMATIONS --- */
.feature-item {
  transition: box-shadow .21s cubic-bezier(.39,.57,.56,1.5), transform .16s cubic-bezier(.49,1.13,.52,1.06);
}
.feature-item:hover {
  transform: translateY(-7px) scale(1.05) rotate(-2deg);
  background: #f3fbf0;
  box-shadow: 0 12px 34px rgba(142,211,101,0.16), 0 2.5px 12px #FFD93B22;
}

.section h2:after, .section h1:after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 7px;
  background: var(--color-highlight);
  border-radius: 5px;
  margin-left: 10px;
  vertical-align: 0.5em;
  animation: wavy 1.5s infinite linear alternate;
}
@keyframes wavy {
  0% {transform: rotate(-2deg) scaleY(1);}
  60% {transform: rotate(1deg) scaleY(1.07);}
  100% {transform: rotate(-4deg) scaleY(.97);}
}

/* --- BUTTONS & INTERACTIONS --- */
button, .cta-primary {
  transition: background .15s, color .15s, transform .15s;
}
button:active {
  transform: scale(.95);
}

/* --- FORMS, INPUTS, BADGES --- */
input, textarea, select {
  background: #fff;
  border: 1.5px solid #EDEDED;
  border-radius: var(--border-radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-family: var(--font-body);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-secondary);
  border-color: var(--color-secondary);
}

.badge {
  animation: badge-pop 0.9s;
}

/* --- TABLES (if needed for pricing) --- */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(142,211,101,0.065);
  margin-bottom: 22px;
}
th, td {
  padding: 14px 16px;
  border-bottom: 2px solid #F3F3F3;
}

thead th {
  background: var(--color-secondary);
  color: #214124;
}

/* --- CONFIRMATION MESSAGE --- */
.confirmation-message {
  color: var(--color-cta);
  font-family: var(--font-display);
  background: #FFFAE5;
  border-radius: var(--border-radius);
  padding: 12px;
  margin-top: 13px;
  margin-bottom: 13px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe5;
  color: #1F4141;
  border-top: 3.5px solid var(--color-secondary);
  box-shadow: 0 -6px 28px -10px #8ED36533;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 12001;
  gap: 22px;
  transition: transform .34s, opacity .14s;
  font-family: var(--font-body);
  font-size: 1rem;
  animation: slideup-cookie 1.1s cubic-bezier(.21,1.16,.37,1) both;
}
@keyframes slideup-cookie {
  0% {transform: translateY(120%); opacity: 0;}
  86% {opacity: 1;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn, .cookie-banner button {
  background: var(--color-secondary);
  color: #214124;
  border-radius: 22px;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 8px 20px;
  font-size: 1rem;
  margin: 0 2.5px;
  box-shadow: var(--shadow-btn);
  transition: background .13s, color .13s, transform .13s;
  border: 2px solid var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus-visible {
  background: var(--color-highlight);
  color: #1F4141;
  transform: scale(1.04);
  border-color: #FFD93B;
}
.cookie-banner__settings {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
  padding: 8px 15px;
  font-size: 0.98rem;
}
.cookie-banner__settings:hover {
  background: var(--color-secondary);
}

.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31,65,65,0.37);
  z-index: 12220;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-overlay .3s both;
}
@keyframes fadein-overlay {
  0% {opacity: 0;}
  100%{opacity: 1;}
}
.cookie-modal {
  background: #fffbe5;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 9px 38px 0 #8ED36545;
  padding: 32px 26px 30px;
  min-width: 320px;
  max-width: 430px;
  color: #272c2c;
  font-family: var(--font-body);
  animation: pop-modal .35s cubic-bezier(.09,1.14,.49,1) both;
  position: relative;
  z-index: 12240;
}
@keyframes pop-modal {
  0%{transform: scale(.55) translateY(90px);opacity:0;}
  100%{transform:scale(1) translateY(0);opacity:1;}
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 20px;
}
.cookie-category {
  background: #fff;
  padding: 10px 13px;
  border-radius: 13px;
  border-left: 5px solid var(--color-secondary);
  color: var(--color-primary);
  font-size: 1rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type=checkbox] {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--color-secondary);
  margin-right: 7px;
  position: relative;
  background: #f3fbf0;
  cursor: pointer;
  transition: border-color .14s, box-shadow .14s;
}
.cookie-category input[type=checkbox]:checked {
  background: var(--color-secondary);
  border: 2.5px solid var(--color-secondary);
}
.cookie-category input:checked::after {
  content: '\2714';
  font-size: 1rem;
  color: #fff;
  position: absolute;
  top: 2px;
  left: 4.5px;
}
.cookie-category.essential input[type=checkbox] {
  background: var(--color-secondary);
  border: 2.5px solid var(--color-secondary);
  pointer-events: none;
  filter: grayscale(65%) opacity(0.7);
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 9px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions .cookie-btn:last-child {
  margin-right: 0;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 15px;
  background: var(--color-cta);
  color: #fff;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  font-size: 1.25rem;
  transition: background .13s, transform .13s;
  z-index: 4;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus-visible {
  background: #fd4142;
  transform: rotate(-15deg);
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  .content-wrapper, .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item, .card, .testimonial-card {
    min-width: 0;
    width: 100%;
    padding: 18px 12px;
    gap: 10px;
  }
  .feature-item img {
    height: 30px;
    width: 30px;
    padding: 2px;
  }
  footer, .section, section {
    padding: 22px 6px;
    margin-bottom: 34px;
    border-radius: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.07rem;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    max-width: 97vw;
    padding: 10px 7px;
    margin-bottom: 17px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-modal {
    min-width: unset;
    width: 96vw;
    max-width: 98vw;
    padding: 19px 8px 23px;
    border-radius: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 16px 8px;
    font-size: 0.99rem;
  }
}
@media (max-width: 500px) {
  .section, section {
    margin-bottom: 25px;
  }
  .card, .feature-item {
    padding: 13px 7px;
  }
  .content-wrapper {
    gap: 7px;
  }
}

/* --- ACCESSIBILITY & FOCUS --- */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2.5px solid var(--color-highlight);
  outline-offset: 2px;
  z-index: 4;
}

/* --- FUN FONTS --- */
h1, h2, h3, h4, h5, .cta-primary, .badge, .mobile-nav a {
  font-family: var(--font-display), Arial, Helvetica, sans-serif;
  letter-spacing: 0.015em;
}
/* Playful iconography & text underline */
li img, ul li img {
  margin-right: 8px;
  vertical-align: middle;
  height: 1.6em;
  width: 1.6em;
}
ul li strong {
  font-family: var(--font-display);
}
h2, h3, h4, .faq-item h3, .feature-item h3 {
  position: relative;
}
h2:before, .faq-item h3:before, .feature-item h3:before {
  content: '•';
  color: var(--color-highlight);
  margin-right: 0.35em;
  font-size: 1.12em;
  animation: color-bop 1.2s infinite alternate;
  vertical-align: baseline;
  font-weight: 900;
}
@keyframes color-bop {
  0%{color:var(--color-highlight);}
  60%{color:#FFA45B;}
  80%{color:var(--color-highlight);}
  100%{color:#FFD93B;}
}

/* --- END --- */