/* --- CSS RESET & NORMALIZATION --- */
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;
}
body {
  line-height: 1.5;
  background: #EDECEB;
  color: #1D4970;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: inside disc;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
*:focus-visible {
  outline: 2px solid #FFD13F;
  outline-offset: 2px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
}
h1 { font-size: 2.75rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.2rem; }
.subheadline {
  font-size: 1.25rem;
  color: #7CC8FF;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 24px;
  letter-spacing: .01em;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #24385B;
}
strong {
  color: #1D4970;
  font-weight: 700;
}
.section strong {
  color: #FFD13F;
}

/* --- CONTAINER AND LAYOUTS --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #F7F9FC;
  border-radius: 32px;
  box-shadow: 0 4px 40px 0 rgba(29,73,112,0.04),0 1.5px 8px 0 rgba(61,179,255,0.05);
}

/* --- TECH FUTURISTIC BG --- */
body {
  background: linear-gradient(135deg, #EDECEB 0%, #C6EDF9 100%);
  min-height: 100vh;
}

/* Utility BG for sections */
.section, main > section {
  background: #F7F9FC;
  border-radius: 32px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
main > section:first-of-type {
  background: linear-gradient(135deg, #F7F9FC 80%, #B6E3FF 100%);
  box-shadow: 0 6px 64px 0 rgba(61,179,255,0.08);
}

/* --- CARDS & GRIDS --- */
.card-container, .features-grid, .usp-grid, .card-grid, .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(29, 73, 112, 0.06);
  padding: 28px 24px;
  position: relative;
  transition: box-shadow 0.15s, transform 0.17s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(60,200,255,0.20), 0 1.5px 8px 0 rgba(61,179,255,0.10);
  transform: translateY(-4px) scale(1.02);
  z-index: 1;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 210px;
  border: 1.5px solid #E0F2FE;
  background: #FFFFFFEE;
  transition: border-color 0.22s;
}
.feature-item:hover {
  border-color: #7CC8FF;
}
.feature-item img {
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  filter: drop-shadow(0 1px 2px #7CC8FF99);
}

. usp-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
. usp-grid ul {
  flex: 1 1 300px;
  background: #EEF5FD;
  border-radius: 18px;
  padding: 18px 20px;
}

/* --- TEXT + IMAGE & FLEX UTILITIES --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F5FBFF;
  border-radius: 22px;
  border: 1px solid #B6E3FF;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 20px;
  box-shadow: 0 2px 20px 0 rgba(61,179,255,0.08);
}
.testimonial-card p {
  color: #222;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #1D4970;
  font-size: 1rem;
  font-weight: 600;
  align-self: flex-end;
  margin-left: auto;
  padding-top: 2px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  border-radius: 28px;
  border: none;
  background: linear-gradient(90deg,#1D4970 60%,#32B8FF 100%);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  box-shadow: 0 5px 22px -7px #32B8FF44;
  cursor: pointer;
  text-shadow: 0 1px 8px #0073B944;
  letter-spacing: 0.5px;
  transition: background 0.18s, transform 0.19s, box-shadow 0.18s;
  margin-top: 10px;
}
.btn-primary:hover, a.btn-primary:hover {
  background: linear-gradient(90deg,#1D4970 0%,#FFD13F 100%);
  color: #1D4970;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 40px -9px #FFD13FAA;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  border-radius: 28px;
  border: 2px solid #32B8FF;
  background: #F7F9FC;
  color: #32B8FF;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  margin-top: 8px;
  transition: border-color 170ms, background 150ms, color 150ms;
}
.btn-secondary:hover {
  background: #32B8FF;
  color: #fff;
  border-color: #FFD13F;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(29, 73, 112, 0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px 20px;
  gap: 18px;
}
header img {
  height: 46px;
  margin-right: 16px;
  display: block;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header nav a {
  color: #1D4970;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  padding: 5px 10px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover:not(.btn-primary) {
  background: #B6E3FF;
  color: #1D4970;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #1D4970;
  cursor: pointer;
  margin-left: 4px;
  z-index: 300;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover {
  background: #FFD13F33;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,34,44,0.91);
  z-index: 420;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.66,0,.21,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #FFD13F;
  background: none;
  border: none;
  padding: 20px 30px 10px 10px;
  cursor: pointer;
  transition: color .13s;
}
.mobile-menu-close:hover {
  color: #32B8FF;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin-top: 18px;
}
.mobile-nav a {
  color: #fff;
  display: block;
  padding: 20px 38px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.23rem;
  border-bottom: 1px solid #32B8FF40;
  transition: background 0.17s, color 0.14s;
}
.mobile-nav a:hover {
  background: #1D4970;
  color: #FFD13F;
}
.mobile-nav a.btn-primary {
  background: #FFD13F;
  color: #1D4970;
  margin: 20px 38px 10px 0;
  border-radius: 22px;
  padding: 16px 32px;
  align-self: flex-end;
  box-shadow: 0 6px 16px #FFD13F33;
  font-size: 1.05rem;
}


/* --- MAIN & SECTION FORMATS --- */
main {
  width: 100%;
  min-height: 50vh;
  padding-top: 12px;
}
main > section {
  width: 100%;
  margin-bottom: 60px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  margin-top: 8px;
  margin-left: 16px;
  color: #2C5581;
}
.text-section h2 {
  margin-top: 16px;
}

ul, ol {
  margin-bottom: 18px;
  margin-left: 18px;
}
ul li, ol li {
  margin-bottom: 7px;
  color: #24385B;
}


/* --- FOOTER --- */
footer {
  width: 100%;
  background: #1D4970;
  color: #fff;
  padding-top: 32px;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: 0 -4px 30px 0 rgba(29,73,112,0.10);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #39527699;
}
.footer-top nav {
  display: flex;
  gap: 18px;
}
.footer-top nav a {
  color: #FFD13F;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  transition: color .13s;
}
.footer-top nav a:hover {
  color: #FFF;
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  margin-top: 14px;
  padding-bottom: 24px;
}
.contact-info p, .contact-info a {
  color: #F7F9FC;
  font-size: 1rem;
}
.contact-info a {
  text-decoration: underline;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-socials img {
  height: 34px;
  width: 34px;
  filter: drop-shadow(0 2px 4px #32B8FF33);
  border-radius: 7px;
  background-color: #24385B11;
  transition: background .19s, filter .12s;
  cursor: pointer;
}
.footer-socials img:hover {
  filter: drop-shadow(0 3px 9px #FFD13F55) brightness(1.14);
  background: #FFD13F44;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 700;
  background: #1D4970;
  color: #fff;
  padding: 22px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 -8px 36px 0 #1D497099;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity .32s, transform .27s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  width: 100%;
}
.cookie-banner button {
  padding: 10px 26px;
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 9px;
  margin-top: 4px;
  cursor: pointer;
}
.cookie-banner .accept {
  background: #FFD13F;
  color: #1D4970;
  box-shadow: 0 1px 10px #FFD13F44;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .accept:hover {
  background: #FFF157;
  color: #1D4970;
}
.cookie-banner .reject {
  background: #7CC8FF;
  color: #fff;
  transition: background 0.18s, color 0.15s;
}
.cookie-banner .reject:hover {
  background: #1D4970;
  color: #FFD13F;
}
.cookie-banner .settings {
  background: transparent;
  border: 2px solid #FFD13F;
  color: #FFD13F;
  transition: background .15s, color .15s;
}
.cookie-banner .settings:hover {
  background: #FFD13F;
  color: #1D4970;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-backdrop {
  position: fixed; z-index: 999;
  inset: 0; background: rgba(14,26,46,0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieBackdropFadeIn .32s cubic-bezier(.77,0,.38,1)
}
@keyframes cookieBackdropFadeIn {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #1D4970;
  padding: 38px 28px 24px 28px;
  border-radius: 26px;
  min-width: 320px;
  max-width: 93vw;
  box-shadow: 0 10px 45px #24385B33;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieModalIn .23s cubic-bezier(.6,.15,.39,1.08);
}
@keyframes cookieModalIn {
  from { transform: translateY(60px) scale(0.97); opacity:0; }
  to { transform: none; opacity:1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: bold;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.07rem;
}
.cookie-category input[type=checkbox] {
  accent-color: #1D4970;
  width: 20px; height: 20px;
}
.cookie-category .essential {
  color: #1D4970;
  font-weight: 700;
}
.cookie-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #1D4970;
  font-size: 1.7rem;
  position: absolute;
  top: 12px; right: 18px;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #FFD13F;
}

/* --- RESPONSIVE & MEDIA QUERIES --- */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-socials { margin-top: 13px; }
}
@media (max-width: 900px) {
  h1 { font-size: 2.08rem; }
  header .container { flex-direction: row; }
  main > section, .section { padding: 28px 8px; }
  .feature-item, .testimonial-card, .card { padding: 18px 14px; }
  .features-grid, .card-container, .content-grid { gap: 16px; }
}
@media (max-width: 768px) {
  .content-wrapper { gap: 18px; }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: relative;
    z-index: 301;
  }
  .features-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item { min-width: 0; width: 100%; }
  .testimonial-card { width: 100%; }
  .section, main > section { padding: 20px 2vw; margin-bottom: 34px; }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  html { font-size: 15px; }
  .container { padding: 0 4px; }
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.1rem; }
  main > section, .section {
    padding: 10px 2px;
    border-radius: 16px;
  }
  .feature-item, .testimonial-card, .card {
    padding: 9px 5px;
    border-radius: 13px;
  }
  .footer-top, .footer-bottom { gap: 10px; }
}

/* --- ANIMATIONS --- */
.btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, nav a, .footer-socials img {
  transition: all .15s cubic-bezier(.71,0,.21,1);
}
.section, .card, .testimonial-card, .feature-item {
  transition: box-shadow .17s cubic-bezier(.71,0,.21,1), border-color .13s, background .18s;
}

/* --- FOCUS & ACCESSIBILITY --- */
.btn-primary:focus-visible, .btn-secondary:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2px solid #FFD13F;
  outline-offset: 1.5px;
}
.mobile-nav a:focus-visible { background: #FFD13F33; color: #FFD13F; }

/* --- VISUAL ACCENTS: FUTURISTIC NEON --- */
.section, .card, .testimonial-card, .feature-item {
  border: 1.5px solid #E0F2FE;
  box-shadow: 0 2.5px 20px 0 #7CC8FF11, 0 1px 7px 0 #FFD13F11;
}
.section {
  position: relative;
  overflow: hidden;
}
.section:before {
  content: '';
  position: absolute;
  pointer-events: none;
  left: -20%;
  top: -17%;
  width: 65%;
  height: 110%;
  filter: blur(16px);
  z-index: 0;
  background: radial-gradient(circle at 30% 50%, #32B8FF33 0%, transparent 90%);
}
.section:after {
  content: '';
  position: absolute;
  pointer-events: none;
  right: -14%;
  bottom: -26%;
  width: 48%;
  height: 65%;
  filter: blur(18px);
  z-index: 0;
  background: radial-gradient(circle at 82% 70%, #FFD13F33 0%, transparent 96%);
}

/* --- Z-INDEX --- */
header { z-index: 100; }
.mobile-menu { z-index: 420; }
.cookie-banner { z-index: 700; }
.cookie-modal-backdrop { z-index: 999; }

/* --- END OF CSS --- */
