/* ====== CSS RESET & NORMALIZATION ====== */
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;
}
html { height: 100%; }
body { min-height: 100%; line-height: 1.5; background: #F6F3EE; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea {
  font-family: inherit; font-size: inherit;
  outline: none;
}

/* ====== FONT IMPORT (AUTHENTIC TO PLAYFUL_DYNAMIC) ====== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;700&family=Bangers&display=swap');

:root {
  --color-primary: #294066;
  --color-secondary: #B59B79;
  --color-accent: #F6F3EE;
  --color-highlight: #FFA837;
  --color-bright1: #3DDC97;
  --color-bright2: #FFE066;
  --color-fun-blue: #51A0FF;
  --color-vivid-pink: #FF69B4;
  --color-white: #fff;
  --color-black: #181818;
  --shadow-card: 0 4px 20px 0 rgba(80,86,100,0.08);
  --shadow-fun: 0 0 0 3px var(--color-bright2);
}

body {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Bangers', serif;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}
h1 {
  font-size: 2.5rem;
  color: var(--color-fun-blue);
  font-family:'Bangers', 'Playfair Display', serif;
  margin-bottom: 12px;
  
}
h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}
h3 {
  font-size: 1.25rem;
  color: var(--color-bright1);
  font-family: 'Playfair Display', serif;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--color-bright2);
  margin-bottom: 28px;
  font-family: 'Roboto', Arial, sans-serif;
}
p, li, ul, span, em {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { color: var(--color-fun-blue); font-weight: 700; }
em { color: var(--color-vivid-pink); font-style: italic; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ====== HEADER ====== */
header {
  background: var(--color-white);
  box-shadow: 0 2px 14px 0 rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  padding: 14px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
header nav a {
  font-family: 'Bangers', cursive, 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--color-primary);
  padding: 5px 10px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
  box-shadow: var(--shadow-card);
}
.cta-button {
  background: var(--color-bright1);
  color: var(--color-white);
  font-family: 'Bangers', 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  border: none;
  border-radius: 18px;
  padding: 12px 28px;
  margin-left: 18px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px 0 rgba(51, 196, 137, 0.10);
  cursor: pointer;
  position: relative;
  transition: background 0.18s, box-shadow 0.18s, transform 0.16s;
  outline: none;
  z-index: 1;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-fun-blue);
  color: var(--color-accent);
  box-shadow: 0 6px 24px 0 rgba(51, 160, 255, 0.16);
  transform: scale(1.05) rotate(-2deg);
}

/* --- Mobile Header Nav Icons --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--color-bright2);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  z-index: 99;
  box-shadow: 0 2px 10px rgba(180,180,74,0.12);
  cursor: pointer;
  transition: background 0.12s, transform 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-highlight);
  color: var(--color-white);
  transform: scale(1.1);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh; width: 100vw;
  background: var(--color-white);
  box-shadow: 2px 0 24px rgba(80,86,100,0.1);
  z-index: 120;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.61,1.25,.5,1), opacity 0.28s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1; pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  margin: 22px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-vivid-pink);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 0;
}
.mobile-nav a {
  width: 100%;
  padding: 22px 32px;
  font-size: 1.2rem;
  font-family: 'Bangers', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  background: none;
  border-bottom: 1px solid #eee;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-highlight);
  color: var(--color-white);
}

@media (max-width: 1050px) {
  header nav { gap: 10px; }
  .cta-button { padding: 10px 16px; margin-left: 8px; font-size: 1rem; }
}
@media (max-width: 900px) {
  header .container { flex-wrap: wrap; }
  .cta-button { margin-left: 0; }
}
@media (max-width: 800px) {
  header .container { flex-direction: column; gap: 8px; align-items: stretch; }
  header nav { align-self: flex-start; }
  .cta-button { align-self: flex-end; margin-top: 6px; }
}
@media (max-width: 768px) {
  header nav, .cta-button { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ====== MAIN SPACING, SECTION, FLEX CONTAINERS ====== */
main { padding-top: 0px; }
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--color-white);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  min-width: 225px;
  max-width: 345px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px 0 rgba(84,122,227,0.17);
  transform: translateY(-4px) scale(1.03) rotate(-2deg);
  z-index: 5;
}
.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 {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(44,64,102,0.10);
  border-left: 6px solid var(--color-bright1);
  min-width: 0;
  max-width: 540px;
  transition: box-shadow 0.15s, border-color 0.18s;
  flex: 1 1 340px;
}
.testimonial-card:hover, .testimonial-card:focus {
  border-left: 8px solid var(--color-fun-blue);
  box-shadow: 0 6px 20px rgba(51,160,255,0.10), 0 0 8px 2px #FFE06644;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #22345d;
  font-style: italic;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  font-size: 0.99rem;
  font-family: 'Bangers', 'Roboto', Arial, sans-serif;
  color: var(--color-vivid-pink);
  font-weight: bold;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--color-white);
  border-radius: 17px;
  box-shadow: var(--shadow-card);
  padding: 20px 21px;
  min-width: 210px;
  flex: 1 1 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  margin-bottom: 20px;
  border-top: 5px solid var(--color-fun-blue);
  transition: box-shadow 0.17s, border-top-color 0.17s;
  animation: pop-in 0.5s cubic-bezier(.7,1.6,.5,1) backwards;
}
.feature-grid > div:hover, .feature-grid > div:focus {
  box-shadow: 0 6px 28px rgba(255,168,55,0.15);
  border-top: 7px solid var(--color-vivid-pink);
  transform: translateY(-4px) scale(1.04) rotate(1deg);
  z-index: 3;
}
.feature-grid img, .feature-grid svg {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  animation: wiggle 1.2s infinite alternate;
}
@keyframes pop-in {
  from { opacity:0; transform: scale(.85) translateY(16px); }
  to { opacity:1; transform: none; }
}
@keyframes wiggle {
  0% { transform: rotate(-8deg) scale(0.97); }
  60% { transform: rotate(4deg) scale(1.07); }
  100% { transform: rotate(-5deg) scale(1.01); }
}

/* ====== HERO SECTION ====== */
.hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #5c503a 55%, #FFE066 100%);
  padding: 32px 0 36px 0;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  gap: 0;
}
.hero .content-wrapper {
  background: none;
  padding: 0;
}

/* ====== ABOUT LISTS ====== */
ul {
  margin-bottom: 12px;
  padding-left: 19px;
}
ul li {
  margin-bottom: 10px;
  position: relative;
  color: var(--color-primary);
}
ul li:before {
  content: "•";
  color: var(--color-bright2);
  font-weight: bold;
  font-size: 1.22em;
  margin-right: 7px;
  position: relative;
  top: 1px;
}
.selling-points li:before {
  color: var(--color-bright1);
}
.text-section ul, .content-wrapper ul {
  margin-bottom: 23px;
}

/* ====== FOOTER ====== */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  margin-top: 50px;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  box-shadow: 0 -8px 35px 0 rgba(41,64,102,0.06);
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px 38px;
  padding: 44px 18px 30px 18px;
}
.footer-logo { flex: 1 1 110px; max-width: 120px; margin-right: 12px; }
.footer-logo img {
  width: 74px; height: auto;
}
.footer-nav {
  flex: 2 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 162px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: 'Bangers','Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  transition: color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-bright2);
  text-decoration: underline wavy var(--color-bright2) 1.5px;
}
.footer-contact {
  flex: 2 1 280px;
  display: flex;
  flex-direction: column;
}
.footer-contact ul {
  margin-bottom: 8px;
  padding-left: 0;
  list-style: none;
}
.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.footer-contact ul li img {
  width: 20px; height: 20px;
}
.footer-bottom {
  flex-basis: 100%;
  margin-top: 18px;
  color: #cde3ff;
  font-size: 0.95em;
  text-align: left;
}
@media (max-width:700px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    padding: 32px 10px 16px 10px;
  }
  .footer-bottom {
    text-align: left;
    margin-top: 7px;
  }
}

/* ====== BLOG CARDS ====== */
.recent-posts ul li {
  margin-bottom: 18px;
  padding: 12px 16px;
  background: var(--color-bright2);
  color: var(--color-primary);
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(255,224,102,0.07);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06em;
  transition: box-shadow 0.12s;
}
.recent-posts ul li:hover {
  box-shadow: 0 4px 20px 0 #ffe06655;
}

/* ====== THANK YOU PAGE ====== */
.next-steps {
  margin-top: 28px;
  background: var(--color-bright2);
  border-radius: 12px;
  padding: 24px 16px;
  box-shadow: 0 2px 13px #ffe06641;
  font-family: 'Roboto', Arial, sans-serif;
}
.next-steps ul li:before {
  color: var(--color-fun-blue);
}

/* ====== ANIMATED VISUAL DECOR ====== */
.feature-grid img, .feature-grid svg, .footer-logo img {
  animation: wiggle 1.5s infinite alternate-reverse;
}

/* ====== INTERACTIVITY ====== */
a.animated-link:hover, .cta-button:focus {
  animation: pop-in 0.33s;
}

/* ====== COOKIE CONSENT BANNER and MODAL ====== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--color-bright2);
  color: var(--color-primary);
  padding: 24px 16px 16px 16px;
  box-shadow: 0 -2px 16px rgba(229,197,46,0.16);
  z-index: 500;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  opacity: 1;
  pointer-events: all;
  animation: slide-up-banner 0.5s;
}
@keyframes slide-up-banner {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 9px;
}
.cookie-banner button {
  font-family: 'Bangers', 'Roboto', Arial, sans-serif;
  font-size: 1.1em;
  border-radius: 14px;
  border: none;
  padding: 11px 34px;
  cursor: pointer;
  margin-right: 10px;
  background: var(--color-bright1);
  color: var(--color-white);
  transition: background 0.17s, color 0.14s, box-shadow 0.22s;
}
.cookie-banner button.accept-btn {
  background: var(--color-fun-blue);
}
.cookie-banner button.reject-btn {
  background: var(--color-vivid-pink);
}
.cookie-banner button.settings-btn {
  background: var(--color-primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  box-shadow: 0 0 6px 3px #3ddc9740, 0 3px 10px #29406636;
  background: var(--color-bright2);
  color: var(--color-primary);
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  background: rgba(41,64,102,0.53);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.34s;
}
.cookie-modal-overlay.active {
  opacity: 1; pointer-events: auto;
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 18px;
  padding: 36px 20px 20px 24px;
  box-shadow: 0 12px 48px rgba(41,64,102,0.14);
  min-width: 340px;
  max-width: 95vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: pop-in 0.4s both;
}
.cookie-modal h2 {
  color: var(--color-fun-blue);
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--color-bright1);
  border-radius: 5px;
}
.cookie-category label { font-weight: bold; }
.cookie-category.essential label { color:var(--color-bright1); }
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 10px; right: 14px;
  background: none; border: none;
  font-size: 1.5em;
  color: var(--color-primary);
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-modal-btn:hover { color: var(--color-vivid-pink); }
.cookie-modal .save-btn {
  margin-top: 15px;
  padding: 12px 32px;
  border-radius: 10px;
  background: var(--color-bright1);
  color: #fff;
  border:none;
  font-family: 'Bangers','Roboto',Arial,sans-serif;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal .save-btn:hover { background: var(--color-bright2); color: var(--color-primary); }

/* ====== RESPONSIVE FLEX PATTERNS & MOBILE ====== */
@media (max-width: 1050px) {
  .feature-grid, .card-container, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 950px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: row;
    gap: 10px;
  }
  .feature-grid > div, .card {
    min-width: 160px;
    max-width: 100%;
    flex: 1 1 310px;
    padding: 17px 10px;
  }
}
@media (max-width: 768px) {
  .section { padding: 23px 5px; margin-bottom: 35px; }
  .content-wrapper { gap: 17px; }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .card, .testimonial-card {
    max-width: 100%;
    min-width: 0;
    padding: 16px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  .hero {
    padding: 20px 0 18px 0;
    min-height: 30vh;
  }
  .footer-logo img { width: 50px; }
  .cookie-modal { min-width: 0; max-width: 95vw; padding: 16px 4vw 18px 6vw; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.07rem; }
  .cta-button, .cookie-banner button, .cookie-modal .save-btn { font-size: 0.96em; padding: 9px 14px; }
  .cookie-modal { min-width: 0; padding: 12px 2vw 12px 2vw; }
}

/* ====== PLAYFUL_DYNAMIC EXTRAS ====== */
.cta-button {
  box-shadow: 0 2px 7px 1px #ffe0667a, 0 2px 20px #3ddc9712;
  animation: bounceIn 1s .15s both;
}
@keyframes bounceIn {
  0% { transform: scale(.8) translateY(22px) rotate(-7deg); }
  60% { transform: scale(1.07) translateY(-7px) rotate(2deg); }
  100% { transform: none; }
}

.section {
  background: linear-gradient(99deg, #F6F3EE 98%, #FFE066 100%);
  border-radius: 18px;
  box-shadow: 0 1.5px 12px 0 rgba(255,224,102,0.07);
}
.card {
  border: 3px solid var(--color-bright1);
  outline: 3.5px dashed var(--color-bright2);
  outline-offset: 0.6rem;
}

.testimonial-card {
  border-left-color: var(--color-fun-blue);
  background: #fffbcf;
}

::-webkit-scrollbar {
  width: 12px; background: var(--color-accent); border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-bright1); border-radius: 24px;
}

/* Focus state for accessibility */
a:focus, button:focus, .cta-button:focus, .footer-nav a:focus {
  outline: 2.5px dotted var(--color-vivid-pink);
  outline-offset: 2px;
  box-shadow: 0 0 6px 2px #FF69B455, 0 2px 10px #3DDC9730;
  z-index: 20;
}

/* Util Classes */
.text-section {
  margin: 12px 0 25px 0;
  max-width: 600px;
  font-size: 1.06em;
}

/* ====== MINIMUM SPACING BETWEEN CARDS/SECTIONS ====== */
.section + .section, .card + .card, .card-container > * + *, .feature-grid > * + *, .testimonial-card + .testimonial-card, .content-grid > * + * {
  margin-top: 20px !important;
}

/* ====== END of CSS ====== */
