/* =============================
   CSS Reset & Normalize
   ============================= */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, li, figure, figcaption, blockquote, pre {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
:root {
  --primary: #22304F;
  --secondary: #8AA6C1;
  --accent: #E9E4DA;
  --white: #fff;
  --black: #151720;
  --creative-pink: #CB6789;
  --creative-yellow: #F3C877;
  --creative-blue: #61A3EB;
  --creative-green: #9ED17B;
  --danger: #EE3A4E;
  --body-font: 'Roboto', Arial, sans-serif;
  --display-font: 'Montserrat', 'Arial Rounded MT', Arial, sans-serif;
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--primary);
  background: var(--accent);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* =============================
   Typography 
   ============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--creative-pink);
}
h2 {
  font-size: 1.7rem;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--primary);
}
h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--creative-blue);
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--primary);
}
p, li, blockquote, dd {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--primary);
}
strong {
  font-weight: bold;
  color: var(--creative-pink);
}
blockquote {
  font-family: var(--display-font);
  color: var(--creative-blue);
  font-style: italic;
  background: rgba(250,250,255,0.32);
  border-left: 5px solid var(--creative-yellow);
  margin: 0;
  padding: 16px 22px;
  border-radius: 24px 8px 24px 8px;
}

/* Artistic underline for H2 */
h2 {
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 56px;
  height: 5px;
  border-radius: 3px;
  background: var(--creative-yellow);
  position: absolute;
  left: 0;
  bottom: -13px;
}
@media(max-width: 568px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  blockquote, p, li, dd { font-size: 0.97rem; }
  h2:after { width: 36px; height: 3px; }
}

/* =============================
   Layout: Containers & Sections
   ============================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  margin-bottom: 32px;
  background: rgba(255,255,255,0.6);
  border-radius: 32px 8px 24px 28px;
  box-shadow: 0 4px 24px 0 rgba(34,48,79,0.06);
  padding: 32px 24px;
}

/* MANDATORY section spacing pattern */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 28px 10px 22px 20px;
  box-shadow: 0 6px 40px 0 rgba(34,48,79,0.09);
  overflow: hidden;
  transition: box-shadow .3s cubic-bezier(.27, .83, .21, 1);
  min-width: 270px;
  flex: 1 1 260px;
}
.card:hover {
  box-shadow: 0 15px 48px 5px rgba(203,103,137,0.15);
}
.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: var(--white);
  margin-bottom: 20px;
  border-radius: 28px 8px 18px 36px;
  box-shadow: 0 2px 28px 0 rgba(138,166,193,0.13);
  border: 2px solid var(--creative-yellow);
  position: relative;
}
.testimonial-card strong {
  color: var(--primary);
}
.testimonial-card span {
  color: var(--creative-yellow);
  font-size: 1.2rem;
  letter-spacing: 0.13em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 20px 8px 18px 18px;
  box-shadow: 0 1px 16px 0 rgba(138,166,193,0.12);
  margin-bottom: 20px;
}

/* Card/Section minimum margin */
.card, .testimonial-card, .feature-item, .section, .content-wrapper {
  margin-bottom: 20px;
}

/* Responsive Layout */
@media (max-width: 900px) {
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  .content-grid, .card-container { flex-direction: column; gap: 18px; }
  .card, .feature-item { min-width: 100%; }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 20px; }
}

/* =============================
   Navigation Styles
   ============================= */
header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 97;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-start;
  height: 72px;
  padding: 0 8px;
}
.site-nav img {
  max-height: 44px;
  border-radius: 16px 6px 8px 22px;
  background: var(--accent);
  padding: 6px 10px;
  margin-right: 12px;
  box-shadow: 0 1px 12px 1px rgba(202,184,137,0.09);
  transition: box-shadow .24s;
}
.site-nav a {
  color: var(--accent);
  font-family: var(--display-font);
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  padding: 8px 11px;
  border-radius: 18px 6px 12px 18px;
  transition: background .2s, color .2s;
  position: relative;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a:focus {
  background: var(--creative-yellow);
  color: var(--primary);
}
.site-nav .cta-primary {
  background: var(--creative-pink);
  color: var(--white)!important;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 24px 8px 12px 18px;
  margin-left: auto;
  box-shadow: 0 2px 18px 0 rgba(203,103,137,0.13);
  transition: background .2s,color .2s,box-shadow .2s;
  position: relative;
}
.site-nav .cta-primary:hover,
.site-nav .cta-primary:focus {
  background: var(--creative-blue);
  color: var(--white);
  box-shadow: 0 6px 24px 0 rgba(97,163,235,.18);
}

/* Hide burger by default */
.mobile-menu-toggle {
  display: none;
}

/* Responsive navigation */
@media (max-width: 920px) {
  .site-nav {
    gap: 16px;
    height: 62px;
  }
  .site-nav a { font-size: 0.98rem; padding: 7px 8px; }
  .site-nav .cta-primary { padding: 8px 16px; font-size: 1rem; }
}
@media (max-width: 768px) {
  .site-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 22px;
    top: 18px;
    font-size: 2rem;
    color: var(--accent);
    background: var(--creative-pink);
    padding: 6px 14px;
    border-radius: 18px 6px 12px 18px;
    box-shadow: 0 3px 19px 1px rgba(203,103,137,.13);
    z-index: 105;
    transition: box-shadow .2s, background .2s;
  }
  .mobile-menu-toggle:hover {
    background: var(--creative-yellow);
    color: var(--primary);
  }
}

/* =============================
   Mobile Menu Styles
   ============================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,48,79,0.98);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.5,1.65,.36,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: var(--creative-yellow);
  background: none;
  border: none;
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 121;
  padding: 4px 18px;
  border-radius: 14px 6px 14px 14px;
  transition: background .2s;
}
.mobile-menu-close:hover {
  background: var(--creative-pink);
  color: var(--white);
}
.mobile-nav {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100vw;
  align-items: flex-start;
  padding: 22px 38px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--accent);
  padding: 12px 6px;
  border-bottom: 2px solid var(--creative-yellow);
  min-width: 68vw;
  border-radius: 8px 18px 18px 8px;
  font-family: var(--display-font);
  transition: background .15s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--creative-pink);
  color: var(--white);
}
/* Slide-in animation support for JS: .mobile-menu.open */

/* =============================
   Hero Section
   ============================= */
.hero {
  background: linear-gradient(120deg, var(--accent) 70%, var(--creative-blue) 95%);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 60px 0;
  margin-bottom: 36px;
  border-radius: 0 0 80px 0;
  position: relative;
  box-shadow: 0 6px 40px 0 rgba(97,163,235,0.06);
  overflow: hidden;
}
.hero::after {
  content: '';
  display: block;
  position: absolute;
  top: 14%;
  right: -60px;
  width: 160px;
  height: 140px;
  background: var(--creative-yellow);
  opacity: 0.16;
  border-radius: 58% 42% 72% 28% / 48% 52% 58% 42%;
  pointer-events: none;
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  text-align: left;
  align-items: flex-start;
  justify-content: center;
  background: rgba(255,255,255,0.73);
  border-radius: 32px 8px 24px 28px;
  box-shadow: 0 4px 24px 0 rgba(34,48,79,0.10);
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}
.hero h1 {
  color: var(--creative-pink);
  font-size: 2.4rem;
  line-height: 1.12;
  text-shadow: 1px 1.5px 0px var(--creative-yellow), 0 4px 12px rgba(203,103,137,.07);
}
.hero p {
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 1.1rem;
}
@media (max-width: 568px) {
  .hero {
    min-height: 200px;
    padding: 30px 0 24px 0;
    border-radius: 0 0 48px 0;
  }
  .hero .content-wrapper {
    padding: 16px;
    max-width: 99vw;
  }
  .hero h1 { font-size: 1.25rem; }
}

/* =============================
   Buttons: CTA Primary/Secondary
   ============================= */
.cta-primary, .cta-secondary {
  display: inline-block;
  padding: 12px 32px;
  font-family: var(--display-font);
  font-weight: bold;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 24px 8px 12px 18px;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform .12s;
  box-shadow: 0 2px 12px 0 rgba(203,103,137,.13);
  text-align: center;
}
.cta-primary {
  background: var(--creative-pink);
  color: var(--white);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--creative-yellow);
  color: var(--primary);
  box-shadow: 0 4px 22px 3px rgba(243,200,119,0.11);
  transform: translateY(-2px) scale(1.04);
}
.cta-secondary {
  background: var(--creative-yellow);
  color: var(--primary);
  margin-left: 6px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--creative-blue);
  color: var(--white);
  box-shadow: 0 4px 22px 3px rgba(97,163,235,0.13);
  transform: translateY(-2px) scale(1.04);
}

/* =============================
   Custom Artistic Elements
   ============================= */
.text-section {
  border-left: 8px solid var(--creative-yellow);
  border-bottom: 5px solid var(--creative-blue);
  background: linear-gradient(-30deg, var(--accent) 87%, #fff 100%);
  position: relative;
}
.text-section:before {
  /* Artistic splash */
  content: '';
  position: absolute;
  left: -33px;
  top: 14px;
  width: 48px;
  height: 38px;
  background: var(--creative-green);
  opacity: 0.18;
  border-radius: 60% 50% 65% 56% / 65% 34% 80% 69%;
  z-index: 0;
  pointer-events: none;
}
.text-section > * { position: relative; z-index: 1; }

/* Custom creative accent for links */
a {
  text-decoration: none;
  border-bottom: 2px dashed var(--creative-pink);
  transition: color .14s, border-bottom-color .18s;
}
a:hover, a:focus {
  color: var(--creative-blue);
  border-bottom-color: var(--creative-yellow);
}

/* =============================
   Footer Styles
   ============================= */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 44px 0 28px 0;
  margin-top: 52px;
  border-radius: 80px 0 0 0;
  box-shadow: 0 -4px 20px 0 rgba(34,48,79,0.08);
}
.footer-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 1rem;
}
.footer-nav a {
  color: var(--creative-yellow);
  border-radius: 14px 6px 10px 12px;
  padding: 6px 10px;
  border-bottom: 0;
  font-family: var(--display-font);
  transition: background .14s, color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--creative-pink);
  color: var(--white);
}
.footer-meta {
  text-align: center;
  font-size: 0.96rem;
  opacity: 0.86;
  background-color: var(--accent);
}

/* =============================
   List Styles (for features, FAQ...)
   ============================= */
ul {
  margin-bottom: 18px;
  padding-left: 0;
}
ul li {
  padding-left: 36px;
  background: url("data:image/svg+xml,%3Csvg height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='6' fill='%23CB6789'/%3E%3C/svg%3E") no-repeat 8px center / 12px 12px;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .footer-nav { flex-direction: column; gap: 10px; }
  footer { border-radius: 32px 0 0 0; padding: 32px 0 18px 0; }
}

/* =============================
   Contact Details & Social
   ============================= */
.contact-details {
  margin: 20px 0 20px 0;
  padding: 18px 16px;
  background: var(--white);
  border-radius: 18px 8px 8px 22px;
  box-shadow: 0 2px 18px 1px rgba(203,103,137,0.08);
  color: var(--primary);
}
.contact-details strong { color: var(--creative-pink); }
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
}
.social-links img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--creative-yellow);
  padding: 2px;
  transition: box-shadow .2s, background .17s;
}
.social-links a:hover img {
  background: var(--creative-blue);
  box-shadow: 0 2px 10px 0 rgba(97,163,235,0.17);
}

/* =============================
   FAQ/Definition List
   ============================= */
dl {
  margin-bottom: 24px;
}
dt {
  font-family: var(--display-font);
  margin-bottom: 4px;
  color: var(--creative-pink);
  font-weight: bold;
  font-size: 1.09rem;
}
dd {
  margin-left: 0;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 1rem;
}

/* =============================
   Cookie Consent Banner
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1999;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -3px 30px 0 rgba(138,166,193,0.17);
  padding: 20px 18px 18px 18px;
  border-radius: 26px 26px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  font-size: 1rem;
  transition: transform 0.27s cubic-bezier(.4,.97,.63,1.02), opacity 0.25s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 2 1 260px;
  font-size: 1.06rem;
  color: var(--primary);
}
.cookie-banner .cookie-actions {
  flex: 1 1 210px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-banner button {
  font-family: var(--display-font);
  padding: 8px 18px;
  border-radius: 18px 6px 12px 18px;
  border: none;
  min-width: 100px;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 0;
  margin-right: 0;
  box-shadow: 0 2px 12px 0 rgba(203,103,137,.10);
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
}
.cookie-banner .cookie-accept {
  background: var(--creative-green);
  color: var(--primary);
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus {
  background: var(--creative-pink);
  color: var(--white);
}
.cookie-banner .cookie-reject {
  background: var(--danger);
  color: var(--white);
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: var(--creative-blue);
  color: var(--white);
}
.cookie-banner .cookie-settings {
  background: var(--creative-yellow);
  color: var(--primary);
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: var(--creative-blue);
  color: var(--white);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 0.98rem;
    padding: 18px 5vw 18px 5vw;
  }
  .cookie-banner .cookie-actions {
    justify-content: flex-start;
    width: 100vw;
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0;
  width:100vw; height:100vh;
  background: rgba(34,48,79,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--white);
  border-radius: 30px 12px 30px 12px;
  box-shadow: 0 8px 48px 0 rgba(203,103,137,0.11);
  padding: 36px 32px 24px 32px;
  max-width: 420px;
  width: 98vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--primary);
}
.cookie-modal h2 {
  color: var(--creative-blue);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 13px;
}
.cookie-modal-category strong { font-family: var(--display-font); }
.cookie-modal input[type="checkbox"] {
  accent-color: var(--creative-blue);
  width: 21px;
  height: 21px;
}
.cookie-modal .category-essential {
  background: var(--creative-green);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: bold;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 20px;
}
.cookie-modal .close-modal {
  background: transparent;
  color: var(--danger);
  font-size: 2rem;
  position: absolute;
  right: 20px;
  top: 8px;
  border: none;
  border-radius: 8px;
  transition: background .16s;
}
.cookie-modal .close-modal:hover {
  background: var(--creative-yellow);
  color: var(--primary);
}
@media (max-width: 568px) {
  .cookie-modal {
    padding: 18px 7vw 15px 7vw;
    max-width: 98vw;
  }
}

/* =============================
   Animations and Micro-Effects
   ============================= */
.card, .testimonial-card, .feature-item, .cta-primary, .cta-secondary, .cookie-banner, .mobile-menu-toggle {
  transition: box-shadow .23s, background .15s, color .15s, transform .1s;
}
.card:active, .cta-primary:active, .cta-secondary:active, .feature-item:active {
  transform: translateY(1px) scale(0.98);
}
section, .section {
  animation: fadeInUp 0.9s cubic-bezier(.38,1.01,.34,.98) both;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: none; }
}

/* =============================
   Misc: Spacing, Forms, etc.
   ============================= */
::-webkit-input-placeholder { color: var(--primary); opacity: 0.68; }
::-moz-placeholder { color: var(--primary); opacity: 0.68; }
:-ms-input-placeholder { color: var(--primary); opacity: 0.68; }
::placeholder { color: var(--primary); opacity: 0.68; }

/* Card Highlight for Artistic Style */
.card::before {
  content: '';
  display: block;
  position: absolute;
  top: -14px;
  left: -22px;
  width: 54px;
  height: 48px;
  background: var(--creative-yellow);
  opacity: 0.11;
  border-radius: 56% 44% 54% 46% / 48% 55% 45% 53%;
  z-index: 1;
}
.card > * { position: relative; z-index: 2; }

/* =============================
   Responsive Adjustments
   ============================= */
@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }
  .cookie-modal, .footer-nav, .content-wrapper, .text-section {
    padding-left: 7px; padding-right: 7px;
  }
}

/* =============================
   Accessibility / Contrast
   ============================= */
.testimonial-card, .card, .feature-item {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--creative-yellow);
}
.testimonial-card blockquote, .testimonial-card p {
  color: var(--primary)!important;
  background: none;
}

/* =============================
   Modal Hide Utility
   ============================= */
.cookie-modal-overlay.hide, .cookie-banner.hide {
  display: none;
}

/* =============================
   Utility (for display:none/disable)
   ============================= */
.hidden, [hidden] {
  display: none !important;
}
