/* --- CSS Reset & Base 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,
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;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #30465D;
  background: #F7F5E7;
  line-height: 1.6;
  /* Prevent tap highlight on mobile */
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #4071DA;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FF7388;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
}
b, strong {
  font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #30465D;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
}

/* --- Brandful, Playful Colors --- */
:root {
  --primary: #30465D;
  --secondary: #92BC8B;
  --accent: #F7F5E7;
  --brand-yellow: #FFF159;
  --brand-pink: #FF7388;
  --brand-blue: #29B6F6;
  --brand-mint: #5FE8C1;
  --gray-100: #f8fafc;
  --gray-200: #eef1f5;
}

/* --- Typography --- */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}
.display, h1, h2, h3, .logo {
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
}
.logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: var(--primary);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* --- Section & Spacing --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 6px 18px 0 rgba(56,100,170,0.06);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 16px;
  }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* --- Header & Navigation --- */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(41, 182, 246, 0.04);
  position: relative;
  z-index: 200;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img {
  display: block;
  height: 48px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  display: block;
  padding: 7px 14px;
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  border-radius: 22px;
  position: relative;
  transition: background 0.18s cubic-bezier(0.55,.15,.34,1), color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-pink);
  color: #fff;
}
.main-nav .btn-primary {
  margin-left: 14px;
}

/* --- Burger / Mobile Menu --- */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-yellow);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 210;
  box-shadow: 0 2px 12px 0 rgba(52, 70, 93, 0.10);
  transition: background 0.20s;
}
.mobile-menu-toggle:focus {
  outline: 3px solid var(--primary);
  background: var(--brand-pink);
  color: #fff;
}

@media (max-width: 970px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 85vw;
  max-width: 340px;
  background: #fff;
  box-shadow: 2px 0 16px 0 rgba(56,100,170,0.12);
  transform: translateX(-120%);
  transition: transform 0.40s cubic-bezier(.7,.3,.86,.53);
  z-index: 3000;
  padding: 32px 24px 24px 24px;
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: var(--brand-pink);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
  box-shadow: 0 1px 6px 0 rgba(52,70,93,0.04);
  cursor: pointer;
  transition: background 0.14s;
}
.mobile-menu-close:focus {
  background: var(--primary);
  outline: 2px solid var(--brand-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 12px 0;
  border-radius: 16px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-yellow);
  color: var(--brand-pink);
}

@media (min-width: 970px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- Button Styles --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  background: var(--secondary);
  color: #30465D;
  font-size: 1.1rem;
  padding: 12px 28px;
  border: none;
  border-radius: 100px;
  box-shadow: 0 3px 13px 0 rgba(41,182,246,0.09);
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.23s cubic-bezier(.69,.14,.46,.86), color 0.23s, transform 0.2s;
  letter-spacing: .02em;
  position: relative;
}
.btn-primary:after {
  content: '';
  display: block;
  background: var(--brand-yellow);
  border-radius: 50%;
  opacity: 0.16;
  width: 0px;
  height: 0px;
  transition: width 0.15s, height 0.15s;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--brand-pink);
  color: #fff;
  transform: translateY(-2px) scale(1.033);
}
.btn-primary:hover:after,
.btn-primary:focus:after {
  width: 120%;
  height: 250%;
}

/* --- Playful Lists --- */
ul {
  list-style: none;
}
li {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.5;
  font-size: 1rem;
}
li img {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-right: 5px;
  filter: drop-shadow(0 2px 4px rgba(53, 100, 100, 0.04));
}
/* For ol (e.g. Regulamin), override to number */
ol li {
  list-style: decimal inside;
  margin-left: 1.25em;
}

/* --- Hero Section --- */
.hero {
  margin-bottom: 60px;
  background: var(--brand-mint);
  position: relative;
  border-radius: 32px;
  padding: 44px 0 34px 0;
  box-shadow: 0 8px 32px 0 rgba(41,182,246,0.08);
  animation: playful-hero-bg 8s linear infinite alternate;
}
@keyframes playful-hero-bg {
  0% { background-color: var(--brand-mint); }
  100% { background-color: var(--brand-blue); }
}
.hero h1 {
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.15rem;
  color: #3a325d;
  margin-bottom: 18px;
  max-width: 480px;
}
@media (max-width: 768px) {
  .hero {
    padding: 22px 0 18px 0;
    border-radius: 16px;
    margin-bottom: 32px;
  }
  .hero h1 {
    font-size: 1.3rem;
  }
}

/* --- Card Styles --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  flex: 1 1 260px;
  min-width: 240px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 10px 0 rgba(56, 100, 170, 0.08);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(255,115,136,0.09);
  transform: translateY(-4px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 22px;
  gap: 12px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffefa;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 2px 9px 0 rgba(50,70,100,0.07);
}

/* --- Testimonial Section --- */
.testimonial-section {
  background: var(--brand-yellow);
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 48px 12px;
  box-shadow: 0 6px 18px 0 rgba(56,100,170,0.10);
}
.testimonial-section h2 {
  color: var(--primary);
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px 0 rgba(41,182,246,0.12);
  font-family: 'Open Sans', Arial, sans-serif;
  transition: box-shadow 0.19s, transform 0.19s;
  position: relative;
}
.testimonial-card blockquote {
  color: #2c294c;
  font-size: 1.1rem;
  font-style: italic;
  margin-right: 20px;
}
.testimonial-card cite {
  font-size: 0.97rem;
  color: var(--primary);
  font-style: normal;
  font-weight: 700;
  margin-left: 6px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px 0 rgba(255,115,136,0.12);
  transform: translateY(-2px) scale(1.015);
}
@media (max-width: 768px) {
  .testimonial-section {
    padding: 22px 3px;
    border-radius: 12px;
    margin-bottom: 32px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 11px;
    border-radius: 11px;
  }
}

/* --- Footer --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 0 0;
  border-radius: 32px 32px 0 0;
}
footer .container {
  padding-bottom: 22px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  margin-bottom: 16px;
}
.footer-logo img {
  width: 56px;
  height: auto;
  display: block;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  opacity: 0.88;
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.14s, opacity 0.14s;
  font-size: 1.01rem;
}
footer nav a:hover {
  color: var(--brand-yellow);
  opacity: 1;
}
address {
  font-style: normal;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
address a {
  color: var(--brand-yellow);
  text-decoration: underline;
}
@media (max-width: 820px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* --- General Text-Sections --- */
.text-section {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.02rem;
  color: #30465D;
}

.text-section h2,
.text-section h3 {
  color: var(--primary);
  margin-top: 14px;
  margin-bottom: 8px;
}
.text-section ul,
.text-section ol {
  margin-bottom: 0;
}

/* --- Responsive Spacing & Flex Direction --- */
@media (max-width: 768px) {
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .content-wrapper, .section {
    gap: 10px;
  }
}

/* --- Animations & Micro-Interactions --- */
.section, .card, .feature-item {
  transition: box-shadow 0.2s cubic-bezier(.44,.67,.71,.63), transform 0.2s;
  will-change: box-shadow, transform;
}
.section:hover, .feature-item:hover {
  box-shadow: 0 8px 38px 0 rgba(50,70,100,0.10);
  transform: translateY(-2px) scale(1.02);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--brand-pink);
  color: #fff;
  z-index: 2400;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: center;
  padding: 18px 24px;
  box-shadow: 0 -3px 22px 0 rgba(41,70,130,0.12);
  animation: cookie-slide-in 0.9s cubic-bezier(.7,.23,.46,.92);
  font-size: 1rem;
}
@keyframes cookie-slide-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0%); opacity: 1; }
}

.cookie-banner p {
  flex: 1 1 0%;
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  max-width: 480px;
}
.cookie-banner .cookie-cta-group {
  display: flex;
  gap: 15px;
}
.cookie-banner button {
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 100px;
  border: none;
  box-shadow: 0 1.5px 6px 0 rgba(30,30,30,0.04);
  background: #fff;
  color: var(--brand-pink);
  margin: 0;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, transform 0.13s;
}
.cookie-banner .cookie-settings-btn {
  color: var(--brand-yellow);
  background: var(--primary);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--brand-yellow);
  color: var(--primary);
  transform: scale(1.06);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 12px 7px;
    font-size: .97rem;
  }
  .cookie-banner .cookie-cta-group {
    gap: 10px;
  }
}

/* --- Cookie Modal (hidden by default) --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 4000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 54, 71, 0.55);
  align-items: center;
  justify-content: center;
  animation: fade-in-cmodal 0.25s ease;
}
@keyframes fade-in-cmodal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  min-width: 90vw;
  max-width: 400px;
  border-radius: 24px;
  box-shadow: 0 8px 30px 0 rgba(41,182,246,0.10);
  padding: 30px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modal-bounce-in 0.55s cubic-bezier(.06,.99,.54,1.16);
  position: relative;
}
@keyframes modal-bounce-in {
  0% { transform: scale(0.8); opacity: 0; }
  80% { transform: scale(1.06); opacity: .98; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--primary);
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
  font-size: 0.98rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-pink);
  width: 22px;
  height: 22px;
}
.cookie-modal button {
  width: 100%;
  margin-top: 7px;
  border-radius: 100px;
  padding: 13px 0;
  font-size: 1rem;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 17px;
  top: 17px;
  border: none;
  background: var(--brand-pink);
  color: #fff;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.11s;
}
.cookie-modal .modal-close:hover {
  background: var(--primary);
}
.cookie-modal .desc {
  margin-bottom: 8px;
  color: #555970;
  font-size: 0.98rem;
}

@media (max-width: 470px) {
  .cookie-modal {
    min-width: 97vw;
    padding: 15px 5px 10px 7px;
    border-radius: 11px;
  }
}

/* --- Utility Classes --- */
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.text-center { text-align: center; display: block; }

/* =========== PLAYFUL DYNAMIC EFFECTS ============= */

/* Fun Text Shadow for Headings */
h1, h2, h3 {
  text-shadow: 0 2px 0 var(--brand-yellow), 0 5px 12px rgba(41,182,246,0.09);
  /* playful feel! */
}

/* Pulsing playful dots as background for decorative fun */
body:before {
  content: '';
  display: block;
  position: fixed;
  z-index: 0;
  left: -8vw;
  top: 18vh;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 60% 60%, var(--brand-pink) 16%, transparent 55%),
    radial-gradient(circle at 30% 72%, var(--secondary) 11%, transparent 49%),
    radial-gradient(circle at 79% 30%, var(--brand-yellow) 13%, transparent 56%);
  opacity: 0.17;
  pointer-events: none;
  animation: moving-dots 9.5s infinite alternate linear;
}
@keyframes moving-dots {
  0% { left: -8vw; top: 18vh; }
  100% { left: 60vw; top: 8vh; }
}

/* Playful hover for links */
a {
  position: relative;
}
a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand-pink);
  transform: scaleX(0);
  transition: transform 0.2s;
}
a:hover::after {
  transform: scaleX(1);
}

/* FUN font for playful class */
.playful-font {
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .07em;
}

/* Animated bounce for primary CTA (button) */
@keyframes cta-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-2px);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
  80% {
    transform: translateY(-1px);
  }
}
.btn-primary {
  animation: cta-bounce 3.5s infinite cubic-bezier(.44,-0.1,.56,1.07);
}

/* =============== END OF DYNAMIC EFFECTS ================ */

/* -------- Accessibility Focus Outline -------- */
:focus {
  outline: 2px solid var(--brand-blue);
  z-index: 110;
}

/* ----------- Hide visually but still accessible ----------- */
.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* ---------- Remove audio/video controls bg (mobile) ----------- */
audio, video {
  background: #fff;
}

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