/* =========================
   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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  font-size: 16px;
  min-height: 100%;
  background: #F6F7FB;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1A244F;
  background: #F6F7FB;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #33A1C9;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1A244F;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #1A244F;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.33rem;
  margin-bottom: 12px;
}
p, li, label {
  font-size: 1rem;
  line-height: 1.7;
  color: #222a4e;
}
strong {
  font-weight: 800;
  color: #1A244F;
}
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* =========================
      BRAND COLORS
   ========================= */
:root {
  --color-primary: #1A244F;
  --color-secondary: #33A1C9;
  --color-accent: #F6F7FB;
  --color-electric1: #FFD400;
  --color-electric2: #FF3B70;
  --color-electric3: #54EF8B;
  --color-electric4: #774DFE;
  --color-white: #fff;
  --color-black: #181818;
  --color-card-bg: #fff;
  --color-muted: #dee3f0;
}

/* ================================
       HEADER & NAVIGATION
   ================================ */
header {
  background: var(--color-white);
  box-shadow: 0 3px 12px 0 rgba(26,36,79,0.06);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
header a img {
  height: 44px;
  width: auto;
  margin-right: 8px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}
header nav a {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 5px 2px;
  color: #222a4e;
  border-bottom: 2px solid transparent;
  transition: border-color 0.20s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-electric2);
}
header .cta {
  background: linear-gradient(90deg, var(--color-electric1) 40%, var(--color-secondary) 100%);
  color: var(--color-primary);
  font-family: 'Archivo', Arial, sans-serif;
  font-weight: 900;
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 1.13rem;
  box-shadow: 0 2px 12px 0 rgba(255,212,0, .12);
  margin-left: 24px;
  transition: background 0.2s, box-shadow 0.15s, color 0.2s;
  border: none;
  outline: none;
  letter-spacing: 0.03em;
}
header .cta:hover, header .cta:focus {
  background: linear-gradient(90deg, var(--color-electric2) 20%, var(--color-secondary) 80%);
  color: var(--color-white);
  box-shadow: 0 2px 18px 0 rgba(255,59,112, .17);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 22px;
  font-size: 2.1rem;
  z-index: 104;
  background: linear-gradient(135deg, var(--color-electric2), var(--color-secondary));
  color: var(--color-white);
  border-radius: 50%;
  padding: 7px 12px;
  transition: background 0.2s, box-shadow 0.15s;
  box-shadow: 0 2px 11px 0 rgba(51,161,201,0.19);
  border: none;
}
.mobile-menu-toggle:active { 
  background: var(--color-electric3);
  color: var(--color-primary);
}

/* ================================
        SECTIONS & STRUCTURE
   ================================ */
main {
  min-height: 60vh;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 20px;
  transition: background 0.18s;
}
.section:nth-child(even) {
  background: var(--color-accent);
}

/* ================================
           HERO AREA
   ================================ */
.tagline {
  font-family: 'Archivo', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--color-electric2);
  font-size: 1.18rem;
  margin-bottom: 10px;
}

/* ================================
            FEATURES
   ================================ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 30px 0 0 0;
  width: 100%;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-grid li {
  background: var(--color-card-bg);
  padding: 30px 22px 24px 22px;
  border-radius: 18px;
  box-shadow: 0 2px 13px 0 rgba(51,161,201,0.08);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-electric1);
  transition: box-shadow 0.16s, border-color 0.21s;
  position: relative;
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 4px 24px 0 rgba(255,59,112,0.14);
  border-left: 5px solid var(--color-electric2);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 2px;
}
.feature-grid strong {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 1.13rem;
  letter-spacing: 0.01em;
  color: var(--color-electric2);
  margin-bottom: 0;
}

/* ================================
     FLEXBOX PATTERNS (GLOBAL)
   ================================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 13px 0 rgba(122, 150, 255, 0.09);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
 }
.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;
  width: 100%;
}
.testimonial-card {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 13px 0 rgba(51,161,201,0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 530px;
  position: relative;
  border-left: 5px solid var(--color-electric2);
  transition: box-shadow 0.15s, border-color 0.21s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 40px 0 rgba(255,59,112,0.10);
  border-left: 5px solid var(--color-secondary);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #181f3a;
  margin-bottom: 8px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .98rem;
  color: #4080a0;
}
.testimonial-card img {
  width: 30px;
  height: 30px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ================================
        BUTTONS & CTA
   ================================ */
.cta {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, var(--color-electric1), var(--color-secondary));
  color: var(--color-primary);
  font-family: 'Archivo', Arial, sans-serif;
  font-weight: 900;
  padding: 12px 32px;
  border-radius: 32px;
  font-size: 1.18rem;
  box-shadow: 0 2px 14px 0 rgba(255,212,0,0.13), 0 0px 0 rgba(0,0,0,0);
  border: none;
  margin-top: 16px;
  transition: background 0.16s, box-shadow 0.19s, color 0.19s;
  outline: none;
  letter-spacing: 0.02em;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, var(--color-electric2), var(--color-secondary));
  color: var(--color-white);
  box-shadow: 0 6px 30px 0 rgba(51,161,201,0.09);
  text-decoration: none;
}

button.cta, .mobile-menu button, .cookie-btn {
  font-family: 'Archivo', Arial, sans-serif !important;
}


/* ==============================
     FOOTER
   ============================== */
footer {
  background: var(--color-primary);
  padding: 42px 0 18px 0;
  color: var(--color-white);
}
footer p {
  color: white;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer img {
  width: 54px;
  height: auto;
  margin-bottom: 20px;
}
footer nav{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0;
  padding: 2px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.18s, color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  border-bottom: 1.5px solid var(--color-electric1);
  color: var(--color-electric1);
}
footer .contact-info {
  font-size: .97rem;
  color: var(--color-accent);
  margin-top: 8px;
}

/* ================================
      COOKIE CONSENT BANNER
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 99999;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px 22px 32px;
  box-shadow: 0 -2px 14px 0 rgba(26,36,79,0.15);
  gap: 20px;
  transition: transform 0.45s cubic-bezier(.77,0,.175,1), opacity 0.16s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  color: var(--color-white);
  font-size: 1.09rem;
  font-family: 'Open Sans', Arial, sans-serif;
  flex: 1 1 auto;
  margin-right: 12px;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex: 0 0 auto;
}
.cookie-btn {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 24px;
  border: none;
  margin: 0 0 0 0;
  transition: background 0.17s, color 0.19s, box-shadow 0.13s;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 0px 0 rgba(0,0,0,0);
}
.cookie-accept {
  background: linear-gradient(90deg, var(--color-electric1), var(--color-secondary));
  color: var(--color-primary);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: linear-gradient(90deg, var(--color-electric2), var(--color-electric3));
  color: var(--color-secondary);
}
.cookie-reject {
  background: var(--color-electric2);
  color: var(--color-white);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--color-electric4);
  color: var(--color-electric1);
}
.cookie-settings {
  background: var(--color-muted);
  color: var(--color-primary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-electric3);
  color: var(--color-primary);
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 999999;
  transform: translate(-50%, -50%) scale(1);
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(26,36,79,0.21);
  min-width: 320px;
  max-width: 95vw;
  padding: 38px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 1;
  transition: transform 0.36s cubic-bezier(.77,0,.175,1), opacity 0.18s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,60%) scale(.97);
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-family: 'Archivo', Arial, sans-serif;
}
.cookie-modal .close-modal {
  position: absolute;
  font-size: 1.6rem;
  right: 17px;
  top: 13px;
  border: none;
  background: transparent;
  color: var(--color-secondary);
  cursor: pointer;
  transition: color 0.18s;
  z-index: 2;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--color-electric2);
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-white);
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 1.06rem;
}
.cookie-category .switch {
  margin-left: auto;
  display: block;
}
/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input {
  display: none;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  background: var(--color-muted);
  border-radius: 13px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background 0.14s;
}
.switch input:checked + .switch-slider {
  background: var(--color-secondary);
}
.switch-slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-white);
  transition: transform 0.19s;
  box-shadow: 0 1px 4px 0 rgba(51,161,201,0.14);
}
.switch input:checked + .switch-slider:before {
  transform: translateX(20px);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: flex-end;
}

/* ================================
   MOBILE NAVIGATION MENU
   ================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -110vw;
  height: 100vh;
  width: 100vw;
  max-width: 320px;
  background: var(--color-primary);
  box-shadow: -4px 0 32px 0 rgba(26,36,79,0.21);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 22px 15px 21px;
  transition: transform 0.27s cubic-bezier(.77,0,.175,1), right 0.25s;
  z-index: 1099;
  transform: translateX(110vw);
}
.mobile-menu.open {
  right: 0;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 2.2rem;
  background: none;
  color: var(--color-white);
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 0 8px;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-electric2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 38px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-electric1);
  font-size: 1.21rem;
  font-family: 'Archivo', Arial, sans-serif;
  font-weight: 800;
  padding: 10px 0 10px 0;
  letter-spacing: 0.03em;
  transition: color 0.16s, background 0.13s;
  border-left: 4px solid transparent;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-electric2);
  border-left: 4px solid var(--color-electric2);
  background: rgba(255,255,255,0.065);
}

/* ================================
   RESPONSIVE STYLES
   ================================ */
@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
    padding: 0 8vw;
  }
  .content-wrapper {
    max-width: 95vw;
    padding: 0 8px;
  }
  .feature-grid {
    gap: 18px;
  }
  footer .container {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 7px;
  }
  .feature-grid li {
    min-width: 160px;
    max-width: 245px;
    font-size: 0.97rem;
    padding: 18px 11px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container{
    flex-direction: row;
    gap: 0;
    min-height: 60px;
    padding: 0 9px;
  }
  header nav {
    display: none;
  }
  header .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .container {
    padding: 0 9px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid li {
    min-width: unset;
    max-width: unset;
    width: 100%;
    margin-bottom: 20px;
    font-size: 0.99rem;
    padding: 18px 15px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    max-width: 97vw;
    padding: 13px;
  }
  .footer .container {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
  }
  .section {
    padding: 23px 5px;
    margin-bottom: 34px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 19px 8px 19px 16px;
  }
  footer {
    padding: 26px 0 11px 0;
  }
  .cookie-modal {
    padding: 20px 4vw 20px 4vw;
    min-width: 210px;
    max-width: 95vw;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 14px;
  }
  .feature-grid li {
    font-size: .97rem;
    padding: 12px 7px;
  }
}

/* ================================
     TYPOGRAPHY DISPLAY SIZES
   ================================ */
@media (max-width: 540px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
}

/* ================================
   ANIMATION CLASSES & UTILITIES
   ================================ */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease-in forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.slide-in-right {
  transform: translateX(100vw);
  animation: slideInRight 0.34s cubic-bezier(.77,0,.175,1) forwards;
}
@keyframes slideInRight {
  to {
    transform: translateX(0);
  }
}

/* ================================
   OTHER UTILITIES
   ================================ */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-16 { margin-bottom: 16px !important; }
.pt-16 { padding-top: 16px !important; }

/* ===============================
  PRINTING: Hide navigation/tools
   =============================== */
@media print {
  header, .mobile-menu-toggle, .mobile-menu, footer, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
