/* --- CSS RESET AND 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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F7F7FA;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #23253C;
  background: #F7F7FA;
  min-height: 100vh;
  line-height: 1.65;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #18B1B9;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #176f75;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #23253C;
  margin-bottom: 16px;
}
h1 { font-size: 2rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 1.5rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.2rem; line-height: 1.2; margin-bottom: 18px; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---- HEADER AND NAVIGATION ---- */
header {
  background: #23253C;
  color: #fff;
  box-shadow: 0 2px 8px rgba(35,37,60,0.06);
}
header .container {
  padding-top: 0;
  padding-bottom: 0;
}
.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 24px 0;
}
header img {
  height: 44px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 6px;
  position: relative;
  transition: color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #18B1B9;
}
.cta-button {
  background: #18B1B9;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 32px;
  box-shadow: 0 2px 8px rgba(24,177,185,0.13);
  cursor: pointer;
  outline: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  display: inline-block;
  margin-left: 12px;
}
.cta-button:hover, .cta-button:focus {
  background: #176f75;
  color: #fff;
  box-shadow: 0 4px 14px rgba(24,177,185,0.19);
}

/* ---- MOBILE NAVIGATION ---- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 20px;
  top: 22px;
  z-index: 2010;
  background: #18B1B9;
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(24,177,185,0.14);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #176f75;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #23253C;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.4,0,.2,1);
  z-index: 2500;
  padding: 32px 24px 0 24px;
  box-shadow: 0 4px 22px rgba(35,37,60,0.19);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 14px;
  cursor: pointer;
  z-index: 2600;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #18B1B9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid #343650;
  transition: color 0.17s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #18B1B9;
  background: rgba(24,177,185,0.10);
}

@media (max-width: 1024px) {
  nav {
    gap: 18px;
  }
  .content-wrapper { gap: 12px; }
}
@media (max-width: 850px) {
  .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  header nav {
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  header nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 540px) {
  .mobile-menu {
    padding-top: 24px;
  }
}

/* --- SECTIONS & LAYOUT --- */
section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(35,37,60,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 750px) {
  section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(35,37,60,0.072);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 22px rgba(35,37,60,0.14);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F7FA;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(35,37,60,0.07);
  margin-top: 22px;
  margin-bottom: 20px;
  color: #23253C;
  font-size: 1.03rem;
}
.testimonial-card p {
  margin-bottom: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-card span {
  margin-left: 16px;
  color: #18B1B9;
  font-size: 0.96rem;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -- Feature Grids -- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature-grid li {
  background: #FAFBFD;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(35,37,60,0.04);
  padding: 24px 20px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  transition: box-shadow 0.17s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 16px rgba(24,177,185,0.14);
}
.feature-grid img {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}
.feature-grid strong {
  font-size: 1.1rem;
  color: #23253C;
  margin-bottom: 2px;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.product-grid li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(35,37,60,0.07);
  padding: 22px 17px;
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 260px;
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  color: #23253C;
  transition: box-shadow 0.16s;
}
.product-grid li span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  margin-top: 6px;
  display: block;
  color: #5E607A;
}
.product-grid li:hover {
  box-shadow: 0 4px 16px rgba(24,177,185,0.10);
}

.benefit-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 22px;
}
.benefit-highlights li {
  background: #E7FAFB;
  border-radius: 22px;
  padding: 8px 18px;
  color: #18B1B9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  margin-bottom: 4px;
}

/* -- Misc & Editorial Cards -- */
.highlighted-release {
  background: #E7FAFB;
  border-left: 5px solid #18B1B9;
  border-radius: 10px;
  padding: 19px 18px;
  color: #23253C;
  margin-top: 20px;
  margin-bottom: 24px;
  font-size: 1.07rem;
}
.featured-article {
  background: #FAFBFD;
  border-radius: 10px;
  padding: 17px 16px;
  margin: 22px 0;
  box-shadow: 0 1px 6px rgba(24,177,185,0.08);
}
.categories-overview {
  margin-top: 16px;
  color: #23253C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  opacity: 0.83;
}

/* ---- TEXT & TYPOGRAPHY ---- */
p {
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #23253C;
  font-weight: 400;
}
.text-section {
  margin-bottom: 20px;
}
.text-section ul,
.text-section ol {
  margin-left: 18px;
  margin-bottom: 10px;
  color: #23253C;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
  padding-left: 0;
}
.text-section li strong {
  color: #18B1B9;
  font-weight: 700;
}
strong {
  color: #23253C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
address {
  font-style: normal;
  color: #23253C;
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.9;
}

/* ---- FOOTER ---- */
footer {
  background: #1a1c2b;
  color: #fff;
  width: 100%;
  margin-top: 42px;
  font-size: 1rem;
}
footer section {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 0;
  padding: 29px 0 8px 0;
}
footer .container {
  padding-left: 20px;
  padding-right: 20px;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #bfc1de;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #18B1B9;
}
footer .text-section {
  color: #bfc1de;
  line-height: 1.6;
  margin-top: 3px;
}
footer img {
  height: 36px;
  margin-right: 18px;
}
@media (max-width: 780px) {
  footer .content-wrapper { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ---- RESPONSIVE FLEX LAYOUTS ---- */
@media (max-width: 768px) {
  .content-grid, .feature-grid, .product-grid, .card-container, .benefit-highlights,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 10px; }
}


/* ---- ANIMATIONS & MICROINTERACTIONS ---- */
section, .card, .feature-grid li, .product-grid li, .highlighted-release, .testimonial-card {
  transition: box-shadow 0.17s, background 0.18s;
}
.cta-button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.2s;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #23253C;
  color: #fff;
  padding: 25px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: 0 -2px 18px rgba(35,37,60,0.14);
  font-size: 1.02rem;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.23s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-banner button {
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 24px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
  margin-left: 2px;
}
.cookie-banner .accept {
  background: #18B1B9;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #176f75;
}
.cookie-banner .reject {
  background: #fff;
  color: #23253C;
  border: 1px solid #a2a4b8;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ececf2;
}
.cookie-banner .settings {
  background: #FAFBFD;
  color: #18B1B9;
  border: 1px solid #d7eced;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #E7FAFB;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 19px 8px;
    font-size: 0.98rem;
  }
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 3100;
  background: rgba(35,37,60,0.77);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .modal-content {
  background: #fff;
  color: #23253C;
  min-width: 310px;
  max-width: 420px;
  padding: 34px 30px 28px 30px;
  border-radius: 16px;
  box-shadow: 0 14px 44px rgba(35,37,60,0.28);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #18B1B9;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cookie-modal .essential {
  font-weight: 700;
  color: #23253C;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 14px;
}
.cookie-modal button {
  border: none;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
}
.cookie-modal .accept {
  background: #18B1B9;
  color: #fff;
}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
  background: #176f75;
}
.cookie-modal .close {
  background: #fff;
  border: 1px solid #c8c9d0;
  color: #23253C;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #ececf2;
}
@media (max-width: 460px) {
  .cookie-modal .modal-content {
    min-width: unset;
    max-width: 96vw;
    padding: 19px 7px 13px 7px;
  }
}

/* ---- GENERAL SPACING & BUTTONS ---- */
button, input[type='button'], input[type='submit'] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
main a.cta-button {
  margin-top: 10px;
  margin-bottom: 10px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ---- FORM ELEMENTS ---- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: #fff;
  color: #23253C;
  border: 1px solid #cfd4e6;
  padding: 11px 13px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(35,37,60,0.025);
  outline: none;
  transition: border 0.18s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #18B1B9;
  box-shadow: 0 0 5px 1px #d0f2f4;
}

/* Typography scale for headings (mobile-first) */
@media (min-width: 650px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.25rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.34rem; }
}

/* --- SCROLLBARS -- professional and subtle --- */
::-webkit-scrollbar { width: 8px; background: #F7F7FA; }
::-webkit-scrollbar-thumb { background: #e7ecef; border-radius: 6px; }

/* --- MISC --- */
hr {
  border: none;
  border-top: 1px solid #e4e6ef;
  margin: 32px 0 20px 0;
}

/* --- ACCESSIBILITY & UTILITIES --- */
:focus { outline: 2px solid #18B1B9; outline-offset: 2px; }

@media (max-width: 650px) {
  .content-wrapper, .footer .content-wrapper, .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
