/* RESET & NORMALIZATION */
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: #F8FAFB;
  color: #14324B;
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
ul, ol {
  margin: 0 0 16px 20px;
  padding: 0;
  line-height: 1.7;
}
ul {
  list-style: disc inside;
}
ol {
  list-style: decimal inside;
}
a {
  color: #1B8ABF;
  text-decoration: none;
  outline: none;
  transition: color .18s;
}
a:hover, a:focus {
  text-decoration: underline;
  color: #14324B;
}

/* TYPOGRAPHY HIERARCHY */
h1, .display-title {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #14324B;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
@media (min-width: 768px) {
  h1, .display-title {
    font-size: 3rem;
  }
}
h2 {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #14324B;
  margin-bottom: 18px;
  line-height: 1.18;
}
h3 {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #14324B;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #14324B;
}
p, li {
  font-size: 1rem;
  color: #183C54;
  line-height: 1.7;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

/* GENERAL CONTAINERS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 8px;
  }
}

/* FLEXBOX LAYOUT CLASSES  */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 10px rgba(20,50,75,0.05);
  padding: 30px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  position: relative;
  min-width: 220px;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(20,50,75,0.12);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(20,50,75,0.06);
  padding: 28px 24px 24px 24px;
  margin-bottom: 20px;
  max-width: 540px;
  min-width: 220px;
  margin-right: 24px;
}
.testimonial-meta {
  margin-top: 12px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.feature-grid > div {
  background: #F1F7FA;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(20,50,75,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 20px 18px 20px;
  min-width: 180px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 15px rgba(20,50,75,0.13);
}
.team-list, .faq-list, .case-list, .article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.team-list > div, .faq-list > div, .case-list > div, .article-list > li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(20,50,75,0.06);
  padding: 20px 16px;
  min-width: 200px;
  flex: 1 1 260px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .card-container, .feature-grid, .team-list, .faq-list, .case-list, .content-grid, .article-list {
    flex-direction: column;
    gap: 16px;
  }
  .card, .feature-grid > div, .team-list > div, .faq-list > div, .case-list > div, .article-list > li {
    min-width: 0;
    margin-right: 0;
    width: 100%;
    flex: 1 1 100%;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 4px;
  }
}

.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.success-message {
  background: #F1F8F2;
  border: 1px solid #D4EEDF;
  border-radius: 9px;
  padding: 20px 18px 18px 18px;
  margin-bottom: 18px;
  color: #18442A;
}

/* HEADER/NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(20,50,75,0.04);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  height: 80px;
}
header img[alt='Lucent Monitor'] {
  width: 182px;
  height: auto;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #14324B;
  padding: 6px 11px;
  border-radius: 7px;
  transition: background .16s, color .18s;
}
nav a:hover, nav a:focus {
  background: #E4EFF5;
  color: #1B8ABF;
  text-decoration: none;
}
nav a.cta-primary {
  background: #1B8ABF;
  color: #fff !important;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 7px;
  margin-left: 9px;
  box-shadow: 0 2px 6px rgba(27,138,191,0.08);
  transition: background .18s;
}
nav a.cta-primary:hover, nav a.cta-primary:focus {
  background: #145C86;
  color: #fff;
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
}

/* MOBILE NAVIGATION */
@media (max-width: 900px){
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #1B8ABF;
    cursor: pointer;
    padding: 8px 12px;
    z-index: 1040;
    transition: color .15s;
  }
  .mobile-menu-toggle:hover {
    color: #14324B;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #F8FAFB;
  box-shadow: -4px 0 24px rgba(20,50,75,0.12);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.83,.03,.28,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #1B8ABF;
  padding: 18px 22px 8px 22px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1060;
  transition: color .16s;
}
.mobile-menu-close:hover {
  color: #14324B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0 36px;
  margin-top: 24px;
  gap: 15px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 600;
  color: #14324B;
  padding: 12px 0;
  width: 100%;
  border-radius: 6px;
  transition: background .15s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E4EFF5;
  color: #1B8ABF;
}
@media (max-width: 480px) {
  .mobile-nav {
    padding: 0 14px;
  }
}

/* MAIN CONTENT + SECTION UTILITIES */
main {
  flex: 1 1 auto;
}
section {
  width: 100%;
  border-radius: 16px;
  box-sizing: border-box;
  background: transparent;
}
main a.cta-primary {
  margin-top: 14px;
}
.cta-primary {
  display: inline-block;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #1B8ABF;
  color: #fff !important;
  font-weight: 700;
  padding: 12px 28px;
  font-size: 1.04rem;
  border-radius: 9px;
  border: none;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 16px rgba(27,138,191,0.07);
  cursor: pointer;
  transition: background .18s, box-shadow .18s, color .14s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #145C86;
  color: #fff;
  box-shadow: 0 5px 28px rgba(20,50,75,0.14);
  text-decoration: none;
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.contact-details img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  position: relative;
  top: 5px;
  vertical-align: middle;
}
.company-map {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #F1F7FA;
  border-radius: 9px;
  padding: 14px 17px;
  font-size: 1.11rem;
}

@media (max-width: 800px) {
  .content-wrapper {
    max-width: 95vw;
    padding: 0 2px;
  }
  .testimonial-card {
    margin-right: 0;
  }
}

/* FOOTER */
footer {
  background: #F8FAFB;
  border-top: 1px solid #E4EFF5;
  margin-top: 40px;
  padding: 34px 0 16px 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
footer a {
  color: #14324B;
  font-weight: 500;
  font-size: 1rem;
}
footer nav {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 17px;
}
.footer-contact {
  font-size: 0.98rem;
  color: #183C54;
  margin-top: 0;
}
.footer-contact a {
  color: #1B8ABF;
  text-decoration: underline;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
  margin-top: 6px;
}
.social-links a img {
  width: 36px;
  height: 36px;
  border-radius: 40%;
  background: #fff;
  transition: box-shadow .18s;
  box-shadow: 0 1px 8px rgba(27,138,191,0.07);
}
.social-links a:hover img {
  box-shadow: 0 4px 17px rgba(27,138,191,0.17);
  background: #E4EFF5;
}
footer img[alt='Lucent Monitor'] {
  width: 58px;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 0 8px;
  }
  footer nav {
    flex-direction: column;
    gap: 10px;
    margin: 15px 0 12px 0;
  }
  .footer-contact {
    margin-top: 0;
  }
}

/* TESTIMONIAL COLORS (STRONG CONTRAST) */
.testimonial-card {
  background: #fff;
  color: #14324B;
  border-left: 5px solid #1B8ABF;
}
.testimonial-card p {
  color: #14324B;
  font-weight: 500;
  font-size: 1.14rem;
  margin-bottom: 4px;
}
.testimonial-meta {
  color: #1B8ABF;
  font-size: 1rem;
  font-weight: 600;
}

/* ARTICLE LIST */
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none inside;
  margin: 0 0 18px 0;
}
.article-list > li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(20,50,75,0.06);
  padding: 20px 16px;
  min-width: 210px;
  flex: 1 1 270px;
}
.article-list h2 {
  font-size: 1.13rem;
  margin-bottom: 7px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #1B8ABF;
}

/* BUTTON & LINK UTILITIES  */
button, .button, input[type="submit"], .cta-primary {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
button, input[type="submit"] {
  cursor: pointer;
  background: #1B8ABF;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 24px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 9px rgba(20,50,75,0.06);
  transition: background .15s, color .14s, box-shadow .15s;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #145C86;
  color: #fff;
  box-shadow: 0 5px 18px rgba(20,50,75,0.12);
}

/* COOKIE BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  background: #fff;
  color: #14324B;
  width: 100%;
  z-index: 1150;
  box-shadow: 0 -3px 26px rgba(20,50,75,0.08);
  border-top: 2px solid #E4EFF5;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  gap: 24px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s, transform .22s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner p {
  font-size: 1rem;
  color: #14324B;
  margin-bottom: 0;
  margin-right: 24px;
  flex: 1 1 300px;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  padding: 9px 20px;
  background: #E4EFF5;
  color: #1B8ABF;
  transition: background .12s, color .12s, box-shadow .13s;
  box-shadow: 0 1px 4px rgba(27,138,191,0.04);
}
.cookie-btn.accept {
  background: #1B8ABF;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #145C86;
}
.cookie-btn.reject {
  background: #E4EFF5;
  color: #14324B;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #D8EAF4;
  color: #1B8ABF;
}
.cookie-btn.settings {
  background: #F8FAFB;
  color: #1B8ABF;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E4EFF5;
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 14px 10px;
  }
  .cookie-consent-banner p {
    margin-right: 0;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 1160;
  background: rgba(20, 50, 75, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity .18s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  max-width: 375px;
  width: 94vw;
  box-shadow: 0 5px 32px rgba(27,138,191,0.14);
  padding: 28px 27px 21px 27px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: cookieModalIn .32s cubic-bezier(.72,.01,.21,.98) 1;
}
@keyframes cookieModalIn {
  0% { transform: scale(.92) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: #14324B;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
}
.cookie-modal-category label {
  font-size: 1.01rem;
  color: #183C54;
}
.cookie-modal-category input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #1B8ABF;
  border-radius: 3px;
  border: 1.5px solid #1B8ABF;
  background: #F8FAFB;
}
.cookie-modal-category input[type=checkbox][disabled] {
  accent-color: #bbb;
  opacity: 0.55;
  cursor: not-allowed;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #145C86;
  cursor: pointer;
  opacity: 0.81;
  transition: color .14s, opacity .12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #1B8ABF;
  opacity: 1;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 5px;
  justify-content: flex-end;
}
@media (max-width: 400px) {
  .cookie-modal {
    padding: 12px 6vw 14px 6vw;
    max-width: 98vw;
  }
  .cookie-modal-title {
    font-size: 1.06rem;
  }
}

/* FORM ELEMENTS */
input, select, textarea {
  font-family: inherit;
  border-radius: 6px;
  border: 1.5px solid #D1E5F0;
  background: #fafcff;
  font-size: 1rem;
  padding: 9px 14px;
  margin-bottom: 12px;
  color: #14324B;
  transition: border-color .14s;
}
input:focus, select:focus, textarea:focus {
  border-color: #1B8ABF;
  outline: none;
}
label {
  font-size: 1rem;
  color: #14324B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* UTILITIES */
.rounded {
  border-radius: 12px !important;
}
.shadow {
  box-shadow: 0 3px 16px rgba(27,138,191,0.13) !important;
}
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.gap-1 { gap: 6px !important; }
.gap-2 { gap: 12px !important; }
.gap-3 { gap: 18px !important; }

/* NATURAL MATERIALS TEXTURE (SCANDINAVIAN SUBTLE) */
body::after {
  content: "";
  display: block;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248,250,251,0) 0%, rgba(241,247,250,0.25) 100%);
}

/* SELECTED ICON HEIGHTS (for visual harmony) */
.feature-grid img, .case-list img, .team-list img {
  height: 44px;
  width: 44px;
}

/* LIST STYLES (SCANDINAVIAN CLEAN) */
ul, ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

/* SCROLLBAR STYLE FOR CLEAN APPEARANCE */
::-webkit-scrollbar {
  width: 10px;
  background: #E4EFF5;
}
::-webkit-scrollbar-thumb {
  background: #cee6f4;
  border-radius: 6px;
}

/* Z-INDEX UTILITIES */
header {
  z-index: 1000;
  position: relative;
}

/* ANIMATIONS/MICRO-INTERACTIONS */
.card, .feature-grid > div, .testimonial-card, .team-list > div, .faq-list > div, .case-list > div {
  transition: box-shadow .18s, transform .17s, border .18s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover,
.team-list > div:hover, .faq-list > div:hover, .case-list > div:hover {
  transform: translateY(-3px) scale(1.022);
}
.cta-primary, .button, button {
  transition: background .20s, color .14s, box-shadow .16s, transform .12s;
}
.cta-primary:hover, .button:hover, button:hover {
  transform: translateY(-1.5px) scale(1.03);
}

/* MEDIA QUERIES FOR LAYOUT CORRECTION */
@media (max-width: 1120px) {
  .container {
    max-width: 96vw;
  }
}

/* PRINT SAFE */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  .section { padding: 0; margin-bottom: 10px; background: #fff; }
}

/* HIDE/SHOW MOBILE MENU JS (.open) CLASS HANDLING:
   Add or remove .open on .mobile-menu to slide in/out the mobile menu. */
