/* ===============================
   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.5;
  background: #F3F4F6;
  color: #29323C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
input, button, textarea, select {
  font-family: inherit;
  outline: none;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.77,0,.18,1);
}
img {
  max-width: 100%;
  display: block;
}
strong, b {
  font-weight: 700;
}

/* ===============================
   BRAND COLORS & CSS CUSTOM PROPS
   =============================== */
:root {
  --brand-primary: #29323C;
  --brand-secondary: #7A8A99;
  --brand-accent: #F3F4F6;
  --playful-pink: #FF6BC6;
  --playful-yellow: #FFD44D;
  --playful-blue: #42D9F6;
  --playful-green: #55E69D;
  --cta-bg: var(--playful-pink);
  --cta-text: #ffffff;
  --shadow1: 0 4px 16px 0 rgba(41,50,60,0.14), 0 1.5px 8px 0 rgba(255,107,198,0.16);
  --radius: 18px;
  --spacing1: 8px;
  --spacing2: 16px;
  --spacing3: 24px;
  --spacing4: 32px;
  --spacing5: 40px;
  --shadow-btn: 0 2px 8px 0 rgba(255,107,198,0.12);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: var(--spacing2);
  letter-spacing: -1.2px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: var(--spacing4);
}
h2 {
  font-size: 1.7rem;
}
h3 {
  font-size: 1.15rem;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #29323C;
}
p {
  margin-bottom: var(--spacing2);
}
blockquote {
  font-style: italic;
}
.text-section ul, .text-section ol {
  padding-left: 24px;
}
/* Playful font treatment for certain elements */
.cta, .main-nav .cta, .mobile-nav .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
}

/* ===============================
   CONTAINER LAYOUTS
   =============================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 36px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
  padding: 24px;
  transition: transform 0.22s cubic-bezier(.77,0,.18,1), box-shadow 0.22s cubic-bezier(.77,0,.18,1);
}
.card:hover {
  transform: translateY(-6px) scale(1.025) rotate(-1deg);
  box-shadow: 0 8px 28px 0 rgba(66,217,246,0.12), 0 2.5px 15px 0 rgba(255,219,77,0.18);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  background: #fff;
  border-left: 5px solid var(--playful-yellow);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 rgba(122,138,153,0.11);
  font-size: 1.05rem;
  color: #222;
  transition: box-shadow 0.18s cubic-bezier(.77,0,.18,1);
}
.testimonial-card blockquote {
  color: #222;
  font-size: 1.05rem;
}
.testimonial-card span {
  font-weight: bold;
  color: var(--playful-blue);
  font-style: normal;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(122,138,153,0.16), 0 2.5px 15px 0 rgba(66,217,246,0.13);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 16px;
}
.features-grid > div {
  flex: 1 1 220px;
  max-width: 256px;
  min-width: 180px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
  padding: 20px 14px 24px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.16s cubic-bezier(.77,0,.18,1), box-shadow 0.21s cubic-bezier(.77,0,.18,1);
  border-left: 6px solid var(--playful-blue);
}
.features-grid > div:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 22px 0 rgba(255,107,198,0.13), 0 3px 18px 0 rgba(66,217,246,0.15);
  border-left-color: var(--playful-pink);
}
.features-grid img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 3px 4px rgba(255,219,77,0.12));
  margin-bottom: 10px;
  animation: iconBounce 1.7s infinite cubic-bezier(.84,0,.26,1.02);
}
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(-10px) rotate(-3deg); }
  70% { transform: translateY(1px) rotate(2deg); }
}

/* ------------------------------
   NAVIGATION & HEADER
 ------------------------------- */
header {
  background: #fff;
  width: 100%;
  box-shadow: 0 2px 12px -4px rgba(41,50,60,0.07);
  z-index: 100;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 3px 4px rgba(66,217,246,0.09));
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.main-nav a {
  color: var(--brand-primary);
  padding: 6px 22px;
  border-radius: var(--radius);
  transition: background 0.18s, color 0.18s, box-shadow 0.24s;
  position: relative;
  z-index: 1;
  background: none;
}
.main-nav a:not(.cta):hover,
.main-nav a:not(.cta):focus {
  background: var(--playful-yellow);
  color: #253F2B;
  box-shadow: 0 4px 9px 0 rgba(255,219,77,0.11);
}
.main-nav .cta {
  background: var(--cta-bg);
  color: var(--cta-text);
  padding: 7px 32px;
  margin-left: 18px;
  border-radius: 40px;
  box-shadow: var(--shadow-btn);
  font-weight: 800;
  letter-spacing: 1.3px;
  transition: background-color 0.22s, color 0.22s, transform 0.21s;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: var(--playful-blue);
  color: white;
  transform: scale(1.1) rotate(-2deg);
}

.mobile-menu-toggle {
  display: none;
  background: var(--playful-yellow);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2.1rem;
  box-shadow: 0 2px 8px 0 rgba(255,219,77,0.16);
  color: var(--brand-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.19s, transform 0.19s;
  z-index: 9999;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--playful-pink);
  color: #fff;
  transform: scale(1.08) rotate(3deg);
}

@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ------------------------------
   MOBILE MENU OVERLAY
 ------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(243,244,246,0.99);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0;
  transform: translateX(100%);
  transition: transform 0.44s cubic-bezier(.85,0,.18,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: var(--playful-pink);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 24px 28px 0 0;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background .19s, transform .19s;
  z-index: 10001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--playful-yellow);
  color: var(--brand-primary);
  transform: scale(1.09) rotate(8deg);
}
.mobile-nav {
  width: 100%;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 0 46px;
}
.mobile-nav a {
  display: block;
  width: 100%;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 14px 0 14px 8px;
  color: var(--brand-primary);
  background: none;
  border-radius: var(--radius);
  transition: background 0.16s, color 0.16s, padding 0.16s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--playful-blue);
  color: #fff;
  padding-left: 26px;
}

@media (max-width: 500px) {
  .mobile-nav {
    padding: 0 16px;
    gap: 16px;
  }
  .mobile-menu-close {
    margin: 16px 8px 0 0;
  }
}

/* ==============================
   MAIN HERO AND CTAS
   ============================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.cta {
  background: var(--playful-pink);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: bold;
  border: none;
  border-radius: 32px;
  padding: 11px 38px;
  margin-top: 6px;
  box-shadow: 0 4px 18px 0 rgba(255,107,198,0.18);
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: background 0.23s, color 0.21s, transform 0.13s;
  outline: none;
  letter-spacing: 1.6px;
}
.cta:hover, .cta:focus {
  background: var(--playful-blue);
  color: var(--playful-yellow);
  box-shadow: 0 7px 26px 0 rgba(66,217,246,0.19);
  transform: scale(1.09) rotate(-1deg);
}

@media (max-width: 900px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .features-grid {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.09rem;
  }
  .container {
    max-width: 100vw;
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* ===============================
   FOOTER STYLES
   =============================== */
footer {
  width: 100%;
  background: linear-gradient(90deg, var(--playful-pink) 0%, var(--playful-yellow) 100%);
  color: var(--brand-primary);
  padding: 28px 0 8px 0;
  box-shadow: 0 -2px 12px 0 rgba(66,217,246,0.11);
  margin-top: 36px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: rgba(255,255,255,0.14);
  padding: 6px 18px;
  border-radius: 24px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--playful-blue);
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-bottom: 8px;
}
.footer-contact img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px 0 rgba(122,138,153,0.12);
  flex-shrink: 0;
}
.footer-contact .text-section {
  font-size: 0.97rem;
  color: var(--brand-primary);
}
.footer-contact a {
  color: var(--brand-primary);
  font-weight: bold;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-contact img {
    margin-bottom: 9px;
  }
}

/* ===============================
   LISTS & TEXT CONTENT
   =============================== */
ul, ol {
  margin-bottom: var(--spacing2);
  margin-top: var(--spacing1);
}
ul li, ol li {
  padding-left: 0;
  margin-bottom: 10px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
}
ul li:before {
  content: '•';
  color: var(--playful-pink);
  padding-right: 7px;
  font-weight: bold;
}
.features-grid ul, .features-grid ol, .text-section ul, .text-section ol {
  margin: 0;
  padding-left: 18px;
}

.text-section img {
  vertical-align: middle;
  width: 27px;
  height: 27px;
  margin-right: 10px;
  display: inline-block;
  filter: drop-shadow(0 2px 9px rgba(85,230,157,0.12));
}
.text-section {
  margin-bottom: 18px;
}

/* ===============================
   COLORED & ANIMATED ELEMENTS
   =============================== */
@keyframes cardPop {
  0%   { transform: scale(1)    rotate(0deg); }
  29%  { transform: scale(1.06) rotate(-2.7deg); }
  51%  { transform: scale(0.97) rotate(1deg); }
  71%  { transform: scale(1.04) rotate(-1.8deg); }
  100% { transform: scale(1)    rotate(0deg); }
}
.card, .features-grid > div {
  animation: cardPop 1.7s infinite cubic-bezier(.62,0,.44,1) alternate both;
  animation-delay: .17s;
}

/* ===============================
   RESPONSIVE & FLEXBOX OVERRIDES
   =============================== */
@media (max-width: 900px) {
  .features-grid {
    flex-wrap: wrap;
    gap: 14px;
  }
  .features-grid > div {
    min-width: 135px;
    max-width: 99vw;
    padding: 16px 6px 18px 10px;
  }
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (max-width: 700px) {
  .content-wrapper,
  .card-container,
  .content-grid,
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  background: linear-gradient(90deg, var(--playful-yellow) 0%, var(--playful-green) 100%);
  color: #222;
  width: 100vw;
  padding: 24px 10px 14px 10px;
  z-index: 10000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 24px 0 rgba(122,138,153,0.13);
  animation: cookieFadeIn 0.72s cubic-bezier(.6, 0, .4, 1) 1;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 18px 3px 9px 8px;
  }
}
@keyframes cookieFadeIn {
  0% { transform: translateY(70px); opacity: 0; }
  99% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 18px;
  font-weight: 700;
  font-size: 1.01rem;
  padding: 9px 23px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.23s, color 0.19s, transform 0.13s;
  box-shadow: 0 2px 10px 0 rgba(255,107,198,0.07);
}
.cookie-banner .accept {
  background: var(--playful-green);
  color: #1b5040;
}
.cookie-banner .accept:hover { background: var(--playful-blue); color: #fff; }
.cookie-banner .reject {
  background: var(--playful-pink);
  color: #fff;
}
.cookie-banner .reject:hover { background: #fff; color: var(--playful-pink); border: 1px solid var(--playful-pink); }
.cookie-banner .settings {
  background: var(--playful-yellow);
  color: #222;
}
.cookie-banner .settings:hover { background: var(--playful-blue); color: #fff; }

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(41,50,60,0.27);
  z-index: 12000;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.31s cubic-bezier(.63,0,.34,1);
}
.cookie-modal-overlay.active {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  padding: 34px 28px 19px 28px;
  border-radius: var(--radius);
  box-shadow: 0 6px 40px 0 rgba(41,50,60,0.13);
  min-width: 310px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: popInModal .63s cubic-bezier(.89,0,.29,1.01) 1;
}
@keyframes popInModal {
  0%   { transform: scale(0.7) rotate(-6deg); opacity: 0; }
  80%  { transform: scale(1.06) rotate(4deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--brand-primary);
  font-weight: 800;
  margin-bottom: 9px;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 7px 0 4px 0;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--playful-green);
  width: 18px;
  height: 18px;
}
.cookie-modal .category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #ebecf0;
}
.cookie-modal .essential {
  color: var(--playful-green);
  font-weight: 700;
}
.cookie-modal .buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 18px;
  font-weight: bold;
  padding: 8px 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.21s, color 0.18s;
}
.cookie-modal .save {
  background: var(--playful-green);
  color: #1b5040;
}
.cookie-modal .save:hover { background: var(--playful-blue); color: #fff; }
.cookie-modal .cancel {
  background: var(--playful-yellow);
  color: #24333c;
}
.cookie-modal .cancel:hover { background: var(--playful-blue); color: #fff; }

/* ===============================
   ANIMATED MICROINTERACTIONS
   =============================== */
.cta, .card, .features-grid > div, .testimonial-card, header a, .footer-nav a, .cookie-banner button {
  transition: all 0.18s cubic-bezier(.77,0,.18,1);
}
.card:hover, .features-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 22px 0 rgba(66,217,246,0.12), 0 3px 14px 0 rgba(255,219,77,0.14);
  transform: scale(1.03) rotate(-1deg);
}

/* ===============================
   MISC. ACCESSIBILITY
   =============================== */
:focus-visible {
  outline: 2px solid var(--playful-blue);
  outline-offset: 2px;
}
::-webkit-selection { background: var(--playful-yellow); color:#222; }
::selection { background: var(--playful-yellow); color:#222; }

/* ===============================
   FINAL FLEXBOX SPACING & GAPS
   =============================== */
.section, .card, .testimonial-card, .feature-item, .features-grid > div, .content-wrapper {
  margin-bottom: 20px;
}
.card-container, .content-grid, .footer-nav, .features-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.feature-item {
  gap: 15px;
}

/* Ensure no element overlap, proper stacking */
.container, .content-wrapper, .card-container, .content-grid, .features-grid {
  position: relative;
  z-index: 2;
}

/* Ensure content breathing room throughout */
.container, .section, .content-wrapper, .features-grid, .footer-contact, .testimonial-card, .card {
  margin-bottom: 20px;
}

/* END OF STYLE.CSS */
