/* 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,
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 { 
  line-height: 1.15;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f2f4f8;
  color: #212a33;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
ul, ol {
  list-style: none;
}
a {
  color: #5b8db8;
  text-decoration: none;
  transition: color .18s cubic-bezier(.64,.01,.07,1.65);
  cursor: pointer;
}
a:hover, .footer-menu a:hover, .main-navigation a:hover {
  color: #2373ad;
}
strong { font-weight: 700; }

/* BRAND TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #212a33;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  color: #222a33;
}

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.section, main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 32px rgba(33,42,51,0.07);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
}

/* MAIN NAVIGATION */
header {
  background: #212a33;
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: 0 2px 12px rgba(70,92,125,0.10);
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  flex-wrap: wrap;
}
.main-navigation a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 14px;
  transition: background .13s, color .15s, transform .15s;
  position: relative;
}
.main-navigation a.cta-primary {
  background: #facf48;
  color: #212a33;
  border-radius: 24px;
  padding: 8px 28px;
  font-weight: 800;
  font-size: 1.08rem;
  box-shadow: 0 2px 16px rgba(251,206,95,0.19);
  margin-left: 12px;
  letter-spacing: 1px;
  transition: background .18s, box-shadow .16s, color .14s;
}
.main-navigation a.cta-primary:hover {
  background: #ffd770;
  color: #161a22;
  box-shadow: 0 4px 32px rgba(251,206,95,.31), 0 1px 2px #fff;
  transform: scale(1.04) rotate(-2deg);
}
.main-navigation img {
  max-height: 42px;
  margin-right: 16px;
}

/* BURGER MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #facf48;
  font-size: 2.1rem;
  padding: 9px 18px;
  cursor: pointer;
  z-index: 1201;
  transition: background .2s;
}
.mobile-menu-toggle:hover {
  background: rgba(33,42,51,0.1);
  color: #fff777;
  border-radius: 60px;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 91vw;
  max-width: 355px;
  background: #fff;
  box-shadow: 0 10px 36px rgba(33,42,51,0.25);
  padding: 36px 28px 16px 28px;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform .34s cubic-bezier(.83, -.4, .34, 1.41);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #212a33;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 22px;
  transition: color .17s;
}
.mobile-menu-close:hover {
  color: #5b8db8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #212a33;
  font-weight: 700;
  font-size: 1.14rem;
  padding: 9px 0 9px 12px;
  border-radius: 20px;
  margin: 0 -12px;
  transition: background .13s, color .13s;
}
.mobile-nav a:hover {
  background: #facf48;
  color: #212a33;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(95deg, #d2ebff 0%, #f9f0c7 170%);
  border-radius: 0 0 38px 38px;
  box-shadow: 0 9px 38px -9px rgba(91,141,184,.07);
  margin-bottom: 0;
  padding: 68px 0;
  animation: heroPopIn 1.2s .1s both cubic-bezier(.32,1.33,.45,1.01);
}
@keyframes heroPopIn {
  0% { opacity: 0; transform: translateY(46px) scale(.97); }
  100% { opacity: 1; transform: none; }
}
.hero h1 {
  font-size: 2.3rem;
  color: #212a33;
  margin-bottom: 10px;
  text-shadow: 0 2px 0 #fff5c0, 0 1.5px 3px #b2cdf2;
}
.hero p {
  font-size: 1.13rem;
  color: #222a33;
}

/* SECTION TITLES & CONTENT */
h2 {
  color: #327ace;
  background: #fffbe8;
  padding: 2px 14px 2px 10px;
  border-radius: 22px;
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 18px;
  animation: fadeInRight 1s both 0.12s;
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: none; }
}

/* FEATURES / CARDS / GRIDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 16px;
  align-items: flex-start;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #fffbe8;
  box-shadow: 0 2px 12px rgba(250,207,72,0.10);
  margin-right: 14px;
  margin-bottom: 12px;
  transition: background .18s, box-shadow .18s;
  will-change: background, box-shadow;
}
.feature-icon img {
  max-width: 36px;
  max-height: 36px;
  display: block;
}
.feature-description {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-grid > div {
  background: #f2f9ff;
  border-radius: 22px;
  padding: 24px 18px 18px;
  min-width: 220px;
  box-shadow: 0 1.5px 8px #e1edff72;
  transition: background .15s, box-shadow .20s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  background: #eaf6ff;
  box-shadow: 0 3px 21px #a5bcfa35;
  transform: scale(1.032) rotate(-1.5deg);
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fffbe8;
  padding: 20px;
  border-radius: 22px;
  box-shadow: 0 2px 14px rgba(91,141,184,0.06);
  margin-bottom: 18px;
  margin-top: 20px;
  border-left: 6px solid #facf48;
  transition: box-shadow .17s, transform .18s;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #212a33;
  background: none;
  border: none;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card p {
  font-size: 1rem;
  color: #5b8db8;
  margin-top: 0;
}
.testimonial-card strong {
  color: #212a33;
  font-weight: 700;
  background: #ffebb8;
  padding: 1px 10px;
  border-radius: 12px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 7px 28px #ffeab6;
  transform: scale(1.03) translateY(-3px);
}

/* BUTTONS - PRIMARY CTA */
.cta-primary {
  display: inline-block;
  background: #facf48;
  color: #212a33;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 12px 32px;
  border: none;
  border-radius: 25px;
  letter-spacing: 1px;
  margin-top: 18px;
  margin-bottom: 10px;
  box-shadow: 0 1.5px 8px #fff8b082;
  cursor: pointer;
  transition: background .2s, color .14s, box-shadow .22s, transform .14s;
  outline: none;
  animation: bounceCta .92s .29s both cubic-bezier(.49,2.22,.21,.66);
}
.cta-primary:hover,
.cta-primary:focus {
  background: #fff09f;
  color: #2075c1;
  transform: scale(1.08) rotate(-1deg);
  box-shadow: 0 4px 24px #ffd770 inset, 0 2px 8px #ffd77059;
}
@keyframes bounceCta {
  0% { transform: scale(.7); opacity: 0; }
  60% { transform: scale(1.15) rotate(2deg); }
  100% { transform: scale(1) rotate(-1.5deg); opacity: 1; }
}

/* CARDS & GRIDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #f2f9ff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #c4e1fa35;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .17s, transform .17s;
}
.card:hover { box-shadow: 0 6px 30px #97b5e121; transform: scale(1.04); }
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px;
}

.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;
}

/* BLOG & UL PREVIEW */
ul {
  margin-left: 22px;
  list-style: disc inside;
  padding-left: 0;
  margin-bottom: 8px;
}
ul li,
ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #222a33;
}
ul li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2075c1;
}

/* CONTACT SHORT */
.contact-short {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}
.contact-short p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  color: #212a33;
}
.contact-short img {
  width: 20px;
  height: 20px;
}

/* FOOTER */
footer {
  background: #212a33;
  color: #fff;
  padding: 32px 0 16px 0;
  border-radius: 34px 34px 0 0;
  margin-top: 30px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #facf48;
  font-weight: 600;
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 1rem;
  transition: background .16s, color .17s;
}
.footer-menu a:hover { color: #fff; background: #5b8db8; }
footer p {
  text-align: center;
  font-size: 0.93rem;
  letter-spacing: 0.2px;
  color: #b9d6f9;
  margin-top: 7px;
}

/* MODALS, COOKIES, ETC. */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) scale(1);
  background: #fffbe8;
  border: 2.5px solid #facf48;
  color: #212a33;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  z-index: 3000;
  padding: 22px 28px 18px 26px;
  border-radius: 32px;
  box-shadow: 0 5px 32px #ffeab6dc;
  min-width: 270px;
  max-width: calc(100vw - 32px);
  display: flex;
  flex-direction: column;
  gap: 13px;
  opacity: 1;
  animation: fadeInBottom .65s both;
}
@keyframes fadeInBottom {
  0% { opacity: 0; transform: translateX(-50%) translateY(44px) scale(.96); }
  100% { opacity: 1; transform: translateX(-50%) scale(1); }
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-top: 4px;
}
.cookie-btn {
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  margin-right: 5px;
  cursor: pointer;
  box-shadow: 0 1.5px 9px #fbe9b4c5;
  transition: background .15s, color .14s, box-shadow .20s, transform .16s;
}
.cookie-btn.accept {
  background: #facf48;
  color: #222;
}
.cookie-btn.reject {
  background: #f2f4f8;
  color: #ff6157;
}
.cookie-btn.settings {
  background: #cce4fd;
  color: #2075c1;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.08);
  transform: translateY(-1px) scale(1.06) rotate(-2deg);
}
.cookie-modal-backdrop {
  position: fixed;
  z-index: 3500;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,42,51,0.46);
  animation: fadeBackdrop .24s both;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes fadeBackdrop {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #f2f9ff;
  border: 2.5px solid #5b8db8;
  border-radius: 24px;
  max-width: 96vw;
  width: 420px;
  padding: 32px 22px 16px 22px;
  box-shadow: 0 8px 40px #a5bcfa27;
  z-index: 3550;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalSlideUp .33s cubic-bezier(.64,.01,.1,1.61) both;
}
@keyframes modalSlideUp {
  0% { opacity: 0; transform: translateY(28px) scale(.94); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.44rem;
  margin-bottom: 10px;
  color: #2075c1;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 20px;
  background: #cce4fd;
  position: relative;
  outline: none;
  cursor: pointer;
  border: none;
  transition: background .16s;
}
.cookie-toggle[data-checked="true"] {
  background: #facf48;
}
.cookie-toggle-knob {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left .19s;
}
.cookie-toggle[data-checked="true"] .cookie-toggle-knob {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: none;
  color: #5b8db8;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3600;
}
.cookie-modal-close:hover { color: #ff6157; }

/* ANIMATIONS FOR INTERACTION */
@media (hover: hover) {
  .feature-grid > div:hover,
  .testimonial-card:hover,
  .cta-primary:hover,
  .cookie-btn:hover {
    filter: brightness(1.04);
  }
}

/* ICONS AND DECORATIVE */
img[alt*="icon"], img[alt*="ikona"] {
  vertical-align: middle;
}

/* RESPONSIVE DESIGN: MOBILE FIRST */
@media (max-width: 1130px) {
  .container { max-width: 99vw; }
}
@media (max-width: 860px) {
  .main-navigation {
    gap: 11px;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 19px;
    right: 20px;
  }
  .container {
    padding: 0 8px;
  }
  .hero {
    padding: 42px 0 28px 0;
    border-radius: 0 0 24px 24px;
  }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px !important;
    align-items: stretch;
  }
  .feature-grid > div {
    min-width: unset;
    width: 99%;
    margin-right: 0;
  }
  .testimonial-card, .card {
    width: 100%;
  }
  .section, main > section {
    padding: 26px 5px;
    margin-bottom: 40px;
    border-radius: 18px;
  }
  h1 {
    font-size: 1.47rem;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.14rem;
    padding: 2px 9px 2px 7px;
    border-radius: 16px;
    margin-bottom: 10px;
  }
  .footer-menu {
    gap: 7px;
  }
}
@media (max-width: 560px) {
  .cookie-banner {
    padding: 15px 10px 13px 12px;
    border-radius: 18px;
    min-width: unset;
    max-width: calc(100vw - 7px);
    font-size: 0.965rem;
  }
  .cookie-modal {
    width: 98vw;
    padding: 20px 7px 8px 12px;
    border-radius: 17px;
  }
  .mobile-menu {
    width: 100vw;
    max-width: 100vw;
    padding: 32px 8px 6px 8px;
    border-radius: 20px;
  }
}

/* VISUAL HIERARCHY & EFFECTS */
.section, main > section, .feature-grid > div, .testimonial-card, .card {
  margin-bottom: 24px;
}

/* ACCESSIBILITY */
:focus {
  outline: 2.5px dashed #5b8db8;
  outline-offset: 2px;
  z-index: 222;
}

/* FUN FONTS (FALLBACKS) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Open+Sans:wght@400;600&display=swap');

/* PLAYFUL DECORATIVE DOTS (OPTIONAL) */
.hero:before {
  content: '';
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #facf48;
  position: absolute;
  left: 5vw;
  top: 32px;
  z-index: 1;
  opacity: 0.38;
}
.hero:after {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #5b8db8;
  position: absolute;
  right: 7vw;
  bottom: 24px;
  z-index: 1;
  opacity: 0.29;
}

/* UTILITES & MISC */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
}

/* PRINT OPTIMIZATION */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
  .section, main > section { box-shadow: none; background: #fff; }
}
