/* CSS 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, menu, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #182336;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: #fff;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #182336;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #42B3A9;
  outline: none;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: bold;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #181818;
  font-weight: 700;
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.subheadline {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
}
p {
  margin-bottom: 16px;
}

/* CONTAINER AND SECTIONS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
}

/* FLEX LAYOUTS (NO GRID/COLUMNS, FLEX ONLY) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.features-grid > div {
  flex: 1 1 calc(200px);
  min-width: 240px;
  background: #f7f7f7;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(24,35,54,0.05);
  padding: 28px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: box-shadow 0.22s, background 0.22s;
  position: relative;
  margin-bottom: 20px;
}
.features-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(24,35,54,0.10);
  background: #f0ede6;
}
.features-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.features-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.features-grid .price {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #182336;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 10px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 28px 22px 28px;
  background: #fafafa;
  border: 1.5px solid #e0e0e0;
  border-radius: 22px;
  box-shadow: 0 2px 18px 0 rgba(24,35,54,0.07);
  min-width: 250px;
  max-width: 390px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s;
}
.testimonial-card p {
  color: #181818;
  font-size: 1.08rem;
  margin-bottom: 4px;
  font-style: italic;
}
.testimonial-card strong {
  color: #182336;
  font-weight: 700;
  font-size: 1rem;
}

.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.pricing-table > div {
  background: #f5f5f5;
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: 0 3px 18px 0 rgba(24,35,54,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 230px;
  min-width: 220px;
  margin-bottom: 20px;
  border: 1.5px solid #ececec;
  align-items: flex-start;
  transition: box-shadow 0.20s, background 0.20s;
}
.pricing-table > div:hover {
  box-shadow: 0 8px 40px 0 rgba(19,27,39,0.10);
  background: #f0ede6;
}
.pricing-table strong {
  margin-top: 10px;
  font-size: 1.08rem;
  font-weight: bold;
  color: #182336;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #182336;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 32px;
  padding: 12px 32px;
  border: none;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(24,35,54,0.04);
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  min-width: 150px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #42B3A9;
  color: #182336;
  box-shadow: 0 6px 18px 0 rgba(36,179,169,0.10);
  transform: translateY(-1.5px) scale(1.025);
}

/* LINKS (for footer and nav) */
.footer-nav a {
  color: #222;
  font-size: 0.98rem;
  margin: 0 3px;
  opacity: 0.78;
  letter-spacing: 0.01em;
}
.footer-nav a:hover { color: #42B3A9; opacity: 1; }
.footer-info {
  margin-top: 10px;
  font-size: 0.96rem;
  color: #4a4a4a;
  opacity: 0.80;
}
.footer-info a {
  color: #182336;
  text-decoration: underline dotted;
  font-weight: 600;
}
.footer-info a:hover { color: #42B3A9; }

footer {
  background: #f0ede6;
  padding: 34px 0 22px 0;
  text-align: center;
  border-top: 1.5px solid #e4e4e4;
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  border-bottom: 1.5px solid #ececec;
  padding: 0 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 18px 14px 18px;
  gap: 24px;
}
.main-nav > a img{
  height: 36px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav li {
  display: flex;
}
.main-nav ul a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #181818;
  padding: 6px 8px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.main-nav ul a:hover,
.main-nav ul a:focus {
  background: #182336;
  color: #fff;
}
.main-nav .btn-primary {
  margin-left: 14px;
  min-width: 148px;
  font-size: 1.02rem;
}

/* BURGER MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #182336;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  z-index: 300;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-toggle:focus {
  background: #f0ede6;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(24,35,54,0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
  z-index: 4000;
  width: 100vw;
  height: 100vh;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin: 28px 28px 0 0;
  cursor: pointer;
  align-self: flex-end;
  border-radius: 10px;
  padding: 4px 10px;
  transition: background 0.15s;
}
.mobile-menu-close:hover {
  background: rgba(240,237,230,0.15);
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 22px;
  gap: 0;
}
.mobile-nav a {
  width: 100%;
  padding: 18px 36px;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #42b3a9;
  color: #182336;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #181818;
  color: #fff;
  padding: 24px 16px 22px 16px;
  box-shadow: 0 -2px 24px 0 rgba(24,35,54,0.11);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-size: 1rem;
  transition: transform 0.23s cubic-bezier(.77,0,.18,1), opacity 0.23s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #f5f5f5;
  max-width: 540px;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 22px;
  margin: 0 2px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(24,35,54,0.05);
  transition: background 0.15s, color 0.15s, transform 0.10s;
}
.cookie-banner .btn-accept {
  background: #42B3A9;
  color: #182336;
}
.cookie-banner .btn-accept:hover { background: #fff; color: #42B3A9; }
.cookie-banner .btn-reject {
  background: #282828;
  color: #fff;
}
.cookie-banner .btn-reject:hover { background: #fff; color: #182336; }
.cookie-banner .btn-settings {
  background: #f0ede6;
  color: #182336;
}
.cookie-banner .btn-settings:hover { background: #42B3A9; color: #fff; }

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,35,54,0.75);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-backdrop.closed {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal {
  background: #fff;
  color: #182336;
  border-radius: 24px;
  box-shadow: 0 12px 40px 0 rgba(24,35,54,0.14);
  padding: 38px 32px 30px 32px;
  max-width: 430px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: fade-in-up 0.3s;
}
@keyframes fade-in-up {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #182336;
  font-size: 1.4rem;
  padding: 5px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.11s;
}
.cookie-modal .cookie-modal-close:hover {
  background: #42B3A9;
  color: #fff;
}
.cookie-modal h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.38rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 6px 0;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 600;
  color: #182336;
}
.cookie-category .toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}
.cookie-category .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 16px;
  background: #e0e0e0;
  transition: background 0.17s;
}
.cookie-category .toggle-switch input:checked + .slider {
  background: #42b3a9;
}
.cookie-category .slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px; bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.17s;
  box-shadow: 0 1px 4px 0 rgba(24,35,54,0.09);
}
.cookie-category .toggle-switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* LAYOUT HELPERS for CARDS, FLEX, ALIGNMENT */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #faf8f8;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(24,35,54,0.04);
  margin-bottom: 20px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}
.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;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LISTS */
ul {
  margin-bottom: 14px;
  padding-left: 0;
}
ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
  font-size: 1.01rem;
}
ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 5px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #182336;
  opacity: 0.19;
}
.text-section ul li:before {
  background: #42B3A9;
  opacity: 0.8;
}

/* FORMS (not required based on current HTML, but general style if any) */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 7px;
  border: 1.2px solid #dadada;
  color: #182336;
  margin-bottom: 14px;
  width: 100%;
  background: #fafafa;
  transition: border 0.16s, box-shadow 0.13s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #42b3a9;
  box-shadow: 0 1px 5px 0 rgba(66,179,169,0.12);
}

/* MISC */
::-webkit-input-placeholder { color: #ababab; }
::-moz-placeholder { color: #ababab; }
:-ms-input-placeholder { color: #ababab; }
::placeholder { color: #ababab; }

hr {
  border: none;
  border-bottom: 1.5px solid #eee;
  margin: 38px 0 26px 0;
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
  .main-nav {
    max-width: 99vw;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .features-grid > div,
  .pricing-table > div,
  .testimonial-card {
    min-width: 55vw;
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.27rem; }
  .main-nav ul {
    display: none;
  }
  .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .container {
    padding: 0 4vw;
  }
  .features-grid,
  .pricing-table,
  .testimonials-grid,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 99vw;
    min-width: 0;
    padding: 16px 10px;
  }
  footer {
    padding: 22px 0 16px 0;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.27rem; }
  .section, section {
    padding: 30px 5px;
    margin-bottom: 38px;
  }
  .features-grid > div,
  .pricing-table > div {
    padding: 18px 8px;
    min-width: 0;
    width: 95vw;
    max-width: 100vw;
  }
  .testimonial-card {
    padding: 13px 7px;
  }
  .cookie-modal {
    padding: 18px 7px 14px 7px;
  }
}

/* SCROLLBAR (modern look, only works for WebKit-based browsers) */
body::-webkit-scrollbar { width: 9px; background: #f5f5f5; }
body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 7px; }

/* Animations & micro-interactions */
.btn-primary, .cookie-banner button, .main-nav ul a, .mobile-nav a {
  transition: background 0.2s, color 0.2s, box-shadow 0.13s, transform 0.11s;
}
.features-grid > div, .pricing-table > div {
  transition: box-shadow 0.22s, background 0.22s, transform 0.11s;
}
.features-grid > div:hover, .pricing-table > div:hover {
  transform: translateY(-2px) scale(1.020);
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px 0 rgba(24,35,54,0.17);
}

/* Focus states for accessibility */
.btn-primary:focus,
.mobile-menu-toggle:focus,
.mobile-menu-close:focus,
.cookie-banner button:focus,
.main-nav ul a:focus,
.mobile-nav a:focus {
  outline: 2px solid #42B3A9;
  outline-offset: 2px;
}

/* Hide elements for accessibility */
[hidden] { display: none !important; }

/* Monochrome Sophisticated Adjustments */
.section, section {
  background: #fff;
  color: #181818;
  border-radius: 22px;
  box-shadow: 0 3px 16px 0 rgba(24,35,54,0.03);
}
@media (max-width: 768px) {
  .section, section {
    border-radius: 12px;
    box-shadow: 0 2px 12px 0 rgba(24,35,54,0.08);
  }
}
