/* ----------- CSS RESET & BASE STYLES ------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #FCF7FB; /* dreamy pastel background */
  color: #1E355C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1.5em;
}
ul li, ol li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #263964;
  line-height: 1.2;
  margin-bottom: 0.6em;
}
h1 { font-size: 2.3rem; font-weight: 700; }
h2 { font-size: 1.7rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
a {
  color: #487E99;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1E355C;
  text-decoration: underline;
}
strong, b { font-weight: 700; }
blockquote {
  background: #F3EFFA;
  border-left: 5px solid #AEDFF7;
  padding: 1em 1.5em;
  margin: 2em 0 2em 0;
  font-style: italic;
  color: #3D4E7B;
  border-radius: 0.75em;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ----------- HEADER & NAVIGATION ------------ */
header {
  background: #F6F8FC;
  box-shadow: 0 2px 8px rgba(150, 130, 200, 0.04);
  z-index: 1001;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 70px;
  padding: 0 0 0 10px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.logo-link {
  margin-right: auto;
  display: flex;
  align-items: center;
  height: 54px;
}
.main-nav a {
  color: #3D4E7B;
  opacity: 0.87;
  border-radius: 6px;
  padding: 8px 14px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E8F7FF;
  color: #1E355C;
}
.main-nav .cta.primary {
  background: #AEDFF7;
  color: #1E355C;
  font-weight: 700;
  border-radius: 6px;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(174,223,247,0.15);
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
.main-nav .cta.primary:hover, .main-nav .cta.primary:focus {
  background: #F8E9A1;
  color: #74593C;
  transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: #EDECFB;
  border: none;
  font-size: 2rem;
  color: #3D4E7B;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1501;
  box-shadow: 0 2px 8px rgba(112, 109, 191, 0.07 );
  cursor: pointer;
  transition: background 0.17s, color 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #AEDFF7;
  color: #1E355C;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FCF7FB;
  box-shadow: 0 0 8px 0 rgba(82,86,165,0.12);
  z-index: 2500;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,.42,.35,1.2);
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: #F8E9A1;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  color: #3D4E7B;
  align-self: flex-end;
  margin: 12px 24px 12px 0;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
  box-shadow: 0 1px 8px rgba(158,192,224, 0.13);
  z-index: 2510;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #AEDFF7;
  color: #1E355C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 30px 40px;
  font-size: 1.15rem;
}
.mobile-nav a {
  color: #3D4E7B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  width: 100%;
  padding: 12px 8px;
  border-radius: 6px;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:active {
  background: #AEDFF7;
  color: #1E355C;
  text-decoration: none;
}

/* ------- HERO & CTA SECTION -------- */
.hero {
  background: linear-gradient(120deg, #AEDFF7 60%, #FCF7FB 100%);
  padding: 64px 0 44px 0;
  box-shadow: 0 3px 18px rgba(126, 164, 255, 0.11);
  border-radius: 0 0 48px 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 820px;
  gap: 0px;
}
.hero h1 {
  color: #1E355C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.hero p {
  color: #4A5676;
  font-size: 1.2rem;
  margin-bottom: 32px;
}

.cta-section {
  background: #F8E9A1;
  border-radius: 28px;
  box-shadow: 0 2px 12px 0 rgba(254, 230, 161, 0.11);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-section h2 {
  color: #6C679C;
  margin-bottom: 14px;
}


/* -------- BUTTONS / CTA  ------ */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 38px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.17rem;
  cursor: pointer;
  box-shadow: 0 4px 14px #aeddff24;
  border: none;
  text-align: center;
  transition: background 0.19s, color 0.14s, transform 0.12s, box-shadow 0.1s;
  margin-top: 12px;
  margin-bottom: 12px;
}
.cta.primary {
  background: #AEDFF7;
  color: #223455;
}
.cta.primary:hover, .cta.primary:focus {
  background: #F8E9A1;
  color: #7E6630;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 24px #f8e9a158;
}
.cta.secondary {
  background: #F8E9A1;
  color: #6A5966;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #AEDFF7;
  color: #1E355C;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 18px #aedff752;
}

/* BADGE */
.badge {
  display: inline-block;
  background: #FBEEEDED;
  color: #A58B39;
  font-size: 0.9em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 14px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* ----------- SECTION LAYOUTS ------------ */
section {
  margin-bottom: 60px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFFCC;
  box-shadow: 0 2px 16px 0 #c0d3e522;
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  flex: 1 1 275px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.22s, transform 0.15s;
}
.card:hover, .card:focus {
  box-shadow: 0 10px 40px 0 #aedff766, 0 2px 8px #7bb7ff22;
  transform: translateY(-3px) scale(1.012);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #EDFAFC;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(126,164,255,0.07);
  margin-bottom: 24px;
  margin-top: 12px;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #363D4C;
  margin-bottom: 8px;
}
.testimonial-card strong {
  font-size: 1.05em;
  color: #415280;
  align-self: flex-end;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px #aedff733, 0 2px 8px #bbc6ff24;
  transform: scale(1.012);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.confirmation-message {
  background: #F2F8FB;
  border-radius: 18px;
  box-shadow: 0 1px 7px 0 #74749123;
  padding: 32px 26px;
  text-align: center;
  font-size: 1.12em;
  margin-top: 12px;
}

.support-info {
  margin-top: 18px;
  padding: 14px 22px;
  background: #FFF7E4;
  color: #776745;
  border-radius: 10px;
  box-shadow: 0 2px 10px #FFF3C158;
  font-size: 1.1em;
}

/* ----------- FOOTER ------------ */
footer {
  background: #F6F8FC;
  padding: 40px 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #426894;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.13s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #AEDFF7;
  color: #2C3A5C;
}
.footer-contact {
  font-size: 0.99em;
  color: #5F6496;
  gap: 20px;
  flex-direction: column;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
}

/* ----------- COOKIE CONSENT BANNER ------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #F5ECF7;
  box-shadow: 0 -2px 10px #b59dce26;
  z-index: 3000;
  padding: 23px 16px 23px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  transition: transform 0.36s cubic-bezier(.77,.2,.38,1.16), opacity 0.17s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  color: #493B5B;
}
.cookie-banner .cookie-btn {
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin: 0 7px;
  border-radius: 7px;
  padding: 8px 25px;
  border: none;
  cursor: pointer;
  background: #AEDFF7;
  color: #1E355C;
  box-shadow: 0 2px 6px 0 #aeaeff18;
  transition: background 0.135s, color 0.12s, box-shadow 0.1s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #F8E9A1;
  color: #886C26;
}
.cookie-banner .cookie-btn.settings {
  background: #F8E9A1;
  color: #69513A;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #AEDFF7;
  color: #1E355C;
}

/* Cookie Modal (for preferences) */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(188,154,225,0.18);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #FCF7FB;
  border-radius: 24px;
  box-shadow: 0 6px 36px #c9a2ce22;
  padding: 38px 32px 32px 32px;
  width: 96vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 0.99em;
  z-index: 3110;
  animation: fadeInPop 0.32s cubic-bezier(.45,.67,.48,1.14);
}
@keyframes fadeInPop {
  0% { opacity: 0; transform: scale(0.91) translateY(80px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.25em;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 5px 0 6px 0;
  font-size: 1em;
  padding: 7px 0;
}
.cookie-modal .cookie-toggle {
  width: 34px; height: 18px;
  border-radius: 10px;
  margin-left: 8px;
  background: #e4f6fc;
  position: relative;
  cursor: pointer;
}
.cookie-modal .cookie-toggle input[type="checkbox"] {
  width: 100%; height: 100%;
  opacity: 0;
  position: absolute;
  cursor: pointer;
}
.cookie-modal .cookie-toggle span {
  display: block;
  width: 17px; height: 17px;
  border-radius: 11px;
  background: #AEDFF7;
  position: absolute;
  left: 1px; top: 0.5px;
  transition: left 0.16s, background 0.13s;
}
.cookie-modal .cookie-toggle input[type="checkbox"]:checked + span {
  left: 16px;
  background: #F8E9A1;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 23px;
  font-weight: 600;
  border-radius: 7px;
}
.cookie-modal .cookie-btn.close {
  background: #F3EFFA;
  color: #7B6DA7;
}
.cookie-modal .cookie-btn.close:hover {
  background: #AEDFF7;
  color: #38506C;
}

/* ----------- RESPONSIVE DESIGN ------------ */
@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  .hero .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cookie-modal {
    padding: 22px 8vw;
  }
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  section, .section {
    margin-bottom: 34px;
    padding: 24px 6px;
  }
  .hero {
    padding: 36px 0 18px 0;
    border-radius: 0 0 28px 28px;
  }
  .cta-section {
    padding: 24px 6px;
    border-radius: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-nav, .footer-contact {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 6px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.25rem; }
  .cta {
    font-size: 1rem;
    padding: 11px 18px;
  }
  .container {
    padding: 0 4px;
  }
}

/* ----------- MISC. MICRO-ANIMATIONS AND DECOR --------- */
.card, .testimonial-card, .confirmation-message, .support-info, .cookie-banner, .cta-section, .hero {
  transition: box-shadow 0.19s, transform 0.13s;
}

/* SHADOW/FOCUS EFFECTS */
*:focus {
  outline: 2px solid #AEDFF7;
  outline-offset: 1.5px;
}

/* TABLES, CODE, OTHER TAGS (if used) */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 1.25em;
  background: #F6F4FF;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 1px 10px #afa8ef11;
}
th, td {
  padding: 12px 6px;
  text-align: left;
}
th {
  background: #E8F7FF;
  color: #263964;
}
td {
  border-bottom: 1px solid #e2e2ef;
}

/* FORM ELEMENTS (if form added) */
input, select, textarea {
  border: 1.5px solid #E8F7FF;
  background: #FAF9FF;
  border-radius: 7px;
  padding: 11px 13px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 13px;
  color: #263964;
  font-size: 1rem;
  transition: border-color 0.14s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  border-color: #AEDFF7;
  box-shadow: 0 2px 8px #aedff742;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #5F6496;
}

/* --------- UTILITIES --------- */
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-center { text-align: center; }
display-none { display: none !important; }

/* Hide visually but keep readable for screen readers: */
.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

/* ----------- BRAND FONTS (Google Fonts fallback if external) ------------ */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular'),
    url('https://fonts.gstatic.com/s/montserrat/v25/JTUQjIg1_i6t8kCHKm45_QphziTn89dtpQ.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans-Regular'),
    url('https://fonts.gstatic.com/s/opensans/v34/mem8YaGs126MiZpBA-U1UpcaXcl0Aw.ttf') format('truetype');
}

/* ===== NO GRID, NO COLUMNS, STRICTLY FLEXBOX FOR ALL LAYOUTS ===== */
/* (All layout containers already use flex above per class definitions) */
