/* =======================================================
   CSS RESET & NORMALIZE (MOBILE-FIRST)  
   ======================================================= */
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, 
main, 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 {
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FAFBFF;
  color: #38474B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
  background: none;
}
button {
  cursor: pointer;
}

/* =======================================================
   SOFT PASTEL PALETTE & BRAND COLORS (CSS variables)     
   ======================================================= */
:root {
  --color-primary: #263C55;
  --color-secondary: #1C6E8C;
  --color-accent: #F2F2F2;
  --color-pastel-blue: #d3eafd;
  --color-pastel-purple: #ecdbfa;
  --color-pastel-lavender: #f7f2fc;
  --color-pastel-pink: #fde2f3;
  --color-pastel-green: #e6f8f1;
  --color-pastel-yellow: #fff9db;
  --color-white: #fff;
  --color-black: #22243a;
  --color-text-main: #38474B;
  --color-text-dark: #263C55;
  --color-shadow: rgba(29, 78, 137, 0.09);
  --color-shadow-lg: rgba(29, 78, 137, 0.15);
}

/* =======================================================
   TYPOGRAPHY (Montserrat for display, Open Sans for body)
   ======================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--color-text-main);
  background: linear-gradient(135deg, var(--color-pastel-blue) 0%, var(--color-pastel-pink) 100%);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-secondary);
}
h4 {
  font-size: 1.1rem;
}
p, ul, li, span, em, strong {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}
p, ul {
  margin-bottom: 14px;
}
strong {
  font-weight: 600;
  color: var(--color-secondary);
}
em {
  font-style: italic;
  color: var(--color-primary);
}

/* =======================================================
   LAYOUT CONTAINERS, FLEXBOX & SPACING
   ======================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: var(--color-pastel-lavender);
  border-radius: 20px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-pastel-blue);
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 250px;
  flex: 1 1 320px;
}
.card:hover {
  box-shadow: 0 4px 20px var(--color-shadow-lg);
  transform: translateY(-3px) scale(1.01);
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 20px;
  max-width: 500px;
  min-width: 260px;
  margin-right: 20px;
  color: var(--color-text-dark);
  font-size: 1.08rem;
  position: relative;
}
.testimonial-card span {
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 0.98rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}
.price {
  color: var(--color-primary);
  font-weight: 600;
  background: var(--color-pastel-yellow);
  border-radius: 10px;
  padding: 5px 12px;
  margin-top: 8px;
  display: inline-block;
  font-size: 0.93rem;
}

/* ------ CTA Button Style (brand accent, soft/pastel) ------ */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 38px;
  background: linear-gradient(90deg, var(--color-pastel-blue), var(--color-pastel-pink));
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  box-shadow: 0 3px 12px var(--color-shadow);
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.25s, color 0.18s, transform 0.18s, box-shadow 0.16s;
}
.cta-button:hover, .cta-button:focus-visible {
  background: linear-gradient(90deg, var(--color-pastel-purple), var(--color-pastel-green));
  color: var(--color-secondary);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 22px var(--color-shadow-lg);
}

/* =======================================================
   HEADER & NAVIGATION
   ======================================================= */
header {
  background: var(--color-white);
  box-shadow: 0 2px 8px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-secondary);
  letter-spacing: 0.01em;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus-visible {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
}
.mobile-menu-toggle {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: background 0.18s, color 0.16s, box-shadow 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus-visible {
  background: var(--color-pastel-green);
  color: var(--color-secondary);
}
/* Hide desktop nav & show mobile nav on small screens */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =======================================================
   MOBILE MENU OVERLAY (Burger) + Animation
   ======================================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--color-pastel-blue) 60%, var(--color-pastel-purple) 100%);
  box-shadow: 0 0 60px var(--color-shadow-lg);
  z-index: 9999;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.6,0,.5,1), opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-pastel-purple);
  color: var(--color-primary);
  border: none;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 1px 8px var(--color-shadow);
  margin: 0 0 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus-visible {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 36px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.23rem;
  padding: 14px 4px;
  width: 100%;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.14s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus-visible {
  background: var(--color-pastel-green);
  color: var(--color-secondary);
}

/* =======================================================
   FOOTER
   ======================================================= */
footer {
  background: linear-gradient(90deg, var(--color-pastel-purple) 70%, var(--color-pastel-blue) 100%);
  padding: 44px 0 22px 0;
  border-top: 1px solid #eef2fb;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 960px;
}
.footer-logo img {
  height: 42px;
  width: auto;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-secondary);
  font-size: 0.98rem;
  padding: 6px 16px;
  border-radius: 999px;
  transition: background 0.16s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus-visible {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
}
footer p {
  font-size: 0.92rem;
  color: var(--color-primary);
  text-align: center;
  margin: 8px 0 0 0;
}

/* =======================================================
   SECTION HEADINGS & LISTS
   ======================================================= */
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.6;
  position: relative;
  padding-left: 7px;
}
ul li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--color-pastel-blue);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.section h2, .container h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.section h3, .container h3 {
  font-size: 1.23rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

/* =======================================================
   SPACING - GAP/MARGIN
   (Consistent: 8 / 16 / 20 / 24 / 32 / 40 / 60 px)        
   ======================================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  margin-right: 0;
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
}
.feature-item {
  gap: 15px;
}

/* Ensure cards and sections have min 20px between them */
.section > .container > .content-wrapper > * {
  margin-bottom: 20px;
}

/* Prevent accidental last-margin */
.section > .container > .content-wrapper > *:last-child {
  margin-bottom: 0;
}

/* =======================================================
   TRANSITIONS, SHADOWS, HOVER EFFECTS
   ======================================================= */
a, .cta-button, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: background 0.16s, color 0.16s, box-shadow 0.22s, transform 0.18s;
}
.card, .testimonial-card, .text-section {
  transition: box-shadow 0.2s, background 0.18s, transform 0.16s;
}
.card:hover, .testimonial-card:hover, .text-section:hover {
  box-shadow: 0 6px 32px var(--color-shadow-lg);
  background: var(--color-pastel-green);
  transform: translateY(-2px) scale(1.015);
}

/* =======================================================
   RESPONSIVE DESIGN (Mobile-first)                  
   ======================================================= */
@media (max-width: 1000px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .main-nav {
    gap: 12px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
    background: linear-gradient(135deg, var(--color-pastel-green) 30%, var(--color-pastel-pink) 100%);
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .content-wrapper,
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
  .section {
    padding: 26px 5px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
    margin-right: 0;
  }
  header img {
    height: 36px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.13rem; }
  .testimonial-card {
    font-size: 1rem;
    padding: 16px 5px;
  }
  .cta-button {
    padding: 12px 18px !important;
    font-size: 1rem;
  }
}

/* ================= Cookie Consent Banner & Modal =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--color-pastel-blue), var(--color-pastel-lavender));
  box-shadow: 0 -2px 22px var(--color-shadow-lg);
  z-index: 11000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 8vw 18px 8vw;
  animation: cookie-banner-in 0.7s cubic-bezier(.7,0,.5,1) 0.2s both;
}
@keyframes cookie-banner-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner__text {
  color: var(--color-text-dark);
  font-size: 1rem;
  flex: 1 1 230px;
  max-width: 600px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-consent-btn {
  padding: 10px 22px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  border: none;
  margin-top: 0;
  box-shadow: 0 1px 4px var(--color-shadow);
  background: var(--color-pastel-blue);
  color: var(--color-primary);
  transition: background 0.16s, color 0.18s;
}
.cookie-consent-btn.accept {
  background: var(--color-pastel-green);
  color: var(--color-secondary);
}
.cookie-consent-btn.settings {
  background: var(--color-pastel-purple);
  color: var(--color-primary);
}
.cookie-consent-btn.reject {
  background: var(--color-pastel-pink);
  color: var(--color-secondary);
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus-visible {
  background: var(--color-pastel-yellow);
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px 6vw 13px 6vw;
  }
  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}

/*========== COOKIE MODAL (Settings overlay) ============*/
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 12000;
  background: rgba(30,42,50,0.11);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal.active {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal__content {
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: 0 8px 44px var(--color-shadow-lg);
  max-width: 380px;
  min-width: 0;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-in 0.38s cubic-bezier(.7,0,.5,1) 0.05s both;
}
@keyframes cookie-modal-in {
  from { transform: translateY(80px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}
.cookie-modal__heading {
  font-size: 1.22rem;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-modal__desc {
  color: var(--color-text-main);
  font-size: 0.97rem;
  margin-bottom: 6px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}
.cookie-modal__switch {
  position: relative;
  width: 36px; height: 20px;
  display: inline-block;
}
.cookie-modal__checkbox {
  display: none;
}
.cookie-modal__slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-pastel-blue);
  border-radius: 10px;
  transition: background 0.12s;
}
.cookie-modal__checkbox:checked + .cookie-modal__slider {
  background: var(--color-pastel-green);
}
.cookie-modal__slider::before {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: transform 0.18s;
}
.cookie-modal__checkbox:checked + .cookie-modal__slider::before {
  transform: translateX(16px);
  background: var(--color-secondary);
}
.cookie-modal__category-label {
  font-weight: 500;
  color: var(--color-secondary);
}
.cookie-modal__category-desc {
  font-size: 0.92rem;
  color: #6c6c6c;
  margin-left: 8px;
}
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.cookie-modal__action-btn {
  padding: 9px 18px;
  border-radius: 14px;
  border: none;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-pastel-purple);
  color: var(--color-primary);
  font-size: 0.97rem;
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: background 0.17s, color 0.15s;
}
.cookie-modal__action-btn.accept {
  background: var(--color-pastel-green);
  color: var(--color-secondary);
}
.cookie-modal__action-btn.reject {
  background: var(--color-pastel-pink);
  color: var(--color-secondary);
}
.cookie-modal__action-btn:hover, .cookie-modal__action-btn:focus-visible {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
}
@media (max-width: 400px) {
  .cookie-modal__content {
    padding: 18px 4vw;
  }
}

/* =======================================================
   MICRO-INTERACTIONS
   ======================================================= */
input:focus, textarea:focus, button:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}
.cta-button:active, .cookie-consent-btn:active {
  transform: scale(0.97);
}

/* =======================================================
   UTILITIES AND OVERRIDES
   ======================================================= */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }

/* Hide scrollbars for overlays (mobile menu, modal) on mobile */
.mobile-menu, .cookie-modal {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  display: none;
}

/* For accessibility - key visual hover/focus on nav & btns */
a:focus-visible,
button:focus-visible,
.cta-button:focus-visible,
.main-nav a:focus-visible,
.footer-nav a:focus-visible,
.mobile-nav a:focus-visible
{
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  background: var(--color-pastel-yellow);
}

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