/* 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,
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 {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  background: #171C23;
  color: #F2F5F9;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 1.25rem;
  padding-left: 1rem;
}
li {
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #4C9EA7;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6, .btn-primary, .btn-link {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 28px;
  color: #F2F5F9;
  text-shadow: 0 2px 4px rgba(22,49,92,0.16);
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2F5F9;
  text-shadow: 0 1px 2px rgba(22,49,92,0.12);
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #4C9EA7;
}
.section h2 {
  margin-bottom: 32px;
}

/* CONTAINER, LAYOUT, FLEXBOX */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(22,49,92,0.7); /* Slight transparency for "industrial" overlay effect */
  border-radius: 16px;
  box-shadow: 0 6px 40px 0 rgba(0,0,0,0.11);
}
main > section:first-child {
  margin-top: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

/* FLEX GRIDS */
.feature-grid, .case-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: #232B34;
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(22,49,92,0.10), 0 1.5px 8px rgba(89, 92, 95,0.08);
  border: 1px solid #2C3743;
  transition: box-shadow 0.2s, border 0.2s, transform 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 32px 0 rgba(22,49,92,.30);
  transform: translateY(-2px) scale(1.015);
  border-color: #4C9EA7;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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;
  flex-direction: column;
  background: #F2F5F9;
  color: #181B21;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: 0 4px 24px rgba(22,49,92,0.09);
  min-width: 250px;
  max-width: 600px;
  border-left: 6px solid #4C9EA7;
  font-size: 1.09rem;
  font-style: italic;
  position: relative;
  transition: box-shadow 0.16s, transform 0.18s;
}
.testimonial-card strong {
  color: #16315C;
  font-size: 1.01em;
  margin-top: 8px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(76,158,167,0.14);
  transform: translateY(-3px) scale(1.016);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #232B34;
  border-radius: 10px;
  padding: 20px 16px;
  margin-bottom: 20px;
  border: 1px solid #313840;
  transition: border 0.15s, box-shadow 0.18s;
}
.feature-item:hover {
  border-color: #4C9EA7;
  box-shadow: 0 6px 32px rgba(76,158,167,0.08);
}

/* HEADER & NAVIGATION */
header {
  background: #181B21;
  border-bottom: 2px solid #232B34;
  box-shadow: 0 2px 10px 0 rgba(22, 49, 92, 0.08);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  text-decoration: none;
  color: #F2F5F9;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.13s, border 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #4C9EA7;
  border-bottom: 2px solid #4C9EA7;
}
header a img {
  height: 38px;
}
.btn-primary, a.btn-primary {
  background: linear-gradient(90deg, #16315C 89%, #4C9EA7 111%);
  color: #F2F5F9;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  padding: 13px 28px;
  cursor: pointer;
  text-decoration: none;
  margin-left: 16px;
  box-shadow: 0 3px 16px rgba(22,49,92,0.16);
  transition: background 0.18s, color 0.11s, transform 0.13s, box-shadow 0.16s;
  letter-spacing: .04em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #4C9EA7;
  color: #16315C;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 28px rgba(76,158,167,0.16);
}
.btn-link {
  background: none;
  color: #4C9EA7;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 0;
  border: none;
  font-size: 1rem;
  text-decoration: underline;
  cursor: pointer;
}
.btn-link:hover {
  letter-spacing: 0.055em;
  color: #F2F5F9;
}

/**** MOBILE NAVIGATION HAMBURGER ****/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #F2F5F9;
  cursor: pointer;
  margin-left: 18px;
  z-index: 120;
  padding: 6px 14px;
  border-radius: 7px;
  transition: background .18s, color .13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #232B34;
  color: #4C9EA7;
}
.mobile-menu {
  transition: transform 0.35s cubic-bezier(.77,0,.18,1.02), opacity 0.24s ease;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #182028e7;
  z-index: 1200;
  transform: translateX(-105%);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #F2F5F9;
  margin: 22px 20px 8px 0;
  cursor: pointer;
  padding: 4px 11px;
  border-radius: 7px;
  transition: background .18s, color .13s;
  z-index: 1210;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #4C9EA7;
  color: #16315C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin: 0 0 0 24px;
}
.mobile-nav a {
  color: #F2F5F9;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 10px 13px 0;
  border-bottom: 1.5px solid #232B34;
  box-sizing: border-box;
  border-radius: 3px;
  transition: background 0.17s, color 0.12s, border 0.11s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #232B34;
  color: #4C9EA7;
  border-bottom: 1.5px solid #4C9EA7;
}

/* MAIN */
main {
  min-height: 50vh;
  padding: 0 0 40px 0;
}

/* HERO, SECTION, FEATURES */
.feature-grid > div, .case-grid > div {
  flex: 1 1 240px;
  min-width: 220px;
  background: #232B34;
  border-radius: 10px;
  padding: 26px 20px;
  box-shadow: 0 2px 10px rgba(22,49,92,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  border: 1.5px solid #28303A;
  margin-bottom: 20px;
  transition: border .18s, box-shadow .15s, transform .16s;
}
.feature-grid > div:hover,
.case-grid > div:hover {
  border-color: #4C9EA7;
  box-shadow: 0 8px 28px rgba(76,158,167,0.15);
  transform: translateY(-3px) scale(1.012);
}
.feature-grid img, .case-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 9px;
}

/* FAQ ACCORDION (simple static for now) */
.faq-accordion h3 {
  font-size: 1.07rem;
  font-weight: 600;
  color: #4C9EA7;
  margin-bottom: 4px;
}
.faq-accordion p {
  font-size: 1rem;
  color: #CAE2E4;
  margin-bottom: 10px;
  margin-top: 0;
}

/* FOOTER */
footer {
  background: #161A1F;
  padding: 38px 0 18px 0;
  border-top: 2px solid #232B34;
  margin-top: 24px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 6px;
}
footer nav a {
  color: #4C9EA7;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  text-decoration: none;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #F2F5F9;
}
footer .text-section p {
  color: #8FA9B2;
  font-size: .97rem;
  text-align: center;
}

/* ICONS IN TEXT */
.text-section img {
  width: 18px;
  height: 18px;
  margin-bottom: -3px;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(32%) brightness(82%);
}

/* SPACING, LAYOUT PATTERNS (MANDATORY) */
.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;
}

/* INTERACTIVITY */
a, button {
  transition: color .15s, background .15s, border .12s, transform .1s;
  outline: none;
}
a:focus, button:focus {
  outline: 2px dashed #4C9EA7;
  outline-offset: 2px;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 10px; background: #232B34; }
::-webkit-scrollbar-thumb { background: #4C9EA7; border-radius: 6px; }

/* TABLES (Compliance/Legal) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
th, td {
  border: 1px solid #2C3743;
  padding: 10px 14px;
  background: #232B34;
  color: #F2F5F9;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #1E2731;
  color: #4C9EA7;
  font-weight: 600;
}

/* COOKIES: COOKIE CONSENT BANNER */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #232B34;
  color: #F2F5F9;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 -4px 24px rgba(22,49,92,0.17);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18px 24px 22px 24px;
  z-index: 1230;
  gap: 13px;
  transition: transform .36s cubic-bezier(.83,.04,.34,1.01), opacity .22s;
}
#cookie-banner.hide {
  transform: translateY(160px);
  opacity: 0;
  pointer-events: none;
}
#cookie-banner-text {
  font-size: 1rem;
  text-align: center;
  max-width: 680px;
  margin-bottom: 5px;
}
.cookie-btn-row {
  display: flex;
  gap: 16px;
  margin-top: 0;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: .98rem;
  padding: 10px 24px;
  border-radius: 5px;
  border: none;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.12s, color .14s;
}
.cookie-btn.accept {
  background: #4C9EA7;
  color: #16315C;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #16315C;
  color: #F2F5F9;
}
.cookie-btn.reject {
  background: none;
  border: 1.5px solid #4C9EA7;
  color: #4C9EA7;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #232B34;
  color: #F2F5F9;
  border-color:#4C9EA7;
}
.cookie-btn.settings {
  background: #F2F5F9;
  color: #16315C;
  border: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #4C9EA7;
  background: #e1eaee;
}

/* COOKIE SETTINGS MODAL */
#cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -54%);
  width: 98vw; max-width: 420px;
  background: #232B34;
  color: #F2F5F9;
  border-radius: 12px;
  box-shadow: 0 8px 44px rgba(76,158,167,0.21);
  z-index: 1245;
  padding: 32px 28px 26px 28px;
  display: none;
  flex-direction: column;
  gap: 24px;
}
#cookie-modal.open {
  display: flex;
  animation: fadein-modal .35s cubic-bezier(.21,.7,.57,1.0);
}
@keyframes fadein-modal { from { opacity: 0; transform: translate(-50%,-68%);} to { opacity: 1; transform: translate(-50%,-54%); } }
.cookie-modal-close {
  background: none;
  border: none;
  color: #F2F5F9;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-top: -8px;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-size: 1rem;
  color: #F2F5F9;
}
.cookie-toggle {
  accent-color: #4C9EA7;
  width: 19px;
  height: 19px;
  border-radius: 4px;
}
.cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-modal-actions .cookie-btn {
  min-width: 96px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid, .case-grid, .card-container, .content-grid {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .case-grid {
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    gap: 12px;
  }
  nav, header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 10px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .feature-grid, .case-grid, .card-container, .content-grid {
    gap: 12px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 34px;
  }
  h1 {
    font-size: 1.75rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.18rem;
    margin-bottom: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 95vw;
    font-size: 0.99rem;
    padding: 14px 7px 14px 13px;
    gap: 11px;
  }
  .btn-primary, .btn-link {
    font-size: 0.97rem;
    padding: 9px 18px;
  }
  .faq-accordion h3 { font-size: 0.97rem; }
}

@media (max-width: 600px) {
  .container {
    padding: 0 3vw;
  }
  .feature-grid > div, .case-grid > div {
    min-width: 100px;
    padding: 14px 8px;
  }
}
@media (max-width: 480px) {
  #cookie-modal {
    padding: 18px 6vw 16px 6vw;
    font-size: 0.99rem;
  }
  .btn-primary, .cookie-btn {
    min-width: 100px;
    font-size: 0.95rem;
    padding: 9px 8px;
  }
}

/* INDUSTRIAL MODERN DECORATIVE TOUCHES */
.section, .card, .feature-grid > div, .case-grid > div {
  border-radius: 12px;
  position: relative;
  /* metallic accent lines (pseudo element)*/
}
.section::before,
.card::before,
.feature-grid > div::before
{
  content: '';
  display: block;
  position: absolute;
  top:18px; left:-7px;
  width: 4.5px;
  height: 42px;
  border-radius: 2px;
  background: linear-gradient(180deg,#BCC2C8 30%,#4C9EA7 85%);
  opacity: 0.21;
  z-index: 0;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  bottom: 10px;
  width: 6px;
  background: linear-gradient(180deg, #4C9EA7 2%, #C1C7CC 97%);
  border-radius: 5px;
  opacity: 0.20;
  z-index: 0;
}

/* UTILITY CLASSES */
.mt-2 { margin-top: 8px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-6 { margin-top: 24px !important; }
.mb-2 { margin-bottom:8px !important; }
.mb-4 { margin-bottom:16px !important; }
.text-center { text-align:center; }
.text-left { text-align:left; }

/****** MODALS, OVERLAYS (cookie, menu) specific stacking *****/
#cookie-banner, #cookie-modal {
  z-index: 1300;
}
.mobile-menu {
  z-index: 1200;
}

/* Accessibility: hide visually but keep for screen readers */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
