/* ===== 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, 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;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F3F9EF;
  color: #275572;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  outline: none;
  border: none;
  background: none;
}

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;700&display=swap');

:root {
  --color-primary: #275572;
  --color-secondary: #92C89C;
  --color-accent: #F3F9EF;
  --color-yellow: #F8D148;
  --color-pink: #FA79A2;
  --color-blue: #70B0FF;
  --color-lime: #AFFF5B;
  --radius-main: 18px;
  --radius-button: 30px;
  --text-dark: #275572;
  --text-light: #ffffff;
  --shadow-main: 0 4px 20px rgba(39,85,114,0.09);
  --shadow-pop: 0 4px 16px 2px rgba(250,121,162,0.15);
  --card-bg: #fff;
}

/* ===== GENERAL CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--color-accent);
  box-shadow: var(--shadow-main);
  padding: 0;
  position: relative;
}
.logo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
  padding: 7px 16px;
  border-radius: var(--radius-main);
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-yellow);
  color: #222;
}
.cta.primary {
  background: linear-gradient(90deg, var(--color-yellow), var(--color-secondary));
  color: var(--color-primary);
  border-radius: var(--radius-button);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 1px;
  padding: 12px 38px;
  box-shadow: var(--shadow-pop);
  transition: transform 0.12s, box-shadow 0.18s, background 0.25s;
  cursor: pointer;
  border: none;
  outline: none;
  margin-left: 18px;
  display: inline-block;
  z-index: 2;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, #FA79A2, var(--color-lime));
  color: #333;
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 6px 28px rgba(250,121,162,0.23);
}

/* Hamburger menu for mobile */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1021;
  background: var(--color-yellow);
  color: var(--color-primary);
  font-size: 34px;
  border-radius: 50%;
  border: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.20s;
  box-shadow: 0 3px 10px rgba(250,121,162,0.08);
}
.mobile-menu-toggle:active {
  background: var(--color-pink);
  color: #fff;
}

/* ===== MOBILE MENU STYLES ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4,0.9,0.0,1), opacity 0.32s;
  box-shadow: 0 0 0 rgba(0,0,0,0.04);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--color-pink);
  color: #fff;
  font-size: 38px;
  border-radius: 50%;
  border: none;
  width: 52px;
  height: 52px;
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  z-index: 1111;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, color 0.15s, box-shadow 0.16s;
  box-shadow: var(--shadow-pop);
}
.mobile-menu-close:active {
  background: var(--color-yellow);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 27px;
  width: 100%;
  margin: 110px 0 0 0;
  padding-left: 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--color-primary);
  padding: 10px 0;
  border-radius: var(--radius-main);
  transition: background 0.16s, color 0.18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-yellow);
  color: #222;
}

/* ======= HERO & HEADINGS ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.18;
  color: var(--color-primary);
}
h1 {
  font-size: 2.5em;
  color: var(--color-pink);
  letter-spacing: .04em;
  text-shadow: 1px 1px 0 #fff6, 2px 3px 0 var(--color-yellow), 0 7px 20px var(--color-blue, #70B0FF);
  margin-bottom: 20px;
}
h2 {
  font-size: 2em;
  color: var(--color-blue);
  margin-bottom: 18px;
}
h3 {
  font-size: 1.41em;
  font-weight: 700;
  color: var(--color-secondary);
}
h4, h5, h6 {
  font-size: 1.1em;
  color: var(--color-primary);
}

p, li, ul, ol {
  font-size: 16px;
  color: var(--color-primary);
  line-height: 1.6;
}
p {
  margin-bottom: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
}
li {
  margin-bottom: 8px;
}
ul {
  margin-left: 18px;
  margin-bottom: 18px;
  padding-left: 2px;
}
ol {
  margin-left: 16px;
  margin-bottom: 18px;
  padding-left: 0px;
}
strong {
  font-weight: bold;
  letter-spacing: 0.01em;
  color: var(--color-pink);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
}

/* ===== FEATURE GRID etc ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
  align-items: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 2px 16px 1px rgba(144,200,156,0.11),0 0 0 2px var(--color-yellow);
  padding: 28px 22px;
  min-width: 220px;
  flex: 1 1 240px;
  transition: transform 0.17s, box-shadow 0.14s, border 0.11s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.feature-grid > div:hover {
  transform: translateY(-8px) scale(1.035) rotate(-1deg);
  box-shadow: 0 12px 36px 10px rgba(250,121,162,0.14);
  border-color: var(--color-pink);
}
.feature-grid img {
  width: 54px;
  margin-bottom: 6px;
  display: block;
}

/* ===== PRODUCT GRID/CARDS ===== */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 21px;
}
.product-grid > div {
  background: #fff;
  border-radius: var(--radius-main);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 248px;
  box-shadow: 0 1.5px 10px 1px rgba(112,176,255,0.11);
  margin-bottom: 20px;
  transition: transform 0.16s, box-shadow 0.14s;
  position: relative;
}
.product-grid > div:hover {
  transform: scale(1.035) rotate(1.5deg);
  box-shadow: 0 12px 40px rgba(112,176,255,0.18), 0 0 0 2px var(--color-pink);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  padding: 26px 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 200px;
  transition: transform 0.14s, box-shadow 0.16s;
  z-index: 1;
}
.card:hover {
  transform: translateY(-7px) scale(1.02) rotate(-0.5deg);
  box-shadow: 0 9px 28px rgba(144,200,156,0.17);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}
.text-section {
  margin-bottom: 18px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 2px 18px 4px rgba(39,85,114,0.09), 0 0 0 2px var(--color-blue);
  font-size: 16px;
  max-width: 390px;
  margin-bottom: 20px;
  margin-right: 20px;
  position: relative;
  min-width: 220px;
  z-index: 1;
}
.testimonial-card p {
  font-size: 1.08em;
  margin-bottom: 7px;
  color: var(--color-primary);
  font-style: italic;
  font-weight: 500;
}
.testimonial-card span {
  font-weight: 700;
  color: var(--color-pink);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05em;
  letter-spacing: 0.02em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}

/* ==== CONTACT INFO FLEXBOX ==== */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 18px 0;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-main);
  padding: 25px 20px;
  box-shadow: var(--shadow-main);
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: var(--color-primary);
}
.contact-info img {
  width: 28px;
}
.map-address {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
}

/* ==== BUTTONS & LINKS ==== */
button, .button, .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  border: none;
  cursor: pointer;
  outline: none;
}
.secondary {
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius-button);
  padding: 10px 28px;
  transition: background 0.15s, transform 0.13s;
}
.secondary:hover, .secondary:focus {
  background: var(--color-pink);
  color: #fff;
  transform: scale(1.05);
}

/* ===== FOOTER ===== */
footer {
  background: #fff;
  border-top: 3px solid var(--color-secondary);
  padding: 38px 0 28px 0;
  margin-top: 50px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-content a img {
  width: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 15px;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: var(--color-pink);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--color-secondary);
  font-size: 15px;
}
.footer-contact img {
  width: 22px;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-yellow);
  color: var(--color-primary);
  box-shadow: 0 -2px 30px 8px rgba(250,121,162,0.05);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px 16px 20px;
  font-size: 17px;
  border-radius: 20px 20px 0 0;
  animation: cookieIn 0.6s cubic-bezier(.42,.58,.41,1.15);
}
@keyframes cookieIn {
  0% { opacity: 0; transform: translateY(100px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 11px;
  align-items: center;
}
.cookie-btn, .cookie-setting-btn {
  border: none;
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius-button);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.03em;
  font-size: 15px;
  padding: 8px 25px;
  margin-left: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.16s, box-shadow 0.13s;
  box-shadow: 0 2px 8px 1px rgba(144,200,156,0.11);
}
.cookie-btn.accept {
  background: var(--color-lime);
  color: #242a1d;
}
.cookie-btn.reject {
  background: var(--color-pink);
  color: #fff;
}
.cookie-setting-btn {
  background: var(--color-blue);
  color: #fff;
}
.cookie-btn:hover, .cookie-setting-btn:hover {
  background: var(--color-pink);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,85,114,0.32);
  z-index: 1300;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: modalFadeIn 0.4s;
}
@keyframes modalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 42px rgba(250,121,162,0.12),0 1.5px 10px var(--color-blue, #70B0FF, 0.09);
  padding: 36px 30px 28px 30px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal-content h3 {
  color: var(--color-pink);
  margin-bottom: 0.7em;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-toggle-label {
  font-weight: 700;
  color: var(--color-blue);
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: var(--color-secondary);
  border-radius: 12px;
  position: relative;
  margin-left: 0;
  transition: background 0.15s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  transition: left 0.18s, background 0.13s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 18px;
  background: var(--color-pink);
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 7px;
}

/* ===== ANIMATIONS & MICROINTERACTIONS ===== */
a, button, .cta, .main-nav a, .mobile-nav a {
  transition: background 0.17s, color 0.18s, transform 0.15s, box-shadow 0.15s;
}

.section, .feature-grid > div, .product-grid > div, .testimonial-card, .card {
  animation: floatInUp 0.5s;
}
@keyframes floatInUp {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Fun playful decorative dots (optional, can be used for fun overlays) */
.section::before {
  content: '';
  position: absolute;
  top: 10px; left: -22px;
  width: 28px; height: 28px;
  background: var(--color-lime);
  border-radius: 50%;
  opacity: 0.22;
  z-index: 0;
  filter: blur(1.2px);
  pointer-events: none;
  animation: playDot 3.6s ease-in-out infinite alternate;
}
.section:nth-child(even)::before {
  background: var(--color-pink);
}
@keyframes playDot { 0% { transform: scale(.66); } 100% { transform: scale(1.13) translateY(10px); } }

/* ======= RESPONSIVE STYLES ======= */
@media (max-width: 1050px) {
  .feature-grid, .product-grid, .footer-content, .card-container, .content-grid {
    flex-direction: column;
    gap: 23px;
    align-items: stretch;
  }
  .feature-grid > div, .product-grid > div, .card {
    min-width: unset;
  }
}
@media (max-width: 820px) {
  .logo-nav {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .footer-content {
    gap: 23px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 25px 8px;
  }
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.35em;
  }
  .feature-grid {
    gap: 16px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper {
    padding: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-content {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .contact-info {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 460px) {
  .container {
    padding: 0 4px;
  }
  .section {
    padding: 12px 1px 22px 1px;
    margin-bottom: 39px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    padding: 13px 6px 10px 5px;
    font-size: 15px;
  }
  .cookie-banner-buttons {
    gap: 7px;
  }
  .mobile-nav {
    padding-left: 18px;
  }
}

/* ==== TABLET/LAPTOP ===== */
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}

/* ===== SPECIAL CLASSES USED IN HTML ===== */
.how-it-works-icons {
  display: flex;
  align-items: center;
  gap: 23px;
  margin: 17px 0 21px 0;
}
.faq {
  margin-top: 31px;
  background: #fff;
  border-radius: var(--radius-main);
  padding: 18px 19px 12px 15px;
  box-shadow: 0 1.5px 10px 1px rgba(250,121,162,0.07);
}
.faq h3 {
  color: var(--color-pink);
  margin-bottom: 11px;
}

/* ===== HELPER CLASSES ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.gap-12 { gap: 12px; }
.gap-24 { gap: 24px; }

/* ===== ACCESSIBILITY OVERRIDES ===== */
:focus, a:focus, button:focus {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* Disabled states for buttons */
button:disabled, .cta:disabled, .cookie-btn:disabled {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}

/* ===== DISPLAY FOR PRINT ===== */
@media print {
  .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}

/* ===== THANK YOU PAGE ANIMATION ===== */
@keyframes thankYouWiggle {
  0%{ transform: rotate(-3deg) scale(1.00);} 30%{ transform: rotate(3deg) scale(1.045); } 60%{transform: rotate(-2deg) scale(1.025);} 100%{transform: rotate(0deg) scale(1.0);}
}
.thankyou-animation {
  animation: thankYouWiggle 1s;
}

/* ===== PLAYFUL DYNAMIC ACCENTS (OPTIONAL DECOR) ===== */
body::after {
  content: '';
  pointer-events: none;
  position: fixed;
  bottom: 0; right: 0;
  width: 85px; height: 85px;
  border-radius: 50%;
  background: var(--color-secondary);
  opacity: 0.13;
  filter: blur(7px);
  z-index: 0;
}
body::before {
  content: '';
  pointer-events: none;
  position: fixed;
  top: 0; left: 0;
  width: 60px; height: 60px;
  border-radius: 60px;
  background: var(--color-pink);
  opacity: 0.13;
  filter: blur(8px);
  z-index: 0;
}
