/* --- 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color: #F5F7FA;
}
body {
  background: #23263a;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  width: 100vw;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border-style: none;
}
a {
  color: #E67E22;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ffb96a;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px; 
  line-height: 1.6;
}
strong {
  font-weight: 600;
}
.button, .btn {
  /* For HTML .btn and internally .button */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 16px;
  background: #23263a;
  color: #E67E22;
  border: 2px solid #E67E22;
  border-radius: 32px;
  padding: 10px 32px;
  box-shadow: 0 4px 20px 0 rgba(230,126,34,0.10);
  cursor: pointer;
  text-transform: uppercase;
  margin: 0 8px 8px 0;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, border 0.2s;
  position: relative;
  z-index: 1;
}
.button:hover, .btn:hover, .button:focus, .btn:focus {
  background: #E67E22;
  color: #23263a;
  border-color: #ffb96a;
  box-shadow: 0 8px 32px 0 rgba(230,126,34,0.12), 0 0 0 2px #E67E22;
}
.btn.btn-primary {
  background: #E67E22;
  color: #23263a;
  border-color: #E67E22;
  box-shadow: 0 6px 20px 0 rgba(230,126,34,0.12);
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #ffb96a;
  color: #23263a;
  border-color: #ffb96a;
  box-shadow: 0 12px 40px 0 rgba(230,126,34,0.18);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ---- HEADER ---- */
header {
  background: #23263a;
  box-shadow: 0 2px 28px rgba(44,62,80,0.18);
  position: sticky;
  top: 0;
  z-index: 22;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img[alt='Luminous Restore'] {
  width: 160px;
  margin-right: 40px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: #F5F7FA;
  text-transform: uppercase;
  opacity: 0.92;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.17s, color 0.17s;
}
header nav a:hover, header nav a.active {
  background-color: #E67E22;
  color: #23263a;
}
header .btn.btn-primary {
  margin-left: 24px;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #E67E22;
  border: none;
  font-size: 32px;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 31;
  transition: color 0.15s;
}
.mobile-menu-toggle:hover {
  color: #ffb96a;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(34, 38, 58, 0.94);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.73,.19,.11,.92);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #F5F7FA;
  border: none;
  font-size: 32px;
  padding: 24px 24px 0 18px; /* position top-left */
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.17s;
  z-index: 41;
}
.mobile-menu-close:hover {
  color: #E67E22;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 32px 24px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #F5F7FA;
  font-size: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  padding: 12px 0;
  border-radius: 7px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
  opacity: 0.92;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #E67E22;
  color: #23263a;
}

/* ---- MAIN & SECTIONS ---- */
main {
  flex: 1;
  margin-bottom: 80px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 18px;
  position: relative;
}
section > .container {
  /* makes spacing inside sections uniform */
  gap: 0;
}

.content-wrapper, .content-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.text-section {
  font-size: 16px;
  color: #F5F7FA;
  margin-bottom: 16px;
  line-height: 1.7;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #222435;
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 rgba(44,62,80,0.14), 0 1.5px 6px rgba(34,38,58,0.09);
  padding: 28px 28px 20px 28px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 12px 36px 0 rgba(230,126,34,0.12), 0 3px 12px rgba(44,62,80,0.22);
  transform: translateY(-3px) scale(1.017);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Testimonials -- critical color contrast rules */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #F5F7FA;
  color: #2C3E50;
  box-shadow: 0 2px 16px rgba(44,62,80,0.13);
  min-width: 220px;
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
}
.testimonial-card div {
  font-size: 15px;
  color: #E67E22;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---- TYPOGRAPHY ---- */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: #fff;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  text-shadow: 0 1px 12px #17192A44;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #E67E22;
  margin-bottom: 12px;
  text-shadow: 0 1.5px 10px #FF9A0044;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #FFC87C;
  margin-bottom: 8px;
  margin-top: 16px;
}
p {
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.8;
}

/* --- LISTS & LINKS --- */
ul {
  list-style: disc inside;
  margin-bottom: 18px;
}
ul li {
  padding-left: 0;
  color: #F5F7FA;
  font-size: 16px;
  margin-bottom: 6px;
}
ul li strong {
  color: #E67E22;
}
ol {
  list-style: decimal inside;
  margin-bottom: 18px;
}

/* ---- FOOTER ---- */
footer {
  background: #23263a;
  border-top: 3px solid #E67E22;
  box-shadow: 0 -4px 30px rgba(44,62,80,0.14);
  position: relative;
  z-index: 11;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 20px 28px 20px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #E67E22;
  font-size: 14px;
  margin-bottom: 2px;
  transition: color 0.15s;
}
footer nav a:hover {
  color: #ffb96a;
}
footer img[alt='Luminous Restore'] {
  width: 128px;
  margin: 0 50px 0 50px;
}
footer .text-section {
  color: #F5F7FA;
  font-size: 15px;
  line-height: 1.7;
  max-width: 260px;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23263a;
  color: #F5F7FA;
  box-shadow: 0 -2px 20px rgba(44,62,80,0.14);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 10px 18px 10px;
  gap: 18px;
  font-size: 16px;
  transition: transform 0.38s cubic-bezier(.7,.2,.13,.86), opacity 0.2s;
  transform: translateY(0);
}
.cookie-banner.hidden {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  border-radius: 22px;
  padding: 7px 18px;
  margin: 0 3px;
  border: 2px solid #E67E22;
  background: transparent;
  color: #E67E22;
  cursor: pointer;
  min-width: 80px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.cookie-btn.accept {
  background: #E67E22;
  color: #23263a;
  border-color: #E67E22;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #ffb96a;
  color: #23263a;
  border-color: #ffb96a;
}
.cookie-btn.reject {
  background: transparent;
  color: #E67E22;
  border-color: #E67E22;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #2C3E50;
  color: #ffb96a;
  border-color: #ffb96a;
}
.cookie-btn.settings {
  background: transparent;
  color: #F5F7FA;
  border-color: #E67E22;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #E67E22;
  background: #33374d;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,38,58,0.84);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #23263a;
  color: #F5F7FA;
  border-radius: 22px;
  max-width: 420px;
  width: 93vw;
  box-shadow: 0 14px 64px rgba(44,62,80,0.21);
  padding: 30px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-size: 16px;
}
.cookie-modal h2 {
  color: #E67E22;
  font-size: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 5px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #2C3E50;
  padding: 13px 16px;
  border-radius: 13px;
  font-size: 15px;
  color: #F5F7FA;
}
.cookie-category input[type='checkbox'] {
  accent-color: #E67E22;
  width: 20px; height: 20px;
  cursor: pointer;
}
.cookie-category label {
  font-size: 15px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 24px;
  top: 18px;
  background: none;
  border: none;
  color: #F5F7FA;
  font-size: 22px;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .modal-close:hover {
  color: #E67E22;
}
.cookie-modal .modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  flex-direction: row;
  justify-content: flex-end;
}

/* ---- FLEXBOX UTILS & ALIGNMENTS ---- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- MICROINTERACTIONS & EFFECTS --- */
.btn, .button, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
  transition: box-shadow 0.15s, border 0.15s, background 0.15s, color 0.15s;
}
.card, .testimonial-card, .cookie-modal, .content-wrapper {
  transition: box-shadow 0.15s, background 0.15s, transform 0.12s;
}
.card:active { transform: scale(0.97); }
.btn:active, .button:active { transform: scale(0.99); }

/* --- SCROLLBAR STYLE (webkit only, fallback ok) --- */
body::-webkit-scrollbar {
  width: 10px;
  background: #23263a;
}
body::-webkit-scrollbar-thumb {
  background: #2C3E50;
  border-radius: 6px;
}

/* --- ACCENT NEON EFFECT (futuristic) --- */
.btn-primary,
.btn-primary:hover,
.btn,
.button,
header nav a.active,
.testimonial-card div,
h2 {
  text-shadow:
    0 0 6px #e67e2291,
    0 0 18px #ffd59933;
}

/* Decorative neon underline for main headings */
h1 {
  position: relative;
}
h1:after {
  content: '';
  display: block;
  height: 4px;
  width: 60px;
  margin-top: 10px;
  background: linear-gradient(to right, #E67E22 10%, #ffb96a 80%);
  border-radius: 2px;
  box-shadow: 0 0 20px #FF9A0044;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1100px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 720px;
  }
  header img[alt='Luminous Restore'] {
    width: 120px;
  }
  footer img[alt='Luminous Restore'] {
    width: 92px;
  }
  header .btn.btn-primary {
    margin-left: 12px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 15px;
    right: 18px;
  }
  .content-wrapper, .content-grid{
    gap: 18px;
  }
  section {
    padding: 24px 8px;
  }
  .testimonials .testimonial-card, .testimonial-card {
    font-size: 15px;
    padding: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card-container {
    gap: 14px;
  }
  .card {
    min-width: 98%;
    padding: 16px 13px 13px 13px;
    font-size: 15px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 8px 12px 8px;
  }
  footer img[alt='Luminous Restore'] {
    margin: 0 0 20px 0;
  }
}
@media (max-width: 560px) {
  html { font-size: 14px; }
  h1 { font-size: 22px; }
  h2 { font-size: 17px; }
  .btn, .button { font-size: 14.5px; padding: 10px 17px;}
  .testimonials .testimonial-card, .testimonial-card { font-size: 14px; }
  .card { font-size: 14px; }
  .content-wrapper, .content-grid{ gap: 10px; }
  section { padding: 18px 3px; }
}

/* --- GOOGLE FONTS CDN IMPORT (to be included in <head> as well for best practice) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Roboto:400,500,700&display=swap');
