/* ========================
  CSS RESET & BASE STYLES
 ======================== */
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; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
table { border-collapse: collapse; border-spacing: 0; }
button, input, select, textarea { font: inherit; }

/* ========================
      CSS VARIABLES
 ======================== */
:root {
  --color-primary: #23235A;
  --color-secondary: #F7F7F7;
  --color-accent: #0E9778;
  --color-brand-accent: #0C7E63; /* fallback accent */
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --color-grey: #e7eaf2;
  --color-yellow: #FCE96A;
  --color-pink: #EB4D94;
  --color-orange: #FFB672;
  --color-blue: #1595F5;
  --card-shadow: 0 6px 30px rgba(35,35,90,0.12);
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', sans-serif;
  --font-body: 'Open Sans', 'Arial', sans-serif;
}

/* ========================
      LAYOUT BASICS
 ======================== */
body {
  min-height: 100vh;
  color: var(--color-primary);
  background: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* =============================
    Headings and Typography
============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: 2.6rem; margin-bottom: 24px; color: var(--color-accent); }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.325rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
p, ul, ol { font-size: 1rem; color: var(--color-primary); margin-bottom: 16px; }
strong { font-weight: 700; color: var(--color-accent); }
em, i { color: var(--color-pink); font-style: italic; }
.text-section h2,
.text-section h3,
.text-section h4 { color: var(--color-primary); margin-top: 24px; }

/* Playful, Dynamic Fonts */
h1, h2 {
  font-family: var(--font-display); text-transform: none; }
h1 span, h2 span {
  color: var(--color-pink); font-family: var(--font-display); }

/* =========================
        HEADER
========================= */
header {
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(35,35,90,0.08);
  position: relative;
  z-index: 1010;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
header img { height: 36px; margin-right: 32px; }
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 6px 18px;
  border-radius: 16px;
  transition: background 0.18s, color 0.16s, box-shadow 0.2s;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
}
header nav a.cta {
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 16px;
  font-weight: bold;
  padding: 9px 26px;
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(14,151,120,0.14);
  transition: background 0.22s, transform 0.18s;
}
header nav a:hover { background: var(--color-grey); color: var(--color-accent); }
header nav a.cta:hover {
  background: var(--color-pink);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.045) rotate(-3deg);
  box-shadow: 0 8px 28px 0 rgba(235,77,148,0.13);
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-white);
  border: none; border-radius: 50%;
  width: 46px; height: 46px;
  font-size: 2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  z-index: 1020;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus { background: var(--color-pink); outline: none; }

/* ================== 
 Mobile Menu Overlay 
=================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: var(--color-white);
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(0.75,0,0.175,1), opacity 0.3s;
  z-index: 2100;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 32px;
  background: var(--color-pink);
  color: var(--color-white);
  border: none;
  font-size: 2.1rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  z-index: 2102;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(235,77,148,0.16);
  transition: background 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: var(--color-orange); outline: none; }
.mobile-nav {
  margin: 100px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding-left: 44px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  background: none;
  border-radius: 12px;
  transition: background 0.13s, color 0.13s;
  padding: 7px 24px 7px 12px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-yellow);
  color: var(--color-pink);
}
/* =========================
         MAIN
========================= */
main {
  margin-top: 68px;
  min-height: 65vh;
}

/* =============
   SECTIONS
=============== */
section {
  background: var(--color-white);
  border-radius: 32px 32px 40px 40px/44px 44px 48px 30px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.22s;
}
section:hover {
  box-shadow: 0 6px 50px rgba(14,151,120,0.12);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-grey);
  box-shadow: 0 4px 18px rgba(14,151,120,0.08);
  border-radius: 22px;
  margin-bottom: 20px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  transition: transform 0.13s, box-shadow 0.16s;
  z-index: 1;
  border: 2.5px solid transparent;
}
.card:hover {
  border-color: var(--color-pink);
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
  box-shadow: 0 12px 28px rgba(235,77,148,0.09);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: #fffbe9;
  border: 2px solid var(--color-yellow);
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(252,233,106,0.10),0 1.5px 9px rgba(35,35,90,0.07);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 320px;
  transition: box-shadow 0.12s, border-color 0.18s;
}
.testimonial-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 40px rgba(14,151,120,0.13);
}
.testimonial-card p {
  color: var(--color-black);
  font-size: 1.075rem;
}
.testimonial-card strong {
  color: var(--color-pink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.03rem;
}
.stars {
  margin-left: 16px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.stars img {
  width: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* =========================
        LISTS
========================= */
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
  color: var(--color-primary);
  font-size: 1rem;
}
ul > li, ol > li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 35px;
  line-height: 1.6;
  font-family: var(--font-body);
  background: none;
  font-size: 17px;
}
ul > li::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--color-pink);
  border-radius: 50%;
  margin-right: 12px;
  position: absolute; left: 0; top: 4px;
  border: 2px solid var(--color-yellow);
  box-shadow: 0 1.5px 6px rgba(235,77,148,0.11);
}
ul > li img {
  width: 28px; height: 28px;
  vertical-align: middle;
  margin-right: 8px;
  background: var(--color-yellow);
  border-radius: 30%;
  padding: 3px;
}
ol > li {
  counter-increment: olitem;
  padding-left: 36px;
  font-weight: 600;
  background: none;
  color: var(--color-primary);
  position: relative;
  font-size: 17px;
}
ol > li > span {
  display: inline-block;
  width: 27px; height: 27px;
  border-radius: 18px;
  background: var(--color-blue);
  color: var(--color-white);
  font-weight: bold;
  text-align: center;
  margin-right: 18px;
  line-height: 27px;
  font-family: var(--font-display);
  font-size: 1.19rem;
  box-shadow: 0 1.5px 8px rgba(21,149,245,0.08);
  vertical-align: middle;
}

/* =========================
      BUTTONS & CTAs
========================= */
.cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-accent) 70%, var(--color-blue) 100%);
  color: var(--color-white);
  border: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 13px 34px;
  border-radius: 32px;
  box-shadow: 0 8px 30px 0 rgba(14,151,120,0.17);
  transition: background 0.19s, color 0.13s, transform 0.14s, box-shadow 0.18s;
  cursor: pointer;
  position: relative;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, var(--color-pink) 60%, var(--color-yellow) 100%);
  color: var(--color-primary);
  transform: scale(1.045) rotate(-2deg) translateY(-2px);
  box-shadow: 0 16px 48px var(--color-pink),0 7px 22px 0 rgba(14,151,120,0.07);
  outline: none;
}
button, .cta {
  outline: none;
}
button:active {
  transform: scale(0.96) rotate(1deg);
}

/* =========================
     FAQ ACCORDIONS, ETC
========================= */
.faq-accordion h3 {
  font-size: 1.15rem;
  cursor: pointer;
  background: var(--color-yellow);
  color: var(--color-primary);
  padding: 11px 19px;
  border-radius: 18px 18px 8px 8px/22px 21px 4px 14px;
  transition: background 0.16s;
  margin-bottom: 2px;
}
.faq-accordion h3:hover,
.faq-accordion h3:focus {
  background: var(--color-pink);
  color: var(--color-white);
}
.faq-accordion p {
  margin-left: 0;
  margin-bottom: 16px;
  background: var(--color-grey);
  padding: 10px 22px;
  border-radius: 10px 20px 24px 12px/16px 12px 30px 22px;
  color: var(--color-primary);
  font-size: 1.01rem;
}

.contact-hint {
  background: var(--color-orange);
  border-radius: 16px;
  padding: 13px 19px;
  color: var(--color-primary);
  font-size: 1.02rem;
  margin-top: 17px;
  margin-bottom: 12px;
}
.contact-hint a {
  color: var(--color-pink);
  text-decoration: underline;
  font-weight: bold;
}

/* =========================
        FOOTER
========================= */
footer {
  background: var(--color-primary);
  margin-top: 38px;
  padding: 48px 0 16px 0;
  color: var(--color-white);
  border-radius: 50px 50px 0 0 / 36px 36px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}
.footer-brand img {
  height: 45px; margin-bottom: 8px; 
}
footer nav {
  display: flex; flex-wrap: wrap;
  gap: 28px;
}
footer nav a {
  color: var(--color-yellow);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.16s;
}
footer nav a:hover { color: var(--color-pink); }
footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin: 8px 0 0 0;
}
footer ul li {
  display: flex; align-items: center;
  font-size: 1rem;
  color: var(--color-yellow);
  gap: 10px;
  background: none;
  margin-bottom: 0;
  padding-left: 0;
  position: relative;
}
footer ul li img {
  width: 22px; height: 22px;
  margin-right: 4px;
}
.footer-social {
  display: flex; gap: 23px;
}
.footer-social a { transition: filter 0.17s, transform 0.11s; }
.footer-social a:hover { filter: brightness(1.4) hue-rotate(24deg); transform: scale(1.10) rotate(-6deg); }
.copyright {
  color: #bdbddf;
  font-size: 0.95rem;
  margin-top: 12px;
}

/* ===============
    Cookie Banner
================ */
.cookie-banner {
  position: fixed;
  left: 12px; right: 12px;
  bottom: 16px;
  background: #fffbe9;
  color: var(--color-primary);
  padding: 24px 22px 18px 22px;
  border-radius: 20px 30px 34px 16px / 32px 24px 44px 24px;
  box-shadow: 0 8px 30px 0 rgba(252,233,106,0.14),0 1.5px 9px rgba(35,35,90,0.07);
  display: flex; flex-direction: column; gap: 18px;
  z-index: 2500;
  opacity: 1; transition: opacity 0.34s;
}
.cookie-banner[hidden] { opacity:0; pointer-events: none; }
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 11px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: bold;
  border: none;
  border-radius: 18px;
  padding: 10px 21px;
  font-size: 1.05rem;
  cursor: pointer;
  background: var(--color-accent);
  color: var(--color-white);
  transition: background 0.14s, transform 0.13s, color 0.15s;
  box-shadow: 0 4px 20px rgba(14,151,120,0.13);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-pink);
  color: var(--color-yellow);
  transform: scale(1.04) rotate(-2.2deg);
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-yellow);
  color: var(--color-primary);
  font-weight: 700;
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--color-orange);
  color: var(--color-pink);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,35,90,0.47);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.32s;
}
.cookie-modal[hidden] { opacity: 0; pointer-events: none; }
.cookie-modal-content {
  background: var(--color-white);
  border-radius: 30px 45px 26px 28px/38px 48px 30px 36px;
  padding: 38px 28px;
  min-width: 320px; max-width: 96vw;
  box-shadow: 0 14px 50px rgba(35,35,90,0.19),0 1.5px 20px rgba(252,233,106,0.07);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cookie-modal-content h3 {
  font-size: 1.26rem;
  color: var(--color-accent);
  margin-top: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 19px;
  margin: 8px 0;
}
.cookie-category label { font-weight: 600; font-size: 1.04rem; }
.cookie-category input[type=checkbox] {
  width: 23px; height: 23px;
  accent-color: var(--color-accent);
  margin-right: 2px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.cookie-modal-close {
  align-self: flex-end;
  background: var(--color-pink);
  color: var(--color-white);
  border: none;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-top: -31px;
  margin-bottom: 5px;
  margin-right: -5px;
  box-shadow: 0 2px 12px rgba(235,77,148,0.13);
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-yellow);
  color: var(--color-pink);
}

/* =========================
      ANIMATIONS
========================= */
@keyframes playful-bounce {
  0%   { transform: scale(1) rotate(0deg); }
  30%  { transform: scale(1.06) rotate(-2deg); }
  55%  { transform: scale(0.98) rotate(1.5deg); }
  80%  { transform: scale(1.04) rotate(-1deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.cta, header nav a.cta, .card, .testimonial-card {
  animation: playful-bounce 1.1s cubic-bezier(0.7,1.3,0.3,0.8) 1;
}
header img, .footer-brand img {
  animation: playful-bounce 0.96s .24s cubic-bezier(0.7,1.3,0.3,0.8);
}
@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(6px); }
  100% { transform: translateY(0px); }
}
.cta {
  animation: floating 3s infinite cubic-bezier(0.37,0,0.63,1);
}

/* =========================
      RESPONSIVE DESIGN
========================= */
@media (max-width: 1022px) {
  .container { max-width: 91vw; }
}
@media (max-width: 900px) {
  header { padding: 0 12px; }
  .container { padding: 0 8px; }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: flex;
  }
  main { margin-top: 68px; }
  section {
    padding: 30px 7px;
    border-radius: 20px 24px 30px 15px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .card-container, .content-grid, .footer-social, footer nav, footer ul {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    min-width: 170px;
    gap: 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  footer .container {
    gap: 17px;
    padding: 0 8px;
  }
}
@media (max-width: 530px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.44rem; }
  section, .cookie-modal-content { padding: 16px 4px; }
  .cookie-banner { padding: 18px 8px 14px 10px; font-size: 0.94rem; }
  .cookie-modal-content { padding: 21px 6px; min-width: 90vw; }
}

/* UTILITY */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ERROR/EMPTY STATES */
.empty-state {
  display: flex;
  flex-direction: column;
  justify-content: center; align-items: center;
  min-height: 220px;
  color: var(--color-pink);
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: 0 2px 11px rgba(235,77,148,0.06);
  font-family: var(--font-display);
  font-size: 1.23rem;
  margin: 34px 0;
}

/* ============================
   Custom scrollbar for fun!  
============================== */
::-webkit-scrollbar {
  width: 10px; background: var(--color-secondary); border-radius: 12px; }
::-webkit-scrollbar-thumb {
  background: var(--color-yellow); border-radius: 11px;
  box-shadow: 0 1.5px 5px rgba(235,77,148,0.15);
}

/* ================
  MICRO-INTERACTIONS
================== */
.cta:active, .cookie-banner button:active, .cookie-modal-content button:active {
  filter: brightness(0.98); transform: scale(0.97) rotate(1deg);
}

/* Accessibility outline for tabs, focusable */
a:focus, button:focus { outline: 2.1px dashed var(--color-pink); outline-offset: 2.5px; background: #fffbe9;}

/* ================
  PRINT BASE RESET
================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section { box-shadow: none; }
  body { color: #000; background: #fff; }
}
