/* ==========================================================
  Luminous Chassis 'tech_futuristic' CSS
  Author: Senior CSS Developer & UI Designer
========================================================== */

/*********** RESET & NORMALIZE ***********/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #10101a;
  color: #f3e8d8;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #55a96c;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #80e8ac;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*********** BRAND VARIABLES (WITH FALLBACKS) ***********/
:root {
  --lc-primary: #244a73;
  --lc-secondary: #55a96c;
  --lc-accent: #f3e8d8;
  --lc-bg-dark: #10101a;
  --lc-bg-darker: #181830;
  --lc-border: #244a73;
  --lc-header-shadow: rgba(36,74,115,0.22);
  --lc-shadow: 0 2px 24px rgba(40,180,255,0.08), 0 1.5px 8px 0 rgba(49,255,189,0.16);
  --lc-neon: #12c2e9;
  --lc-error: #ff2d55;
}

/*********** TYPOGRAPHY ***********/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--lc-secondary);
}

p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #f3e8d8;
  margin-bottom: 10px;
}

strong {
  color: var(--lc-secondary);
  font-weight: bold;
}

/*********** LAYOUT: CONTAINERS & SECTIONS ***********/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(120deg, #244a73 0%, #181830 50%, #10101a 100%);
  border-radius: 32px;
  box-shadow: var(--lc-shadow);
  border: 1px solid rgba(36,74,115,0.12);
  position: relative;
  transition: box-shadow 0.4s;
}
section:last-child {
  margin-bottom: 0;
}

/*********** NAV & HEADER ***********/
header {
  width: 100%;
  background: var(--lc-bg-darker);
  box-shadow: 0 2px 6px var(--lc-header-shadow);
  z-index: 20;
  position: sticky;
  top: 0;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 18px 18px;
  justify-content: flex-start;
}
header nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 6px 13px;
  border-radius: 7px;
  color: #f3e8d8;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  margin-right: 4px;
}
header nav a.btn-primary {
  color: #121212;
  background: var(--lc-neon);
  font-weight: 700;
  border: none;
  box-shadow: 0 0 10px 2px var(--lc-neon), 0 1.5px 12px 0 #2226cc33;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
header nav a.btn-primary:hover, header nav a.btn-primary:focus {
  background: linear-gradient(90deg, #12c2e9, #55a96c 70%);
  color: #fff;
  box-shadow: 0 0 20px 4px var(--lc-neon),0 1.5px 18px 0 #2226cc44;
}
header nav a:hover, header nav a:focus {
  background: var(--lc-secondary);
  color: #10101a;
}

header nav img {
  height: 38px;
  width: auto;
  margin-right: 14px;
  vertical-align: middle;
}

/*********** MOBILE MENU ***********/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 36;
  background: var(--lc-neon);
  border: none;
  color: #121212;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 2rem;
  box-shadow: 0 0 6px 0 var(--lc-neon);
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #19e7ff;
  box-shadow: 0 0 12px 4px #19e7ff;
  outline: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13,23,38,0.95);
  z-index: 1000;
  transform: translateX(-110%);
  transition: transform 0.33s cubic-bezier(.69,.24,.27,1.18);
  box-shadow: 0 1px 30px 0 rgba(36,74,115,0.23);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #f3e8d8;
  font-size: 2rem;
  margin: 32px 0 24px 20px;
  line-height: 1;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #19e7ff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 24px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  padding: 14px 0;
  font-size: 1.15rem;
  border-radius: 7px;
  transition: background 0.15s;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: var(--lc-primary);
  outline: none;
}
.mobile-nav a:hover {
  background: var(--lc-secondary);
  color: #181830;
}

/********** LAYOUT FLEX CONTAINERS **********/
/**** Provided spacing & flex rules ****/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #181830;
  box-shadow: var(--lc-shadow);
}
.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;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: #f3e8d8;
  box-shadow: 0 2px 16px 2px rgba(36,74,115,0.12);
  flex-wrap: wrap;
  color: #181830;
  font-size: 1.16rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/******** Feature Grid Special ********/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid li {
  flex: 1 1 220px;
  min-width: 180px;
  background: #181830;
  border-radius: 18px;
  box-shadow: var(--lc-shadow);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  border: 1.5px solid rgba(36,74,115,0.18);
  transition: border 0.18s, box-shadow 0.27s;
}
.feature-grid li:hover,
.feature-grid li:focus-within {
  border: 1.5px solid var(--lc-neon);
  box-shadow: 0 2px 24px 0 var(--lc-neon);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}
.feature-grid h3 {
  margin-bottom: 4px;
  color: var(--lc-secondary);
}
/******** Testimonial Cards ********/
.testimonial-card p {
  color: #181830;
  font-weight: 500;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: var(--lc-primary);
}
.testimonial-card img {
  width: 23px;
  height: 23px;
  margin-left: 1px;
}

/*********** BUTTONS ***********/
.btn-primary, .content-wrapper a.btn-primary, button.btn-primary {
  display: inline-block;
  padding: 13px 32px;
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #181830;
  background: linear-gradient(90deg, #12c2e9 40%, #55a96c 90%);
  border: none;
  border-radius: 29px;
  box-shadow: 0 0 16px 1px #12c2e950;
  cursor: pointer;
  text-align: center;
  outline: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.2s;
}
.btn-primary:active, .btn-primary:focus {
  background: #244a73;
  color: #fff;
  box-shadow: 0 0 18px 4px #19e7ff77;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #22e2fa 10%, #244a73 100%);
  color: #fff;
  box-shadow: 0 0 24px 4px #12c2e9cc;
  transform: translateY(-2px) scale(1.03);
}

/*********** SEARCH FILTER - LISTINGS ***********/
.search-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 18px 0 12px 0;
}
.search-filter input[type="text"] {
  font-size: 1rem;
  padding: 11px 16px;
  border: 1.2px solid var(--lc-primary);
  border-radius: 13px;
  background: #23233a;
  color: #fff;
  width: 260px;
  transition: border 0.2s;
}
.search-filter input[type="text"]:focus {
  border: 1.2px solid var(--lc-neon);
  outline: none;
}
.search-filter button {
  min-width: 112px;
  opacity: 0.7;
  pointer-events: none;
}
.search-filter input:disabled,
.search-filter button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/********* CONTENT GRID ************/
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/********* CONTACT METHODS ************/
.contact-methods {
  margin-top: 12px;
  margin-bottom: 12px;
}
.contact-methods ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-methods li {
  font-size: 1.08rem;
  color: #f3e8d8;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-methods img {
  width: 22px;
  height: 22px;
}

/********* ADDRESS ********/
address {
  font-style: normal;
  color: #999ecb;
  font-size: 0.95rem;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
address img {
  width: 17px;
  height: 17px;
  vertical-align: middle;
  margin-right: 4px;
  margin-bottom: -2px;
}

/*********** FOOTER ***********/
footer {
  background: #181830;
  box-shadow: 0 -2px 10px 0 rgba(36,74,115,0.1);
  padding: 36px 24px 30px 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
  align-items: center;
}
footer nav a {
  color: var(--lc-accent);
  font-weight: 500;
  font-size: 0.98rem;
  margin-right: 6px;
  border-radius: 7px;
  padding: 4px 10px;
  transition: background 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--lc-secondary);
  color: #10101a;
  outline: none;
}
footer div {
  color: #7ac2b8;
  font-size: 0.96rem;
  margin-bottom: 8px;
}

/*********** MISC LISTS ***********/
ul li, ol li {
  margin-bottom: 10px;
}

/*********** ANIMATIONS ***********/
@keyframes slideInX {
  from { transform: translateX(-110%); }
  to { transform: translateX(0); }
}
@keyframes slideOutX {
  from { transform: translateX(0); }
  to { transform: translateX(-110%); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/*********** COOKIE CONSENT BANNER ***********/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #181830;
  color: #f3e8d8;
  box-shadow: 0 -2px 18px 0 rgba(36,74,115,0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 32px 19px 16px;
  z-index: 1200;
  font-size: 1rem;
  animation: fadeInUp 0.7s cubic-bezier(.61,.28,.48,1.32);
}
.cookie-banner__text {
  flex: 1 1 40%;
  max-width: 550px;
  color: #f3e8d8;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 19px;
  border: none;
  padding: 9px 18px;
  margin-left: 3px;
  font-weight: 600;
  cursor: pointer;
  background: #23233a;
  color: #fff;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  box-shadow: 0 1px 8px 0 #12c2e933;
  outline: none;
}
.cookie-banner button.accept {
  background: var(--lc-neon);
  color: #121212;
  box-shadow: 0 0 14px 1px #12c2e950;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #22e2fa;
  color: #fff;
}
.cookie-banner button.reject {
  background: #244a73;
  color: #fff;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #ff2d55;
  color: #fff;
}
.cookie-banner button.settings {
  background: transparent;
  color: #f3e8d8;
  border: 1px solid #333c60;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #23233a;
  color: var(--lc-neon);
}

/*********** COOKIE PREFERENCE MODAL ***********/
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #181830;
  color: #f3e8d8;
  padding: 32px 28px 26px 28px;
  border-radius: 22px;
  min-width: 340px;
  max-width: 96vw;
  z-index: 1600;
  box-shadow: 0 2px 38px 4px #12c2e922;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInUp 0.4s ease;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  background: #23233a;
  padding: 13px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 19px;
}
.cookie-category .label {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #f3e8d8;
}
.cookie-category input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: var(--lc-neon);
  margin: 0 1px 0 0;
}
.cookie-category.disabled {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 13px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 10px 23px;
}
.cookie-modal__close {
  position: absolute;
  top: 13px;
  right: 18px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #f3e8d8;
  cursor: pointer;
}
.cookie-modal__close:hover { color: #19e7ff; }

/*********** MEDIA QUERIES - RESPONSIVE ***********/
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 7vw;
  }
}
@media (max-width: 850px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  section, .section {
    padding: 32px 12px;
    border-radius: 21px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding: 0 8px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 24px 6px;
    border-radius: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 11px;
    font-size: 1rem;
    padding: 14px 9px;
  }
  .card {
    margin-bottom: 11px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 18px 10px;
    gap: 10px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.16rem; }
  h3, h4, h5 { font-size: 1.01rem; }
  .container { padding: 0 2px; }
}

/*********** UTILITIES ***********/
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-28 { margin-bottom: 28px; }
.mb-40 { margin-bottom: 40px; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.text-center { text-align: center; }

/*********** MICRO-INTERACTIONS ***********/
.card, .feature-grid li, .testimonial-card, section {
  transition: box-shadow 0.3s, border 0.18s, background 0.23s;
}
.card:hover, .feature-grid li:hover, section:hover {
  box-shadow: 0 3px 32px 0 #12c2e9c0, 0 1px 6px 0 #244a7340;
}
.testimonial-card:hover {
  box-shadow: 0 2px 24px 0 #55a96ccc, 0 1px 10px #244a7344;
}
input, select, textarea {
  transition: border-color 0.17s, box-shadow 0.17s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--lc-neon);
  outline: none;
  box-shadow: 0 1px 12px #12c2e922;
}

/*********** ACCESSIBILITY - FOCUS STATES ***********/
a:focus, button:focus, input:focus, .btn-primary:focus {
  box-shadow: 0 0 0 2.5px #12c2e9;
  outline: none;
}

/*********** PRINT STYLES ***********/
@media print {
  .cookie-banner, .cookie-modal, .mobile-menu, .mobile-menu-toggle { display: none!important; }
  header, footer, nav { box-shadow: none!important; background: #fff!important; color: #000!important; }
}

/* End of Luminous Chassis Futuristic CSS */
