/* === CSS RESET & BASE 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,
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; }
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block; }
body {
  line-height: 1.5;
  background: #F3F5F8;
  color: #21344B;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  outline: none;
  box-sizing: border-box;
}
*:focus {
  outline: 2px solid #1D7D85;
  outline-offset: 2px;
}

/* === VARIABLES (color+font fallbacks) === */
:root {
  --primary: #21344B;
  --secondary: #1D7D85;
  --accent: #F3F5F8;
  --danger: #F35858;
  --yellow: #FFDE59;
  --green: #81D785;
  --fun-pink: #F266C1;
  --fun-violet: #7690FF;
  --fun-orange: #F6A340;

  --font-display: 'Roboto Slab', Georgia, serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* === BASE TYPOGRAPHY === */
body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--accent);
  color: var(--primary);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul li, ol li, address, table, th, td {
  font-size: 1rem;
  line-height: 1.7;
}
p, ul, ol {
  margin-bottom: 16px;
}

.tagline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 12px;
  font-style: italic;
  letter-spacing: 0.04em;
}

strong {
  color: var(--secondary);
  font-weight: bold;
}

/* Fun/Playful Font on Some Elements */
h2, .cta-btn, .main-nav a, .footer-nav a, .mobile-nav a {
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}

/* === UTILITY SPACING === */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px 2px rgba(33,52,75,0.07);
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.2s cubic-bezier(.77,0,.18,1), box-shadow 0.2s cubic-bezier(.77,0,.18,1);
  padding: 24px 20px;
}
.card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 6px 32px 3px rgba(33,52,75,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: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 18px 2px rgba(33,52,75,0.11);
  margin-bottom: 20px;
  margin-top: 20px;
  min-width: 240px;
  transition: transform 0.17s cubic-bezier(.77,0,.18,1), box-shadow 0.15s cubic-bezier(.77,0,.18,1);
  border-left: 6px solid var(--fun-orange);
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 10px 42px 5px rgba(33,52,75,0.17);
  border-left: 6px solid var(--fun-pink);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Spacing for UL grid structures */
.benefits-grid, .feature-grid, .service-list, .trend-overview, .product-teasers > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.benefits-grid li, .feature-grid li {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 1.5px 9px 1px rgba(29,125,133,0.07);
  padding: 22px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  position: relative;
  gap: 10px;
  transition: box-shadow 0.18s;
}
.benefits-grid li:hover, .feature-grid li:hover {
  box-shadow: 0 7px 24px 2px rgba(242,102,193,0.13);
  border: 2px solid var(--fun-pink);
}
.benefits-grid img, .feature-grid img {
  height: 42px;
  width: 42px;
  margin-bottom: 8px;
}
.service-list {
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}
.service-list li {
  padding-left: 0;
}
.trend-overview {
  flex-direction: column;
  gap: 13px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(29,125,133,0.05);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
}
header img {
  height: 48px;
  margin-right: 18px;
  border-radius: 8px;
  background: var(--fun-yellow, #FFDE59);
  box-shadow: 0 1px 7px 1px rgba(29,125,133,0.06);
  transition: box-shadow 0.22s;
}
header img:hover {
  box-shadow: 0 2px 18px 1px rgba(29,125,133,0.12);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  padding: 10px 12px;
  color: var(--primary);
  border-radius: 10px;
  font-weight: 600;
  background: transparent;
  font-size: 1.07rem;
  transition: color 0.14s, background 0.14s, transform 0.14s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff;
  background: var(--secondary);
  transform: scale(1.07) rotate(-2deg);
}
.cta-btn {
  padding: 12px 28px;
  background: var(--fun-violet, #7690FF);
  color: #fff;
  border-radius: 16px;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 18px 2px rgba(29,125,133,0.17);
  transition: background 0.14s, color 0.12s, box-shadow 0.18s, transform 0.15s;
  text-shadow: 0 1px 7px rgba(29,125,133,0.02);
  margin-left: 14px;
  margin-right: 2px;
  border: 3px solid transparent;
  cursor: pointer;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--fun-orange, #F6A340);
  color: var(--primary);
  box-shadow: 0 10px 32px 3px rgba(255,222,89,0.21);
  border-color: var(--fun-pink, #F266C1);
  transform: translateY(-3px) scale(1.04) rotate(-2deg);
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  font-size: 2.2rem;
  color: var(--secondary);
  background: #fff;
  border-radius: 7px;
  width: 48px;
  height: 48px;
  text-align: center;
  line-height: 48px;
  display: none;
  justify-content: center; align-items: center;
  cursor: pointer;
  transition: box-shadow 0.15s;
  box-shadow: 0 1px 8px 1px rgba(29,125,133,0.08);
  z-index: 1002;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--fun-yellow, #FFDE59);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; 
  height: 100vh; width: 100vw;
  background: rgba(33,52,75,0.92);
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(.84,0,.3,1.17), opacity 0.2s;
  z-index: 2001;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 25px 24px 2em 18px;
  align-self: flex-end;
  background: var(--danger);
  color: #fff;
  border-radius: 12px;
  width: 40px; height: 40px;
  font-size: 1.7rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 1.5px 10px 1px rgba(243,88,88,0.12);
  transition: background 0.13s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--fun-pink, #F266C1);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  padding-left: 38px;
  margin-top: 8px;
  margin-bottom: 12px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.32rem;
  font-weight: 700;
  padding: 12px 6px 12px 2px;
  border-radius: 12px;
  background: none;
  transition: background 0.14s, color 0.14s, transform 0.17s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--fun-violet, #7690FF);
  color: #fff;
  transform: scale(1.09) rotate(-3deg);
}

/* === FOOTER === */
footer {
  background: #fff;
  box-shadow: 0 -3px 13px 1px rgba(29,125,133,0.09);
  margin-top: 55px;
  padding-top: 36px;
  padding-bottom: 20px;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
footer img {
  height: 46px;
  width: 46px;
  background: var(--fun-yellow, #FFDE59);
  border-radius: 8px;
  box-shadow: 0 2px 9px 1px rgba(242,102,193,0.09);
}
.footer-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.01rem;
  transition: color 0.15s, background 0.12s;
  border-radius: 8px;
  padding: 7px 9px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: var(--fun-pink, #F266C1);
}
footer p {
  font-size: 0.98rem;
  color: var(--secondary);
  margin-left: 8px;
}

/* === TABLES === */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 2px 10px 1px rgba(29,125,133,0.07);
}
thead th {
  background: var(--fun-yellow, #FFDE59);
  color: var(--primary);
  padding: 15px 12px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  border-radius: 10px 10px 0 0;
}
tbody td {
  padding: 13px 10px;
  color: var(--primary);
  font-size: 1rem;
  background: #fff;
  border-bottom: 1.5px solid var(--accent);
}
tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table tbody tr:hover {
  background: var(--fun-violet, #f0f6ff);
  transition: background 0.19s;
}
.price {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--yellow);
  color: var(--primary);
  border-radius: 8px;
  padding: 5px 14px;
  margin-left: 7px;
  font-size: 0.98rem;
  font-weight: 600;
  box-shadow: 0 2px 6px 1px rgba(33,52,75,0.07);
}

/* === CONTENT & LAYOUTS === */
.text-section {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 14px 1px rgba(76,191,212,0.06);
  padding: 30px 22px 30px 24px;
  margin-bottom: 20px;
}
.product-teasers {
  margin-top: 18px;
  margin-bottom: 20px;
  background: var(--accent);
  border-radius: 13px;
  padding: 16px 12px;
  box-shadow: 0 1.5px 6px 1px rgba(29,125,133,0.05);
}

/* --- Card / Overview specifics --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 8px 0;
}

/* --- Address block Style --- */
address {
  font-style: normal;
  color: var(--secondary);
  background: var(--accent);
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 1rem;
  margin-top: 8px;
}

/* --- Section spacing and transitions --- */
section {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
  padding: 40px 20px;
  align-items: center;
  background: none;
}
section:last-child {
  margin-bottom: 0;
}

/* === ANIMATIONS / TRANSITIONS === */
/* Bouncy entrance for major sections */
.section, .card, .testimonial-card, .feature-grid li, .benefits-grid li {
  animation: flyInUp 0.69s cubic-bezier(.84,-0.12,.35,1.21) both;
}
@keyframes flyInUp {
  0% { opacity: 0; transform: translateY(28px) scale(.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.cta-btn, .main-nav a, .card, .feature-grid li, .benefits-grid li, .footer-nav a, .mobile-nav a {
  transition: all 0.15s cubic-bezier(.73,.17,.46,1.08);
}

/* Hover pop for playful UI */
.cta-btn:active, .feature-grid li:active, .benefits-grid li:active {
  transform: scale(1.065) rotate(-2deg);
}

/* === TESTIMONIAL CARD CONTRAST === */
.testimonial-card {
  background: #fff;
  color: #1c2130;
  border-left: 6px solid var(--fun-orange, #F6A340);
}
.testimonial-card p {
  color: #232232;
  font-size: 1.09rem;
}
.testimonial-card span {
  color: var(--fun-violet, #7690FF);
  font-size: 0.99rem;
  font-weight: 700;
}

/* === FORMS (if any in future) === */
input, textarea, select {
  font-family: var(--font-body);
  border-radius: 10px;
  border: 1.7px solid var(--accent);
  background: #fff;
  padding: 11px 14px;
  margin: 8px 0 18px 0;
  width: 100%;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}
label {
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 16px 1px rgba(33,52,75,0.16);
  padding: 26px 12px 20px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 3000;
  opacity: 1;
  transition: transform 0.40s cubic-bezier(.63,0,.47,1.16), opacity 0.17s;
  border-radius: 17px 17px 0 0;
  animation: bannerPopIn 0.62s cubic-bezier(.63,0,.47,1.16) both;
}
@keyframes bannerPopIn {
  from { opacity: 0; transform: translateY(120%); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-text {
  max-width: 640px;
  font-size: 1.01rem;
  color: var(--primary);
}
.cookie-banner .btn-group {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  border-radius: 12px;
  background: var(--fun-violet, #7690FF);
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.1s, transform 0.13s, box-shadow 0.14s;
  box-shadow: 0 1.5px 9px 1.5px rgba(76,191,212,0.07);
}
.cookie-banner .cookie-btn.accept {
  background: var(--fun-orange, #F6A340);
  color: var(--primary);
}
.cookie-banner .cookie-btn.reject {
  background: var(--danger, #F35858);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: var(--fun-pink, #F266C1);
 }
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  box-shadow: 0 5px 16px 2px rgba(242,102,193,0.16);
  transform: scale(1.09) rotate(-2deg);
  color: var(--primary);
}
.cookie-banner .cookie-btn.reject:hover {
  background: #fff;
  color: var(--danger);
  border: 2px solid var(--danger);
}

/* === COOKIE PREFERENCE MODAL === */
.cookie-modal {
  position: fixed;
  left: 50%; top: 63%;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 7px 61px 11px rgba(76,191,212,0.13);
  background: #fff;
  color: var(--primary);
  border-radius: 18px;
  min-width: 320px;
  max-width: 95vw;
  padding: 28px 28px 24px 28px;
  z-index: 4000;
  display: none;
  flex-direction: column;
  gap: 18px;
  animation: modalPop 0.37s cubic-bezier(.63,0,.47,1.16);
}
@keyframes modalPop {
  0% { opacity: 0; transform: translate(-50%,-60%) scale(.9); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--secondary);
}
.cookie-modal .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 17px;
  margin-bottom: 10px;
}
.cookie-modal .category label {
  flex: 1 1 auto;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal .toggle-switch {
  appearance: none;
  width: 44px;
  height: 27px;
  background: #e0e0e0;
  border-radius: 21px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.11s;
}
.cookie-modal .toggle-switch:checked {
  background: var(--fun-violet, #7690FF);
}
.cookie-modal .toggle-switch:disabled {
  background: #b2b2b2;
  cursor: not-allowed;
}
.cookie-modal .toggle-switch:before {
  content: '';
  position: absolute;
  left: 5px; top: 4px;
  width: 19px; height: 19px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.14s;
}
.cookie-modal .toggle-switch:checked:before {
  left: 21px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: transparent;
  border: none;
  font-size: 1.65rem;
  color: var(--danger);
  cursor: pointer;
  transition: color 0.1s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: var(--fun-pink, #F266C1);
}
.cookie-modal .modal-btn-row {
  display: flex;
  flex-direction: row;
  gap: 19px;
  margin-top: 18px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  border-radius: 12px;
  background: var(--fun-orange, #F6A340);
  color: #fff;
  font-size: 1.03rem;
  font-family: var(--font-display);
  font-weight: bold;
  padding: 10px 19px;
  border: none;
  cursor: pointer;
  margin-left: 7px;
  transition: background 0.13s, color 0.1s, box-shadow 0.13s;
}
.cookie-modal .cookie-btn:hover {
  background: var(--fun-pink, #F266C1);
  color: var(--primary);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  .content-wrapper {
    max-width: 94vw;
  }
  .main-nav, .footer-nav {
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .main-nav a { font-size: 1rem; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  header img { height: 38px; }
  footer img { height: 40px; width: 40px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
  .cta-btn {
    padding: 11px 16px;
    font-size: 1rem;
    margin-left: 0;
  }
  section {
    padding: 28px 7px;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 22px;
  }
  .content-grid, .benefits-grid, .feature-grid {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
  }
  .footer-nav {
    gap: 8px;
    flex-wrap: wrap;
  }
  footer .container {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .cookie-banner .cookie-text { font-size: 0.96rem; }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 8px 14px 8px;
  }
  .cookie-modal {
    left: 50%;
    min-width: 95vw;
    padding: 21px 8px 21px 8px;
    max-width: 98vw;
  }
  h1, h2, h3 {
    word-break: break-word;
    hyphens: auto;
  }
}
@media (max-width: 500px) {
  .container,
  .content-wrapper {
    max-width: 99vw;
    padding-left: 4px;
    padding-right: 4px;
  }
  section {
    padding: 14px 0;
    margin-bottom: 22px;
  }
  h1 { font-size: 1.27rem; }
  h2 { font-size: 1rem; }
  h3 { font-size: 0.96rem; }
  .tagline { font-size: 0.99rem; }
}

/* === PLAYFUL ICON DECORATIONS (optional decorations) === */
.card:before, .feature-grid li:before, .benefits-grid li:before {
  content: '';
  display: block;
  position: absolute;
  top: -14px; left: -14px;
  width: 32px; height: 32px;
  background: radial-gradient(circle at 70% 20%, var(--fun-pink, #F266C1) 60%, transparent 100%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
}

/* === MISC === */
::-webkit-scrollbar {
  width: 10px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: #d9e4ee;
  border-radius: 7px;
}

/* === END === */
