/* ---------------------------
   Pearly Fjord Tipps CSS Reset
----------------------------*/
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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
  border: none;
  display: inline-block;
}

/* ---------------------------
   Brand Variables & Fonts
----------------------------*/
:root {
  --color-primary: #204060;
  --color-secondary: #36A2AE;
  --color-accent: #F5F5F5;
  --color-yellow: #FFE066;
  --color-green: #45D482;
  --color-pink: #FF84C3;
  --color-orange: #FFB75E;
  --color-blue: #75BFFF;
  --color-error: #FF5E73;
  --body-bg: #FDFDFD;
  --text-dark: #26313c;
  --text-light: #FFFFFF;
  --shadow: 0 3px 14px rgba(32,64,96,0.07);
  --radius-lg: 26px;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(.52,2,.41,.88);
}

@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.gstatic.com/s/montserrat/v19/JTUQjIg1_i6t8kCHKm459WxZcCw.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 400;
  src: local('Montserrat Regular'), url('https://fonts.gstatic.com/s/montserrat/v19/JTUQjIg1_i6t8kCHKmUy4TBk.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  src: local('Roboto'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Me4WxKOzY.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-weight: 700;
  src: local('Roboto Bold'), url('https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfBBc9.woff2') format('woff2');
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--body-bg);
  min-height: 100vh;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: var(--color-primary);
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; line-height: 1.18; color: var(--color-secondary); margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.2; color: var(--color-primary); margin-bottom: 16px; }
h3 { font-size: 1.3rem; line-height: 1.22; color: var(--color-secondary); margin-bottom: 11px; }
h4, h5, h6 { color: var(--color-primary); }

p, ul, ol {
  margin-bottom: 14px;
  color: var(--text-dark);
  font-weight: 400;
  font-size: 1rem;
}
strong, b { color: var(--color-secondary); font-weight: 700; }

/* ---------------------------
   Layout Containers
----------------------------*/
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--body-bg);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 7px 24px rgba(32,64,96,0.14);
  transform: translateY(-4px) scale(1.02);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe6;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px 2px #FFD97B44;
  margin-bottom: 20px;
  transition: box-shadow 0.24s, transform 0.16s;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 4px #FFD97BCC;
  transform: scale(1.015) rotate(-1deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---------------------------
   Navigation & Header
----------------------------*/
header {
  background: var(--color-primary);
  box-shadow: 0 2px 14px #2040600B;
  position: sticky;
  top: 0;
  z-index: 60;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  width: 100%;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.16s, color 0.18s, transform 0.16s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-yellow);
  color: var(--color-primary);
  font-weight: 700;
  transform: scale(1.07) rotate(-3deg);
}
.main-nav a.cta.primary {
  background: var(--color-secondary);
  color: var(--text-light);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 1.13rem;
  box-shadow: 0 4px 15px #45D48244;
  margin-left: 16px;
  transition: background 0.18s, color 0.17s, transform 0.19s;
  position: relative;
}
.main-nav a.cta.primary:hover {
  background: var(--color-yellow);
  color: var(--color-primary);
  transform: scale(1.08) rotate(2deg);
  font-weight: bold;
  box-shadow: 0 6px 24px #FFB75E88;
}
.main-nav img {
  margin-right: 8px;
  height: 38px;
  border-radius: 13px;
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--text-light);
  font-size: 2rem;
  border: none;
  border-radius: 40px;
  width: 44px;
  height: 44px;
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 200;
  transition: background 0.19s, color 0.19s, transform 0.12s;
  cursor: pointer;
  box-shadow: 0 2px 12px #45D48233;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--color-yellow);
  color: var(--color-primary);
  outline: 0;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  max-width: 360px;
  background: var(--color-primary);
  box-shadow: 0 4px 38px #20406077;
  z-index: 900;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.6,1.5,.5,1), background 0.23s;
  display: flex;
  flex-direction: column;
  padding: 22px 28px 28px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  background: var(--color-primary);
}
.mobile-menu-close {
  background: none;
  color: var(--color-yellow);
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.16s, transform 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-pink);
  transform: scale(1.18) rotate(8deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 24px;
}
.mobile-nav a {
  color: var(--color-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 0 9px 0;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  transition: color 0.13s, background 0.16s, transform 0.13s;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-pink);
  background: #fffbe6;
}

/* ---------------------------
   Footer
----------------------------*/
footer {
  background: var(--color-primary);
  color: var(--text-light);
  padding: 36px 0 20px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--color-yellow);
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 6px;
  border-radius: 10px;
  padding: 7px 13px;
  transition: background 0.13s, color 0.19s, transform 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--color-yellow);
  color: var(--color-primary);
  font-weight: bold;
  transform: scale(1.05);
}
.footer-brand {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}
.footer-brand img {
  height: 36px;
  border-radius: 11px;
}
.footer-brand span {
  color: var(--text-light);
  font-size: 1rem;
}

/* ---------------------------
   Buttons & CTA
----------------------------*/
.cta {
  background: var(--color-secondary);
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.11rem;
  border: none;
  border-radius: 24px;
  padding: 12px 30px;
  cursor: pointer;
  box-shadow: 0 4px 14px #75BFFF33, 0 1px 2px #45D48222;
  position: relative;
  transition: background 0.2s, color 0.15s, box-shadow 0.13s, transform 0.14s;
  outline: none;
  margin-top: 10px;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.025em;
}
.cta.primary {
  background: var(--color-yellow);
  color: var(--color-primary);
  font-size: 1.16rem;
  font-weight: bold;
  transition: background 0.17s, color 0.15s, transform 0.12s, box-shadow 0.16s;
}
.cta:hover, .cta:focus {
  background: var(--color-pink);
  color: var(--color-primary);
  box-shadow: 0 7px 28px #FF84C344, 0 2px 6px #75BFFF22;
  transform: scale(1.06) rotate(-2deg);
  outline: none;
}

/* ---------------------------
   Fun & Animated Visuals
----------------------------*/
.cta::after {
  content: '→';
  display: inline-block;
  margin-left: 12px;
  opacity: 0.7;
  font-size: 0.95em;
  transition: transform 0.16s;
  position: relative;
}
.cta:hover::after { transform: translateX(7px) scale(1.14) rotate(6deg); }

section {
  border-radius: var(--radius-lg);
  background: var(--color-accent);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 14px #20406015;
}

section:nth-child(even) {
  background: #F8FEFC;
  animation: playful-bounce 1.6s both;
}
@keyframes playful-bounce {
  0% { transform: scale(0.985) rotate(-2deg); }
  13% { transform: scale(1.01) rotate(4deg); }
  37% { transform: scale(0.99) rotate(-2deg); }
  65% { transform: scale(1.002) rotate(0.5deg); }
  85% { transform: scale(1.01) rotate(2deg); }
  100% { transform: scale(1) rotate(0); }
}

/* ---------------------------
   List & Icon Styles
----------------------------*/
ul {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 7px #20406013;
  padding: 9px 14px;
  font-size: 1.05em;
  color: var(--color-primary);
  word-break: break-word;
  transition: background 0.16s, transform 0.11s;
}
ul li img {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: #fffbe6;
  padding: 3px;
  box-shadow: 0 0.5px 2px #FFD97044;
  animation: swing-fun 1.6s infinite alternate cubic-bezier(.43,1.98,.35,.96);
}
@keyframes swing-fun {
  0% { transform: rotate(-6deg); }
  100% { transform: rotate(8deg); }
}

blockquote {
  font-size: 1.16em;
  font-style: italic;
  color: #37425a;
  padding: 2px 0 2px 0;
  margin-left: 0;
  margin-bottom: 9px;
  line-height: 1.6;
}
cite {
  display: block;
  font-style: normal;
  color: var(--color-secondary);
  font-weight: bold;
  margin-top: 2px;
  font-size: 0.96em;
  letter-spacing: 0.02em;
}

/* ---------------------------
   Table Styles
----------------------------*/
table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 6px #20406015;
  margin-bottom: 18px;
  overflow: hidden;
  font-size: 1em;
}
th, td {
  padding: 12px 13px;
  text-align: left;
  border-bottom: 1px solid #DFEFF6;
}
th {
  background: var(--color-secondary);
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
tr:last-child td { border-bottom: none; }

/* ---------------------------
   Playful Typography Animations
----------------------------*/
h1, h2, h3 {
  transition: color 0.23s, text-shadow 0.18s, transform 0.18s;
}
h1:hover, h2:hover, h3:hover {
  color: var(--color-yellow);
  text-shadow: 0 5px 24px #FFD97B88;
  transform: scale(1.03) rotate(-1.5deg);
}

/* ---------------------------
   Cookie Consent Banner
----------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe6;
  color: var(--color-primary);
  box-shadow: 0 -2px 24px #FFD97B33;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 20px 20px 30px;
  z-index: 9990;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s cubic-bezier(.53,1.4,.6,1.1), transform 0.31s, box-shadow 0.17s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  flex: 1 1 70%;
  min-width: 0;
  margin-right: 12px;
}
.cookie-banner .cookie-btn {
  background: var(--color-secondary);
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 23px;
  border: none;
  margin-right: 11px;
  cursor: pointer;
  font-size: 0.97em;
  box-shadow: 0 2px 8px #45D4821a;
  transition: background 0.17s, color 0.16s, transform 0.15s;
}
.cookie-banner .cookie-btn.reject {
  background: var(--color-pink);
  color: var(--color-primary);
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-yellow);
  color: var(--color-primary);
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: var(--color-green);
  color: var(--color-primary);
  transform: scale(1.09);
}
.cookie-banner .cookie-btn.reject:hover,
.cookie-banner .cookie-btn.reject:focus {
  background: var(--color-error);
  color: #fff;
  transform: scale(1.08) rotate(-3deg);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #0009;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s cubic-bezier(.52,1.2,.68,1.1);
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fffbe6;
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px #FFD97B55;
  padding: 38px 28px 34px 28px;
  min-width: 304px;
  max-width: 440px;
  position: relative;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-drop-in .44s cubic-bezier(.48,1.9,.6,1.02);
}
@keyframes modal-drop-in {
  0% { opacity:0; transform: translateY(-30px) scale(0.93); }
  67% { opacity:1; transform: translateY(9px) scale(1.03); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.32em;
  margin-bottom: 5px;
  color: var(--color-secondary);
}
.cookie-modal .cookie-type {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 10px 0;
}
.cookie-modal label {
  flex: 1 1 auto;
  font-size: 1em;
  cursor: pointer;
}
.cookie-modal .toggle-switch {
  width: 40px; height: 22px;
  background: #eee;
  border-radius: 20px;
  position: relative;
  display: inline-block;
  transition: background 0.18s;
}
.cookie-modal .toggle-switch input[type="checkbox"] {
  display: none;
}
.cookie-modal .toggle-switch .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--color-blue);
  border-radius: 50%;
  transition: left 0.18s cubic-bezier(.24,1.5,.55,1), background 0.16s;
}
.cookie-modal .toggle-switch input[type="checkbox"]:checked + .slider {
  left: 20px;
  background: var(--color-green);
}
.cookie-modal .cookie-type[aria-disabled="true"] label {
  color: #bbb;
  font-style: italic;
}
.cookie-modal .cookie-type[aria-disabled="true"] .toggle-switch {
  opacity: 0.4;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 1rem;
}
.cookie-modal .cookie-btn {
  flex: 1 1 auto;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 16px;
  right: 14px;
  background: none;
  border: none;
  color: var(--color-pink);
  font-size: 1.85rem;
  cursor: pointer;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  transition: background 0.15s, color 0.12s;
  z-index: 1;
}
.cookie-modal .close-modal-btn:hover,
.cookie-modal .close-modal-btn:focus {
  color: var(--color-error);
  background: #ffe06633;
}

/* ---------------------------
   Responsive Design
----------------------------*/
@media (max-width: 1050px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  .section {
    padding: 32px 12px;
  }
}
@media (max-width: 800px) {
  .main-nav {
    gap: 9px;
    padding: 12px 0;
    flex-wrap: wrap;
  }
  .footer-nav {
    gap: 13px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .container {
    padding: 0 7vw;
  }
  .section {
    margin-bottom: 35px;
    padding: 22px 4vw;
  }
  .card, .testimonial-card {
    padding: 16px 10px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
  header {
    min-height: 62px;
  }
  .mobile-menu {
    width: 86vw;
    max-width: 360px;
    padding-left: 8vw;
    padding-right: 8vw;
  }
}
@media (max-width: 690px) {
  .footer-brand {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 7px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 12px;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 3vw;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 2vw 14px 2vw;
  }
  .cookie-banner .cookie-btn {
    margin-right: 0;
    margin-bottom: 4px;
  }
  .cookie-modal {
    min-width: initial;
    max-width: 92vw;
    padding: 18px 8vw 20px 8vw;
  }
}

/* ---------------------------
   Accessibility
----------------------------*/
a:focus {
  outline: 3px solid var(--color-yellow);
  outline-offset: 2px;
  z-index: 98;
}
button:focus,
.cookie-btn:focus {
  outline: 3px solid var(--color-green);
  outline-offset: 2px;
  z-index: 99;
}

/* ---------------------------
   Miscellaneous + Utility
----------------------------*/
hr {
  border: 0;
  border-top: 3px dotted var(--color-secondary);
  margin: 32px 0 24px 0;
}

::-webkit-scrollbar {
  width: 8px;
  background: #d6ecfa;
  border-radius: 16px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-yellow);
  border-radius: 16px;
}

/* spacing for all major blocks */
main > section,
main .section {
  margin-bottom: 60px;
}

/* ---------------------------
   Playful Dynamic Details
----------------------------*/
.card::before,
.testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  left: -20px;
  top: -24px;
  width: 40px;
  height: 40px;
  border-radius: 18px 100px 90px 28px;
  background: var(--color-pink);
  opacity: 0.18;
  z-index: 0;
  filter: blur(1px);
  pointer-events: none;
  animation: blob-float 5s infinite alternate cubic-bezier(.75,1.9,.2,1.05);
}
@keyframes blob-float {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  30% { transform: translateY(-10px) scale(1.07) rotate(3deg); }
  60% { transform: translateY(7px) scale(0.96) rotate(-6deg); }
  85% { transform: translateY(-7px) scale(1.11) rotate(-5deg); }
}

/*******************
 * End of Stylesheet
 *******************/
