/* --- 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 {
  font-family: 'Roboto', Arial, sans-serif;
  color: #202940;
  background-color: #F2F4F8;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
a {
  color: #00A79D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #202940;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1.25em;
}
li {
  margin-bottom: 0.5em;
}
strong {
  font-weight: 600;
}

/* ---- TYPOGRAPHY SCALE ---- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.18rem;
  margin-bottom: 14px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 10px;
}
p, .subheadline {
  margin-bottom: 18px;
  font-size: 1rem;
}
.subheadline {
  color: #41737D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  margin-bottom: 28px;
}


/* ---- LAYOUT CONTAINERS ---- */
.container {
  width: 100%;
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* Sections and Spacing */
section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(32, 41, 64, 0.03);
  margin-bottom: 60px;
  padding: 40px 20px;
  transition: box-shadow 0.22s;
}
section:last-child {
  margin-bottom: 0;
}
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}
/* Custom grid/flex patterns as required */
.card-container,
.card-grid,
.feature-grid,
.features, 
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.feature {
  background: #F2F4F8;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(32,41,64,0.05);
  padding: 26px 20px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  max-width: 340px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature:hover {
  box-shadow: 0 6px 18px rgba(32,41,64,0.08);
  transform: translateY(-4px);
}
.feature img {
  width: 44px;
  height: 44px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(32,41,64,0.05);
  padding: 22px 18px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.21s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 7px 20px rgba(32,41,64,0.12);
  transform: translateY(-2px);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(32,41,64,0.08);
  padding: 22px 22px 21px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 245px;
  max-width: 375px;
  flex: 1 1 0;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #202940;
  font-size: 1.02rem;
}
.testimonial-card strong {
  color: #00A79D;
  font-size: 0.97rem;
  margin-top: 6px;
}

/* FAQ accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 17px;
}
.faq-item {
  background: #F2F4F8;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(32,41,64,0.04);
  padding: 18px 18px 14px 18px;
  margin-bottom: 8px;
  transition: box-shadow 0.2s;
}
.faq-item h2 {
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}
.faq-answer {
  font-size: 1rem;
  color: #202940;
  padding-left: 0;
  margin-bottom: 5px;
}

.text-section {
  margin-bottom: 24px;
}
.text-section p,
.text-section ul,
.text-section ol {
  margin-bottom: 14px;
}
.text-section h2 {
  margin-top: 24px;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(32,41,64,0.05);
}
.pricing-table th {
  background: #00A79D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 11px;
  text-align: left;
}
.pricing-table td {
  padding: 13px 11px;
  font-size: 1rem;
  color: #202940;
  border-bottom: 1px solid #F2F4F8;
  background: #fff;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* ---- CTA BUTTONS ---- */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 29px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.22s, color 0.22s, box-shadow 0.21s, transform 0.15s;
  cursor: pointer;
  margin: 10px 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,167,157,0.07);
  min-width: 155px;
  text-decoration: none;
}
.cta-primary {
  background: #00A79D;
  color: #fff;
}
.cta-primary:hover, .cta-primary:focus {
  background: #202940;
  color: #fff;
  box-shadow: 0 5px 16px rgba(32,41,64,0.13);
  transform: translateY(-2px);
}
.cta-secondary {
  background: #fff;
  color: #00A79D;
  border: 2px solid #00A79D;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #F2F4F8;
  color: #202940;
  border: 2px solid #202940;
}


/* ------- HEADER + NAVIGATION ------- */
header {
  background: #fff;
  border-bottom: 1px solid #f0f0f2;
  position: sticky;
  top: 0;
  z-index: 1005;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 68px;
}
header a img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #202940;
  position: relative;
  padding: 5px 7px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2F4F8;
  color: #00A79D;
}

/* MOBILE NAV --- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #202940;
  margin-left: 12px;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 8px;
  transition: background 0.12s, color 0.12s;
  z-index: 1011;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F2F4F8;
  color: #00A79D;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.58,.01,0,1.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 26px 0 0 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 18px;
  margin-bottom: 18px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #202940;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.12s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F2F4F8;
  color: #00A79D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  padding: 0 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #202940;
  padding: 12px 0;
  border-radius: 10px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2F4F8;
  color: #00A79D;
}

@media (min-width: 1025px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
  .main-nav {
    display: flex;
  }
}
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* --- HERO + SECTIONS --- */
section:first-of-type {
  margin-top: 30px;
}

/* DEAL WITH .feature-grid AND VARIATIONS */
.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

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

/* CARDS LAYOUTS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- FAQ --- */
.faq-accordion {
  margin-bottom: 28px;
}

/* --- FOOTER --- */
footer {
  background: #202940;
  color: #fff;
  padding: 36px 0 24px 0;
  width: 100%;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #00A79D;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.95;
  transition: opacity 0.12s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  opacity: 1;
}
.footer-brand {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  color: #F2F4F8;
  opacity: 0.9;
  margin-bottom: 0;
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1024px) {
  .container {
    max-width: 97vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid, .card-container, .testimonials {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  section {
    padding: 26px 6px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
  h1, .h1 { font-size: 1.37rem; margin-bottom: 18px; }
  h2, .h2 { font-size: 1.12rem; margin-bottom: 14px; }
  h3, .h3 { font-size: 1rem; }
  .card, .testimonial-card, .feature {
    padding: 15px 11px;
    min-width: 0;
    max-width: 100%;
  }
  .feature-grid, .card-container, .testimonials {
    gap: 10px;
  }
  .content-grid, .feature-grid, .testimonials {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 19px !important;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  section {
    padding: 14px 2px;
    margin-bottom: 22px;
    border-radius: 7px;
  }
}

/* --- OTHER INTERACTIVE ELEMENTS --- */
button, .cta-primary, .cta-secondary {
  outline: none;
  border: none;
}
button:focus, .cta-primary:focus, .cta-secondary:focus {
  box-shadow: 0 0 0 3px #00A79D55;
}

/* --- COOKIE CONSENT BANNER/POPUP --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #00A79D;
  box-shadow: 0 -2px 12px rgba(32,41,64,0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 18px 20px 15px 20px;
  gap: 18px;
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(.56,.01,0,1.02), opacity 0.3s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content {
  font-size: 1rem;
  color: #202940;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  border-radius: 17px;
  padding: 10px 21px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn-primary {
  background: #00A79D;
  color: #fff;
}
.cookie-btn-primary:hover,
.cookie-btn-primary:focus {
  background: #202940;
  color: #fff;
}
.cookie-btn-secondary {
  background: #fff;
  color: #00A79D;
  border: 2px solid #00A79D;
}
.cookie-btn-secondary:hover,
.cookie-btn-secondary:focus {
  background: #F2F4F8;
  color: #202940;
  border: 2px solid #202940;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11010;
  background: rgba(32,41,64,0.22);
  transition: opacity 0.22s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal.hidden {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 8px 32px rgba(32,41,64,0.14);
  padding: 34px 24px 28px 24px;
  min-width: 288px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 16px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #202940;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #F2F4F8;
  color: #00A79D;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
  margin-top: 0;
  color: #202940;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 7px;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #00A79D;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category .always-on {
  color: #aaa;
  font-size: 0.96rem;
  font-weight: 400;
}

@media (max-width: 500px) {
  .cookie-modal-content {
    min-width: 0;
    padding: 17px 5vw 16px 7vw;
  }
  .cookie-banner {
    padding: 10px 6px 7px 9px;
    font-size: 0.98rem;
    gap: 7px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- FORMS (if present) --- */
input, textarea, select {
  background: #F2F4F8;
  border: 2px solid #e0e4ea;
  border-radius: 8px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 12px;
  margin-bottom: 14px;
  color: #202940;
  transition: border 0.16s, background 0.16s;
  width: 100%;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #00A79D;
  background: #fff;
}

/* --- MODAL & Z-INDEX LAYERS --- */
.modal-backdrop {
  position: fixed;
  z-index: 11000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,41,64,0.2);
  pointer-events: none;
}

/* --- ICONS IN LISTS --- */
.text-section ul li, .text-section ol li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.text-section ul img, .text-section ol img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- UTILITY CLASSES --- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-sm { margin-top: 12px; }
.mt-lg { margin-top: 36px; }
.mb-sm { margin-bottom: 12px; }
.mb-lg { margin-bottom: 36px; }
.rounded { border-radius: 12px; }
.shadow { box-shadow: 0 2px 10px rgba(32,41,64,0.07); }

/* --- VISUAL FOCUS/SKIP --- */
:focus-visible {
  outline: 3px solid #00A79D;
  outline-offset: 1px;
}

/* --- FORMS FEEDBACK (future-proof) --- */
input:invalid,
input:invalid:focus {
  border-color: #e54242;
}

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