/* --- CSS RESET & NORMALIZE --- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
html { height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; font-family: 'Open Sans', Arial, sans-serif; color: #202B38; background-color: #F3F4F6; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; height: auto; }
a { color: #D72638; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #202B38; text-decoration: underline; }
ul, ol { padding-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 8px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif; color: #202B38; font-weight: 700; margin-bottom: 12px;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 14px; }
h3 { font-size: 1.25rem; color: #D72638; font-weight: 700; margin-bottom: 10px; }
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex; flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- HEADER --- */
header {
  background: linear-gradient(90deg, #202B38 65%, #C7D2FE 100%);
  box-shadow: 0 2px 12px 0 rgba(32,43,56,0.05);
  position: sticky; top: 0; z-index: 50;
}
header .container { flex-direction: row; align-items: center; justify-content: space-between; height: 80px; gap: 28px; }
header a img { height: 40px; margin-right: 16px; display: block; }
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #F3F4F6;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.16s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
header nav a:hover, header nav a:focus {
  color: #fff; border-bottom: 2px solid #D72638;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #D72638 60%, #F59E42 100%);
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 28px;
  padding: 12px 32px;
  box-shadow: 0 2px 10px 0 rgba(215,38,56,0.06);
  margin-left: 18px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #C30013 60%, #F59E42 100%);
  box-shadow: 0 4px 14px 0 rgba(215,38,56,0.10);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  display: inline-block;
  background: #202B38;
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 24px;
  padding: 10px 28px;
  margin-top: 12px;
  box-shadow: 0 1.5px 6px 0 rgba(32,43,56,0.07);
  border: none;
  transition: background 0.2s, box-shadow 0.18s, transform 0.16s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #3B4252;
  box-shadow: 0 4px 12px 0 rgba(32,43,56,0.14);
  color: #fff;
  transform: translateY(-1px);
}

button {
  background: none; border: none; outline: none;
  font: inherit; color: inherit; cursor: pointer;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #D72638;
  background: #F3F4F6;
  border-radius: 50%;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  margin-left: 12px;
  z-index: 101;
  transition: background 0.18s, box-shadow 0.16s;
  border: 2px solid #F3F4F6;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F1B6B9;
  color: #202B38;
  box-shadow: 0 2px 8px 0 rgba(32,43,56,0.10);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #202B38;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(0.6, 0.3, 0.1, 1);
  z-index: 1300;
  display: flex; flex-direction: column; gap: 40px;
  padding: 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: transparent;
  margin: 28px 28px 0 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1400;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #D72638; }
.mobile-nav {
  display: flex; flex-direction: column; gap: 24px;
  align-items: flex-start;
  margin-left: 32px; margin-top: 24px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  transition: color 0.14s, border-bottom 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F59E42;
  border-bottom: 2px solid #D72638;
}

/* --- HERO, MAIN SECTIONS --- */
main section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: transparent;
}
main section:first-of-type {
  margin-top: 0;
  padding-top: 36px;
  background: linear-gradient(120deg,#fff 60%,#F59E42 180%);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
  margin-bottom: 20px;
}
.feature-grid > div {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(32,43,56,0.07);
  border-radius: 14px;
  padding: 24px 20px 20px 20px;
  flex: 1 1 235px;
  min-width: 215px;
  max-width: 295px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.13s;
  position: relative;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 16px 0 rgba(215,38,56,0.14);
  transform: translateY(-3px) scale(1.025);
}
.feature-grid img {
  height: 48px; width: 48px; object-fit: contain;
  margin-bottom: 5px;
  filter: drop-shadow(0 1px 2px rgba(32,43,56,0.07));
}

/* --- CARD STYLES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(32,43,56,0.09);
  display: flex; flex-direction: column;
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 6px 18px 0 rgba(215,38,56,0.08);
  transform: translateY(-2px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px 20px;
}

.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;
  background: #F9FAFB;
  color: #202B38;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(32,43,56,0.09);
  padding: 20px 30px;
  margin-bottom: 20px;
  min-width: 0;
  position: relative;
  font-style: italic;
  transition: box-shadow 0.16s, background 0.15s;
}
.testimonial-card span {
  display: block;
  color: #D72638;
  font-weight: 700;
  margin-left: auto;
  font-style: normal;
}
.testimonial-card:hover {
  background: #FFFFFE;
  box-shadow: 0 8px 24px 0 rgba(215,38,56,0.09);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  margin-bottom: 12px;
}
.text-section ul {
  margin-top: 4px;
}
.text-section p {
  font-size: 1.06rem;
}

/* --- PRICING TABLE --- */
table {
  width: 100%;
  border-collapse: separate;
  margin-bottom: 24px;
  margin-top: 2px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1.5px 7px 0 rgba(32,43,56,0.08);
}
thead {
  background: #202B38;
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
}
th, td {
  padding: 14px 18px;
  text-align: left;
}
th { font-size: 1.1rem; }
td { font-size: 1rem; border-bottom: 1px solid #ECEEF0; }
tbody tr:last-child td { border-bottom: none; }

/* --- FAQ STYLES --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
  margin-bottom: 16px;
}
.faq-list > div {
  background: #fff;
  box-shadow: 0 1.5px 8px 0 rgba(32,43,56,0.07);
  border-radius: 12px;
  padding: 18px 18px 12px 18px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.faq-list > div:hover {
  box-shadow: 0 6px 18px 0 rgba(215,38,56,0.10);
  transform: translateY(-2px);
}
.faq-list h3 { color: #202B38; font-size: 1.12rem; margin-bottom: 5px; }
.faq-list p { font-size: 1.06rem; }

input[type="text"] {
  padding: 11px 15px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1.5px solid #D9DDE1;
  width: 100%;
  margin-bottom: 16px;
  margin-top: 8px;
  outline: none;
  background: #F9FAFB;
  color: #202B38;
  transition: border 0.16s;
}
input[type="text"]:focus {
  border-color: #D72638;
}

/* --- FOOTER --- */
footer {
  background: #202B38;
  color: #fff;
  padding: 50px 0 32px 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 32px 48px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  height: 40px; margin-bottom: 14px;
}
.footer-nav {
  display: flex; flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F59E42;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
}
.footer-contact img {
  height: 1.1em;
  width: 1.1em;
  vertical-align: middle;
  margin-right: 5px;
}
@media (max-width: 990px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #202B38;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 12px 18px 12px;
  z-index: 3000;
  box-shadow: 0 -3px 18px 0 rgba(32,43,56,0.10);
  animation: slideInUp 0.6s cubic-bezier(.36,1.2,.31,1) 1;
  font-size: 1rem;
}
.cookie-banner__inner {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner .cookie-banner__msg {
  flex: 1 1 300px;
  margin-right: 18px;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.cookie-btn {
  border-radius: 24px;
  padding: 10px 22px;
  border: none;
  background: #D72638;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  margin-right: 4px;
  transition: background 0.18s, color 0.16s, box-shadow 0.16s;
}
.cookie-btn.settings { background: #3B4252; }
.cookie-btn.reject { background: #AEB9C6; color: #202B38; }
.cookie-btn:hover, .cookie-btn:focus { background: #F59E42; color: #202B38; }
.cookie-btn.settings:hover { background: #202B38; color: #fff; }
.cookie-btn.reject:hover { background: #D72638; color: #fff; }
@keyframes slideInUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed; z-index: 3500;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(43,52,64,0.63);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.26s linear 1;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  min-width: 320px; max-width: 98vw;
  padding: 32px 30px 22px 30px;
  color: #202B38;
  box-shadow: 0 5px 24px 0 rgba(32,43,56,0.14);
  display: flex; flex-direction: column; gap: 28px;
  z-index: 3600;
  animation: modalIn 0.33s cubic-bezier(.51,1.26,.54,1) 1;
}
@keyframes modalIn {
  from { transform: translateY(100px) scale(0.97); opacity:0; }
  to { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.4rem; color: #D72638; margin-bottom: 12px;
}
.cookie-modal label {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #D72638;
  width: 20px; height: 20px;
}
.cookie-modal-actions {
  display: flex; gap: 16px; justify-content: flex-end;
}
/* --- END COOKIE MODAL --- */

/* --- GENERAL UTILITIES & SPACING --- */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.pt-32 { padding-top: 32px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* --- MEDIA QUERIES --- */
@media (max-width: 1279px) {
  .container { max-width: 980px; }
}
@media (max-width: 990px) {
  .container { max-width: 740px; }
  header .container { gap: 8px; }
}
@media (max-width: 900px) {
  .feature-grid > div, .card {
    min-width: 90vw;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container { flex-direction: row; height: 64px; }
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .btn-primary { font-size: 1rem; padding: 10px 20px; }
  .footer-logo img { height: 28px; }
  main section, .section {
    padding: 32px 10px 0 10px;
    margin-bottom: 40px;
  }
  .content-wrapper { gap: 16px; }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav { flex-direction: column; gap: 7px; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 12px;
    font-size: 1rem;
  }
  .card-container, .content-grid { flex-direction: column; gap: 16px; }
  .text-image-section { flex-direction: column; gap: 16px; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  header .container { padding-left: 12px; padding-right: 12px; }
  .btn-primary, .btn-secondary { padding: 10px 14px; font-size: 0.98rem; }
  .testimonial-card { padding: 10px 6px; font-size: 0.98rem; }
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
input, button, .feature-grid > div, .card, .testimonial-card, a, .btn-primary, .btn-secondary {
  transition: box-shadow 0.18s, background 0.18s, color 0.16s, transform 0.14s, border 0.16s;
}

/* --- SCROLLBAR LIGHT THEME --- */
::-webkit-scrollbar { width: 10px; background: #F3F4F6; }
::-webkit-scrollbar-thumb { background: #D72638; border-radius: 10px; }

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Roboto+Slab:wght@700&display=swap');

/* --- UTILITY (for JS toggling of .open, .show etc.) --- */
.hidden { display: none !important; }

/* --- END CSS --- */
