/* ===========================
   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,
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; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F8FAFC;
  color: #22344D;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
:root {
  --brand-primary: #22344D;
  --brand-secondary: #BBCE80;
  --brand-accent: #FFFFFF;
  --brand-electric-1: #59C3FF;
  --brand-electric-2: #FFD600;
  --brand-electric-3: #FF4F81;
  --brand-electric-4: #33F1B7;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ===========================
   LAYOUT & CONTAINER
   =========================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.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 4px 24px 0 rgba(34,52,77,0.06), 0 1.5px 9px 0 rgba(187,206,128,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  transition: transform 0.2s cubic-bezier(.78,.1,.32,1.15), box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 32px 0 rgba(34,52,77,0.13), 0 3px 18px 0 rgba(255,79,129,0.12);
}
.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;
}
.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.feature-grid > div {
  flex: 1 1 210px;
  min-width: 220px;
  background: var(--brand-accent);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(34,52,77,0.06);
  padding: 28px 18px 26px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 2.5px solid var(--brand-secondary);
  transition: box-shadow 0.15s, border-color 0.19s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 24px 0 rgba(34,52,77,0.14);
  border-color: var(--brand-electric-1);
}
.text-section {
  font-size: 16px;
  background: #FBFBFF;
  border-radius: 14px;
  padding: 24px 18px;
  box-shadow: 0 1px 8px 0 rgba(187,206,128,0.10);
  margin-bottom: 20px;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  background: #F8FAFC;
  color: var(--brand-primary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
}
h1 {
  font-size: 2.75rem;
  letter-spacing: -0.03em;
  color: var(--brand-primary);
  line-height: 1.125;
}
h2 {
  font-size: 2rem;
  color: var(--brand-electric-3);
  text-shadow: 0 2px 8px #fff1f6, 0px 1px 5px #bbce8055;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  color: var(--brand-secondary);
  margin-bottom: 7px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--brand-primary);
}
strong {
  font-weight: 700;
  color: var(--brand-electric-4);
}
ul li, ol li {
  padding-left: 0;
  margin-bottom: 10px;
  font-size: 1rem;
}
blockquote {
  color: var(--brand-primary);
  font-style: italic;
  font-size: 1.12rem;
}

/* ===========================
   BUTTONS & LINKS
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-electric-1);
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 26px;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  margin-top: 8px;
  border: none;
  box-shadow: 0 2px 14px 0 rgba(89,195,255,0.13);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.18s;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--brand-electric-2);
  color: var(--brand-electric-3);
  transform: scale(1.035) translateY(-2px);
  box-shadow: 0 10px 32px 0 rgba(255,214,0,0.13);
}

.mobile-nav a, footer nav a {
  color: var(--brand-electric-3);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 12px 0;
  display: inline-block;
  transition: color 0.17s;
}
nav a:hover, nav a:focus, .mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-electric-2);
}
printf {
  color: var(--brand-electric-3) !important;
}

/* ===========================
   HEADER & NAVIGATION (DESKTOP)
   =========================== */
header {
  width: 100%;
  background: var(--brand-primary);
  box-shadow: 0 2px 16px 0 rgba(34,52,77,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0 8px 0;
}
header nav a {
  color: var(--brand-accent);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 6px 1rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  font-family: var(--font-display);
}
header nav a:hover, header nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
header nav img {
  height: 40px;
  margin-right: 22px;
  vertical-align: middle;
}
.mobile-menu-toggle {
  display: none;
}

/* ===========================
   MOBILE NAVIGATION
   =========================== */
.mobile-menu-toggle {
  background: var(--brand-electric-1);
  border-radius: 50%;
  color: var(--brand-primary);
  font-size: 2rem;
  padding: 8px 14px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(89,195,255,0.18);
  border: none;
  display: none;
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 1202;
  transition: background 0.14s, color 0.13s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-electric-3);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(34,52,77,0.98);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.78,.1,.32,1.15);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--brand-electric-3);
  color: var(--brand-electric-1);
  font-size: 2.2rem;
  border-radius: 50%;
  padding: 10px 12px;
  margin: 22px 15px 18px 0;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 7px 0 rgba(255,79,129,0.11);
  transition: background 0.12s,color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-electric-1);
  color: var(--brand-electric-3);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 32px 0 32px;
  gap: 20px;
}
.mobile-nav a {
  color: var(--brand-accent);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 16px 0;
  border-radius: 9px;
  width: 100%;
  transition: background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-electric-2);
  color: var(--brand-primary);
}

@media (max-width: 1024px) {
  .container {
    max-width: 94vw;
    padding: 0 8px;
  }
  header nav {
    gap: 13px;
    padding-bottom: 6px;
  }
}

@media (max-width: 830px) {
  header nav {
    gap: 4px;
    padding-left: 0;
    padding-right: 0;
  }
  header nav img {
    margin-right: 9px;
    height: 34px;
  }
}

@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
}

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

/* ===========================
   SECTIONS & FLEXBOX
   =========================== */
section {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 4px 18px 0 rgba(187,206,128,0.09), 0 1px 5px 0 rgba(34,52,77,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 768px) {
  section {
    padding: 23px 4px;
    margin-bottom: 30px;
    border-radius: 14px;
  }
}

.content-wrapper > h1, .content-wrapper > h2 {
  margin-bottom: 0.2em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 0;
  }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* ===========================
   TESTIMONIALS CARDS
   =========================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #F8FAFC;
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 rgba(255,79,129,0.05), 0 1px 6px 0 rgba(34,52,77,0.08);
  margin-bottom: 20px;
  margin-top: 0px;
  border: 2px solid var(--brand-electric-1);
  color: #132134;
  font-size: 1.08rem;
  font-family: var(--font-body);
}
.testimonial-card blockquote {
  color: #22344D;
  font-size: 1.1rem;
  font-style: italic;
  margin: 0 0 4px 0;
  line-height: 1.5;
  text-align: center;
}
.testimonial-card div {
  font-size: 0.98rem;
  color: var(--brand-electric-3);
  font-family: var(--font-display);
  font-weight: 600;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 15px 8px;
    border-radius: 11px;
    font-size: 1rem;
  }
  .testimonial-card blockquote {
    font-size: 1.02rem;
  }
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--brand-primary);
  color: var(--brand-accent);
  padding: 38px 0 32px 0;
  width: 100%;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 16px 0 rgba(34,52,77,0.08);
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
}
footer nav {
  display: flex;
  gap: 24px;
  margin: 12px 0 4px 0;
}
footer nav a {
  color: var(--brand-electric-2);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 0 10px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--brand-accent);
}
footer .text-section {
  background: none;
  color: var(--brand-accent);
  font-size: 0.98rem;
  text-align: center;
  box-shadow: none;
}
footer img {
  height: 34px;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  footer {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 30px 0 22px 0;
    margin-top: 30px;
  }
  footer .container {
    gap: 14px;
    padding-left: 0; padding-right: 0;
  }
  footer img {
    height: 25px;
  }
}

/* ===========================
   ELECTRIC & ENERGETIC COLORS/ELEMENTS
   =========================== */
section:nth-child(2), section:nth-child(4) {
  background: var(--brand-electric-2);
}
section:nth-child(3) {
  background: var(--brand-electric-1);
}
section.cta, section:last-child {
  background: var(--brand-electric-3);
  color: var(--brand-accent) !important;
  text-align: center;
}
section.cta .btn-primary, section:last-child .btn-primary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* ===========================
   MISC STYLES
   =========================== */
::-webkit-scrollbar {
  width: 10px;
  background: #F8FAFC;
}
::-webkit-scrollbar-thumb {
  background: var(--brand-secondary);
  border-radius: 10px;
}

/* Icon alignment and accent highlights */
.feature-grid img, .text-section img {
  height: 36px;
  width: auto;
  margin-bottom: 2px;
}

.text-section img {
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
  height: 24px;
}

/* ===========================
   RESPONSIVE RULES
   =========================== */
@media (max-width: 1024px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.13rem; }
  .container { max-width: 100vw; padding: 0 4px; }
}
@media (max-width: 500px) {
  .content-wrapper {
    gap: 16px;
  }
  section {
    padding: 10px 2px;
  }
}

/* ===========================
   COOKIE CONSENT BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--brand-primary);
  color: var(--brand-accent);
  width: 100vw;
  z-index: 4008;
  padding: 22px 16px 20px 16px;
  box-shadow: 0 -2px 16px 0 rgba(255,214,0,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  opacity: 1;
  transition: transform 0.23s, opacity 0.23s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(90px);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  background: var(--brand-electric-1);
  color: var(--brand-primary);
  border-radius: 20px;
  padding: 8px 28px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  transition: background 0.11s, color 0.10s;
  cursor: pointer;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--brand-electric-3);
  color: var(--brand-accent);
}
.cookie-banner .cookie-settings {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-weight: 600;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--brand-electric-2);
}

/* Cookie modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,52,77,.65);
  z-index: 4010;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  color: var(--brand-primary);
  border-radius: 22px;
  padding: 34px 24px 28px 24px;
  box-shadow: 0 8px 40px 0 rgba(89,195,255,0.22), 0 1.5px 10px 0 rgba(34,52,77,0.13);
  z-index: 4011;
  min-width: 320px;
  max-width: 98vw;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 1;
  transition: opacity 0.21s, transform 0.20s;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%,-45%) scale(0.97);
  pointer-events: none;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--brand-electric-3);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category label {
  flex: 1;
  font-weight: 600;
  color: var(--brand-primary);
}
.cookie-modal .cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: var(--brand-secondary);
  position: relative;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: var(--brand-electric-3);
}
.cookie-modal .cookie-toggle-track {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: transparent;
  position: absolute;
  top: 0; left: 0;
}
.cookie-modal .cookie-toggle-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-electric-1);
  position: absolute;
  left: 2px; top: 1px;
  transition: left 0.17s cubic-bezier(.78,.1,.32,1.15), background 0.08s;
}
.cookie-modal .cookie-toggle[aria-checked="true"] .cookie-toggle-thumb {
  left: 18px;
  background: var(--brand-electric-3);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-modal .cookie-actions button {
  background: var(--brand-electric-1);
  color: var(--brand-primary);
  padding: 8px 28px;
  border-radius: 15px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.cookie-modal .cookie-actions button:hover,
.cookie-modal .cookie-actions button:focus {
  background: var(--brand-electric-2);
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 19px 5vw;
    min-width: 0;
  }
  .cookie-modal h2 { font-size: 1.12rem; }
}

/* ===========================
   FOCUS & ACCESSIBILITY
   =========================== */
:focus {
  outline: 2.5px solid var(--brand-electric-3);
  outline-offset: 0.8px;
}

/* ===========================
   SELECTION (BRAND COLOR)
   =========================== */
::selection {
  background: var(--brand-electric-3);
  color: #fff;
}

/* ===========================
   MICRO-INTERACTIONS/ANIMATIONS
   =========================== */
.card, .feature-grid > div, .btn-primary, .cookie-banner, .cookie-modal {
  transition: all 0.19s cubic-bezier(.78,.1,.32,1.15);
}

/* ===========================
   SPACING & FLEX SAFETY
   =========================== */
.card, .feature-grid > div, .testimonial-card, section, .text-section {
  margin-bottom: 20px;
}
.card-container,
.feature-grid,
.content-grid,
.text-image-section {
  gap: 24px;
}
@media (max-width: 600px) {
  .card,
  .feature-grid > div,
  .testimonial-card,
  .text-section {
    margin-bottom: 14px;
    padding: 16px 7px;
  }
}

/* ===========================
   END OF CSS
   =========================== */
