/* Lunar Drift Energy – Soft Pastel Flexbox Style (mobile-first) */
/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  height: 100%;
  scroll-behavior: smooth;
  background: #F8F6F9;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FAF9FD;
  color: #143047;
  min-height: 100vh;
  line-height: 1.6;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #225d7c;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #DAAE3B;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.25em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #143047;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h1 { font-size: 2.2rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-top: 36px; margin-bottom: 18px; }
h3 { font-size: 1.21rem; }
h4, h5, h6 { font-size: 1rem; }

.subheadline {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #46596c;
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 26px;
  margin-top: -10px;
  letter-spacing: 0.01em;
}

/* LAYOUT CONTAINERS */
main {
  margin-top: 90px;
  margin-bottom: 90px;
}
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(120,110,245,0.06);
  padding: 30px 18px 28px 18px;
  margin-bottom: 38px;
}
@media (min-width: 900px) {
  .content-wrapper {
    padding: 44px 44px 40px 44px;
    margin-bottom: 60px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX GRIDS & ALIGNMENT */
.feature-grid,
.industry-grid,
.card-container,
.card-grid,
.service-list,
.news-list,
.event-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 14px;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .feature-grid, .industry-grid, .service-list, .card-grid, .news-list {
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
  }
}
@media (min-width: 900px) {
  .feature-grid {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 32px;
  }
  .industry-grid { gap: 30px; }
  .service-list { gap: 28px; }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  margin-bottom: 22px;
  background: #F9F7FF;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(80,88,122,0.08);
  border: 1px solid #e1e7ff;
  color: #233040;
  flex-direction: column;
}
.testimonial-card blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: #31344a;
}
.testimonial-card footer {
  margin-top: 10px;
  color: #6981a1;
  font-size: 0.95rem;
  font-style: normal;
}

/* CARD STYLES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  box-shadow: 0 2px 16px 0 rgba(110,110,160,0.07);
  border-radius: 18px;
  padding: 26px 20px;
  flex: 1 1 240px;
}
@media (max-width: 600px) {
  .card {
    padding: 18px 12px;
  }
}

.feature,
.service,
.industry {
  background: #F6F4FA;
  border: 1px solid #ece5ff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(180,140,244,0.04);
  padding: 22px 18px 22px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.feature:hover,
.service:hover,
.industry:hover {
  box-shadow: 0 8px 32px 0 rgba(100,100,160,0.14);
  transform: translateY(-3px) scale(1.018);
}
.price {
  color: #7b38b7;
  background: #f8f6fd;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  padding: 3px 10px 2px 10px;
  margin-top: 4px;
  margin-bottom: 0;
}

.quality-guarantee,
.trust-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  font-size: 1rem;
}
.trust-badges img {
  width: 38px;
  height: 38px;
}

.location-map {
  background: #f5eefa;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #67588d;
}

/* VISUAL HIERARCHY */
ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* BUTTONS & CTAs */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 36px;
  border-radius: 28px;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  box-shadow: 0 3px 14px 0 rgba(110,110,160,0.13);
  border: none;
  cursor: pointer;
  margin-top: 16px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s, box-shadow 0.20s, transform 0.14s;
  text-align: center;
}
.cta-primary {
  background: #b7b7f8;
  color: #143047;
  border: 1.5px solid #d6cdff;
}
.cta-primary:hover, .cta-primary:focus {
  background: #DAAE3B;
  color: #143047;
  box-shadow: 0 8px 36px 0 rgba(200,180,64,0.17);
  transform: scale(1.028) translateY(-2px);
}
.cta-secondary {
  background: #f8f7fe;
  color: #7968ae;
  border: 1.5px solid #dad1ff;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #e5d7fa;
  color: #143047;
  box-shadow: 0 8px 24px rgba(200,185,243,0.22);
  transform: scale(1.018);
}
button, .button {
  font-family: 'Roboto', Arial, sans-serif;
  border: none;
  cursor: pointer;
}

/* HEADER & NAVIGATION */
header {
  background: #FFF;
  padding: 0 0;
  width: 100%;
  min-height: 73px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  z-index: 20;
  top: 0; left: 0; right: 0;
  box-shadow: 0 3px 20px 0 rgba(167,156,245,0.08);
}
header a img {
  height: 34px;
  margin: 16px 18px 16px 24px;
}
.main-nav {
  display: none;
}
@media (min-width: 950px) {
  .main-nav {
    display: flex;
    gap: 33px;
    align-items: center;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.03rem;
    margin: 0 24px 0 13px;
  }
  .main-nav a {
    color: #223b54;
    padding: 6px 0;
    position: relative;
    transition: color 0.17s;
  }
  .main-nav a:hover, .main-nav a.active {
    color: #DAAE3B;
  }
}
.cta-primary {
  margin-right: 20px;
  margin-left: 6px;
}
@media (max-width: 949px) {
  .cta-primary {
    margin-right: 12px;
  }
}
.mobile-menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #143047;
  margin-right: 22px;
  padding: 7px 12px;
  align-items: center;
  cursor: pointer;
  border-radius: 10px;
  transition: background .18s;
  z-index: 31;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ece9fd;
}
@media (min-width: 950px) {
  .mobile-menu-toggle { display: none; }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(238,236,250,0.97);
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.66,0.04,0.35,1.04);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #57487E;
  margin: 20px 24px 0 0;
  cursor: pointer;
  border-radius: 10px;
  transition: background .18s;
  padding: 8px 15px;
  z-index: 51;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #e9e6fa;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 42px 36px 28px 38px;
  margin-top: 30px;
}
.mobile-nav a {
  color: #322053;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 600;
  padding: 8px 4px;
  border-radius: 6px;
  width: 100%;
  transition: background .17s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #eaddfb;
  color: #7b38b7;
}
@media (min-width: 950px) {
  .mobile-menu { display: none; }
}

/* FOOTER */
footer {
  background: #F7F4FB;
  padding: 38px 16px 26px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-top: 60px;
  box-shadow: 0 -2px 16px 0 rgba(120,110,245,0.06);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 10px;
  align-items: center;
}
.footer-links a {
  color: #7456b5;
  font-size: 1rem;
  padding: 5px 12px;
  border-radius: 7px;
  transition: background 0.17s, color 0.14s;
}
.footer-links a:hover, .footer-links a.active {
  background: #efe7fb;
  color: #DAAE3B;
}
.legal-notices {
  color: #aaa7c2;
  font-size: 0.94rem;
}
.social-media-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-media-links img {
  width: 32px;
  height: 32px;
  opacity: 0.72;
  cursor: pointer;
  transition: opacity .18s;
}
.social-media-links img:hover {
  opacity: 1;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: #f4f0fa;
  box-shadow: 0 -2px 16px 0 rgba(110,110,160,0.11);
  border-top: 1.5px solid #e1dbe4;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  transition: transform 0.32s, opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__text {
  color: #3a3172;
  font-size: 1rem;
  text-align: center;
}
.cookie-banner__actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  padding: 10px 24px;
  border-radius: 22px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  cursor: pointer;
  margin: 0 0 0 0;
  transition: background 0.19s, color 0.15s;
}
.cookie-btn-accept {
  background: #DAAE3B;
  color: #143047;
}
.cookie-btn-accept:hover {
  background: #b7b7f8;
  color: #143047;
}
.cookie-btn-reject {
  background: #e3e1fc;
  color: #544377;
}
.cookie-btn-reject:hover {
  background: #dcccfc;
  color: #143047;
}
.cookie-btn-settings {
  background: #fff;
  color: #7968ae;
  border: 1.5px solid #c1aaff;
}
.cookie-btn-settings:hover {
  background: #ece9fd;
  color: #143047;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 1100;
  bottom: 0; left: 50%;
  transform: translate(-50%, 110%);
  min-width: 320px;
  max-width: 94vw;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 22px 0 rgba(120,110,240,0.13);
  padding: 30px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.32s, opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, 0);
}
.cookie-modal__title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.24rem;
  margin-bottom: 0.5em;
  color: #4f3780;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  background: #f7f4fd;
  border-radius: 8px;
  padding: 14px 12px 12px 12px;
  font-size: 1.05rem;
  border: 1px solid #e4daff;
}
.cookie-category input[type=checkbox] {
  width: 17px;
  height: 17px;
  accent-color: #b7b7f8;
}
.cookie-category .always-on {
  font-size: 1em;
  color: #7a678a;
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cookie-modal__close {
  position: absolute;
  top: 13px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.85rem;
  color: #767588;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal__close:hover {
  color: #b4a0e0;
}

@media (min-width: 550px) {
  .cookie-modal {
    min-width: 390px;
    padding: 38px 36px 26px 36px;
  }
  .cookie-modal__close {
    top: 16px; right: 26px;
  }
}

/* FORMS */
input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  border: 1.5px solid #d7ccfc;
  background: #f5f2fb;
  padding: 9px 13px;
  margin-bottom: 12px;
  width: 100%;
  transition: border-color 0.18s;
}
input:focus, textarea:focus {
  border-color: #DAAE3B;
  outline: none;
}
label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #67588d;
  font-size: 1rem;
  margin-bottom: 3px;
  display: block;
}

/* DOWNLOAD BUTTON */
a[download] {
  display: inline-block;
  background: #f5efff;
  color: #6a5fa3;
  padding: 7px 22px;
  border-radius: 16px;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 7px;
  transition: background 0.17s, color 0.13s;
}
a[download]:hover {
  background: #DAAE3B;
  color: #143047;
}

/* SPECIALS & ACCENTS */
strong {
  color: #382f5e;
  font-weight: 600;
}
::-webkit-scrollbar {
  width: 10px;
  background: #f4f0fa;
}
::-webkit-scrollbar-thumb {
  background: #d9d4ef;
  border-radius: 7px;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  main { margin-top: 74px; }
  .content-wrapper { padding: 26px 5vw; }
  .footer-links { gap: 16px; }
}
@media (max-width: 600px) {
  header { padding: 0 0; min-height: 63px; }
  .content-wrapper { padding: 18px 4vw; }
  .footer-links { flex-direction: column; gap: 10px; }
  .social-media-links { gap: 12px; }
}

/* --- Utility Classes --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }

/**** --- BRAND COLORS as CSS CUSTOM PROPERTIES --- ****/
:root {
  --color-primary: #143047;
  --color-secondary: #DAAE3B;
  --color-accent: #F4F3F0;
  --color-pastel-blue: #b7b7f8;
  --color-pastel-pink: #ffe1f0;
  --color-pastel-lilac: #e9e6fa;
  --color-soft-purple: #f7f4fd;
  --color-soft-yellow: #fff3b0;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.card, .feature, .testimonial-card, .industry, .service {
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover, .feature:hover, .industry:hover, .service:hover {
  box-shadow: 0 8px 28px 0 rgba(90,69,120,0.14);
  transform: translateY(-2px) scale(1.012);
}

.cta-primary:active,
.cta-secondary:active,
.cookie-btn:active {
  transform: scale(0.98);
}

/* --- FOCUS OUTLINE FOR ACCESSIBILITY --- */
a:focus, button:focus, .cta-primary:focus, .cookie-btn:focus {
  outline: 2px solid #DAAE3B;
  outline-offset: 2px;
}

/* --- Remove unwanted tap highlights on mobile --- */
html {
  -webkit-tap-highlight-color: rgba(218,174,59,0.18);
}

/* ---- END ---- */
