/* 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, 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 { box-sizing: border-box; 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: #faf8f7;
  color: #25536a;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
ul, ol { list-style: none; }
a { color: #14825a; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #25536a; text-decoration: underline; }
img, video { max-width: 100%; display: block; border-radius: 16px; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 16px; text-align: left; }
th { background: #faf8f7; color: #25536a; font-weight: 700; font-size: 1.1rem; }

/* BRAND FONTS */
h1, h2, h3, .cta-btn, .logo, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.015em;
}

h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 28px; color: #25536a; }
h2 { font-size: 1.75rem; font-weight: 600; margin-bottom: 18px; color: #14825a; }
h3 { font-size: 1.2rem; font-weight: 600; color: #25536a; margin-bottom: 6px; }
p, li, blockquote, dd { font-size: 1rem; color: #25536a; line-height: 1.7; }
strong { font-weight: 700; color: #14825a; }

/* GENERAL SPACING & LAYOUT */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 20px 0 rgba(37,83,106,0.10);
  position: relative;
  padding: 28px 22px;
  flex: 1 1 320px;
  min-width: 260px;
  transition: box-shadow 0.25s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(37,83,106,0.16);
  transform: translateY(-4px) scale(1.012);
}
.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 {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px 0 rgba(37,83,106,0.10);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
}
.testimonial-meta {
  font-size: 1rem;
  color: #25536a;
  opacity: 0.86;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 22px 18px;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(20,130,90,0.08);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(105deg, #faf8f7 80%, #fffbe7 100%);
  border-radius: 0 0 38px 38px;
  box-shadow: 0 3px 28px 0 rgba(37,83,106,0.05);
  padding: 64px 0 56px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
}
.hero h1 {
  font-size: 2.75rem;
  color: #25536a;
}
.hero p {
  max-width: 540px;
  color: #25536a;
}

/* BUTTONS & CALLS TO ACTION */
.cta-btn, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  background: #14825a;
  color: #fff;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(20,130,90,0.14);
  transition: background 0.18s, box-shadow 0.17s, transform 0.19s;
  margin-top: 12px;
  text-align: center;
}
.cta-btn:focus, .cookie-btn:focus {
  box-shadow: 0 4px 20px 0 rgba(20,130,90,0.23);
  outline: 2px solid #25536a;
}
.cta-btn:hover, .cookie-btn:hover {
  background: #25536a;
  color: #fff;
  box-shadow: 0 8px 26px 0 rgba(37,83,106,0.16);
  transform: translateY(-3px) scale(1.015);
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 10px 0 rgba(20,130,90,0.06);
  border-radius: 0 0 20px 20px;
  position: sticky;
  z-index: 1000;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 28px;
  position: relative;
}
.logo img {
  max-height: 46px;
  border-radius: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #25536a;
  padding: 6px 14px;
  border-radius: 10px;
  transition: background 0.18s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #faf8f7;
  color: #14825a;
}
/* Show CTA button always on desktop */
.cta-btn {
  margin-left: 18px;
}

/* SERVICES, FEATURES, DEVICES, FAQ */
.feature-grid, .service-list, .device-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li, .device-list li {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 10px 0 rgba(20,130,90,0.08);
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.17s;
  margin-bottom: 0;
  min-width: 190px;
}
.feature-grid li:hover, .device-list li:hover {
  box-shadow: 0 4px 24px 0 rgba(20,130,90,0.17);
  transform: translateY(-4px) scale(1.012);
}
.feature-grid img, .device-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 10px 0 rgba(20,130,90,0.08);
  gap: 18px;
  padding: 18px 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  transition: box-shadow 0.2s, background 0.15s;
}
.service-list strong {
  display: inline-block;
  font-size: 1.09rem;
  color: #14825a;
  margin-bottom: 2px;
}
.service-list span {
  background: #faf8f7;
  color: #14825a;
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 0.98rem;
  font-weight: 600;
  margin-left: 10px;
}

/* FAQ */
dt {
  font-weight: bold;
  margin-top: 18px;
  color: #14825a;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
dd {
  margin-left: 0;
  margin-top: 3px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1eee6;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* TABLES */
.pricing-table {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(20,130,90,0.07);
  overflow: hidden;
  margin-bottom: 34px;
}
.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid #f1eee6;
}
.pricing-table tr:last-of-type td {
  border-bottom: none;
}
.pricing-table td {
  font-size: 1.04rem;
}

/* TEXT SECTIONS */
.text-section {
  margin-bottom: 24px;
  background: none;
  border-radius: 0;
  padding: 0;
}
.text-section h2, .text-section h3 { margin-bottom: 7px; }
.text-section p {
  margin-bottom: 12px;
}

/* FOOTER */
footer {
  background: #25536a;
  color: #fff;
  border-radius: 20px 20px 0 0;
  margin-top: 34px;
}
footer .logo img {
  max-height: 36px;
  border-radius: 12px;
}
footer section {
  margin-bottom: 0;
  padding: 36px 20px 22px 20px;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #fff;
  font-size: 0.97rem;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #fffbe7;
  text-decoration: underline;
}
footer .text-section p, footer .text-section strong {
  color: #fff;
}

/* RESPONSIVE STYLES */
@media (max-width: 1070px) {
  .container { max-width: 1000px; }
  .feature-grid li, .device-list li { flex: 1 1 190px; min-width: 160px; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 2.1rem; }
  .container { max-width: 95vw; }
  .content-wrapper { gap: 24px; padding: 0; }
  .feature-grid li, .device-list li { min-width: 130px; }
  .footer .content-wrapper { flex-direction: column; gap: 20px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.59rem; }
  h2 { font-size: 1.23rem; }
  .container { padding: 0 8px; }
  .main-nav, .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: inline-flex;
    background: none;
    color: #25536a;
    font-size: 2.04rem;
    border: none;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
    padding: 6px 12px;
    transition: background 0.16s;
    z-index: 1012;
  }
  .mobile-menu-toggle:focus { outline: 2px solid #14825a; }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: #fff;
    z-index: 1011;
    transform: translateX(-100vw);
    transition: transform 0.45s cubic-bezier(.22,1,.36,1);
    box-shadow: 0 6px 38px 0 rgba(37,83,106,0.20);
    overflow-y: auto;
    padding: 32px 26px 24px 26px;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    font-size: 2.1rem;
    color: #25536a;
    background: none;
    border: none;
    padding: 2px 12px 8px 0;
    margin-bottom: 18px;
    cursor: pointer;
    align-self: flex-end;
    border-radius: 12px;
    transition: background 0.15s;
  }
  .mobile-menu-close:focus { outline: 2px solid #14825a; }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: #25536a;
    font-size: 1.15rem;
    background: none;
    padding: 12px 0;
    border-radius: 12px;
    transition: background 0.15s, color 0.14s;
  }
  .mobile-nav a:hover,
  .mobile-nav a:focus {
    background: #faf8f7;
    color: #14825a;
  }
  .hero .content-wrapper {
    align-items: flex-start;
    gap: 18px;
    padding: 0;
  }
  .section {
    margin-bottom: 36px;
    padding: 32px 6px;
  }
  .feature-grid, .service-list, .device-list, .faq-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }
  .card {
    padding: 18px 8px;
    min-width: 0;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

@media (max-width: 550px) {
  h1 { font-size: 1.05rem; }
  .section { padding: 22px 2px; }
  .hero { padding: 32px 0; }
  .card { padding: 10px 4px; }
  th, td { padding: 8px 8px; }
}

/* ANIMATIONS */
.cta-btn, .card, .feature-grid li, .device-list li, .mobile-menu, .testimonial-card, .cookie-consent-banner, .cookie-modal {
  transition: box-shadow 0.28s, background 0.22s, transform 0.20s, color 0.16s;
}

/* COOKIE CONSENT BANNER + MODAL */
.cookie-consent-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #fffbe7;
  color: #25536a;
  border-top: 2px solid #14825a;
  padding: 18px 14px 18px 14px;
  box-shadow: 0 -2px 32px 0 rgba(20,130,90,0.09);
  z-index: 9999;
  gap: 18px;
  font-size: 1rem;
}
.cookie-consent-banner p {
  margin: 0 12px 0 0;
  flex: 1 1 0%;
  color: #25536a;
}
.cookie-btn {
  margin: 0 5px 0 0;
  font-size: 1rem;
  padding: 0 20px;
  height: 40px;
  border-radius: 20px;
  box-shadow: 0 1px 6px 0 rgba(37,83,106,0.11);
}
.cookie-btn.reject {
  background: #fff;
  color: #14825a;
  border: 2px solid #14825a;
  transition: background 0.16s, color 0.15s, box-shadow 0.13s;
}
.cookie-btn.reject:hover {
  background: #25536a;
  color: #fff;
  border-color: #25536a;
}
.cookie-btn.settings {
  background: #faf8f7;
  color: #25536a;
  border: 1px solid #dde7e2;
  margin-left: 0;
}
.cookie-btn.settings:hover {
  background: #14825a;
  color: #fff;
  border-color: #14825a;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(37,83,106,0.42);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #25536a;
  border-radius: 24px;
  box-shadow: 0 8px 48px 0 rgba(37,83,106,0.16);
  max-width: 354px;
  width: 92vw;
  padding: 36px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.19rem;
  margin-bottom: 8px;
}
.cookie-modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: none;
  border: none;
  color: #14825a;
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: 7px;
  padding: 4px 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.cookie-category label {
  font-size: 1rem;
  color: #25536a;
  font-weight: 500;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #14825a;
  width: 19px;
  height: 19px;
}
.cookie-category.essential label {
  color: #14825a;
  font-weight: 700;
}
.cookie-category.essential input[type="checkbox"] {
  display: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* UTILITY CLASSES */
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.text-center { text-align: center; }

/* SCROLLBAR STYLING for friendliness */
body, .mobile-menu, .cookie-modal {
  scrollbar-color: #14825a #faf8f7;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 7px;
  background: #faf8f7;
}
::-webkit-scrollbar-thumb {
  background: #14825a;
  border-radius: 6px;
}

/* FOCUS STATES FOR ACCESSIBILITY */
a:focus, button:focus, input:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid #14825a;
  outline-offset: 2px;
}

/* HIDE mobile menu toggle on desktop */
.mobile-menu-toggle { display: none; }
.mobile-menu { display: none; }

/* CUSTOM CHECKMARKS for checkboxes? (for cookie modal) */
input[type='checkbox'] {
  border-radius: 7px;
  cursor: pointer;
}

/* END OF CSS */
