/* 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, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: none;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #193D6A;
  background: #FAFAFA;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #193D6A;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #47A6D8;
}
ul, ol {
  padding-left: 1.25rem;
  margin-bottom: 1em;
}
strong, b {
  font-weight: bold;
}

/* BRAND TYPEFACES */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #193D6A;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 18px; }
h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.125rem; margin-bottom: 10px; }

p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #1b3147;
}

section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(25,61,106,0.05);
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0; /* Inner elements handle spacing */
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.map {
  margin-top: 20px;
  padding: 16px 20px;
  background: #F2F4F7;
  border-radius: 10px;
  font-size: 1rem;
}

/* FLEX LAYOUTS & PATTERNS */
.feature-grid, .service-cards, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
  list-style: none;
}

@media (max-width: 900px) {
  .feature-grid, .service-cards, .step-list, .content-grid {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .feature-grid, .service-cards, .step-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(25,61,106,0.08);
  transition: box-shadow .18s cubic-bezier(.4,0,.2,1);
  padding: 24px;
  min-width: 220px;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(25,61,106,0.13);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fafbfc;
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: 0 1px 5px rgba(25,61,106,0.04);
  margin-bottom: 20px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 24px;
  background: #F2F4F7;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(25,61,106,0.06);
  min-width: 270px;
  max-width: 370px;
  margin-bottom: 20px;
  color: #152746;
  font-size: 1.08rem;
  transition: box-shadow 0.2s;
}
.testimonial-card p { color: #193D6A; font-weight: 500; }
.testimonial-card strong { color: #193D6A; font-size: 0.98rem; font-weight: 700; }
.testimonial-card:hover { box-shadow: 0 6px 18px rgba(25,61,106,0.10); }

/* HERO */
.hero {
  background: #fafbfc;
  border-radius: 0;
  margin-bottom: 0;
  padding: 64px 0 48px 0;
}
.hero h1 {
  font-size: 2.6rem;
  color: #193D6A;
  margin-bottom: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero p {
  max-width: 550px;
  color: #31425A;
  font-size: 1.13rem;
  margin-bottom: 28px;
}
.hero .primary-cta {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hero {
    padding: 32px 0 32px 0;
  }
  .hero h1 { font-size: 2rem; }
}

/* NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #f2f3f4;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}
header img {
  height: 38px;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #193D6A;
  position: relative;
  padding: 5px 3px;
  border-radius: 3px;
  transition: color 0.15s, background 0.15s;
}
nav a:hover, nav a:focus {
  color: #47A6D8;
  background: #f0f4f7;
}
.primary-cta {
  background: #193D6A;
  color: #fff;
  padding: 10px 28px;
  border-radius: 22px;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(25,61,106,0.09);
  transition: background 0.2s, color 0.2s, box-shadow 0.19s;
  border: 1.5px solid #193D6A;
  cursor: pointer;
  margin-left: 10px;
}
.primary-cta:hover, .primary-cta:focus {
  background: #47A6D8;
  color: #193D6A;
  border-color: #47A6D8;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #193D6A;
  color: #fff;
  font-size: 2rem;
  border: none;
  padding: 5px 15px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 16px;
  z-index: 1012;
  transition: background 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #47A6D8;
  color: #fff;
}
@media (max-width: 990px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(25,61,106,0.90);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.57,.2,.29,.96);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #193D6A;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  margin: 28px 20px 12px 14px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 2012;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .17s;
}
.mobile-menu-close:hover {
  background: #F2F4F7;
  color: #47A6D8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 22px 0 0 32px;
}
.mobile-nav a {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  background: none;
  padding: 10px 0;
  border-radius: 4px;
  transition: background 0.1s, color 0.1s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #47A6D8;
  color: #193D6A;
  padding-left: 11px;
}
.mobile-nav .primary-cta {
  background: #FFE98A;
  color: #193D6A;
  border: none;
  margin-left: 0;
  font-size: 1.15rem;
  padding: 10px 24px;
}
.mobile-nav .primary-cta:hover {
  background: #faf4d1;
  color: #193D6A;
}

/* MAIN SECTIONS */
.features, .feature-list {
  margin-bottom: 30px;
}
.feature {
  flex: 1 1 210px;
  min-width: 180px;
  background: #F7F9FC;
  border-radius: 12px;
  padding: 26px 20px；
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 1.5px 7px rgba(25,61,106,0.08);
  transition: box-shadow .16s;
  margin-bottom: 20px;
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.feature:hover {
  box-shadow: 0 6px 16px rgba(25, 61, 106, 0.12);
  background: #f3f8fd;
}

.service-cards .service-card {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(25,61,106, 0.08);
  padding: 30px 18px 26px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-width: 240px;
  max-width: 340px;
  transition: box-shadow 0.16s, background 0.16s;
}
.service-card h3 {
  color: #193D6A;
  font-size: 1.24rem;
}
.service-card:hover {
  box-shadow: 0 6px 20px rgba(25,61,106,0.14);
  background: #F6FBFF;
}

.compare-plans-table {
  overflow-x: auto;
  margin-top: 24px;
  margin-bottom: 18px;
}
.compare-plans-table table {
  width: 100%;
  min-width: 480px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1.5px 8px rgba(25,61,106,0.11);
}
.compare-plans-table th,
.compare-plans-table td {
  padding: 14px 10px;
  text-align: left;
  font-size: 1rem;
}
.compare-plans-table th {
  background: #193D6A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}
.compare-plans-table tr:nth-child(even) td {
  background: #FAFAFA;
}
.compare-plans-table tr td:first-child {
  font-weight: 600;
  color: #193D6A;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* FAQ */
.faq-section, .faq-preview, .accordion-faq {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 7px rgba(25,61,106,0.06);
  margin-bottom: 60px;
  padding: 40px 24px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.faq-item {
  padding: 22px 20px;
  background: #F7F9FC;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(25,61,106,0.05);
  margin-bottom: 20px;
}
.faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: #193D6A;
}
.faq-item p {
  font-size: 1rem;
  color: #1B3147;
}
.accordion-faq {
  margin-top: 32px;
  background: #F2F4F7;
  border-radius: 10px;
}

.faq-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.faq-highlights li {
  padding: 13px 10px;
  background: #F7F9FC;
  border-radius: 7px;
  font-size: 1rem;
}

/* CTA Section */
.cta {
  background: #FFE98A;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(25,61,106,0.05);
  text-align: center;
}
.cta h2 {
  color: #193D6A;
  font-size: 2.1rem;
  margin-bottom: 12px;
}
.cta p {
  color: #31425A;
  font-size: 1.12rem;
  margin-bottom: 25px;
}
.cta .primary-cta {
  margin-top: 10px;
  font-size: 1.09rem;
}

/* PURCHASE PAGE steps */
.purchase .plan-selector, .purchase .summary-and-payment {
  background: #F7F9FC;
  border-radius: 11px;
  margin: 26px 0 0 0;
  padding: 20px 18px;
}
.purchase .plan-selector h2 {
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.purchase .plan-selector ul,
.purchase .summary-and-payment ul {
  margin-top: 12px;
  margin-bottom: 0;
  gap: 8px;
}

/* LEGAL PAGES */
.legal h1 {
  font-size: 1.95rem;
  margin-bottom: 18px;
}
.legal .text-section {
  font-size: 1rem;
}

/* SUPPORT/CONTACT */
.support-channels {
  margin-top: 14px;
  list-style: disc inside;
}
.support-channels li {
  margin-bottom: 7px;
  font-size: 1rem;
}

/* FOOTER */
footer {
  background: #F2F4F7;
  margin-top: 60px;
  padding: 40px 0 0 0;
  border-top: 1.5px solid #e7eaf2;
}
footer .container {
  flex-direction: column;
  gap: 32px;
  align-items: center;
  padding: 0 18px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #225086;
  font-size: 1rem;
  transition: color .14s;
}
footer nav a:hover {
  color: #47A6D8;
}
.footer-contact {
  color: #31425A;
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}
.footer-contact a {
  color: #225086;
  text-decoration: underline;
  font-weight: 400;
}
.footer-contact a:hover {
  color: #47A6D8;
}

/* BUTTONS & INTERACTIONS */
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  background: #47A6D8;
  color: #fff;
  border-radius: 21px;
  padding: 10px 26px;
  font-size: 1rem;
  box-shadow: 0 1px 6px rgba(25,61,106,0.09);
  transition: background 0.18s, color 0.18s, transform 0.12s;
  display: inline-block;
  margin-right: 8px;
}
button:hover, .button:hover {
  background: #193D6A;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}

.secondary-btn {
  background: #fff;
  color: #193D6A;
  border: 1.5px solid #193D6A;
  font-weight: 500;
}
.secondary-btn:hover {
  background: #f7f9fc;
  color: #47A6D8;
  border-color: #47A6D8;
}

/* TABLES */
table { border-collapse: separate; border-spacing: 0; width: 100%; }
th, td { padding: 14px 10px; }
th { background: #193D6A; color: #fff; font-family: 'Montserrat', Arial, sans-serif; text-align: left; }
td { background: #fff; color: #193D6A; }

/* RESPONSIVE */
@media (max-width: 700px) {
  section, .section { padding: 26px 7px; margin-bottom: 36px; }
  .container { padding: 0 6px; }
  .content-wrapper { gap: 20px; }
  .feature-grid, .service-cards, .step-list, .content-grid { gap: 12px; }
  .card, .feature, .service-card, .testimonial-card { padding: 15px; }
  .hero h1 { font-size: 1.39rem; }
  .faq-section, .faq-preview { padding: 24px 5px; }
  .cta h2 { font-size: 1.35rem; }
  .compare-plans-table th, .compare-plans-table td { font-size: 0.96rem; }
}

/* GAPS AND MARGINS: ENFORCE MIN 20px between cards/sections */
.feature, .service-card, .card, .testimonial-card, .faq-item, .feature-item {
  margin-bottom: 20px;
}
section + section { margin-top: 16px; }

/* UTILITY CLASSES */
.gap-16 { gap: 16px !important; }
.gap-20 { gap: 20px !important; }
.mt-16 { margin-top: 16px !important; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #fff;
  border-top: 2.5px solid #47A6D8;
  box-shadow: 0 -5px 28px -10px rgba(25, 61, 106, 0.03);
  width: 100vw;
  padding: 22px 16px 20px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  color: #193D6A;
  animation: slideUpBanner .6s cubic-bezier(.39, 0, .17, 1);
}
@keyframes slideUpBanner {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  background: #47A6D8;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-weight: 700;
  margin-right: 11px;
  cursor: pointer;
  transition: background .18s, color .13s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-banner .cookie-btn:hover { background: #193D6A; color: #fff; }
.cookie-banner .cookie-btn.secondary {
  background: #fff; color: #193D6A;
  border: 1.5px solid #193D6A;
}
.cookie-banner .cookie-btn.secondary:hover {
  background: #F2F4F7; color: #47A6D8; border-color: #47A6D8; }

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(25,61,106,0.75);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModal .4s;
}
@keyframes fadeModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 34px 28px 26px 28px;
  border-radius: 13px;
  box-shadow: 0 8px 50px rgba(25,61,106,0.12);
  max-width: 390px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: popIn .35s cubic-bezier(.67,.02,.43,1.1);
}
@keyframes popIn {
  from { transform: scale(0.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.23rem;
  color: #193D6A;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #47A6D8;
}
.cookie-category label {
  font-size: 1rem;
  color: #193D6A;
}
.cookie-category .essential {
  font-weight: 700;
  color: #225086;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 13px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: #193D6A;
  cursor: pointer;
}
.cookie-modal-close:hover { color: #47A6D8; }

/* ANIMATIONS */
.primary-cta,
button, .button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.13s, box-shadow 0.13s, transform 0.13s;
}
.card, .service-card, .feature, .feature-item, .faq-item, .testimonial-card {
  transition: box-shadow 0.14s, transform 0.14s;
}
.card:hover, .service-card:hover, .feature:hover {
  transform: translateY(-4px) scale(1.012);
}

/* TYPOGRAPHY SCALE */
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.05rem; }
  .cta h2 { font-size: 1.13rem; }
}

/* MISC & ACCESSIBILITY */
:focus {
  outline: 2px solid #47A6D8;
  outline-offset: 2px;
}

/* Hide default number styling on mobile for better look */
input[type="number"] {
  appearance: textfield;
}
::-webkit-input-placeholder { color: #98acba; }
::-moz-placeholder { color: #98acba; }
:-ms-input-placeholder { color: #98acba; }
::placeholder { color: #98acba; }

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

/* TABLE (plan compare) responsive */
@media (max-width: 600px) {
  .compare-plans-table table, .compare-plans-table thead, .compare-plans-table tbody, .compare-plans-table th, .compare-plans-table td, .compare-plans-table tr {
    display: block;
    width: 100%;
  }
  .compare-plans-table th {
    border-radius: 0 !important;
  }
  .compare-plans-table tr {
    margin-bottom: 16px;
  }
}

/* ACCESSIBILITY FOR CONTRAST */
.testimonials, .testimonial-card, .faq-item, .cta, .feature-item {
  color: #193D6A;
}

/* MAKE SURE NO OVERLAP, NO ABSOLUTE POS except certain icons/modals*/

/* ========= END ========= */