/* =====================================================
   CSS RESET & BASE NORMALIZATION
   ===================================================== */
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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  font-size: 16px;
  background: #F8FAFF;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F8FAFF;
  color: #25374D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  letter-spacing: .02em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* =============================
   BRAND COLORS/VARIABLES
   ============================= */
:root {
  --color-primary: #25374D;
  --color-secondary: #A9B7BF;
  --color-accent: #FFD100;
  --color-bg: #F8FAFF;
  --color-card: #fff;
  --color-electric-1: #00DBE7;
  --color-electric-2: #FF287C;
  --color-electric-3: #45F373;
  --color-electric-4: #FFD100;
  --color-electric-5: #25374D;
  --color-title: #25374D;
  --color-subtle-text: #6D7A91;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  color: var(--color-title);
  margin-bottom: 12px;
  letter-spacing: -.03em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem; 
  line-height: 1.13;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 800;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
}
p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
em {
  color: var(--color-electric-2);
  font-style: italic;
}
small {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-subtle-text);
  margin-bottom: 4px;
}
.text-section {
  color: var(--color-subtle-text);
  font-size: 1rem;
  margin-top: 8px;
}

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

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
header {
  width: 100%;
  background: var(--color-card);
  box-shadow: 0 8px 24px 0 rgba(0,41,77,0.04);
  padding: 0;
  border-bottom: 2.5px solid var(--color-accent);
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 74px;
}
header img {
  height: 40px;
  margin-right: 18px;
}
.desktop-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-right: 18px;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 8px 14px;
  color: var(--color-primary);
  border-radius: 12px;
  transition: background .18s, color .18s;
}
.desktop-nav a:hover,
.desktop-nav a:focus {
  color: var(--color-card);
  background: var(--color-electric-2);
  outline: none;
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 1.06rem;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 24px;
  padding: 11px 28px;
  box-shadow: 0 2px 8px 0 rgba(255,209,0,.09);
  transition: background .22s, box-shadow .28s, color .2s, transform .1s;
  cursor: pointer;
  margin-left: 8px;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-electric-2);
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(255,40,124,.21);
  transform: translateY(-2px) scale(1.035);
}
.mobile-menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-electric-2);
  outline: none;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .16s, color .14s;
  display: none;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #0f1534eb;
  transform: translateX(100vw);
  transition: transform .35s cubic-bezier(.54,.09,.68,.53);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--color-accent);
  background: transparent;
  border: none;
  margin: 24px 36px 10px 0;
  cursor: pointer;
  transition: color .16s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--color-electric-1);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 42px;
  gap: 24px;
  margin-top: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.33rem;
  color: #fff;
  border-radius: 16px;
  padding: 10px 16px;
  background: none;
  transition: background .18s,color .19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-electric-2);
  color: #fff;
  outline: none;
}

@media (max-width: 1020px) {
  .desktop-nav {
    gap: 16px;
  }
  header .container {
    padding: 0 9px;
  }
}
@media (max-width: 900px) {
  header .container {
    padding: 0 1vw;
  }
}
@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-primary {
    padding: 9px 20px;
    font-size: 1rem;
    margin-left: 5px;
  }
}

/* =====================================================
   SECTIONS, LAYOUT, FLEXBOX UTILS
   ===================================================== */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(0,41,77,0.07);
  padding: 32px 24px;
  transition: box-shadow .16s, transform .13s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 40px 0 rgba(255,40,124,.16), 0 8px 24px 0 rgba(0,41,77,0.10);
  transform: scale(1.02);
}
.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;
  border-radius: 12px;
  background: #fffde9;
  box-shadow: 0 4px 38px 0 rgba(37,55,77,.12);
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 376px;
  border-left: 6px solid var(--color-electric-2);
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #23244d;
  font-size: 1.14rem;
  font-weight: 500;
}
.testimonial-card strong {
  color: var(--color-electric-2);
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card img {
  height: 23px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============================
   FLEX SPACING FOR ARRAYED SECTIONS
   ============================= */
.content-wrapper > * + * {
  margin-top: 12px;
}
.content-grid > * {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 370px;
  background: var(--color-card);
}
.card-container > .card {
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 420px;
}

/* MAIN PAGE SPECIFICS */
main .container {
  padding-top: 18px;
  padding-bottom: 18px;
}

/* --------------------------
   SECTION COLORS & DYNAMISM
----------------------------- */
section:nth-of-type(even) {
  background: #F1F8FF;
}
section:nth-of-type(odd) {
  background: #fff;
}
section.hero {
  background: linear-gradient(90deg,#fffde9 70%,#ffd10012 100%);
}

/* Feature Icons & Lists */
ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.04rem;
  color: var(--color-primary);
  line-height: 1.65;
  margin-bottom: 12px;
}
ul li img {
  width: 29px;
  min-width: 22px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(255,209,0,.07);
}
ul li:last-child {
  margin-bottom: 0;
}

/* Card Focus/
EMPHASIS */
.card, 
.content-grid > div, 
.content-wrapper > div {
  transition: box-shadow .16s, transform .13s;
}
.card:focus-within,
.card:active,
.content-grid > div:focus-within,
.content-grid > div:active {
  box-shadow: 0 8px 38px 0 rgba(37,55,77,.14);
  transform: scale(1.03);
}

/* ===========================
   FOOTER DESIGN
   =========================== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 36px 0 24px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer img {
  height: 38px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #FFD100;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 2px;
  transition: color .15s;
}
footer nav a:hover,
footer nav a:focus { color: var(--color-electric-1); }
footer .text-section { color: #e5e8f0; font-size: 0.99rem; margin-top: 2px; }
footer strong { color: #FFD100; }

/* =====================================================
   BUTTONS & LINKS
   ===================================================== */
button, .cta-primary {
  outline: none;
  transition: background .15s, color .16s, box-shadow .18s, transform .11s, border .13s;
}
button:focus {
  border: 2px solid var(--color-electric-2);
}
a:active {
  color: var(--color-electric-2)!important;
}

/* Subtle Button Variants */
.cta-secondary {
  display: inline-block;
  background: var(--color-electric-1);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: 18px;
  padding: 8px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: background .19s, color .17s, box-shadow .15s;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--color-accent);
  color: #25374D;
}

/* =====================================================
   FORMS (Not used here but normalize)
   ===================================================== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  outline: none;
  border: 1.4px solid #D6D8E5;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  margin-bottom: 14px;
  transition: border .15s, box-shadow .19s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--color-electric-2);
  box-shadow: 0 4px 8px 0 rgba(255,40,124,.09);
}

/* =====================================================
   RESPONSIVE BREAKPOINTS (Mobile-first)
   ===================================================== */
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.12rem; }
  .container {
    padding: 0 10px;
    gap: 0;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 18px;
    padding: 0;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.05rem; }
  .cta-primary, .cta-secondary { padding: 8px 6px; font-size: .98rem; }
  header img,footer img { height: 32px; }
  .testimonial-card { padding: 12px; }
  .card { padding: 18px 8px; }
}

/* =====================================================
   MICRO-INTERACTIONS & DYNAMIC EFFECTS
   ===================================================== */
.card, .testimonial-card, .cta-primary, .cta-secondary {
  transition: box-shadow .18s, background .17s, color .13s, transform .12s;
}
.card:hover, .testimonial-card:hover, .cta-primary:active {
  box-shadow: 0 8px 32px 0 rgba(253,209,0,.13), 0 5px 18px rgba(0,41,77,0.13);
  transform: translateY(-1px) scale(1.015);
}

/* Dynamic Colorful Highlights */
h1, h2, h3 {
  background: linear-gradient(90deg, var(--color-electric-2) 0%, var(--color-electric-1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* Bold Feature Icons on Home/Forums */
ul li img {
  box-shadow: 0 4px 13px 0 rgba(45,247,115,.07);
  border: 2px solid var(--color-electric-1);
}
ul li img[alt*="Security"] {
  border-color: var(--color-electric-2);
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #25374D;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 3000;
  box-shadow: 0 -8px 32px rgba(0,0,0,.12);
  padding: 24px 32px;
  font-family: 'Roboto', Arial, sans-serif;
  gap: 20px;
  animation: slideUp .38s cubic-bezier(.71,.21,.56,1.03);
}
.cookie-banner p { max-width: 540px; margin-bottom: 0; color: white; }
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 17px;
  font-size: 1.03rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  padding: 10px 21px;
  cursor: pointer;
  box-shadow: 0 1px 7px 0 rgba(255,209,0,.10);
  margin-right: 2px;
  transition: background .17s, color .15s;
}
.cookie-btn.reject {
  background: var(--color-electric-2);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-electric-1);
  color: var(--color-primary);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--color-electric-2);
  color: #fff;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
@media (max-width: 750px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 8px; }
  .cookie-banner .cookie-actions { flex-wrap: wrap; gap: 8px; }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 3100;
  background: rgba(26,24,45,.91);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modalFadeIn .20s ease-in;
}
@keyframes modalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-inner {
  background: #fff;
  color: var(--color-primary);
  border-radius: 24px;
  max-width: 390px;
  padding: 40px 27px;
  box-shadow: 0 10px 64px rgba(37,55,77,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  min-width: 0;
}
.cookie-modal h3 { color: var(--color-primary); margin-bottom: 10px; }
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal .toggle-switch {
  width: 34px;
  height: 20px;
  position: relative;
  display: inline-block;
}
.cookie-modal .toggle-switch input {
  opacity:0; width: 0; height: 0;
  position:absolute;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top:0; left:0; right:0; bottom:0;
  background: #A9B7BF;
  border-radius: 34px;
  transition: .23s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 2.5px;
  background: var(--color-accent);
  border-radius: 50%;
  transition: .23s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: var(--color-electric-2);
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  background: var(--color-electric-1);
  transform: translateX(15px);
}
.cookie-modal .close-btn {
  position: absolute;
  top: 11px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-electric-2);
  cursor: pointer;
}
.cookie-modal .close-btn:hover {
  color: var(--color-primary);
}
.cookie-modal .category {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.cookie-modal .category.essential { color: var(--color-primary); }
.cookie-modal .category.analytics { color: var(--color-electric-2); }
.cookie-modal .category.marketing { color: var(--color-electric-1); }

/* =====================================================
   UTILITIES & HELPERS
   ===================================================== */
.hide { display: none!important; }
.show { display: block!important; }
.d-flex { display: flex!important; }
.flex-col { flex-direction: column!important; }
.flex-row { flex-direction: row!important; }
.align-center { align-items: center!important; }
.justify-center { justify-content: center!important; }
.mt-3 { margin-top: 24px!important; }
.mb-3 { margin-bottom: 24px!important; }
.gap-2 { gap: 16px!important; }

/* =====================================================
   ACCESSIBILITY & FOCUS STATES
   ===================================================== */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* =====================================================
   PRINT UTILITIES (min)
   ===================================================== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none!important; }
}

/* END OF vibrant_energetic CSS for SHINY AXLE AUTO FORUM */
