/* ==== CSS 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, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,picture,figcaption,figure,
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 { scroll-behavior: smooth; }
body {
  line-height: 1.5;
  font-size: 16px;
  background: #F7F7FB;
  color: #1A1B22;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul, ol { list-style: none; }
button { border: none; outline: none; font-family: inherit; cursor: pointer; background: none; } 

/* ==== BRAND FONTS ==== */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #1A1B22;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 600; }
p, li, blockquote { font-family: 'Montserrat', Arial, sans-serif; font-size: 1rem; }
blockquote {
  font-size: 1.15rem;
  background: #F7F7FB;
  border-left: 4px solid #D6B97B;
  padding: 16px 20px;
  margin-bottom: 12px;
  font-style: italic;
}

/* ==== COLOR PALETTE ==== */
:root {
  --primary: #1A1B22;
  --secondary: #D6B97B;
  --accent: #F7F7FB;
  --funPink: #FF46A3;
  --funBlue: #22B2FF;
  --funGreen: #32E190;
  --funYellow: #FFE066;
  --white: #fff;
  --cardShadow: 0 4px 32px 0 rgba(31,30,80,0.08);
  --cardRadius: 28px;
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  gap: 14px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--cardRadius);
  box-shadow: var(--cardShadow);
  transition: box-shadow .25s;
}
.section:hover { box-shadow: 0 8px 36px 0 rgba(31,30,80,0.15); }

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--cardRadius);
  margin-bottom: 20px;
  box-shadow: var(--cardShadow);
  padding: 28px 22px;
  position: relative;
  transition: transform .22s, box-shadow .2s;
  min-width: 250px;
}
.card:hover {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 36px 0 rgba(34,178,255,0.18);
}

.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: flex-start;
  gap: 12px;
  padding: 20px 26px;
  background: var(--funYellow);
  border-radius: 18px;
  box-shadow: 0 2px 22px 0 rgba(0,0,0,.07);
  margin-bottom: 20px;
  color: #181818;
  font-size: 1.08rem;
  max-width: 480px;
  transition: box-shadow .2s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px 0 rgba(255,70,163,0.10);
  transform: scale(1.01) rotate(1.3deg);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  padding: 22px;
  border-radius: 18px;
  margin-bottom: 20px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  width: 100%;
  padding: 18px 0;
  background: var(--primary);
  color: var(--accent);
  position: relative;
  box-shadow: 0 2px 18px 0 rgba(34,178,255,0.07);
  z-index: 1006;
}
header a img { height: 42px; }
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 14px;
  transition: background .18s, color .18s;
  position: relative;
}
header nav a:hover, header nav a.active {
  background: var(--secondary);
  color: var(--primary);
}
.cta-button {
  background: linear-gradient(92deg,var(--funPink),var(--funBlue),var(--funGreen),var(--secondary));
  background-size: 250% 250%;
  color: var(--white);
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.09rem;
  padding: 10px 28px;
  margin-left: 18px;
  margin-top: 6px;
  box-shadow: 0 4px 18px 0 rgba(247,71,171,0.10);
  letter-spacing: 0.03em;
  cursor: pointer;
  display: inline-block;
  border: none;
  transition: background-position .32s, box-shadow .2s, transform .19s;
  outline: none;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background-position: 90% 10%;
  box-shadow: 0 8px 32px 0 rgba(34,178,255,0.13);
  transform: scale(1.03) rotate(-1.2deg);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--funPink);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 12px;
  margin-left: auto;
  margin-right: 10px;
  transition: box-shadow .2s, background .17s;
  box-shadow: 0 4px 16px 0 rgba(247,70,163,0.08);
  z-index: 1100;
  outline: none;
}
.mobile-menu-toggle:active { background: var(--funBlue); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,27,34,0.97);
  z-index: 2000;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.68,-0.45,.85,.53), opacity .32s;
  opacity: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  color: var(--funYellow);
  font-size: 2.2rem;
  background: none;
  font-weight: 700;
  margin: 26px 0 16px 18px;
  cursor: pointer;
  align-self: flex-start;
  border-radius: 8px;
  padding: 2px 18px 2px 2px;
  transition: background .18s;
}
.mobile-menu-close:hover { background: rgba(255,224,102,.08); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  align-items: flex-start;
  margin: 0 0 0 30px;
}
.mobile-nav a {
  color: var(--funYellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  padding: 12px 0;
  border-radius: 9px;
  transition: background .17s, color .19s;
  font-weight: bold;
  min-width: 210px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--funPink);
  color: var(--white);
}

@media (max-width: 1024px) {
  header nav {
    gap: 12px;
  }
  .cta-button {
    font-size: 1rem;
    padding: 9px 16px;
    margin-left: 12px;
  }
}
@media (max-width: 900px) {
  header nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  section, .section, .content-wrapper, .card, .testimonial-card { padding-left: 8px; padding-right: 8px; }
}

/* ==== MAIN BUTTONS & INTERACTIVES ==== */
button, .cta-button, input[type=submit] {
  cursor: pointer;
}
button:focus-visible, .cta-button:focus-visible {
  outline: 2px dashed var(--primary);
}

/* ==== GENERAL SECTION SPACING & FLEX SPACING ==== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== TABLE STYLING ==== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 24px 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(34,178,255,0.05);
  overflow: hidden;
}
table th,
table td {
  padding: 14px 18px;
  text-align: left;
}
table th {
  background: var(--funBlue);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.04rem;
  letter-spacing: 0.03em;
}
table tr {
  border-bottom: 1px solid #eee;
}
table tr:last-child { border-bottom: none; }
table td {
  font-size: 1rem;
  background: #fafafd;
  vertical-align: top;
}
table tr:hover {
  background: var(--funYellow);
}

/* ==== CARDS & CUSTOM COMPONENTS ==== */
.card {
  transition: transform .25s, box-shadow .23s;
  box-shadow: var(--cardShadow);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ==== ICONS INSIDE TEXT ==== */
p img, li img, .footer-contact img {
  display: inline-block;
  margin-right: 6px;
  height: 22px;
  width: 22px;
  vertical-align: middle;
}

/* ==== FEATURE LISTS ==== */
ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 14px;
  list-style: none;
}
li {
  position: relative;
  padding-left: 0;
  font-size: 1.07rem;
  line-height: 1.55;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #393842;
}
ul li img {
  margin-right: 8px;
  vertical-align: middle;
}

/* ==== FOOTER ==== */
footer {
  margin-top: 60px;
  background: var(--primary);
  color: var(--accent);
  padding: 36px 0 22px 0;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -2px 16px 0 rgba(26,27,34,0.06);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
  align-items: center;
}
footer nav a {
  color: var(--funYellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 4px 8px;
  border-radius: 8px;
}
footer nav a:hover {
  color: var(--funPink);
  background: rgba(255, 70, 163, 0.08);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
}
footer small {
  display: block;
  margin-top: 20px;
  color: #e4e1cf;
  font-size: .9rem;
  letter-spacing: 0.016em;
}

/* ==== UTILITIES ==== */
.hide {
  display: none !important; 
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-col {
  display: flex;
  flex-direction: column;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 900px) {
  .content-wrapper, .text-section, .testimonial-card, .feature-item, .card {
    padding-left: 5px; padding-right: 5px;
  }
  section, .section {
    padding: 24px 6px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .footer-contact,
  .feature-item,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { align-items: flex-start; }
  .testimonial-card { max-width: 100%; }
  .section { padding: 32px 6px; margin-bottom: 34px; }
  .container { padding: 0 4px; }
  h1 { font-size: 1.5rem; }
}

@media (max-width:500px) {
  h1 { font-size: 1.15rem; }
  h2 { font-size: 1.09rem; }
  .card, .testimonial-card, .section { padding: 12px 2px; }
}

/* ==== ANIMATIONS & MICRO-INTERACTIONS ==== */
.card, .testimonial-card, .cta-button {
  transition: box-shadow .19s, transform .18s, background .15s, background-position .34s;
}
.cta-button:active {
  transform: scale(.96);
  background-position: 20% 80%;
}
li, .feature-item, .testimonial-card, .card {
  animation: showUp .6s cubic-bezier(.48,.6,.38,1.25) both;
}
@keyframes showUp {
  from { opacity: 0; transform: translateY(48px) scale(.97) rotate(2deg); }
  80% { opacity: 1; }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

.card:hover, .feature-item:hover {
  background: var(--funBlue);
  color: var(--white);
  box-shadow: 0 6px 32px 0 rgba(50,225,144,0.11);
}

/* ==== COOKIES CONSENT ==== */
.cookie-banner {
  position: fixed;
  left:0; right:0; bottom:0;
  width: 100%;
  background: var(--funPink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap:26px;
  padding: 22px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  border-radius: 20px 20px 0 0;
  z-index: 2100;
  box-shadow: 0 -2px 32px 0 rgba(34,178,255,0.18);
  animation: cookieSlideIn .77s cubic-bezier(.50,0,.45,1.1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity:0; } to { transform:translateY(0); opacity:1; }
}
.cookie-banner button {
  margin-left: 6px;
  font-size: 1rem;
  border-radius: 11px;
  border:none;
  padding: 8px 18px;
  font-weight: 600;
  transition: background .18s, color .18s, box-shadow .16s;
}
.cookie-banner .accept {
  background: var(--funGreen);
  color: #fff;
}
.cookie-banner .accept:hover { background: var(--funBlue); }
.cookie-banner .reject {
  background: var(--white);
  color: var(--funPink);
}
.cookie-banner .reject:hover { background: var(--funYellow); color:var(--primary); }
.cookie-banner .settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .settings:hover { background: var(--funPink); color: #fff; }

@media(max-width:650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    font-size: 0.98rem;
    padding: 18px 4px;
  }
  .cookie-banner button { margin-top:4px; }
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,27,34,0.83);
  z-index: 2110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .30s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--accent);
  color: var(--primary);
  border-radius: 22px;
  box-shadow: 0 8px 60px 0 rgba(247,70,163,0.13);
  padding: 38px 26px 30px 26px;
  min-width: 310px;
  max-width: 98vw;
  max-height: 85vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPop .42s cubic-bezier(.26,1.24,.54,.99);
}
@keyframes modalPop {
  from {
    transform: scale(.85) translateY(32px);
    opacity: 0;
  }
  80% { opacity:1; }
  to   {
    transform: scale(1) translateY(0); opacity: 1;
  }
}
.cookie-modal-close {
  position: absolute;
  top: 24px;
  right: 30px;
  background: var(--funPink);
  color: #fff;
  font-size: 1.4rem;
  border: none;
  border-radius: 9px;
  padding: 2px 12px;
  font-weight: bold;
  cursor: pointer;
  transition: background .17s;
  z-index: 2130;
}
.cookie-modal-close:hover {
  background: var(--funBlue);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  background: var(--funYellow);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 1rem;
  color: #252525;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: var(--funBlue);
  transform: scale(1.15);
  margin-right: 2px;
}
.cookie-category.essential input[type=checkbox] {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 19px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(50,225,144,0.06);
  transition: background .19s, color .16s;
}
.cookie-modal-actions .save {
  background: var(--funGreen);
  color: #fff;
}
.cookie-modal-actions .cancel {
  background: var(--white);
  color: var(--primary);
}
.cookie-modal-actions .save:hover {
  background: var(--funPink);
}
.cookie-modal-actions .cancel:hover {
  background: var(--funYellow);
}

@media(max-width:530px){
  .cookie-modal-content {
    padding: 14px 6px 18px 6px;
    font-size: 0.98rem;
  }
}

/* ==== PLAYFUL & DYNAMIC DECORATIVE ==== */
/* Fun border and candy colors for playful effect */
.card, .section, .feature-item, .testimonial-card {
  border: 2.5px dashed var(--funPink);
  background-clip: padding-box;
  position: relative;
}
.card:before, .testimonial-card:before, .feature-item:before, .section:before {
  content: '';
  position: absolute;
  top: -12px; 
  left: -12px;
  width: 40px;
  height: 40px;
  background: var(--funBlue);
  opacity: 0.14;
  border-radius: 50%;
  z-index: 0;
  pointer-events:none;
  transition: transform .34s;
  will-change: transform;
}
.card:hover:before, .testimonial-card:hover:before, .feature-item:hover:before, .section:hover:before {
  transform: scale(1.2) rotate(12deg);
}
.card:after, .testimonial-card:after {
  content: '';
  position: absolute;
  bottom: -9px;
  right: -9px;
  width: 34px; height: 34px;
  background: var(--funGreen);
  opacity: .13;
  border-radius: 50%;
  z-index: 0;
  pointer-events:none;
}

/* Fun font for big titles */
h1, h2 { letter-spacing: 0.01em; }
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--funBlue);
  text-shadow: 1.5px 1.5px 0px var(--funPink);
}
h1 span, h2 span { color: var(--funPink); }
h2 {
  color: var(--funPink);
  font-weight: 800;
}

/* Fun underline for markup */
h3, h4, h5 {
  border-bottom: 2px wavy var(--funGreen);
  display: inline-block;
  padding-bottom: 3px;
}

/* Playful icon animation */
ul li img, .footer-contact img {
  filter: drop-shadow(1px 1px 0px var(--funPink));
  transition: transform .14s;
}
ul li:hover img, .footer-contact:hover img {
  transform: rotate(-7deg) scale(1.18);
}

/* Fun bounce on cta */
.cta-button {
  animation: ctaBounce 3.7s infinite cubic-bezier(.57,1.7,.41,.83);
}
@keyframes ctaBounce {
  0%, 93%, 100% { transform: scale(1) rotate(0); }
  95% { transform: scale(1.08) rotate(-2deg); }
  97% { transform: scale(0.96) rotate(1.5deg); }
}

/* Emphasize stars in testimonials */
.testimonial-card span {
  color: var(--funPink);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  letter-spacing: 2px;
  filter: drop-shadow(0 0 2px var(--funYellow));
}

/* ==== ACCESSIBILITY ==== */
:focus {
  outline: 2px solid var(--funBlue) !important;
  outline-offset: 2px;
}

/* ==== PRINT IMPROVEMENTS ==== */
@media print {
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
  section, .section { box-shadow: none !important; border: none !important; }
}

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