/* =============================================
   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,
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 {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #f6f8fa;
  color: #184173;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button, .button {
  cursor: pointer;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  outline: none;
  background: none;
}

/* =============================================
   BRAND VARIABLES
============================================= */
:root {
  --color-primary: #184173;
  --color-primary-dark: #112c4d;
  --color-secondary: #D2ECFA;
  --color-accent: #FFBA43;
  --color-bg: #f6f8fa;
  --color-card-bg: #ffffff;
  --color-gray: #e4e8ee;
  --color-dark-gray: #5a6980;
  --color-light-gray: #F3F6F9;
  --color-input-border: #c9d3df;
  --color-danger: #CE3333;
  --focus-ring: 0 0 0 3px var(--color-secondary);
}

/* =============================================
   BASE LAYOUT/STRUCTURE
============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (min-width: 992px) {
  .content-wrapper {
    gap: 32px;
  }
  .section {
    padding-left: 0;
    padding-right: 0;
  }
}

/* =============================================
   TYPOGRAPHY: PROFESSIONAL BUSINESS FONTS
============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; margin-bottom: 16px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.12rem; margin-bottom: 8px; font-weight: 600; }
p {
  font-size: 1.08rem;
  color: var(--color-dark-gray);
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
}
blockquote {
  font-style: italic;
  color: var(--color-primary-dark);
  margin: 0 0 8px 0;
  font-size: 1.02rem;
}
cite {
  font-size: 0.96rem;
  color: var(--color-primary);
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-weight: 500;
}
.text-section > h3 {
  margin-top: 24px;
}
.text-section ul,
ul.usp-list,
ul {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 24px;
  list-style-type: disc;
}
ul.usp-list li, .text-section ul li {
  margin-bottom: 8px;
  color: var(--color-primary-dark);
  font-size: 1rem;
}

/* Typography scale for elements */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.1rem; }
}

/* =============================================
   HEADER & NAVIGATION
============================================= */
header {
  width: 100%;
  background: var(--color-card-bg);
  box-shadow: 0 2px 8px 0 rgba(24,65,115,0.04);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  min-height: 68px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  margin-left: 34px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary-dark);
  font-size: 1rem;
  letter-spacing: .01em;
  padding: 8px 0;
  transition: color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
}
.button.primary {
  background: var(--color-primary);
  color: #fff;
  border-radius: 24px;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  box-shadow: 0 2px 8px 0 rgba(24,65,115,0.07);
  margin-left: 32px;
  transition: background 0.15s, box-shadow 0.15s, transform 0.10s;
  border: none;
  outline: none;
}
.button.primary:hover, .button.primary:focus {
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 5px 16px 0 rgba(24,65,115,0.13);
  transform: translateY(-1px) scale(1.025);
}
.button.secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 24px;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: background 0.15s;
  border: none;
  outline: none;
}
.button.secondary:focus, .button.secondary:hover {
  background: #B8E3F5;
  color: var(--color-primary-dark);
}
.button.accent {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 24px;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
  transition: background 0.18s, color 0.18s;
}
.button.accent:hover, .button.accent:focus {
  background: #f6c76a;
  color: var(--color-primary-dark);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  border-radius: 6px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  border: none;
  position: relative;
  z-index: 1051;
  margin-left: 12px;
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-primary-dark);
  box-shadow: 0 2px 8px var(--color-primary-dark);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--color-card-bg);
  box-shadow: 0 2px 32px 0 rgba(24,65,115,0.25);
  width: 100vw;
  height: 100vh;
  padding: 32px 26px 32px 24px;
  z-index: 2000;
  transform: translateX(-102vw);
  transition: transform 0.35s cubic-bezier(0.39,0.58,0.57,1);
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-right: -8px;
  margin-bottom: 14px;
  border: none;
  transition: color 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}
.mobile-nav a {
  font-size: 1.23rem;
  color: var(--color-primary-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-gray);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.03em;
  transition: color 0.19s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-accent);
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =============================================
   HERO / MAIN CTA
============================================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section.hero, .hero {
  background: var(--color-secondary);
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(24,65,115,0.12);
}

/* =============================================
   FLEX PATTERNS - CARDS, GRIDS, ETC.
============================================= */
.card-container, .feature-grid, .facts-grid, .pricing-table, .testimonial-grid, .workflow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  align-items: stretch;
}
.card, .pricing-plan, .testimonial-card, .feature-item {
  margin-bottom: 20px;
  background: var(--color-card-bg);
  position: relative;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(24,65,115,0.07);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 250px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover,
.pricing-plan:hover,
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(24,65,115,0.17);
  transform: translateY(-4px) scale(1.016);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 20px 18px 20px;
  background: #f9fbfc;
  border-left: 5px solid var(--color-accent);
  box-shadow: 0 2px 8px 0 rgba(24,65,115,0.11);
  color: #253753;
  max-width: 390px;
  min-width: 230px;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  margin: 0 0 2px 0;
  color: var(--color-primary-dark);
  font-size: 1.07rem;
}
.testimonial-card div {
  color: #F9A825;
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 0;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.workflow-steps > div {
  flex: 1 1 260px;
}
.facts-grid > div {
  background: var(--color-secondary);
  border-radius: 10px;
  padding: 24px 18px;
  text-align: center;
  flex: 1 1 128px;
  box-shadow: 0 1px 6px 0 rgba(24,65,115,0.07);
  margin-bottom: 16px;
  font-size: 1.17rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary-dark);
}

.pricing-table {
  gap: 28px;
  justify-content: flex-start;
}
.pricing-plan {
  border: 1.5px solid var(--color-secondary);
  align-items: flex-start;
  min-width: 255px;
  flex: 1 1 275px;
  background: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.pricing-plan h3 {
  color: var(--color-primary);
  font-size: 1.18rem;
  margin-bottom: 12px;
}
.pricing-plan p strong {
  color: var(--color-accent);
  font-size: 1.36rem;
  font-weight: 700;
}
.pricing-plan ul {
  margin: 14px 0 0 24px;
  color: var(--color-dark-gray);
  font-size: 1rem;
}
.pricing-plan ul li {
  margin-bottom: 9px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
.faq-list > div {
  background: var(--color-light-gray);
  padding: 20px 22px;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(24,65,115,0.04);
}
.faq-list h3 {
  margin-top: 0;
  margin-bottom: 5px;
}

/* Benefit tiles */
.benefit-tiles ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 20px 0 8px 0;
  padding-left: 0;
  justify-content: flex-start;
}
.benefit-tiles li {
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 10px 22px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  box-shadow: 0 1px 4px 0 rgba(24,65,115,0.08);
}

/* USP Summary / Highlights */
.usp-summary, .usp-list {
  margin: 16px 0;
}
.features-per-plan ul {
  margin-left: 24px;
  margin-top: 13px;
  font-size: 1rem;
}

.growth-stats {
  margin-top: 20px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--color-primary);
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: var(--color-primary);
  color: #fff;
}
.footer-area {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 20px;
}
.footer-menu {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 16px;
}
.footer-menu a {
  color: #e2eaf3;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-menu a:focus, .footer-menu a:hover {
  color: var(--color-accent);
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-contact {
  font-size: 1rem;
  color: #E3EAF2;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 18px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8fc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: background 0.15s;
}
.footer-social img {
  width: 25px;
  height: 25px;
  display: block;
}
.footer-social a:focus, .footer-social a:hover {
  background: var(--color-accent);
}

/* Footer responsiveness */
@media (min-width: 800px) {
  .footer-area {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
}

/* =============================================
   Cookie Consent Banner & Modal
============================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 -2px 16px 0 rgba(24,65,115,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  z-index: 3000;
  transition: transform 0.42s cubic-bezier(.59,.04,.68,.99);
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner .cookie-text {
  flex: 1 1 350px;
  color: var(--color-primary-dark);
  font-size: 1.05rem;
  margin-right: 24px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner .button, .cookie-banner button {
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  outline: none;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
}
.cookie-banner .button.accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .button.accept:hover, .cookie-banner .button.accept:focus {
  background: var(--color-primary-dark);
  color: #fff;
}
.cookie-banner .button.reject {
  background: #f8f9fa;
  color: var(--color-primary-dark);
  border: 1.5px solid var(--color-primary);
}
.cookie-banner .button.reject:hover, .cookie-banner .button.reject:focus {
  background: #e8eaf0;
  color: var(--color-primary-dark);
}
.cookie-banner .button.settings {
  background: var(--color-secondary);
  color: var(--color-primary-dark);
  border: 1.2px solid var(--color-secondary);
}
.cookie-banner .button.settings:hover, .cookie-banner .button.settings:focus {
  background: #B8E3F5;
  color: var(--color-primary-dark);
}
@media(max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px 10px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
  }
  .cookie-banner .cookie-buttons {
    justify-content: flex-start;
  }
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24,65,115,0.25);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.36s cubic-bezier(.59,.04,.68,.99);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 36px 0 rgba(24,65,115,0.18);
  max-width: 400px;
  width: 92vw;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp 0.36s cubic-bezier(0.4,0.12,0,0.8);
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 2rem;
  color: var(--color-primary);
  background: transparent;
  border: none;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-gray);
  font-size: 1.02rem;
  color: var(--color-primary-dark);
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  background: var(--color-gray);
  border-radius: 12px;
  position: relative;
  transition: background 0.18s;
  display: inline-block;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2.5px; top: 2.5px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px 0 rgba(24,65,115,0.12);
  transition: transform 0.17s;
}
.cookie-toggle input:checked + .slider {
  transform: translateX(18px);
  background: var(--color-accent);
}
.dialog-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}
.dialog-actions .button { min-width: 70px; }

/* =============================================
   UTILITY & RESPONSIVE CLASSES
============================================= */
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-center { align-items: center; justify-content: center; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mb-20 { margin-bottom: 20px; }
.pb-20 { padding-bottom: 20px; }

/* =============================================
   RESPONSIVE ADJUSTMENTS / MOBILE-FIRST
============================================= */
@media (max-width: 1024px) {
  .feature-grid, .card-container, .facts-grid, .testimonial-grid, .pricing-table, .workflow-steps {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-area {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    padding: 14px 12px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding: 0 9px;
  }
  header .container {
    padding: 14px 9px;
  }
  .section, section {
    padding: 32px 7px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .benefit-tiles ul { gap: 10px; }
  .pricing-table { gap: 15px; }
  .faq-list > div { padding: 15px 8px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.2rem; }
  .card, .testimonial-card, .facts-grid > div, .pricing-plan {
    padding: 15px 8px;
    border-radius: 10px;
  }
}

/* =============================================
   ADDITIONAL MICROINTERACTIONS & EFFECTS
============================================= */
.button, button, .footer-social a, .card, .testimonial-card {
  transition: box-shadow 0.16s, background 0.2s, color 0.18s, transform 0.13s;
}
a.button:focus, button:focus, input:focus, textarea:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}
.card:hover, .testimonial-card:hover, .pricing-plan:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 7px 25px 0 rgba(24,65,115,0.16);
}

::-webkit-scrollbar {
  width: 10px;
  background: var(--color-bg);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 8px;
}

/* =============================================
   HIGH CONTRAST FOR TESTIMONIALS
============================================= */
.testimonial-card {
  background: #f9fbfc;
  color: #253753;
  border-left: 5px solid var(--color-accent);
}
.testimonial-card cite {
  color: var(--color-primary);
}
.testimonial-card blockquote {
  color: var(--color-primary-dark);
  background: none;
}
.testimonial-card div {
  color: #FFBA43;
}

/* =============================================
   OVERRIDES & ACCESSIBILITY
============================================= */
[tabindex]:focus { outline: none !important; }
.button:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  box-shadow: 0 0 0 3px var(--color-accent) !important;
}

/* ======= Animations =========*/
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   END OF FILE
============================================= */
