/* 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, main, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #181E26;
  color: #E8F7E4;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
h1 {font-size: 2.5rem; margin-bottom: 28px;}
h2 {font-size: 2rem; margin-bottom: 24px;}
h3 {font-size: 1.3rem; margin-bottom: 10px;}
h4 {font-size: 1.1rem; margin-bottom: 8px;}
p, li, span, a, strong {
  font-size: 1rem;
  color: #E8F7E4;
  line-height: 1.65;
}
p {margin-bottom: 16px;}
img {max-width: 100%;height: auto;display: block;}
a {
  color: #E8F7E4;
  text-decoration: none;
  transition: color .2s linear;
}
a:hover, a:focus {
  color: #205B94;
}
strong {font-weight: bold; color: #F5F5F5;}

/* TYPOGRAPHY SCALE */
:root {
  --primary: #205B94;
  --secondary: #1B263B;
  --accent: #E8F7E4;
  --surface: #232832;
  --card-bg: #20242B;
  --testimonial-light: #F9FAFB;
  --testimonial-dark: #222832;
  --border-metal: #7587A7;
  --outline: #47505B;
  --shadow-dark: 0 2px 24px rgba(18,24,34,0.32);
  --metallic: linear-gradient(95deg, #263238 0%, #47505B 60%, #A2AAB5 100%);
}

/* CONTAINER ----------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

/* HEADER / NAV -------------------- */
header {
  background: var(--secondary);
  box-shadow: 0 6px 32px rgba(21,24,30,0.16);
  border-bottom: 1px solid var(--border-metal);
  z-index: 950;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
header img[alt="Flicker Systems"] {
  height: 44px;
  width: auto;
  margin-right: 28px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.97rem;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
nav a.button-primary {
  margin-left: 18px;
}
nav a:not(.button-primary):hover {
  background: #222B3A;
}
nav .button-primary {
  color: #fff;
  background: var(--primary);
  border-radius: 5px;
  padding: 9px 22px;
  box-shadow: 0 1px 8px rgba(60,70,110,.11);
  border: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: none;
  transition: background .2s, color .2s, box-shadow .2s;
}
nav .button-primary:hover,
nav .button-primary:focus {
  background: #174572;
  color: var(--accent);
  box-shadow: 0 2px 12px 0 rgba(32,91,148,0.27);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  cursor: pointer;
  margin-left: 16px;
  z-index: 1002;
  padding: 4px 10px;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover {
  color: var(--primary);
}
/* -------------------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 1600;
  inset: 0;
  background: rgba(42,49,62,0.98);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.65,.04,.22,.99);
  will-change: transform;
  flex-direction: column;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: #fff;
  margin: 22px 24px 6px 0;
  cursor: pointer;
  transition: color .2s;
  z-index: 2001;
  padding: 0;
}
.mobile-menu-close:hover {
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-left: 38px;
  margin-top: 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 0 10px 0;
  border-radius: 4px;
  transition: background .22s, color .22s;
}
.mobile-nav a:hover {
  color: var(--accent);
  background: #222B3A;
}

/* MAIN LAYOUT SECTIONS --------------- */
main {
  flex: 1 1 auto; 
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  max-width: 900px;
}
.cta-section {
  align-items: center;
  background: var(--primary);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(30,33,36,.29);
  color: #fff;
  text-align: center;
  padding: 40px 30px;
}

/* FLEXBOX LAYOUTS ------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0;
}
.card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-metal);
  border-radius: 11px;
  box-shadow: 0 2px 16px rgba(20,24,32,.24);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px 22px 24px;
  min-width: 260px;
  transition: box-shadow .22s, border-color .22s, transform .22s;
}
.card:hover {
  border-color: #205B94;
  box-shadow: 0 4px 38px 0 rgba(32,91,148,0.30);
  transform: translateY(-3px) scale(1.014);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
  background: var(--testimonial-light);
  color: #222832;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #205B94;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(44,54,64,0.07);
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow .18s, transform .18s;
}
.testimonial-card strong {
  color: #205B94;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(21,40,80,0.11);
  transform: translateY(-3px) scale(1.018);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--background-secondary, #272c37);
  border-radius: 7px;
  padding: 18px 18px 14px 18px;
  margin-bottom: 20px;
  border-left: 3px solid #7587A7;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
}
.feature-grid > div {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 2px 11px rgba(32,40,60,0.07);
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 350px;
  text-align: left;
  padding: 28px 20px 18px 20px;
  border: 1.5px solid var(--border-metal);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.feature-grid > div:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(32,91,148,0.12);
  transform: translateY(-3px) scale(1.013);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: grayscale(0.3) brightness(0.98);
}

.newsletter-form {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 12px;
}

/* BUTTONS ------------------------- */
.button-primary, .button-primary:visited {
  background: var(--primary);
  color: #fff !important;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 13px 30px;
  font-size: 1.07rem;
  letter-spacing: 0.04em;
  border: none;
  box-shadow: 0 2px 13px rgba(32,91,148,0.13);
  cursor: pointer;
  transition: background .2s, box-shadow .2s, color .2s, transform .13s;
  display: inline-block;
  text-transform: uppercase;
}
.button-primary:hover, .button-primary:focus {
  background: #0F3155;
  color: var(--accent) !important;
  box-shadow: 0 5px 28px #205B9422;
  transform: translateY(-2.5px) scale(1.025);
}
.button-secondary {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(32,91,148,0.09);
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.button-secondary:hover, .button-secondary:focus {
  background: #fff;
  border-color: #174572;
  color: #174572;
  box-shadow: 0 6px 20px #205B9444;
}
.button-border {
  background: none;
  color: var(--accent);
  border: 1.5px solid var(--border-metal);
  padding: 10px 24px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: border-color .16s, color .16s;
}
.button-border:hover, .button-border:focus {
  color: var(--primary);
  border-color: var(--primary);
}

/* LISTS -------------------------- */
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 9px;
  line-height: 1.62;
}
ul li strong, ol li strong {
  color: #C2D0FA;
  font-weight: 700;
}
ul li img, ol li img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
}

/* FOOTER ------------------------ */
footer {
  background: var(--secondary);
  border-top: 1.5px solid var(--border-metal);
  padding: 38px 0 20px 0;
  margin-top: 24px;
  box-shadow: 0 0px 16px 0 rgba(23,39,68,0.08);
  color: var(--accent);
}
footer .container {
  gap: 24px;
  flex-direction: column;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
footer nav a {
  color: #B3C9DE;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 0 7px;
  transition: color 0.15s;
}
footer nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}
footer .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  font-size: 0.99rem;
  align-items: center;
  color: var(--accent);
}
footer .contact-info span img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  filter: grayscale(0.5) brightness(1.4);
  vertical-align: middle;
}
footer .social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}
footer .social-links a img {
  width: 32px;
  height: 32px;
  transition: filter .18s, transform .18s;
  border-radius: 50%;
  background: #182036;
  padding: 3px;
}
footer .social-links a:hover img {
  filter: brightness(1.7) drop-shadow(0 2px 6px #205B9480);
  transform: scale(1.05) rotate(-8deg);
}

/* COOKIE CONSENT BANNER ----------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100%;
  background: var(--surface);
  color: #F9FAFB;
  padding: 26px 20px 20px 20px;
  z-index: 2100;
  box-shadow: 0 -2px 14px #222B3A77;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInSlideUp .5s cubic-bezier(.44,.13,.55,1.16);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 14px;
}
.cookie-banner button {
  padding: 10px 22px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-bottom: 0;
  transition: background .22s, color .14s, box-shadow .18s;
}
.cookie-banner .accept {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px #205B9444;
}
.cookie-banner .accept:hover {
  background: #174572;
  color: var(--accent);
}
.cookie-banner .reject {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner .reject:hover {
  background: #E8F7E4;
  color: #0F3155;
}
.cookie-banner .settings {
  background: none;
  color: #E8F7E4;
  border: 1px solid #7587A7;
}
.cookie-banner .settings:hover {
  background: #232832;
  color: var(--primary);
}

@keyframes fadeInSlideUp {
  0% {transform: translateY(42px); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}

/* COOKIE PREFERENCES MODAL -------- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2500;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #20242bCC;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.28s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInBg {
  from {opacity:0;} to {opacity:1;}
}
.cookie-modal-content {
  background: var(--surface);
  color: #fff;
  border-radius: 14px;
  padding: 48px 32px 32px 32px;
  min-width: 300px;
  max-width: 90vw;
  box-shadow: 0 8px 40px #1b263bD0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalPop .23s cubic-bezier(.44,.09,.49,.98);
}
@keyframes modalPop {
  0% {transform: scale(.92); opacity:0;} 100% {transform:scale(1); opacity:1;}
}
.cookie-modal-content h2 {
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  margin-bottom: 11px;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px; height: 18px;
}
.cookie-modal-content .cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 17px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-content .close-modal {
  background: none;
  color: var(--accent);
  border: 1px solid #7587A7;
  border-radius: 6px;
  padding: 8px 26px;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background .18s, color .16s;
}
.cookie-modal-content .close-modal:hover {
  background: #222B3A;
  color: var(--primary);
}
.cookie-modal-content .accept-modal {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 30px;
  font-size: 1rem;
  margin-left: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background .17s, color .17s;
}
.cookie-modal-content .accept-modal:hover {
  background: #0F3155;
  color: var(--accent);
}

/* RESPONSIVE: MOBILE FIRST -------- */
@media (max-width: 1040px) {
  .container {max-width: 970px;}
  .feature-grid > div {
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 180px;
  }
}
@media (max-width: 850px) {
  .container {max-width: 710px;}
  header .container {gap: 10px;}
}
@media (max-width: 768px) {
  .container {
    max-width: 97vw;
    padding: 0 9px;
  }
  section, .section {
    padding: 34px 4vw;
    margin-bottom: 44px;
  }
  .cta-section {
    padding: 32px 12px;
  }
  header .container {
    flex-direction: row;
    align-items: flex-start;
    padding-top: 4px;
    min-height: 66px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  /* flex->col for text-image-section */
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .feature-item, .card {
    padding: 16px 13px 16px 13px;
    font-size: 0.99rem;
  }
  h1 {font-size: 2rem;}
  h2 {font-size: 1.22rem;}
  h3 {font-size: 1.06rem;}
  ul, ol {margin-bottom: 9px;}
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}
@media (max-width: 520px) {
  body {font-size: 14px;}
  h1 {font-size: 1.37rem;}
  h2 {font-size: 1.09rem;}
  .card, .testimonial-card, .feature-grid > div, .feature-item {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 11px 6px;
  }
  .cookie-banner {
    padding: 18px 2vw 12px 2vw;
  }
  .cookie-banner .cookie-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-modal-content {
    padding: 19px 8px 19px 8px;
  }
}

/* INDUSTRIAL MODERN DECOR/HIGHLIGHTS ----------- */
h1, h2 {
  background: var(--metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  filter: drop-shadow(0 3px 10px rgba(45,54,63,.12));
}
hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, #47505B 0%, #205B94 100%);
  width: 100%;
  margin: 30px 0;
}
::selection {
  background: #205B94;
  color: #fff;
}

/* FORM FIELDS EXTRAS ----------- */
input, textarea, select {
  background: #20242B;
  border: 1.5px solid #47505B;
  color: #fff;
  border-radius: 7px;
  padding: 12px 14px;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
  width: 100%;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #205B94;
  box-shadow: 0 2px 14px #205B9444;
}

/* Misc utility classes -----------*/
.align-center {text-align: center;}
.flex-row {display: flex !important; flex-direction: row !important;}
.flex-col {display: flex !important; flex-direction: column !important;}
.gap-20 {gap: 20px !important;}
.gap-32 {gap: 32px !important;}
.m-b-24 {margin-bottom: 24px !important;}
.m-t-12 {margin-top: 12px !important;}

/* Z-INDEX: Ensure overlays/menu/modal are on top */
.mobile-menu, .cookie-banner, .cookie-modal {z-index: 2500;}

/* Hide customer logo "ghost" placeholder */
.customer-logos{display:none !important;}
