/* =============================
   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;
  vertical-align: baseline;
  font: inherit;
  font-size: 100%;
  font-family: inherit;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #233246;
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #233246;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #26A69A;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #233246;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, li, blockquote, cite {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #233246;
}
blockquote {
  font-style: italic;
  color: #233246;
  opacity: 0.9;
  border-left: 4px solid #26A69A;
  padding-left: 16px;
  margin-bottom: 8px;
}
cite {
  display: block;
  color: #219085;
  font-size: 0.98rem;
  text-align: right;
  margin-top: 4px;
  letter-spacing: 0.05em;
}
button,
input[type="submit"],
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* =============================
   GENERAL LAYOUT & CONTAINERS
============================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(35,50,70,0.04), 0 1.5px 4px 0 rgba(35,50,70,0.06);
}

/* =============================
   HEADER & NAVIGATION
============================= */
header {
  background: #fff;
  box-shadow: 0 2px 20px 0 rgba(35,50,70,0.04);
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img[alt='Moonlit Motors'] {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 6px;
  color: #233246;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:focus, .main-nav a:hover {
  color: #219085;
  background: #E1E5EB;
}
/* Call-to-action button */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #26A69A;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 12px rgba(35,50,70,0.05);
  transition: background 0.2s, color 0.2s, transform 0.13s;
  cursor: pointer;
  margin-left: 24px;
}
.cta-btn:focus, .cta-btn:hover {
  background: #219085;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  text-decoration: none;
}

/* =============================
   MOBILE MENU
============================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #233246;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  z-index: 1001;
  transition: color .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #26A69A;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(35,50,70,0.08);
  padding: 36px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.79,.06,.57,.95);
  z-index: 1500;
  opacity: 0.99;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #233246;
  margin-bottom: 32px;
  cursor: pointer;
  transition: color 0.19s;
  z-index: 1600;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #26A69A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}
.mobile-nav a {
  color: #233246;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #219085;
  background: #E1E5EB;
}

/* =============================
   HERO & MAIN SECTIONS
============================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section .container {
  padding-left: 0;
  padding-right: 0;
}
.content-wrapper {
  width: 100%;
  gap: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.text-section ul {
  list-style-type: disc;
  margin-left: 24px;
}
.text-section li {
  margin-bottom: 8px;
  color: #233246;
}
footer li{
  color:#d7dade !important;
}
/* Features List Styling */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin: 24px 0 12px 0;
}
.features li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(35,50,70,.05);
  padding: 28px 22px 20px 22px;
  min-width: 250px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s, transform 0.19s;
  margin-bottom: 20px;
}
.features li img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}
.features li h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #219085;
  font-weight: 700;
}
.features li p {
  margin-bottom: 4px;
  color: #233246;
}
.features li strong {
  color: #233246;
  font-size: 1rem;
  margin-top: 7px;
  font-weight: 700;
}
.features li:hover, .features li:focus {
  box-shadow: 0 6px 28px 0 rgba(38,166,154,0.09), 0 2px 8px rgba(35,50,70,0.09);
  transform: translateY(-3px) scale(1.025);
  outline: none;
}

/* =============================
   TESTIMONIALS
============================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #E1E5EB;
  border-radius: 12px;
  box-shadow: 0 1.5px 10px rgba(35,50,70,.06);
  min-width: 220px;
  max-width: 560px;
  transition: box-shadow 0.21s;
}
.testimonial-card blockquote {
  color: #233246;
  margin-bottom: 0;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card cite {
  margin-top: 0;
  font-style: normal;
  color: #219085;
  font-size: 1rem;
  font-weight: 500;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 4px 20px rgba(35,50,70,0.12);
  outline: none;
}

/* =============================
   FOOTER
============================= */
footer {
  background: #233246;
  color: #fff;
  padding: 38px 0 24px 0;
  font-size: 1rem;
}
footer .container {
  padding-left: 20px;
  padding-right: 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.92;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.17s, opacity 0.17s;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: #26A69A;
  opacity: 1;
}
footer .text-section {
  color: #fff;
}
footer a {
  color: #fff;
  text-decoration: underline;
  transition: color .14s, text-decoration .14s;
}
footer a:hover, footer a:focus {
  color: #26A69A;
  text-decoration: none;
}
footer ul {
  list-style-type: none;
  margin-left: 0;
}
footer li {
  color: #fff;
  margin-bottom: 6px;
 }

/* =============================
   CARDS, LAYOUTS & FLEX UTILS
============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(35,50,70,0.07);
  padding: 25px 18px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.18s;
}
.card:focus, .card:hover {
  box-shadow: 0 10px 36px 0 rgba(35,50,70,0.13);
  transform: translateY(-2px) scale(1.016);
  outline: none;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ====================
   BUTTONS & INTERACTIONS
==================== */
.btn, button, input[type="submit"] {
  background: #26A69A;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.19s, transform 0.16s;
  box-shadow: 0 1.5px 8px rgba(35,50,70,0.09);
}
.btn:hover, button:hover, input[type="submit"]:hover, .btn:focus, button:focus, input[type="submit"]:focus {
  background: #219085;
  outline: none;
  box-shadow: 0 4px 16px #26a69a21;
  transform: translateY(-1px) scale(1.02);
}

/* --- Spacing Helpers --- */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 32px; }

/* =============================
   COOKIE CONSENT BANNER & MODAL
============================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #233246;
  color: #fff;
  box-shadow: 0 -2px 12px rgba(35,50,70,0.10);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2500;
  gap: 18px;
  animation: bannerSlideIn 0.42s cubic-bezier(.67,.18,.45,1.21);
}
@keyframes bannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
  text-align: center;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-consent-banner .btn,
.cookie-consent-banner button {
  background: #26A69A;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: none;
  transition: background 0.18s, color 0.19s;
}
.cookie-consent-banner .btn:focus, .cookie-consent-banner .btn:hover {
  background: #219085;
}
.cookie-consent-banner .cookie-settings-btn {
  background: #E1E5EB;
  color: #233246;
  margin-left: 8px;
  transition: background 0.2s, color 0.19s;
}
.cookie-consent-banner .cookie-settings-btn:hover, .cookie-consent-banner .cookie-settings-btn:focus {
  background: #d7dade;
  color: #219085;
}

.cookie-modal-overlay {
  position: fixed;
  top:0;left:0;right:0;bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(35,50,70,0.36);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  animation: cookieModalIn 0.38s cubic-bezier(.69,.12,.45,1.12);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal {
  background: #fff;
  color: #233246;
  box-shadow: 0 5px 36px 0 #23324629;
  border-radius: 18px;
  max-width: 460px;
  width: 95vw;
  padding: 36px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  color: #219085;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-label {
  font-weight: 500;
  color: #233246;
}
.cookie-modal .cookie-category input[type='checkbox'] {
  accent-color: #26A69A;
  width: 19px;
  height: 19px;
}
.cookie-modal .cookie-category input[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal button, .cookie-modal .btn {
  padding: 9px 20px;
  font-size: 1rem;
  border-radius: 8px;
  background: #26A69A;
  color: #fff;
  border: none;
  transition: background 0.18s;
}
.cookie-modal button:focus, .cookie-modal button:hover {
  background: #219085;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #233246;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #26A69A;
}

/* =============================
   RESPONSIVE DESIGN
============================= */
@media (max-width: 1020px) {
  .container { max-width: 92vw; }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .features li { min-width: 180px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    gap: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav { display: none; }
  .cta-btn { margin-left: 0; }
  .mobile-menu-toggle { display: block; }
  section { padding: 28px 4vw; }
  .footer-nav { gap: 8px; }
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .features {
    flex-direction: column;
    gap: 20px;
  }
  .features li {
    min-width: unset;
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.12rem; }
  .container { padding-left: 6px; padding-right: 6px; }
  section { padding: 20px 3vw; }
  .cta-btn, .btn { padding-left: 16px; padding-right: 16px; }
  header img[alt='Moonlit Motors'] { height: 32px; }
  .footer-nav { font-size: 0.94rem; }
}
/* =============================
   MISCELLANEOUS
============================= */
::-webkit-input-placeholder { color: #8CA0B3; opacity:0.88; }
::-moz-placeholder { color: #8CA0B3; opacity:0.88; }
:-ms-input-placeholder { color: #8CA0B3; opacity:0.88; }
::placeholder { color: #8CA0B3; opacity:0.88; }

hr {
  border: none;
  border-top: 1px solid #E1E5EB;
  margin: 24px 0 16px 0;
}

/* =============================
   ACCESSIBILITY & USABILITY
============================= */
:focus-visible {
  outline: 2px solid #26A69A;
  outline-offset: 2.5px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

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