/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
}
body {
  background: #F7F7F5;
  color: #222338;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #222338;
  text-decoration: none;
  transition: color .18s cubic-bezier(.4,0,.2,1);
}
a:focus,
a:hover {
  color: #51A2D9;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1.1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 600;
  line-height: 1.2;
  color: #222338;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 32px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 18px;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: #222338;
}
.container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto 28px auto;
  align-items: flex-start;
}
.cta-center {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.features-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid > div,
.content-grid > div {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 14px 0 rgba(34,35,56,0.06);
  padding: 32px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow .18s cubic-bezier(.4,0,.2,1), transform .18s cubic-bezier(.4,0,.2,1);
}
.features-grid > div:hover,
.content-grid > div:hover {
  box-shadow: 0 6px 36px 0 rgba(34,35,56,0.18);
  transform: translateY(-4px);
}
.features-grid img {
  margin-bottom: 15px;
  max-width: 44px;
  height: auto;
}
.features-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: 'Playfair Display', 'Georgia', serif;
  color: #222338;
}
.features-grid p {
  font-size: 1rem;
  color: #363657;
  margin-bottom: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(34,35,56,0.05);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 14px;
  margin-bottom: 14px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px 22px 24px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 15px;
  box-shadow: 0 2px 14px 0 rgba(34,35,56,0.07);
  min-width: 270px;
  max-width: 370px;
  margin-bottom: 20px;
  color: #222338;
  transition: box-shadow .18s cubic-bezier(.4,0,.2,1), transform .18s cubic-bezier(.4,0,.2,1);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(81, 162, 217, 0.12);
  transform: translateY(-2px);
}
.testimonial-card p {
  font-style: italic;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #222338;
  font-size: 1.075rem;
  margin-bottom: 0;
}
.testimonial-card strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: #51A2D9;
  margin-top: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(34,35,56,0.05);
  position: sticky;
  top: 0;
  z-index: 110;
  width: 100%;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  max-width: 1080px;
  margin: 0 auto;
}
.main-nav img {
  height: 38px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}
.nav-links a {
  transition: color .21s cubic-bezier(.4,0,.2,1), background .21s cubic-bezier(.4,0,.2,1);
  padding: 8px 10px;
  border-radius: 8px;
  margin-right: 0;
  font-weight: 500;
}
.nav-links a.cta {
  background: #222338;
  color: #fff;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 24px;
  margin-left: 8px;
  box-shadow: 0 4px 16px 0 rgba(81,162,217,0.08);
  transition: background .21s cubic-bezier(.4,0,.2,1), color .15s cubic-bezier(.4,0,.2,1);
}
.nav-links a.cta:hover,
.main-nav .cta:focus {
  background: #51A2D9;
  color: #222338;
}
.nav-links a:hover,
.nav-links a.active {
  color: #51A2D9;
  background: #f0f6fa;
}
/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #222338;
  display: none;
  cursor: pointer;
  line-height: 1;
  z-index: 200;
  padding: 8px;
  border-radius: 8px;
  transition: background .16s;
}
@media (max-width: 992px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: block; }
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(34,35,56,0.93);
  z-index: 220;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-end;
  padding-top: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  margin-top: 24px;
  margin-right: 32px;
  cursor: pointer;
  padding: 6px 13px;
  border-radius: 8px;
  transition: background .16s;
}
.mobile-menu-close:hover {
  background: rgba(255,255,255,0.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  margin-top: 36px;
  padding-right: 35px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.15rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  padding: 12px 0;
  margin-bottom: 2px;
  width: 100%;
  text-align: right;
  transition: color .16s, background .16s;
  border-radius: 8px;
}
.mobile-nav a.cta {
  background: #51A2D9;
  color: #222338;
  font-weight: 600;
  margin-top: 18px;
  padding: 13px 20px;
  text-align: center;
  border-radius: 25px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F6D55C;
  background: #273A53;
}
.mobile-nav a.cta:hover,
.mobile-nav a.cta:focus {
  background: #F6D55C;
  color: #222338;
}
@media (min-width: 993px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}
@media (max-width: 480px) {
  .mobile-menu-close { font-size: 1.4rem; margin-top: 14px; margin-right: 15px; }
  .mobile-nav { padding-right: 12px; margin-top: 22px; }
}
/* --- BUTTONS --- */
.cta {
  display: inline-block;
  background: #222338;
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 11px 26px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 20px 0 rgba(81,162,217,0.10);
  cursor: pointer;
  margin-top: 8px;
  transition: background .16s, color .16s, box-shadow .18s;
  text-align: center;
  letter-spacing: 0.03em;
}
.cta:hover, .cta:focus {
  background: #51A2D9;
  color: #222338;
  box-shadow: 0 6px 30px 0 rgba(246,213,92,0.12);
  text-decoration: none;
}
button, .btn {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  cursor: pointer;
  border: none;
  border-radius: 7px;
  padding: 0.6em 1.1em;
  background: #e4e7ed;
  color: #222338;
  font-size: 1rem;
  transition: background .13s, color .13s;
}
button:hover, .btn:hover,
button:focus, .btn:focus {
  background: #51A2D9;
  color: #fff;
}
/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #ececec;
  padding: 40px 0 22px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 1rem;
  margin-bottom: 12px;
  justify-content: center;
}
.footer-nav a {
  color: #222338;
  text-decoration: none;
  transition: color .15s;
  font-weight: 500;
}
.footer-nav a:hover { color: #51A2D9; }
.footer-legal {
  font-size: 0.97rem;
  color: #888;
  text-align: center;
  margin-top: 6px;
}
/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #fff8ee;
  border-top: 1px solid #ece3cd;
  box-shadow: 0 -2px 16px 0 rgba(81,162,217,0.09);
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  font-size: 1.09rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.hide {
  transform: translateY(160%);
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 400px;
  color: #222338;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 600;
  padding: 7px 18px;
  font-size: 1.02rem;
  border-radius: 22px;
  background: #f6d55c;
  color: #222338;
  border: 1px solid #fff3c7;
  margin: 0 3px;
  cursor: pointer;
  transition: background .13s, color .13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #51A2D9;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #ececee;
  color: #222338;
  border: 1px solid #dfdfdf;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #222338;
  color: #fff;
}
@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    font-size: 1rem;
    align-items: flex-start;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }
}
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,35,56,0.42);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .4s;
}
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px 0 rgba(34,35,56,0.17);
  min-width: 340px;
  max-width: 97vw;
  padding: 34px 27px 28px 27px;
  position: relative;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #222338;
  animation: modalBounce .38s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes modalBounce {
  0% { transform: scale(0.92); opacity: 0; }
  80% { transform: scale(1.05); opacity: 0.96; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #51A2D9;
  cursor: pointer;
  transition: color .12s;
}
.cookie-modal-close:hover { color: #222338; }
.cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 12px;
  gap: 9px;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: #51A2D9;
  width: 18px;
  height: 18px;
}
.cookie-category label {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.03rem;
  color: #222338;
  margin-right: 8px;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 25px;
}
.cookie-modal-footer button {
  padding: 8px 20px;
}
/* --- FAQS, PRICING, DL --- */
dt {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  margin-top: 16px;
  font-size: 1.09rem;
  color: #222338;
}
dd {
  margin-left: 0;
  margin-bottom: 18px;
  color: #222338;
  font-size: 1rem;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}
td, th {
  padding: 12px 10px;
  border-bottom: 1px solid #ececec;
}
/* --- UTILS & HELPERS --- */
::-webkit-scrollbar {
  width: 13px;
  background: #e8ebf0;  
}
::-webkit-scrollbar-thumb {
  background: #dadbe5;
  border-radius: 12px;
}
::selection {
  background: #F6D55C;
  color: #222338;
}
/* --- RESPONSIVE AESTHETICS --- */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav { max-width: 100vw; }
}
@media (max-width: 992px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  .features-grid > div, .content-grid > div {
    min-width: 190px;
    padding: 22px 13px 18px 13px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.01rem; }
  p, li, dd, dt, strong { font-size: 0.97rem; }
  .features-grid, .content-grid, .card-container, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .features-grid > div, .content-grid > div, .card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .testimonial-slider .testimonial-card {
    max-width: 100vw;
  }
}
/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.cta,
.features-grid > div,
.content-grid > div,
.testimonial-card,
.card {
  transition: box-shadow .18s cubic-bezier(.4,0,.2,1), transform .18s cubic-bezier(.4,0,.2,1);
}
.cta:active {
  transform: scale(0.97);
}

/* --- SPACING ENFORCEMENTS --- */
section, .section {
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}
@media (max-width: 768px) {
  section, .section { margin-bottom: 38px; padding-top: 24px; padding-bottom: 24px; }
}
.card-container, .features-grid, .content-grid, .testimonial-slider {
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
}

/* --- VISUAL HIERARCHY & COLOR BALANCE --- */
hr {
  height: 1px;
  border: none;
  background: #ececec;
  margin: 36px 0;
}
.bg-primary {
  background: #222338 !important;
  color: #fff;
}
.bg-accent {
  background: #f6d55c !important;
  color: #222338;
}
.mark {
  background: #f6d55c;
  color: #222338;
  padding: 1px 4px;
  border-radius: 3px;
}

/* --- MISC --- */
@media (max-width: 380px) {
  .container, .main-nav { padding-left: 4px; padding-right: 4px; }
  .cookie-banner { font-size: 0.95rem; padding: 13px 4px 12px 4px; }
}
