/* ===================================================================
   CSS RESET & BASE STYLES
=================================================================== */
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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.5;
  background: #fff;
  color: #2c2b29;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

*::selection {
  background: #e6d3c3;
  color: #68487b;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

ul, ol {
  list-style: none;
}

a {
  color: #68487b;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #2c2b29;
  text-decoration: underline;
}

button, .cta {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  background: #68487b;
  color: #fff;
  transition: background 0.18s, color 0.12s, box-shadow 0.18s, transform 0.18s;
  font-size: 18px;
  box-shadow: 0 4px 16px 0 rgba(104,72,123,0.08);
  position: relative;
  letter-spacing: 0.03em;
}
.cta.primary {
  background: #e6d3c3;
  color: #68487b;
}
button:focus, .cta:focus {
  outline: 2px solid #68487b;
  outline-offset: 2px;
}
button:hover, .cta:hover, .cta.primary:hover {
  background: #2c2b29;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(104,72,123,0.2);
}
.cta.primary:hover {
  background: #68487b;
  color: #e6d3c3;
}

body {
  background: #fff;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Typography: Playful + Dynamic */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #68487b;
  letter-spacing: 0.012em;
}
h1 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2.1rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }
p, li, span, ul, ol {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #2c2b29;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
}
strong {
  color: #68487b;
  font-weight: 700;
}
em {
  color: #e36f64;
  font-style: italic;
}

/* Playful Animated Accent Dots on H2 */
h2 {
  position: relative;
}
h2::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e6d3c3;
  margin-left: 12px;
  animation: h2dotbounce 0.9s infinite alternate cubic-bezier(0.25,0.1,0.35,1.66);
}
@keyframes h2dotbounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-9px) scale(1.23); }
}

/* ===================================================================
   GLOBAL SPACING & FLEXBOX LAYOUTS (mobile first)
=================================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Card-like container spacing */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px 0 rgba(104,72,123,0.06);
  padding: 24px 20px;
  position: relative;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(39,34,43,0.12);
  transform: translateY(-3px) scale(1.025);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonials-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffdfa;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(51,31,65,0.08);
  margin-bottom: 20px;
  min-width: 250px;
  border: 2px dashed #e6d3c3;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #2c2b29 !important;
}
.testimonial-card strong { color: #68487b; }
.testimonial-card p {
  color: #2c2b29;
  font-size: 1.1rem;
  font-style: italic;
  margin-right: 8px;
}
.testimonial-card span {
  font-weight: 600;
  font-size: 1rem;
  color: #2c2b29;
}

.features-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.features-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  width: 100%;
}
.features-section li {
  background: #f7f1fc;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(104,72,123,0.07);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 185px;
  flex: 1 1 220px;
  position: relative;
  font-size: 1rem;
  color: #2c2b29;
  transition: transform 0.13s, box-shadow 0.17s;
}
.features-section li img {
  width: 38px;
  height: auto;
  margin-bottom: 8px;
  transition: transform 0.13s;
}
.features-section li:hover {
  transform: scale(1.035) rotate(-1deg);
  box-shadow: 0 7px 28px 0 rgba(104,72,123,0.13);
  background: #efe3fa;
  z-index: 1;
}
.features-section li:hover img {
  transform: scale(1.08) rotate(7deg);
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* All content cards/sections -> min 20px gap */
section, .section, .card, .testimonial-card, .features-section li {
  margin-bottom: 20px;
}

/* Misc spacing */
footer .container { padding-bottom: 16px; }
footer .footer-top, footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
footer .footer-top {
  border-bottom: 1.5px solid #e6d3c3;
  padding-bottom: 18px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-nav a {
  font-size: 1rem;
  color: #68487b;
  font-weight: 600;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: #e36f64;
}

/* ===================================================================
   HEADER & NAVIGATION
=================================================================== */
header {
  background: #f7f1fc;
  box-shadow: 0 2px 14px 0 rgba(104,72,123,0.04);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img {
  height: 48px;
  width: auto;
  transition: transform 0.22s;
}
.logo:hover img {
  transform: scale(1.08) rotate(-3deg);
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.main-nav a {
  color: #68487b;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 0.16s, text-shadow 0.19s;
}
.main-nav a:hover {
  color: #e36f64;
  text-shadow: 0 2px 8px #e6d3c388;
  text-decoration: none;
}

/* ============ MOBILE MENU STYLES ============ */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #68487b;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  margin-left: 18px;
  transition: background 0.21s, color 0.12s, box-shadow 0.17s;
  box-shadow: 0 2px 11px 0 rgba(104,72,123,0.09);
  z-index: 1501;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e6d3c3;
  color: #68487b;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #e6d3c3ee;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.66,0.01,0.17,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 0 29px 0 rgba(104,72,123,0.17);
  padding: 42px 20px 20px 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 23px;
  background: #e36f64;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.7rem;
  z-index: 2010;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #68487b;
  color: #e6d3c3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #68487b;
  font-weight: 700;
  padding: 12px 8px 12px 0;
  border-radius: 7px;
  line-height: 1.5;
  transition: background 0.13s, color 0.12s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #e36f64;
}

@media (min-width: 993px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 992px) {
  .main-nav {
    display: none !important;
  }
  html, body { font-size: 16px; }
}
@media (max-width: 576px) {
  html { font-size: 15px; }
}

/* ===================================================================
   HERO & SECTION LAYOUTS
=================================================================== */
section, .section {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 2px 16px 0 rgba(104,72,123,0.035);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  background: transparent;
  padding: 0;
}

/* Playful shadow for active areas */
.cta:active {
  box-shadow: 0 1px 9px 0 #e6d3c355;
  transform: scale(.98);
}

/* ===================================================================
   Responsive FLEX Layouts
=================================================================== */
@media (max-width: 992px) {
  .container { max-width: 96vw; }
  .features-section ul {
    gap: 18px;
  }
  .card-container, .content-grid {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .content-wrapper,
  .features-section ul,
  .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .section, section {
    padding: 28px 7px;
    border-radius: 17px;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 18px;
    gap: 12px;
    border-radius: 16px;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.0rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  .card, .testimonial-card, .features-section li {
    padding: 12px 7px;
  }
  .container {
    padding-left: 8px; padding-right: 8px;
  }
}

/* ===================================================================
   COOKIE CONSENT BANNER + MODAL
=================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #efe3fa;
  color: #2c2b29;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 23px 18px 18px 18px;
  box-shadow: 0 -3px 22px 0 rgba(104,72,123,0.14);
  border-top: 3px solid #68487b;
  z-index: 3005;
  font-size: 1rem;
  animation: cookieBannerIn 0.42s cubic-bezier(.43,.13,.33,1.2);
  will-change: transform, opacity;
}
@keyframes cookieBannerIn {
  0% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-consent-banner button,
.cookie-consent-banner .cookie-btn {
  background: #68487b;
  color: #fff;
  padding: 8px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  font-weight: 700;
  cursor: pointer;
  margin: 0 3px;
  transition: background 0.15s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 1px 8px #68487b13;
}
.cookie-consent-banner .accept {
  background: #68487b;
  color: #fff;
}
.cookie-consent-banner .accept:hover {
  background: #e36f64;
}
.cookie-consent-banner .reject {
  background: #e36f64;
  color: #fff;
}
.cookie-consent-banner .reject:hover {
  background: #68487b;
  color: #fff;
}
.cookie-consent-banner .settings {
  background: #e6d3c3;
  color: #68487b;
}
.cookie-consent-banner .settings:hover {
  background: #68487b;
  color: #e6d3c3;
}

/* ================= Cookie Modal ================= */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(232,211,195,0.88);
  z-index: 3060;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fffdfa;
  color: #2c2b29;
  border-radius: 30px;
  box-shadow: 0 8px 42px 0 rgba(104,72,123,0.21);
  min-width: 330px;
  max-width: 92vw;
  padding: 36px 24px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.31s cubic-bezier(.33,1.3,.46,1.0);
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: scale(.85); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  color: #68487b;
  font-size: 1.4rem;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-modal .cookie-category label {
  flex: 1 0 130px;
  color: #2c2b29;
}
.cookie-modal .cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}
.cookie-modal .cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-modal .cookie-toggle .slider {
  position: absolute;
  cursor: pointer;
  width: 44px; height: 24px;
  background: #e6d3c3;
  border-radius: 19px;
  transition: background 0.21s;
}
.cookie-modal .cookie-toggle input:checked + .slider {
  background: #68487b;
}
.cookie-modal .cookie-toggle .slider:before {
  content: '';
  position: absolute;
  left: 4px; bottom: 4px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px #0001;
  transition: transform 0.21s;
}
.cookie-modal .cookie-toggle input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal .cookie-actions button {
  padding: 8px 22px;
  border-radius: 21px;
  font-size: 1rem;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #e36f64;
  color: #fff;
  border: none;
  border-radius: 37px;
  width: 33px;
  height: 33px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .close-modal:hover {
  background: #68487b;
}

@media (max-width: 480px) {
  .cookie-modal {
    min-width: unset;
    padding: 22px 6px 12px 6px;
    border-radius: 13px;
  }
}

/* ===================================================================
   PLAYFUL & DYNAMIC EXTRAS (Micro-interactions)
=================================================================== */
.card, .features-section li, .testimonial-card {
  transition: transform 0.17s, box-shadow 0.18s, background 0.13s;
}

.features-section li::before {
  /* Playful confetti dot */
  content: '';
  width: 14px; height: 14px;
  background: #e36f64;
  border-radius: 50%;
  position: absolute;
  top: -7px; right: -7px;
  opacity: 0.45;
  animation: dotjump 2.5s infinite ease-in-out;
}
@keyframes dotjump {
  0% { transform: scale(1) translateY(0); }
  20% { transform: scale(1.10) translateY(-6px); }
  40% { transform: scale(1) translateY(0); }
  100% { transform: scale(1) translateY(0); }
}

.cta {
  animation: ctabounce 1.8s infinite ease-in-out alternate;
  box-shadow: 0 4px 18px 0 rgba(104,72,123,0.10);
}
@keyframes ctabounce {
  0% { transform: translateY(0) scale(1); }
  55% { transform: translateY(-5px) scale(1.08); }
  100% { transform: translateY(0) scale(1); }
}

.cta.primary {
  animation-delay: 0.55s;
}

/* Other accents for playfulness */
.features-section li strong, .card strong {
  font-family: 'Playfair Display', Georgia, serif;
  color: #e36f64;
  font-weight: 700;
  font-size: 1.07em;
  letter-spacing: 0.02em;
}

/* ===================================================================
   SCROLLBARS (custom for playful/dynamic)
=================================================================== */
::-webkit-scrollbar { width: 10px; background: #efd8c9; }
::-webkit-scrollbar-thumb { background: #68487b; border-radius: 9px; }
::-webkit-scrollbar-thumb:hover { background: #e36f64; }

/* ===================================================================
   UTILITY CLASSES (spacing, flex)
=================================================================== */
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-24 { margin-top: 24px !important; }
.gap-20 { gap: 20px !important; }
.text-center { text-align: center !important; }
.d-flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.justify-between { justify-content: space-between !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }

@media (max-width: 480px) {
  .gap-20 { gap: 12px !important; }
}

/* ===================================================================
   ERROR, SUCCESS, MESSAGES (Playful Dynamic)
=================================================================== */
.success-msg {
  background: #eaf7ea;
  color: #196127;
  border-left: 7px solid #67e086;
  padding: 15px 24px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 6px #19612713;
}

.error-msg {
  background: #fae8e7;
  color: #910f1e;
  padding: 15px 24px;
  border-left: 7px solid #e36f64;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 6px #e36f6419;
}

/* ===================================================================
   FONTS
=================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:wght@700&display=swap');

/* ===================================================================
   END
=================================================================== */
