/* KosmosKompass - Industrial Modern Responsive Style.css */
/* RESET & NORMALIZE */
html {box-sizing: border-box; font-size: 16px;}
*, *:before, *:after {box-sizing: inherit; margin: 0; padding: 0; border: 0;}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, nav, section {margin: 0; padding: 0; font-weight: normal;}
ul, ol {list-style: none;}
a {text-decoration: none; color: inherit;}
img {max-width: 100%; display: block; border: 0;}
button, input, select, textarea {font: inherit; background: none; border: none; outline: none;}
:focus {outline: 2px solid #A98CFD; outline-offset: 2px;}

/* FONTS (Google Fonts import in HTML if needed)*/
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #1F2F3B;
  color: #F7F6F2;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-size: 1rem;
}
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: #F7F6F2;
  letter-spacing: 0.02em;
  font-weight: 700;
}
h1 {font-size: 2.75rem; margin-bottom: 14px;}
h2 {font-size: 2rem; margin-bottom: 20px;}
h3 {font-size: 1.5rem; margin-bottom: 12px;}
h4 {font-size: 1.1rem; margin-bottom: 8px;}

p, li, a, span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F7F6F2;
  font-size: 1rem;
}
strong {color: #A98CFD; font-weight: 700;}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
  h4 { font-size: 0.95rem; }
  body { font-size: 0.95rem; }
}

/* COLORS */
:root {
  --cc-primary: #1F2F3B;
  --cc-secondary: #A98CFD;
  --cc-accent: #F7F6F2;
  --cc-steel: #4D565F;
  --cc-concrete: #212930;
  --cc-dark-accent: #23262b;
  --cc-metallic: #b0b6be;
}

/* LAYOUT: Container, Spacing, Wrappers */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--cc-concrete);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(31,47,59,0.10), 0 0.5px 3px 0 #23262b;
  position: relative;
}
@media (max-width: 768px) {
  .section {padding: 26px 8px; margin-bottom: 36px;}
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: var(--cc-primary);
  border-bottom: 1.5px solid var(--cc-metallic);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  gap: 12px;
}
.logo img {height: 48px;}
@media (max-width: 430px) { .logo img {height: 38px;} }
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: var(--cc-metallic);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.16s, background 0.16s;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--cc-secondary);
  background: #292f37;
}
.main-nav .cta {
  background: var(--cc-secondary);
  color: #201c2a !important;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  border-radius: 22px;
  padding: 7px 24px;
  margin-left: 14px;
  box-shadow: 0 2px 12px 0 rgba(169,140,253,0.07);
  text-shadow: 0 1px #b0b6be23;
  transition: background 0.22s, color 0.17s, box-shadow 0.22s;
  border: 1px solid #9376e7;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: #A98CFD;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(169,140,253,0.12);
  border: 1.5px solid #fff;
}

/* Mobile Burger Menu */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--cc-accent);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  transition: color 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--cc-secondary);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(31,47,59, 0.98);
  z-index: 999;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(0.7,0,0.3,1);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  color: var(--cc-secondary);
  background: transparent;
  font-size: 2.2rem;
  margin: 22px 0 0 24px;
  align-self: flex-start;
  cursor: pointer;
  z-index: 1002;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-left: 32px;
  margin-top: 48px;
}
.mobile-nav a {
  color: var(--cc-accent);
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 7px 0;
  transition: background 0.1s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--cc-secondary);
  color: #26212b;
  padding-left: 14px;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {display: none !important;}
}

/* HERO STYLES */
.hero {
  min-height: 300px;
  display: flex;
  align-items: center;
  background: linear-gradient(95deg, #242a33 60%, #1F2F3B 100%);
  box-shadow: 0 8px 24px -4px #20232b47;
  border-radius: 0 0 32px 32px;
  position: relative;
}
.hero .container {
  padding-top: 42px;
  padding-bottom: 42px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.subheadline {
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--cc-metallic);
  margin-bottom: 14px;
}
.cta.primary {
  background: var(--cc-secondary);
  color: #201c2a;
  font-weight: 600;
  border-radius: 99px;
  padding: 14px 38px;
  font-size: 1.13rem;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 20px 0 rgba(169,140,253,0.15);
  border: 1.5px solid #865dff;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.13s, box-shadow 0.17s;
  cursor: pointer;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #865dff;
  box-shadow: 0 8px 22px 0 rgba(169,140,253,0.16);
  border-color: #fff;
}

/* FEATURES (Section, Item) */
.features {
  padding-bottom: 18px;
}
.features .container {
  padding-top: 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 240px;
  min-width: 230px;
  background: #23262b;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 #262f3616;
  padding: 26px 22px 18px 22px;
  border: 1.25px solid #3c4751;
  transition: box-shadow 0.23s, border-color 0.16s;
  position: relative;
}
.feature-item img {
  width: 34px; height: 34px; margin-bottom: 3px;
  filter: grayscale(30%) brightness(1.1) drop-shadow(0 1px 4px #181a1f20);
}
.feature-item:hover {
  box-shadow: 0 8px 26px 0 #A98CFD33;
  border-color: #A98CFD;
}
.feature-item h3 {
  color: var(--cc-secondary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
}
.feature-item p {
  color: var(--cc-accent);
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .feature-grid { flex-direction: column; gap: 18px; }
  .feature-item { min-width: 0; width: 100%; }
}

/* TEXT & IMAGE SECTION */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}

.text-section {
  background: #23272d;
  color: var(--cc-accent);
  padding: 24px 22px 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 #23262b14;
  margin-bottom: 20px;
  margin-top: 0;
}
.text-section ul, .text-section ol {
  margin-left: 16px;
  margin-bottom: 0;
  margin-top: 5px;
}
.text-section li {
  margin-bottom: 10px;
  color: var(--cc-metallic);
  font-size: 0.97rem;
}
.text-section strong {
  color: var(--cc-secondary);
}

/* CARDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 240px;
  min-width: 250px;
  border-radius: 12px;
  background: #23262b;
  box-shadow: 0 3px 12px 0 #292f3724;
  border: 1.25px solid #414952;
  transition: box-shadow 0.2s, border-color 0.15s;
}
.card:hover {
  box-shadow: 0 8px 24px 0 #A98CFD29;
  border-color: #A98CFD;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 18px;
}
@media (max-width: 800px){
  .card-container { flex-direction: column; gap: 16px; }
  .card { min-width: 0; }
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 56px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F6F2;
  color: #262b31;
  border-radius: 14px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px 0 #54545408;
  border: 1px solid #bebfc370;
}
.testimonial-card p {
  color: #23262b;
  font-size: 1.04rem;
  font-style: italic;
  line-height: 1.56;
}
.testimonial-author {
  color: #5137ad;
  font-size: 0.98rem;
  margin-left: 14px;
  font-weight: 600;
  font-style: normal;
}
@media (max-width: 600px) {
  .testimonial-card { flex-direction: column; gap: 8px; padding: 18px 9px; }
  .testimonial-author { margin-left: 0; }
}

/* BUTTONS & CTA */
.cta, .btn, button, .card-action {
  display: inline-block;
  background: var(--cc-secondary);
  color: #1f2f3b;
  border-radius: 25px;
  padding: 8px 22px;
  font-size: 1.06rem;
  font-weight: 600;
  text-align: center;
  border: 1.25px solid #9376e7;
  margin-top: 7px;
  margin-bottom: 7px;
  box-shadow: 0 2px 8px 0 #A98CFD22;
  cursor: pointer;
  transition: background 0.2s, color 0.14s, box-shadow 0.17s, border 0.16s;
}
.cta:hover, .cta:focus, .btn:hover, .btn:focus, button:hover, button:focus {
  background: #fff;
  color: var(--cc-secondary);
  border: 1.25px solid #fff;
  box-shadow: 0 6px 12px 0 #A98CFD33;
}

/* FORMS / INPUTS */
input, textarea, select {
  background: #2a313a;
  color: var(--cc-accent);
  border: 1.25px solid #393f45;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 1rem;
  margin-top: 3px;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--cc-secondary);
}

/* FOOTER */
footer {
  width: 100%;
  background: #212930;
  border-top: 1.5px solid #55585b;
  margin-top: 55px;
  box-shadow: 0 0 16px 0 #1f2f3b2a;
  font-size: 1rem;
}
footer .container {
  padding-top: 28px;
  padding-bottom: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-start;
}
.footer-brand img {
  height: 46px; margin-bottom: 18px;
  filter: grayscale(18%) brightness(1.25);
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-legal a {
  color: #b0b6be;
  font-size: 0.99rem;
  font-weight: 400;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus, .footer-legal a:hover, .footer-legal a:focus {
  color: #A98CFD;
}
.footer-contact {
  max-width: 320px;
  color: #b0b6be;
  font-size: 0.97rem;
}
.footer-contact a { color: #A98CFD; }
.footer-social { display: flex; flex-direction: row; gap: 16px; margin-top: 8px; }
.footer-social img { height: 28px; filter: grayscale(80%) brightness(1.1); transition: filter 0.2s; }
.footer-social a:hover img, .footer-social a:focus img { filter: none; }
@media (max-width: 960px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* RESPONSIVE FLEX PATTERNS */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
    justify-content: flex-start;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #232931;
  color: #F7F6F2;
  box-shadow: 0 -2px 14px 0 #181a2124;
  z-index: 2000;
  padding: 20px 16px 20px 16px;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
  gap: 18px;
  animation: banner-in 0.5s cubic-bezier(0.66,0,0.34,1);
}
@keyframes banner-in {
  from {transform: translateY(100%);} to {transform: translateY(0);}
}
.cookie-banner__message {
  flex: 1 1 280px;
  font-size: 1rem;
  color: var(--cc-accent);
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btn, .cookie-btn-settings {
  background: #A98CFD;
  color: #201c2a;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  border: 1.5px solid #7e66ac;
  padding: 8px 20px;
  transition: background 0.16s, color 0.13s, border 0.13s, box-shadow 0.18s;
  box-shadow: 0 1.5px 8px #A98CFD18;
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #fff;
  color: #865dff;
  border-color: #fff;
}
.cookie-btn.reject {
  background: #181a1f;
  color: #A98CFD;
  border: 1.5px solid #A98CFD;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #2e3240;
  color: #F7F6F2;
}
@media (max-width: 700px) {
  .cookie-banner {flex-direction: column; gap: 18px; padding: 16px 6px; font-size:0.99rem;}
  .cookie-banner__actions {flex-direction: column; gap: 8px;}
}

/* Cookie Banner Modal Style */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  background: rgba(31,47,59,0.92);
  top:0; left:0; right:0; bottom:0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: modal-fade-in 0.3s;
}
@keyframes modal-fade-in {
  from {opacity:0;} to {opacity:1;}
}
.cookie-modal {
  background: #272b33;
  border-radius: 18px;
  padding: 33px 28px 24px;
  box-shadow: 0 8px 36px #A98CFD22;
  min-width: 320px;
  max-width: 97vw;
  color: #F7F6F2;
  position: relative;
  z-index: 3010;
  font-size: 1rem;
}
.cookie-modal h3 {color: #A98CFD; margin-bottom: 16px; font-size: 1.25rem; font-family: 'Cormorant Garamond', serif;}
.cookie-modal__category {
  margin-bottom: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid #393f45;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal__category input[type=checkbox] {
  width: 22px; height: 22px;
  accent-color: #A98CFD;
  cursor: pointer;
}
.cookie-modal__category.disabled input[type=checkbox] {
  accent-color: #828282;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #A98CFD;
  cursor: pointer;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 16px;
}
@media (max-width:480px){
  .cookie-modal {padding: 16px 8px; min-width: 0;}
}

/* Other Utilities & Effects */
hr {border: none; border-top: 1px solid #393f45; margin: 30px 0;}
.mt-0 {margin-top: 0;}
.mb-0 {margin-bottom: 0;}
.mt-1 {margin-top: 1rem;}
.mb-1 {margin-bottom: 1rem;}

/* Shadows & Metallic Effects */
.metallic-text {
  color: var(--cc-metallic);
  text-shadow: 0 1px #A98CFD42, 0 0.5px 3px #fff6;
}
.metallic-line {
  background: linear-gradient(92deg,#A98CFD,#b0b6be,#A98CFD);
  height: 2.5px;
  border-radius: 1.25px;
  margin: 8px 0 18px;
}

/* Animation for Button Pressed */
.btn:active, .cta:active {
  transform: translateY(1.5px) scale(0.98);
  filter: brightness(0.98);
}

/* LISTS, OLs, ULs */
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 0.5em;
}
ul li::marker, ol li::marker {color: #A98CFD;}

/* Responsive Typography & Layout */
@media (max-width: 500px) {
  h1 {font-size: 1.25rem;}
  h2 {font-size: 1.02rem;}
  .footer-brand img, .logo img {height: 34px;}
  .feature-item {padding: 12px 8px 10px 12px;}
}

/* ---- Custom Flexbox Layouts ---- */
/* .section, .card-container, .card, .content-grid, .text-image-section, .testimonial-card, .feature-item patterns already included above */

/* Additional Spacing Utilities */
.mb-2 {margin-bottom: 2rem;}
.mt-2 {margin-top: 2rem;}
.pb-2 {padding-bottom: 2rem;}

/* No Grid allowed. NO display: grid anywhere! */
/* END OF CSS FILE */
