/* --- CSS RESET & BASE STYLES --- */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}
html,body {
  height: 100%;
  font-size: 16px;
}
body {
  background: #F6F4F0;
  color: #174154;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.7;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #C1965B;
  text-decoration: none;
  transition: color .2s ease;
}
a:hover {
  color: #FF6589;
}
button, .cta {
  font-family: inherit;
  cursor: pointer;
}
ul,ol {
  padding-left: 1.2em;
  margin-bottom: 24px;
}
li {
  margin-bottom: 12px;
  font-size: 1em;
}
strong {
  font-weight: bold;
}
hr {
  border: none;
  border-top: 2px solid #C1965B;
  margin: 24px 0;
}

/* --- BRAND COLORS as CSS variables for fallbacks --- */
:root {
  --color-primary: #174154;
  --color-secondary: #F6F4F0;
  --color-accent: #C1965B;
  --color-fun-1:#FF6589;
  --color-fun-2:#5BDDFF;
  --color-fun-3:#50D176;
  --color-fun-4:#FFDD67;
  --color-fun-5:#6387FF;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  color: #174154;
  font-family: 'Montserrat', 'Comic Sans MS', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .01em;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #FF6589;
  text-shadow: 1px 3px 0 rgba(24,65,84,0.07);
  animation: heroPop 1.5s cubic-bezier(.68,-0.55,.27,1.55);
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #6387FF;
}
h3 {
  font-size: 1.3rem;
  color: #50D176;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p {
  color: #174154;
  font-size: 1.11em;
  margin-bottom: 18px;
}
.text-section ul, .text-section ol {
  margin-bottom: 18px;
}
.text-section li {
  position: relative;
  padding-left: 20px;
}
.text-section li:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 9px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6589 30%, #6387FF 100%);
  border: 2px solid #FFF;
}
.legal ul li:before {display:none;}

@media (max-width: 768px) {
  h1{
    font-size: 1.7rem;
  }
  h2{
    font-size: 1.3rem;
  }
  h3{
    font-size: 1.05rem;
  }
}

/* --- SPACING, CONTAINERS & SECTIONING --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 14px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFDF9;
  border-radius: 32px;
  box-shadow: 0 8px 40px 0 rgba(99,135,255,0.09);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 700px;
}

/* --- BRAND/PLAYFUL BUTTONS & CTA --- */
.cta, button.cta {
  display: inline-block;
  background: var(--color-fun-1);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17em;
  font-weight: bold;
  letter-spacing:.01em;
  border: none;
  padding: 14px 36px;
  border-radius: 40px;
  box-shadow: 0 6px 24px 0 rgba(255,101,137,0.11);
  transition: background 0.25s, box-shadow .25s, transform .18s;
  margin-top: 18px;
  margin-bottom: 18px;
}
.cta:hover, .cta:focus {
  background: var(--color-fun-2);
  color: #174154;
  box-shadow: 0 10px 32px 0 rgba(99,135,255,.18);
  transform: scale(1.04) rotate(-2deg);
}
nav .cta {
  margin-left: 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 5px solid #FFDD67;
  box-shadow:0 2px 20px 0 rgba(99,135,255,.05);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 94px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  color: #174154;
  font-family:'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
  border-radius: 18px;
  padding: 6px 16px;
  transition: background .18s, color .18s, transform .16s;
  position: relative;
}
header nav a:not(.cta):hover, header nav a:not(.cta):focus {
  background: #F6F4F0;
  color: #FF6589;
  transform: translateY(-2px) scale(1.06);
}
header a img {
  height: 50px;
  width: auto;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display:none;
  background: var(--color-fun-3);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 2rem;
  padding: 8px 18px;
  margin-left:12px;
  transition: background .2s, box-shadow .2s;
  z-index: 111;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover {
  background: var(--color-fun-1);
  color: #fff;
  box-shadow: 0 6px 16px 0 rgba(255,101,137,0.13);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width:100vw;
  height:100vh;
  z-index: 1000;
  background:rgba(255,247,241,0.96);
  transform: translateX(-105vw);
  transition: transform .48s cubic-bezier(.65,-0.13,0.25,1.12);
  box-shadow: 10px 0 50px 2px rgba(99,135,255,.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size:2.2rem;
  margin: 30px 0 12px 24px;
  color: #FF6589;
  cursor:pointer;
  z-index: 1101;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-left:32px;
  margin-top:10px;
}
.mobile-nav a {
  color: #174154;
  font-size: 1.35em;
  font-weight: bold;
  padding: 12px 12px 12px 0;
  border-radius: 0 36px 36px 0;
  width:fit-content;
  background: none;
  transition: background .14s, color .18s;
}
.mobile-nav a.cta, .mobile-nav a:last-child {
  background: #FFDD67;
  color: #174154;
  font-weight:bold;
  border-radius: 36px;
  padding-left: 18px;
  margin-top: 10px;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6387FF;
  color: #fff;
}

@media (max-width: 1200px){
  .container{max-width: 95vw;}
}
@media (max-width: 900px){
  .container{max-width: 100vw; padding:0 7px;}
}
@media (max-width: 968px){
  header .container{
    height: 80px;
  }  
  header a img {
    height: 38px;
  }
  nav .cta{
    padding: 10px 22px;
    margin-left: 6px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display:inline-block;
  }
  header .container {
    padding-left: 7px;
    padding-right: 5px;
    gap: 0;
  }
}

/* --- FLEX UTILITY/SECTION PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 5px 26px 0 rgba(199,150,91,0.06);
  transition: box-shadow .25s, transform .18s;
}
.card:hover {
  box-shadow: 0 9px 36px 0 rgba(99,135,255,.15);
  transform: translateY(-5px) scale(1.018) rotate(-1.5deg);
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 7px 32px 0 rgba(99,135,255,0.09);
  border: 1.5px solid #FFDD67;
  min-width: 220px;
  max-width: 430px;
  transition: box-shadow .23s, transform .21s;
  font-size: 1.13em;
  color: #174154;
}
.testimonial-card strong {
  font-size: 1em;
  color: #174154;
  letter-spacing:.01em;
  margin-top: 5px;
  font-weight:bold;
}
.testimonial-card p {
  color: #174154;
  font-size: 1em;
}
.testimonial-card:hover {
  box-shadow: 0 18px 40px 0 rgba(255,101,137,.11);
  background: #FFFBF5;
  transform: scale(1.025) rotate(1.2deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

@media (max-width:900px){
  .card-container,.content-grid,.feature-grid,.service-highlights{
    flex-direction:column;
    gap:14px;
  }
  .testimonials{flex-direction:column;}
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid, .feature-grid, .service-highlights {
    flex-direction: column;
    gap:14px;
  }
}

/* --- MAIN SECTIONS --- */
.feature-grid, .service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid>div, .service-highlights>div {
  flex: 1 1 180px;
  background: #F6F4F0;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(80,209,118,.10);
  padding: 20px 16px;
  text-align: center;
  transition:box-shadow .18s, transform .20s;
  margin-bottom: 16px;
}
.feature-grid>div:hover, .service-highlights>div:hover{
  box-shadow: 0 10px 30px 0 rgba(255,101,137,.13);
  transform: scale(1.036) rotate(-1.5deg);
}
.feature-grid img, .service-highlights img {
  width:56px;
  height:56px;
  margin-bottom: 10px;
  animation: icon-bounce 2.7s cubic-bezier(.6,-0.28,.74,1.65) infinite; 
}

/* Playful icon bounce */
@keyframes icon-bounce {
  0%   { transform: translateY(0); }
  15%   { transform: translateY(-15px) scale(1.09); }
  20%   { transform: translateY(2px) scale(.98); }
  25%   { transform: translateY(-7px); }
  32%   { transform: translateY(0); }
  100% { transform: translateY(0); }
}

@keyframes heroPop {
  0%   { transform:scale(.84) rotate(-2deg) translateY(18px); opacity:0; }
  40%  { transform:scale(1.12) rotate(3deg) translateY(-6px); opacity:.7;}
  70% { transform:scale(.98) rotate(-2deg) translateY(0); opacity:.93;}
  100% { transform:scale(1) rotate(0deg) translateY(0); opacity:1;}
}

/* --- TESTIMONIAL SLIDER --- */
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  margin-top: 18px;
}
@media (max-width: 900px){
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- CUSTOM LISTS FOR FEATURES & SERVICES --- */
.feature-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
  margin-bottom: 16px;
}
.feature-list li, .service-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(80,209,118,0.06);
  padding: 18px 16px 18px 52px;
  min-height: 48px;
  align-items: center;
  position: relative;
  color: #174154;
  font-size: 1.05em;
  line-height: 1.6;
}
.feature-list li img, .service-list li img {
  width: 32px; height: 32px;
  position: absolute;
  top: 14px;
  left: 12px;
}

.service-list li strong, .feature-list li strong {
  color: #50D176;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08em;
}

/* --- ARTICLE/BLOG LISTS --- */
main ul:not(.feature-list):not(.service-list) > li {
  background: #FFFBF5;
  border-radius: 12px;
  box-shadow: 0 3px 12px 0 rgba(255,221,103,0.08);
  padding: 18px 16px;
  margin-bottom: 16px;
  border-left:6px solid #FF6589;
  transition:box-shadow .17s, background .15s;
}
main ul:not(.feature-list):not(.service-list) > li:hover {
  background: #F6F4F0;
  box-shadow: 0 8px 20px 0 rgba(80,209,118,0.07);
}

/* --- FOOTER --- */
footer {
  background: #174154;
  color:#fff;
  margin-top:60px;
  padding: 42px 0 10px 0;
  border-top: 7px solid #C1965B;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #C1965B;
  font-family:'Montserrat', Arial, sans-serif;
  padding: 2px 0;
  transition: color .2s;
  font-weight:600;
  font-size:1em;
}
footer nav a:hover{
  color: #FF6589;
  text-decoration: underline;
}
footer .footer-contact ul {
  list-style: none;
  padding: 0;
}
footer .footer-contact li {
  display: flex;
  align-items: center;
  font-size: .99em;
  margin-bottom: 7px;
  color: #fff;
}
footer .footer-contact li img {
  width: 20px;
  height: 20px;
  margin-right: 9px;
}
.footer-legal {
  font-size: .95em;
  margin: 10px 0 0 0;
}
.footer-legal a{
  color:#FFDD67;
  margin:0 2px;
  text-decoration: underline;
  font-weight:500;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-social a img {
  width: 29px;
  height: 29px;
  transition:filter .19s, transform .17s;
}
.footer-social a:hover img {
  filter: brightness(1.45) saturate(1.6); 
  transform: scale(1.15) rotate(-5deg);
}
footer p {
  color: #fff;
}
footer a img {
  height: 45px; margin-bottom: 8px;
}
@media (max-width: 768px){
  footer .content-wrapper{
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer nav{
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
  }
  .footer-social{gap:10px;}
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFBF5;
  box-shadow: 0 -3px 30px 0 rgba(199,150,91,.07);
  border-top: 3.5px solid #FF6589;
  padding: 28px 17px;
  gap: 38px;
  transition: transform .35s cubic-bezier(.57,.16,.27,1.06);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size:1.04em;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner-text {
  color: var(--color-primary);
  max-width:440px;
  margin-right: 20px;
}
.cookie-banner-btns{
  display:flex;
  flex-flow:row wrap;
  gap:14px;
}
.cookie-banner-btns button {
  border: none;
  outline: none;
  border-radius: 29px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 32px;
  font-size: 1em;
  margin-right: 2px;
  margin-bottom: 1.5px;
  box-shadow: 0 4px 12px 0 rgba(99,135,255,.07);
  transition: background .19s, box-shadow .18s, color .17s;
}
.cookie-accept {
  background: #50D176;
  color: #fff;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: #FF6589;
  color: #fff;
}
.cookie-reject {
  background: #FFF;
  color: #174154;
  border: 1.5px solid #C1965B;
}
.cookie-reject:hover {
  background: #F6F4F0;
  color: #C1965B;
}
.cookie-settings {
  background: #6387FF;
  color: #fff;
}
.cookie-settings:hover,
.cookie-settings:focus {
  background: #FFDD67;
  color: #174154;
}

@media(max-width:800px){
  .cookie-banner {
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
    padding:20px 6px;
  }
  .cookie-banner-text{
    margin-right:0;max-width:100%;
  }
}
@media(max-width:500px){
  .cookie-banner-text{
    font-size:.99em;
  }
  .cookie-banner-btns button{
    padding: 8px 14px;font-size:.92em;
  }
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal {
  position:fixed; left:0; top:0; right:0; bottom:0;
  z-index:2011;
  background:rgba(31,65,84,0.60);
  display:none;
  align-items:center;
  justify-content:center;
}
.cookie-modal.open {
  display:flex;
  animation: modalIn .33s cubic-bezier(.58,.22,.34,1.29);
}
@keyframes modalIn{
  from{opacity:.25;transform:translateY(32px) scale(.95);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
.cookie-modal-content{
  background:#fff;
  border-radius:28px;
  padding:38px 18px 24px 18px;
  min-width:310px;max-width:92vw;
  box-shadow:0 20px 85px 0 rgba(255,101,137,.19);
  position:relative;
  display:flex;flex-direction:column;gap:24px;
  font-family:'Montserrat', Arial, sans-serif;
}
.cookie-modal-content h3 { color:#6387FF; font-size:1.4em; margin-bottom:12px; }
.cookie-modal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom:10px;
}
.cookie-modal-content li {
  display:flex;align-items:center;gap:12px;margin-bottom:16px;font-size:1.04em;color:#174154;
}
.cookie-modal-content label {
  font-size:1.04em;cursor:pointer;font-weight:600;
}
.cookie-toggle {
  height:20px;width:40px;position:relative;display:inline-block;background:#F6F4F0;border-radius:14px;
  margin-left:8px;transition:background .22s;
}
.cookie-toggle input[type=checkbox] {
  display:none;
}
.cookie-toggle span {
  position:absolute;top:2px;left:3px;width:16px;height:16px;
  background:#FF6589;border-radius:100%;transition:left .18s, background .24s;
}
.cookie-toggle input:checked + span {
  left: 21px; background: #6387FF;
}
.cookie-modal-buttons {
  display:flex;gap:15px;flex-wrap:wrap;justify-content:flex-end;
}
.cookie-modal-buttons button {
  border:none;padding:11px 29px;font-family:'Montserrat', Arial, sans-serif;
  border-radius:23px;font-weight:bold;font-size:1em;
  background:#FFDD67;color:#174154;transition:background .15s,color .14s,box-shadow .13s;
  box-shadow: 0 3px 18px 0 rgba(80,209,118,.10);
}
.cookie-modal-buttons button.primary{
  background:#6387FF;color:#fff;
}
.cookie-modal-buttons button.primary:hover{
  background:#FF6589;color:#fff;
}
.cookie-modal-buttons button.secondary:hover{
  background: #F6F4F0;
}
.cookie-modal-close {
  position:absolute;top:10px;right:12px;
  background:none;
  border:none;
  font-size:1.45em;
  color:#FF6589;
  cursor:pointer;
  z-index:8;
}

@media(max-width:500px){
  .cookie-modal-content{padding:18px 5vw 16px 5vw;}
  .cookie-modal-content h3{font-size:1.09em;}
}

/* --- MISC/GENERAL ENHANCEMENTS --- */
::-webkit-scrollbar{width:8px;background:#F6F4F0;}
::-webkit-scrollbar-thumb{background:#C1965B;border-radius:5px;}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius:18px;
}

/* --- DYNAMIC VISUAL DECORATIONS (confetti-like) --- */
section:after {
  content: "";
  display: block;
  position: absolute;
  right: 8vw;
  top: -30px;
  width: 62px;
  height: 62px;
  z-index: -1;
  pointer-events:none;
  background: radial-gradient(circle at 7px 9px, #FFDD67 0%, #fff 100%);
  opacity: .53;
  border-radius:100%;
  animation: bgfloat 6s infinite ease-in-out alternate;
}
@keyframes bgfloat {
  0% { transform:translateY(-4px) scale(.98); }
  100%{ transform:translateY(18px) scale(1.13); }
}
@media (max-width:600px){
  section:after {display:none;}
}

/* --- LEGAL PAGE TYPOGRAPHY --- */
.legal {
  font-size: 1em;
  background:#FFFDF9;
  border-radius: 16px;
  padding: 30px 12px;
  box-shadow:0 4px 18px 0 rgba(99,135,255,0.04);
  color: #174154;
  margin-bottom:30px;
}
.legal h1, .legal h2 {
  color: #FF6589;
  margin-top: 18px;
}
.legal ul { margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }

/* --- THANK YOU PAGE ANIMATION --- */
main .cta[href="/"] {animation: heroPop 1.5s .2s both;}

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