/*--------------------------------------
  CSS RESET & BASE STYLES
---------------------------------------*/
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;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #21242E;
  background: #F9FAFD;
  line-height: 1.65;
  min-height: 100vh;
}
img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #2C365E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E5C07B;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}
hr {
  border: 0;
  border-top: 1px solid #B7C6E6;
  margin: 32px 0;
}

/*--------------------------------------
  TYPOGRAPHY
---------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #2C365E;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
.subtitle {
  color: #445075;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
p {
  margin-bottom: 16px;
}
strong {
  color: #2C365E;
  font-weight: 700;
}

/*--------------------------------------
  LAYOUT & CONTAINERS
---------------------------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 22px 0 rgba(44,54,94,0.07);
}
@media (max-width: 992px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 15px 4px;
    margin-bottom: 24px;
    border-radius: 8px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 20px;
}

/*--------------------------------------
  NAVIGATION
---------------------------------------*/
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  background: #EAEFF7;
  color: #2C365E;
}
.header-container img {
  width: 145px;
  height: auto;
}
.btn-primary {
  background: #2C365E;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  border: none;
  padding: 11px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(44,54,94,0.06);
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.23s, color 0.18s, box-shadow 0.23s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #445075;
  color: #E5C07B !important;
  box-shadow: 0 4px 16px 0 rgba(44,54,94,0.12);
}
.btn-secondary {
  background: #B7C6E6;
  color: #2C365E !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.21s, color 0.18s;
  display: inline-block;
  box-shadow: 0 1px 8px 0 rgba(44,54,94,0.05);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #2C365E;
  color: #fff !important;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #2C365E;
  cursor: pointer;
  margin-left: 20px;
  transition: color 0.17s;
  z-index: 1101;
}
.mobile-menu-toggle:focus {
  color: #E5C07B;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #2C365E;
  color: #fff;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.5,0,0.2,1), opacity 0.3s;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 22px 0 4px 22px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:focus {
  color: #E5C07B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 28px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 9px 0;
  transition: color 0.18s;
}
.mobile-nav .btn-primary {
  background: #E5C07B;
  color: #2C365E !important;
  margin: 12px 0 0 0;
}
.mobile-nav .btn-primary:hover, .mobile-nav .btn-primary:focus {
  background: #fff;
  color: #2C365E !important;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 500px) {
  .header-container img {
    width: 110px;
  }
  .mobile-nav a {
    font-size: 1.03rem;
  }
}

/*--------------------------------------
  FEATURES, CARDS, GRIDS, FLEX LAYOUTS
---------------------------------------*/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 18px;
}
.feature-card {
  background: #F4F7FB;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(44,54,94,0.06);
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 320px;
  margin-bottom: 20px;
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.23s, transform 0.22s;
  position: relative;
}
.feature-card img {
  width: 38px; height: 38px;
  margin-bottom: -6px;
}
.feature-card .feature-price {
  display: inline-block;
  background: #2C365E;
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  padding: 5px 18px;
  font-size: 1.05rem;
  margin-top: 8px;
  margin-bottom: 5px;
}
.feature-card:hover, .feature-card:focus-within {
  box-shadow: 0 6px 30px 0 rgba(44,54,94,0.14);
  transform: translateY(-4px) scale(1.012);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(44,54,94,0.05);
  padding: 22px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
  transition: box-shadow 0.17s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 20px 0 rgba(44,54,94,0.10);
  transform: translateY(-3px) scale(1.008);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  background: none;
  border-radius: 10px;
  padding: 0 0 0 0;
  margin-bottom: 16px;
  color: #21242E;
  font-size: 1.08rem;
}
.usp-list {
  margin: 24px 0 8px 20px;
  padding-left: 0;
}
.usp-list li {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: #445075;
  list-style-type: disc;
  line-height: 1.55;
}

/*-------------------------------
  TESTIMONIALS (UNMISTAKABLE CARDS)
-------------------------------*/
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F4F7FB;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(44,54,94,0.08);
  min-width: 250px;
  max-width: 340px;
  margin-bottom: 20px;
  color: #21242E;
  font-size: 1.08rem;
  transition: box-shadow 0.21s, transform 0.21s;
}
.testimonial-card blockquote {
  color: #2C365E;
  font-style: italic;
  font-size: 1.15rem;
  padding-left: 0;
  margin-bottom: 4px;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #445075;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(44,54,94,0.13);
  transform: translateY(-3px) scale(1.01);
}

/*--------------------------------------
  FAQ STYLES
---------------------------------------*/
.faq-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.faq-item {
  background: #FBFDFF;
  border-radius: 12px;
  box-shadow: 0 1px 7px 0 rgba(44,54,94,0.05);
  padding: 16px 20px 14px 18px;
  flex: 1 1 290px;
  min-width: 260px;
  max-width: 400px;
  margin-bottom: 20px;
  font-size: 1.04rem;
}
.faq-item h3 {
  color: #2C365E;
  font-size: 1.16rem;
  margin-bottom: 7px;
}
.faq-item p {
  color: #445075;
  font-size: 1.01rem;
  margin-bottom: 0;
}

.offer-callout {
  background: #B7C6E6;
  color: #2C365E;
  border-radius: 8px;
  padding: 14px 20px;
  margin: 11px 0 3px 0;
  font-weight: 600;
  box-shadow: 0 0.5px 3px 0 rgba(44,54,94,0.06);
}

.compatibility-result, .timing-suggestions {
  background: #F2F6FC;
  border-radius: 8px;
  color: #2C365E;
  padding: 9px 14px;
  margin-top: 9px;
  margin-bottom: 5px;
  font-size: 1.01rem;
  font-style: italic;
}

/*--------------------------------------
  FOOTER
---------------------------------------*/
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 36px 0 24px 0;
  background: #2C365E;
  border-radius: 22px 22px 0 0;
  color: #fff;
}
.footer-left, .footer-center, .footer-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-left img {
  width: 54px; height: 54px;
  margin-bottom: 8px;
}
.footer-left p, .footer-center p, .footer-right p {
  color: #B7C6E6;
  font-size: 1.04rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #B7C6E6;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E5C07B;
}
.footer-right {
  align-items: flex-end;
  gap: 9px;
}
.social-links {
  display: flex;
  gap: 16px;
}
.social-links a img {
  width: 31px; height: 31px;
  filter: brightness(95%);
  opacity: 0.75;
  transition: filter 0.18s, opacity 0.21s;
}
.social-links a:hover img {
  filter: brightness(120%) drop-shadow(0 1px 4px #B7C6E6);
  opacity: 1;
}
.footer-copy {
  font-size: 0.97rem;
  color: #8FA0C6;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 16px;
    border-radius: 14px 14px 0 0;
    padding: 22px 0 12px 0;
  }
  .footer-right {
    align-items: flex-start;
  }
}

/*--------------------------------------
  COOKIE CONSENT BANNER & MODAL
---------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #2C365E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  box-shadow: 0 -2px 32px 0 rgba(44,54,94,0.13);
  z-index: 2600;
  font-size: 1rem;
  animation: cookieFadeIn 0.7s cubic-bezier(0.7,0.25,0.15,1);
}
.cookie-banner .cookie-msg {
  flex: 1;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  border-radius: 7px;
  border: none;
  padding: 8px 18px;
  cursor: pointer;
  margin-right: 2px;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .accept {
  background: #E5C07B;
  color: #2C365E;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #fff;
  color: #2C365E;
}
.cookie-banner .reject {
  background: #B7C6E6;
  color: #2C365E;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: #E5C07B;
  border: 1px solid #E5C07B;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #fff;
  color: #2C365E;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 9px 19px 13px;
    font-size: 0.97rem;
    gap: 12px;
  }
  .cookie-banner .cookie-actions {
    flex-wrap: wrap;
    gap: 8px 0px;
  }
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2700;
  background: rgba(44,54,94,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.active {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #2C365E;
  border-radius: 16px;
  padding: 38px 32px 28px 32px;
  min-width: 320px;
  max-width: 94vw;
  box-shadow: 0 8px 40px 0 rgba(44,54,94,0.24);
  z-index: 2710;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPopIn 0.36s cubic-bezier(0.8,0.1,0.3,1);
}
@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.32rem;
  color: #2C365E;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #F4F7FB;
  border-radius: 8px;
  padding: 13px 16px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-size: 1rem;
  color: #21242E;
}
.cookie-category .toggle {
  min-width: 44px;
}
/* Custom toggle switch */
.toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle {
  display: inline-block;
  width: 42px;
  height: 24px;
  position: relative;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #B7C6E6;
  border-radius: 24px;
  transition: background 0.16s;
}
.toggle input:checked + .toggle-slider {
  background: #2C365E;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 .5px 3px #B7C6E6;
  transition: transform 0.16s;
}
.toggle input:checked + .toggle-slider:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .accept {
  background: #E5C07B;
  color: #2C365E;
}
.cookie-modal .reject,
.cookie-modal .settings {
  background: #B7C6E6;
  color: #2C365E;
}
.cookie-modal .accept:hover,
.cookie-modal .accept:focus,
.cookie-modal .reject:hover,
.cookie-modal .reject:focus,
.cookie-modal .settings:hover,
.cookie-modal .settings:focus {
  background: #2C365E;
  color: #fff;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 18px;
  border: none;
  background: none;
  font-size: 1.6rem;
  color: #B7C6E6;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #2C365E;
}
@media (max-width: 420px) {
  .cookie-modal {
    min-width: unset;
    padding: 18px 7px 14px 10px;
    font-size: 0.99rem;
  }
}

/*--------------------------------------
  RESPONSIVE LAYOUTS
---------------------------------------*/
@media (max-width: 1140px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .features-grid, .testimonials-grid, .faq-section {
    flex-direction: column;
    gap: 18px;
  }
  .feature-card, .testimonial-card, .faq-item {
    max-width: unset;
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 650px) {
  .content-wrapper, .main-nav, .features-grid, .faq-section, .testimonials-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
  }
  .footer-container {
    padding: 11px 0 10px 0;
  }
}

/*--------------------------------------
  MISCELLANEOUS
---------------------------------------*/
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
}
::-webkit-input-placeholder { color: #8FA0C6; }
::-moz-placeholder { color: #8FA0C6; }
:-ms-input-placeholder { color: #8FA0C6; }
::placeholder { color: #8FA0C6; }

/* Scrollbar Styling */
body {
  scrollbar-color: #2C365E #EAEFF7;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 9px;
  background: #EAEFF7;
}
::-webkit-scrollbar-thumb {
  background: #B7C6E6;
  border-radius: 13px;
  border: 2.5px solid #EAEFF7;
}
::-webkit-scrollbar-thumb:hover {
  background: #2C365E;
}

/* Micro-interactions */
.btn-primary, .btn-secondary, .cookie-banner button, .cookie-modal button {
  transition: background 0.23s, color 0.17s, box-shadow 0.17s, transform 0.15s;
}
.btn-primary:active, .btn-secondary:active,
.cookie-banner button:active, .cookie-modal button:active {
  transform: scale(0.97);
}

/* Remove outlines on mouse-user, keep on keyboard */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #E5C07B;
  outline-offset: 2px;
}

/*--------------------------------------
  PRINT STYLES (just to look clean when printed)
---------------------------------------*/
@media print {
  * { color: #000 !important; background: #fff !important; box-shadow: none !important; }
  header, nav, .main-nav, .mobile-menu, .btn-primary, .btn-secondary, .cookie-banner, .cookie-modal-overlay, footer, .footer-container, .social-links { display: none !important; }
  main, .container, .section { padding: 0 !important; margin: 0 !important; }
}
