/* ---------------------------------------------------
   CSS RESET & BASELINE NORMALIZATION
--------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #2A3347;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol { margin: 0 0 24px 24px; padding: 0; }
dl, dd, dt { margin: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Russo One', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #2A3347;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
p { margin-top: 0; margin-bottom: 16px; }
a {
  color: #2A3347;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus { color: #7DDD4C; outline: none; }

/* ----------------------------------------------
   GENERAL LAYOUT STRUCTURE & CONTAINER
----------------------------------------------- */
.container {
  width: 100%;
  max-width: 1096px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
main {
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(42,51,71,0.05);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 600px) {
  .section {
    padding: 28px 10px;
    border-radius: 12px;
    margin-bottom: 40px;
  }
}

/* ----------------------------------------
   HEADER, LOGO, NAVIGATION
----------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #F2F3F8;
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 16px;
  min-height: 40px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  padding: 6px 0;
  position: relative;
  transition: color 0.18s;
}
header nav a.cta {
  margin-left: 12px;
}
header nav a.cta,
.cta {
  display: inline-block;
  background: #2A3347;
  color: #fff;
  font-family: 'Russo One', 'Roboto', Arial, sans-serif;
  font-size: 16px;
  border-radius: 6px;
  padding: 10px 24px;
  box-shadow: 0 2px 10px 0 rgba(42,51,71,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  border: 0;
  cursor: pointer;
}
header nav a.cta:hover,  .cta:hover,  .cta:focus {
  background: #7DDD4C;
  color: #2A3347;
  box-shadow: 0 6px 24px 0 rgba(125,221,76,0.15);
  transform: translateY(-2px) scale(1.03);
}
header .mobile-menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 2.1rem;
  line-height: 1;
  margin-left: 18px;
  color: #2A3347;
  cursor: pointer;
  z-index: 1301;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}
header .mobile-menu-toggle:focus,
header .mobile-menu-toggle:hover {
  background: #F2F3F8;
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
}

/* -----------------------------------------
   MOBILE MENU (BURGER NAV / SIDEDRAWER)
------------------------------------------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(.67,.11,.46,1), opacity 0.23s;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #2A3347;
  align-self: flex-end;
  margin: 20px 28px 0 0;
  cursor: pointer;
  border-radius: 6px;
  padding: 6px 10px;
  transition: background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover { background: #F2F3F8; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 48px 0 0 32px;
}
.mobile-nav a {
  font-size: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2A3347;
  padding: 12px 0;
  width: 100%;
  transition: color 0.16s, background 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #7DDD4C;
  background: #F2F3F8;
  border-radius: 8px;
}

@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ------------------------------
   MAIN CONTENT & SECTION SPACING
------------------------------- */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 0;
}
section {
  margin-bottom: 0;
}

/* Special containers and cards ----------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(42,51,71,0.06);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.15s;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(42,51,71,0.13);
  transform: translateY(-2px) scale(1.015);
}

.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: 24px;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------------------
   TESTIMONIALS & REVIEW CARDS
------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #F2F3F8;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(42,51,71,0.06);
  color: #2A3347;
  font-size: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  transition: box-shadow 0.15s, background 0.13s;
  min-width: 200px;
  position: relative;
}
.testimonial-card p {
  margin: 0 0 2px 0;
  color: #2A3347;
}
.testimonial-card span {
  font-size: 16px;
  color: #2A3347;
  opacity: 0.72;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px rgba(42,51,71,0.12);
  background: #eefaee;
}

/* ------------------------
   FAQ STYLES
------------------------- */
dt {
  font-family: 'Russo One', 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  margin-bottom: 4px;
  margin-top: 24px;
}
dd {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-left: 0;
  color: #2A3347;
  margin-bottom: 12px;
}

/* ------------------------
   SOCIAL MEDIA ICONS
------------------------- */
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links a {
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  transition: background 0.18s;
}
.social-links a:focus, .social-links a:hover {
  background: #F2F3F8;
}
.social-links img {
  width: 28px;
  height: 28px;
  display: block;
}

/* ------------------------
   BUTTONS
------------------------- */
button, .cta {
  font-family: 'Russo One', 'Roboto', Arial, sans-serif;
  font-size: 16px;
  padding: 10px 24px;
  border-radius: 8px;
  background: #2A3347;
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.18s, transform 0.13s;
  display: inline-block;
  text-align: center;
  outline: none;
  box-shadow: 0 2px 10px 0 rgba(42,51,71,0.07);
}
button:focus, button:hover, .cta:hover, .cta:focus {
  background: #7DDD4C;
  color: #2A3347;
  box-shadow: 0 8px 26px 0 rgba(125,221,76,0.12);
  transform: translateY(-2px) scale(1.035);
}
[disabled], button[disabled], .cta[disabled] {
  background: #dadde3;
  color: #b1bac9;
  cursor: not-allowed;
  opacity: 0.7;
}

/* ------------------------
   FOOTER AREA
------------------------- */
footer {
  background: #F2F3F8;
  padding: 40px 0 12px 0;
  margin-top: 60px;
  font-size: 15px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 18px;
  align-items: center;
}
.footer-nav a {
  color: #2A3347;
  font-size: 15px;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 2px 0;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {   color: #7DDD4C; }
.brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 220px;
  margin-bottom: 10px;
}
.brand-info img {
  width: 56px;
  margin-bottom: 9px;
}
.brand-info p { margin: 0; color: #2A3347; }
.brand-info a { color: #2A3347; }

@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ---------------------------------------------
   COOKIE CONSENT BANNER & MODAL
---------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #2A3347;
  color: #fff;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 10px 18px 10px;
  box-shadow: 0 -2px 12px rgba(42,51,71,0.13);
  gap: 22px;
  font-size: 16px;
  flex-wrap: wrap;
  transition: transform 0.24s, opacity 0.18s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-btn {
  font-family: 'Russo One', 'Roboto', Arial, sans-serif;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  background: #7DDD4C;
  color: #2A3347;
  cursor: pointer;
  margin-left: 8px;
  margin-right: 8px;
  transition: background 0.16s, color 0.15s, transform 0.12s;
  box-shadow: 0 1px 6px rgba(125,221,76,0.08);
}
.cookie-consent-banner .cookie-btn.reject {
  background: #F2F3F8;
  color: #2A3347;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #fff;
  color: #2A3347;
  border: 1px solid #F2F3F8;
}
.cookie-consent-banner .cookie-btn:focus, .cookie-consent-banner .cookie-btn:hover {
  background: #2A3347;
  color: #7DDD4C;
  outline: 2px solid #7DDD4C;
}

/* Cookie Modal */
.cookie-modal-overlay {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(42,51,71,0.17);
  transition: opacity 0.18s;
}
.cookie-modal-overlay.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #2A3347;
  box-shadow: 0 8px 32px 0 rgba(42,51,71,0.20);
  border-radius: 12px;
  max-width: 420px;
  width: 96vw;
  margin: 90px auto 0 auto;
  padding: 32px 24px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  font-family: 'Russo One', 'Roboto', Arial, sans-serif;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  background: #F2F3F8;
  border-radius: 11px;
  position: relative;
  transition: background 0.15s;
  border: 0;
  appearance: none;
  outline: none;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #7DDD4C;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(42,51,71,0.06);
  transition: left 0.15s;
}
.cookie-toggle:checked::before {
  left: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 15px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px; right: 16px;
  border: none;
  background: none;
  font-size: 1.6rem;
  color: #2A3347;
  transition: background 0.12s;
  border-radius: 6px;
  padding: 3px 10px;
  cursor: pointer;
}
.cookie-modal .close-modal:focus, .cookie-modal .close-modal:hover {
  background: #F2F3F8;
}

@media (max-width: 440px) {
  .cookie-modal { padding: 22px 6px 16px 6px; }
}

/* -----------------------------------------------
 * TYPOGRAPHY UTILITY CLASSES
 * Minimalist, modern, readable
------------------------------------------------ */
.display {
  font-family: 'Russo One', 'Roboto', Arial, sans-serif;
  font-size: 2.3rem;
  color: #2A3347;
  font-weight: 400;
  margin-bottom: 14px;
}
.subheadline {
  color: #7DDD4C;
  font-size: 20px;
  margin-bottom: 17px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}

/* -------------------------------
   SPACING UTILITIES
-------------------------------- */
.mb-40 { margin-bottom: 40px !important; }
.mt-40 { margin-top: 40px !important; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* -------------------------------
   RESPONSIVE FLEXBOX ADJUSTMENTS
-------------------------------- */
@media (max-width: 900px) {
  .container { max-width: 100vw; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.23rem; }
  .section { padding: 18px 2vw; }
  .card { padding: 16px 8px; border-radius: 10px; }
  .testimonial-card { padding: 12px; border-radius: 8px; }
}
@media (max-width: 600px) {
  main { gap: 18px; }
}

/* -------------------------------
   FORMS (for possible use)
-------------------------------- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  border: 1px solid #dadde3;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #7DDD4C;
  outline: none;
}

/* -------------------------------
   ANIMATIONS (fade/slide)
-------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(8px);
  animation: fade-in-show 0.42s 0.08s cubic-bezier(.25,.6,.58,1.05) forwards;
}
@keyframes fade-in-show {
  to {
    opacity: 1;
    transform: none;
  }
}

.slideY-in {
  opacity: 0;
  transform: translateY(36px);
  animation: slideY-in-show 0.36s cubic-bezier(.25,.7,.58,1.05) forwards;
}
@keyframes slideY-in-show {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------
   OVERRIDES FOR SPECIAL ELEMENTS, ENSURE NO OVERLAPS
--------------------------------------------------- */
li {
  margin-bottom: 9px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}
.card-container > *, .content-grid > *, .feature-item > * {
  margin-bottom: 0;
}
hr {
  border: none;
  border-top: 1px solid #F2F3F8;
  margin: 20px 0;
}

/* ---------------------------------------------------
   VISUAL HIERARCHY, SHADOWS, WHITE SPACE
--------------------------------------------------- */
.section, .card, .testimonial-card, .cookie-modal {
  box-shadow: 0 2px 12px 0 rgba(42,51,71,0.06);
}
/* Checkbox/Radio override for minimalist style (not shown, but provided for extensibility) */
input[type="checkbox"], input[type="radio"] {
  accent-color: #7DDD4C;
}

/* ENFORCE ADEQUATE WHITE SPACE FOR ALL ELEMENTS */
.section, .card, .testimonial-card { margin-bottom: 24px; }
.content-wrapper > *:not(:last-child) { margin-bottom: 18px; }

/* ---------------------------------------------------
   PRINT/ACCESSIBILITY (for contrast and scaling)
--------------------------------------------------- */
@media (print) {
  *, *:before, *:after { background: #fff !important; color: #111 !important; box-shadow: none !important; }
  a, a:visited { color: #111 !important; text-decoration: underline; }
}

::-webkit-selection { background: #7DDD4C; color: #2A3347; }
::selection { background: #7DDD4C; color: #2A3347; }

/* END OF CSS */
