/* 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, main, 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;
}
footer p {
  color: white;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F9FAFB;
  color: #243142;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #5368C7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EFCB8E;
}
/* Brand Variables */
:root {
  --color-primary: #243142;
  --color-secondary: #879FA9;
  --color-accent: #EFCB8E;
  --color-bg-light: #F9FAFB;
  --color-bg-section: #fff7eb;
  --color-success: #68D391;
  --color-danger: #FF6B6B;
  --shadow-card: 0 4px 24px 0 rgba(36,49,66,0.12);
  --radius-card: 20px;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #243142;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.15rem;
}
strong {
  font-weight: 700;
}
p, ul, ol, blockquote {
  font-size: 1.09rem;
  line-height: 1.75;
  color: #243142;
  margin-bottom: 12px;
}
ul, ol {
  padding-left: 23px;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  padding-left: 14px;
  margin: 0 0 7px 0;
}
/* Decorative - Playful Fonts/Accent */
.playful {
  font-family: 'Montserrat', cursive, sans-serif;
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

/**** Layout Containers ****/
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 24px;
  box-shadow: 0 8px 36px 0 rgba(243,203,142,0.09);
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
/* Playful Section Variety */
section:nth-of-type(even) {
  background: #f1f7fa;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
    border-radius: 14px;
  }
}
/**** Header & Navigation ****/
header {
  background: #fff;
  border-bottom: 4px solid var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px 0 rgba(36,49,66,0.04);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
}
header nav a {
  color: var(--color-primary);
  position: relative;
  transition: color 0.18s;
  padding: 5px 0 4px 0;
}
header nav a:after {
  content: '';
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--color-accent);
  width: 0%;
  transition: width 0.25s cubic-bezier(.7,1.6,.23,.99);
  position: absolute;
  left: 0; bottom: 0;
}
header nav a:hover, header nav a.active {
  color: var(--color-accent);
}
header nav a:hover:after, header nav a.active:after {
  width: 90%;
}
.cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  padding: 11px 30px;
  border-radius: 22px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 1.16rem;
  border: none;
  outline: none;
  box-shadow: 0 2px 8px 0 rgba(239,203,142,0.12);
  cursor: pointer;
  transition: transform 0.17s, background 0.17s, box-shadow 0.2s;
  position: relative;
  margin-left: 15px;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffdb99;
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 8px 32px 0 rgba(239,203,142,0.22);
}
.cta-link {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.12rem;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  display: inline-block;
  padding: 2px 7px;
  transition: color 0.18s;
}
.cta-link:after {
  content: '→';
  margin-left: 7px;
  font-size: 1.2em;
  color: var(--color-accent);
  transition: margin-left 0.2s;
}
.cta-link:hover, .cta-link:focus {
  color: var(--color-accent);
}
.cta-link:hover:after {
  margin-left: 14px;
}
header img {
  height: 50px;
  width: auto;
  transition: transform 0.23s cubic-bezier(.7,1.6,.23,.99);
  cursor: pointer;
}
header img:hover {
  transform: scale(1.08) rotate(-3deg);
}
/**** Mobile Menu ****/
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  font-size: 2.2rem;
  padding: 7px 17px;
  border-radius: 18px;
  cursor: pointer;
  margin-left: 12px;
  box-shadow: 0 1px 7px 0 rgba(239,203,142,0.10);
  z-index: 103;
  transition: background 0.16s, transform 0.15s;
}
.mobile-menu-toggle:active {
  background: #ffdb99;
  transform: scale(1.08);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 1105;
  background: linear-gradient(120deg, #fff7eb 60%, #e5f0ff 100%);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.5,1.6,.13,.99);
  box-shadow: 0 12px 85px 0 rgba(36,49,66,.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 35px 30px 20px 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-danger);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 20px;
  padding: 0 15px;
  margin-bottom: 35px;
  align-self: flex-end;
  cursor: pointer;
  box-shadow: 0 2px 9px rgba(255,107,107,0.14);
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #FF8A65;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  margin-top: 25px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  padding: 13px 0 13px 6px;
  border-radius: 16px;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fffde9;
  color: var(--color-accent);
}
@media (max-width: 1024px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}
/**** Section Specific Layouts ****/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 12px;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  box-shadow: var(--shadow-card);
  min-width: 230px;
  width: calc(33.3% - 19px);
  flex: 1 1 260px;
  transition: box-shadow 0.14s, transform 0.14s;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  border: 2.5px solid #ffe5b7;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 38px rgba(239,203,142,0.36);
  transform: translateY(-6px) scale(1.03) rotate(-2deg);
  background: #fffde8;
}
.feature-grid img {
  width: 52px; height: 52px;
  margin-bottom: 2px;
  filter: drop-shadow(0 2px 4px rgba(36,49,66,.10));
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    margin-bottom: 18px;
  }
}
/* Cards & Content Blocks */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.17s;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px 20px;
  z-index: 1;
}
.card:hover {
  box-shadow: 0 13px 44px 0 rgba(239,203,142,0.20);
  transform: scale(1.04) rotate(1deg);
  background: #f9ffe5;
}
/**** Testimonial Cards ****/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  color: #243142;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px 0 rgba(36,49,66,0.10);
  border-left: 5px solid var(--color-accent);
  font-size: 1.06rem;
  transition: box-shadow 0.13s, transform 0.13s;
  max-width: 650px;
  width: 100%;
}
.testimonial-card blockquote {
  color: var(--color-primary);
  background: none;
  border-left: none;
  font-size: 1.14rem;
  padding-left: 0;
}
.testimonial-card p {
  color: #5368C7;
  margin-bottom: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 36px 0 rgba(239,203,142,0.17);
  transform: scale(1.03) rotate(2deg);
  border-left: 7px solid #ffdb99;
}
.review-summary {
  background: #fffde2;
  border-radius: 18px;
  margin-top: 15px;
  margin-bottom: 20px;
  padding: 11px 22px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px 0 rgba(239,203,142,0.11);
  border: 2px solid #efcb8e44;
  color: #243142;
  font-weight: 700;
}
/**** Miscellaneous ****/
ul li, ol li {
  margin-bottom: 8px;
}
ul li::marker, ol li::marker {
  color: var(--color-accent);
  font-size: 1.18em;
}
.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;
  }
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/**** Footer ****/
footer {
  background: #243142;
  padding: 40px 0 20px 0;
  color: #fff;
  border-top: 4px solid var(--color-accent);
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: var(--color-accent);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  transition: color 0.15s;
}
footer nav a:hover {
  color: #fffde8;
}
footer img {
  width: 48px; height: auto;
  margin-bottom: 7px;
}
footer .text-section {
  text-align: center;
  color: #fff;
  font-size: 1.05rem;
}
footer .disclaimer {
  margin-top: 8px;
  color: #EFCB8E;
  font-size: 0.95rem;
}
@media (max-width: 650px) {
  footer .container {
    padding: 0 3px;
  }
  footer nav {
    gap: 10px;
    font-size: 0.98rem;
  }
}
/**** Cookie Consent Banner ****/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(90deg, #ffe3b2 60%, #e5f0ff 100%);
  box-shadow: 0 -4px 18px 0 rgba(36,49,66,0.23);
  color: #243142;
  font-size: 1.08rem;
  z-index: 1200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 12px;
  gap: 18px;
  flex-wrap: wrap;
  animation: banner-pop-in 0.55s cubic-bezier(.6,2,.3,1) 1;
}
@keyframes banner-pop-in {
  0% { transform: translateY(60px); opacity: 0; }
  90% { transform: translateY(-8px); opacity: .97; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 220px;
  padding-right: 20px;
  color: #243142;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 14px;
  border: none;
  font-size: 1rem;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.15s;
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 1px 6px 0 rgba(36,49,66,0.08);
}
.cookie-btn.accept {
  background: var(--color-success);
  color: #163033;
}
.cookie-btn.reject {
  background: var(--color-danger);
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
}
.cookie-btn:focus, .cookie-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 2px 18px 0 rgba(239,203,142,0.25);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
    padding: 17px 7px;
  }
}
/**** Cookie Preferences Modal ****/
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(36,49,66,0.15);
  z-index: 1301;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  animation: cookie-modal-fade-in 0.36s;
}
@keyframes cookie-modal-fade-in {
  0% { opacity: 0; }
  70% { opacity: .92; }
  100% { opacity: 1; }
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 14px 62px 0 rgba(36,49,66,0.19);
  max-width: 420px;
  width: calc(100vw - 30px);
  padding: 38px 30px 28px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-bounce-in 0.43s cubic-bezier(.29,1.3,.37,1);
}
@keyframes modal-bounce-in {
  0% { transform: scale(0.7) translateY(80px); opacity: 0; }
  85% { transform: scale(1.03) translateY(-4px); opacity: .97; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  right: 18px; top: 13px;
  font-size: 2rem;
  background: none;
  color: var(--color-danger);
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: color 0.14s;
}
.cookie-modal__close:hover {
  color: #ffb6a9;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.42rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.cookie-modal__cat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  background: #f9faeb;
  margin-bottom: 11px;
  padding: 11px 10px;
  border-radius: 12px;
  font-size: 1.07rem;
  color: #243142;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal__cat.essential {
  background: #ffebbb;
  color: #243142;
  font-weight: 700;
}
.cookie-modal__cat .cat-label {
  flex: 1 1 auto;
  font-weight: 600;
}
.cookie-modal__cat .cat-toggle {
  display: flex;
  align-items: center;
}
.cat-switch {
  appearance: none;
  width: 38px; height: 20px;
  background: #eee;
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background 0.14s;
  cursor: pointer;
}
.cat-switch:checked {
  background: var(--color-success);
}
.cat-switch::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(36,49,66,0.15);
  transition: left 0.15s;
}
.cat-switch:checked::before {
  left: 21px;
}
@media (max-width: 440px) {
  .cookie-modal__dialog {
    padding: 17px 7px 15px 7px;
  }
}
/**** Responsive Design - Mobile First ****/
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 650px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.21rem; }
  h3, h4 { font-size: 1.09rem; }
  .footer .container, .container {
    padding-left: 5px; padding-right: 5px;
    min-width: unset;
  }
  .content-wrapper {
    gap: 12px;
  }
}
/**** Playful and Dynamic Animations ****/
.cta-btn, .cta-link, .card, .feature-grid > div, .testimonial-card, .cookie-btn {
  transition: box-shadow 0.20s, transform 0.20s, background 0.19s, color 0.16s;
}
.card, .feature-grid > div, .testimonial-card {
  animation: card-pop-in 0.9s cubic-bezier(.16,1.28,.37,1) 1;
}
@keyframes card-pop-in {
  0% { opacity:0; transform: scale(.93) translateY(30px) rotate(-5deg); }
  87% { opacity: .93; transform: scale(1.07) translateY(-4px) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) translateY(0) rotate(0); }
}
/**** Utilities ****/
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.flex {
  display: flex !important;
}
.flex-col {
  flex-direction: column !important;
}
.flex-row {
  flex-direction: row !important;
}
.align-center {
  align-items: center !important;
}
.align-start {
  align-items: flex-start !important;
}
.justify-center {
  justify-content: center !important;
}
.gap-20 { gap: 20px !important; }
.gap-30 { gap: 30px !important; }
/**** Accessibility Contrast Fixes ****/
.testimonial-card, .review-summary, .cookie-banner__text {
  background: #fff !important;
  color: #243142 !important;
}
/**** Decorative Playful Touches & Details ****/
.feature-grid > div:hover:after {
  content: '✨';
  font-size: 1.25rem;
  position: absolute;
  z-index: 3;
  top: 19px; right: 27px;
  animation: sparkle 0.6s linear 1;
}
@keyframes sparkle {
  0% { opacity: 0; transform: scale(0.2) rotate(-30deg); }
  70% { opacity: .9; transform: scale(1.2) rotate(10deg); }
  100% { opacity: 0; transform: scale(0.6) rotate(0); }
}
/**** Print Styles ****/
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
}
