/* =======================
   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,
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,
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #181C22;
  color: #F5F7FA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #39A097;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F5F7FA;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button, .btn-primary, .btn-secondary {
  background: none;
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  cursor: pointer;
  outline: none;
}
:focus {
  outline: 2px dashed #39A097;
  outline-offset: 2px;
}

/* ================
   BRAND TYPOGRAPHY
   ================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #F5F7FA;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.20);
}
h2 {
  font-size: 1.9rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F5F7FA;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #39A097;
}
strong {
  font-weight: 700;
  color: #F5F7FA;
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 8px;
  color: #E1E2E6;
}
.text-section p {
  margin-bottom: 12px;
}

/* ================
   LAYOUT STRUCTURE
   ================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.header, header {
  background: #1E2733;
  border-bottom: 2px solid #2D3540;
  box-shadow: 0 6px 24px 0 rgba(0,0,0,0.13);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #B2BAD4;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.22s, border-color 0.22s;
}
header nav a:hover,
header nav a.active {
  color: #F5F7FA;
  border-bottom: 2px solid #39A097;
}
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 8px;
  padding: 13px 30px;
  font-size: 18px;
  box-shadow: 0 2px 12px 0 rgba(34, 67, 137, 0.12);
  transition: background 0.15s, color 0.18s, box-shadow 0.23s;
  margin-left: 18px;
  letter-spacing: 0.04em;
}
.btn-primary {
  background: #224389;
  color: #F5F7FA;
  border: 2px solid #2D3540;
}
.btn-primary:hover, .btn-primary:focus {
  background: #39A097;
  color: #181C22;
  box-shadow: 0 6px 18px 0 rgba(34, 67, 137, 0.22);
}
.btn-secondary {
  background: #2D3540;
  color: #F5F7FA;
  border: 2px solid #39A097;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #39A097;
  color: #181C22;
  box-shadow: 0 6px 18px 0 rgba(57, 160, 151, 0.22);
}

/* === Mobile Menu Hamburger === */
.mobile-menu-toggle {
  display: none;
  background: #181C22;
  border: 2px solid #39A097;
  color: #39A097;
  border-radius: 10px;
  padding: 7px 16px;
  font-size: 2rem;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
  box-shadow: 0 1px 6px 0 rgba(34, 67, 137, 0.10);
  z-index: 110;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #39A097;
  color: #181C22;
  box-shadow: 0 6px 22px 0 rgba(57, 160, 151, 0.13);
}

/* === Mobile Menu Overlay === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,39,51,0.95);
  backdrop-filter: blur(2px);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.86,0,0.07,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 20px 20px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 28px;
  background: #2D3540;
  color: #39A097;
  border: 0;
  font-size: 2.1rem;
  padding: 5px 12px;
  border-radius: 8px;
  z-index: 222;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(34,67,137,0.11);
  transition: background .2s, color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #39A097;
  color: #181C22;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 56px;
}
.mobile-nav a {
  color: #F5F7FA;
  font-size: 1.4rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 14px 0;
  border-bottom: 1px solid #2D3540;
  transition: color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #39A097;
}

/* ================
   SPACING & LAYOUT
   ================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #1E2733;
  border-radius: 20px;
  box-shadow: 0 8px 24px 0 rgba(43,48,56,0.10);
}
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #222b36;
  padding: 26px 22px;
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(34,67,137,0.11);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.27s;
}
.card:hover { box-shadow: 0 10px 44px 0 rgba(34,67,137,0.22); }

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.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;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F5F7FA;
  color: #222b36;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(34, 67, 137, 0.12);
  margin-bottom: 22px;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  color: #202830;
  font-size: 1.14rem;
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: #224389;
  font-size: 1rem;
  letter-spacing: 0.03em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section ul li, .section ol li {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: #DEDFE5;
}
.section ul li img {
  width: 40px;
  height: 40px;
  background: #222b36;
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(34,67,137,0.09);
  padding: 5px;
}
.section ul li strong {
  font-size: 1.07rem;
  color: #F5F7FA;
  margin-bottom: 5px;
}
.section ul {
  margin-top: 10px;
}

/* ================
   FOOTER STYLES
   ================ */
footer {
  background: #181C22;
  padding: 46px 0 20px 0;
  color: #B2BAD4;
  border-top: 2px solid #2D3540;
  position: relative;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}
.footer-legal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}
footer nav a, .footer-legal a {
  color: #B2BAD4;
  font-size: 15px;
  transition: color .16s;
}
footer nav a:hover, .footer-legal a:hover {
  color: #39A097;
}
.footer-contact {
  margin-top: 10px;
  color: #B2BAD4;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.97em;
}
.footer-contact img {
  width: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
}
.footer-social a:hover img {
  filter: brightness(1.38);
}
footer p:last-child {
  font-size: 0.9rem;
  margin-top: 24px;
  color: #727C96;
}

/* ============
   COOKIE BANNER
   ============ */
.cookie-banner {
  position: fixed;
  left: 0;right: 0;bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  background: #2D3540;
  color: #F5F7FA;
  padding: 22px 28px;
  z-index: 2400;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  box-shadow: 0 -2px 20px rgba(57,160,151,0.13);
  transition: bottom .38s cubic-bezier(0.77,0,0.18,1);
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 18px;
  background: #224389;
  color: #F5F7FA;
  border: none;
  transition: background .19s, color .19s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #39A097;
  color: #222b36;
}
.cookie-banner .cookie-settings-btn {
  background: #39A097;
  color: #222b36;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #224389;
  color: #F5F7FA;
}

/* === Cookie Modal === */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top:0; right: 0; bottom: 0;
  background: rgba(24,28,34,.96);
  z-index: 3003;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookie .33s;
}
@keyframes fadeInCookie {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #202830;
  color: #F5F7FA;
  padding: 32px 22px 24px 32px;
  border-radius: 20px;
  min-width: 330px;
  max-width: 96vw;
  min-height: 200px;
  box-shadow: 0 8px 44px 0 rgba(2, 14, 30, 0.22);
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: slideUpCookie 0.33s cubic-bezier(.87,0,.13,1);
}
@keyframes slideUpCookie {
  from {opacity:.5; transform: translateY(48px);}
  to {opacity:1; transform: translateY(0);}
}
.cookie-modal h3 {
  color: #39A097;
  margin-bottom: 10px;
}
.cookie-modal .cookie-prefs-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-prefs-category label {
  font-size: 1rem;
  color: #F5F7FA;
}
.cookie-modal .cookie-prefs-toggle {
  width: 38px;
  height: 20px;
  background: #B2BAD4;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
  margin-right: 8px;
}
.cookie-modal .cookie-prefs-toggle:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #F5F7FA;
  border-radius: 50%;
  transition: left .20s cubic-bezier(.9,0,.1,1), background .17s;
}
.cookie-modal .cookie-prefs-toggle.checked {
  background: #39A097;
}
.cookie-modal .cookie-prefs-toggle.checked:before {
  left: 20px;
  background: #222b36;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 18px;
}
.cookie-modal button {
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 19px;
  background: #39A097;
  color: #222b36;
  border: none;
  transition: background .19s, color .12s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #224389;
  color: #F5F7FA;
}

/* ==================
   INDUSTRIAL MODERN
   METALLIC ACCENTS
   ================== */
.section, .testimonial-card, .card, .cookie-banner, .cookie-modal {
  border: 1.5px solid #252C36;
}
.card, .testimonial-card, .cookie-modal {
  box-shadow: 0 4px 24px 0 rgba(84, 88, 97, 0.14),
    0 2px 8px 0 rgba(57,160,151,0.04);
}
.section {
  border-left: 6px solid #39A097;
  border-right: 6px solid #224389;
}
.btn-primary, .btn-secondary, .cookie-banner button, .cookie-modal button {
  box-shadow: 0 2px 12px 0 rgba(57,160,151,0.12),
              0 0.5px 2px 0 rgba(34,67,137,0.12);
}

/* Metallic Divider Accent */
.section:after {
  content: '';
  display: block;
  margin: 34px auto 0 auto;
  width: 76px;
  height: 2px;
  background: linear-gradient(90deg,#a7bbc8 0%,#39A097 34%,#224389 100%);
  border-radius: 1.5px;
  opacity: 0.4;
}

/* =============
   HOVER/FOCUS
   ============= */
.card:hover, .testimonial-card:hover {
  box-shadow: 0 12px 44px 0 rgba(57,160,151,0.19),0 2px 18px 0 rgba(34,67,137,0.16);
  border-color: #39A097;
}
.section ul li:hover {
  background: rgba(57,160,151,0.06);
  border-radius: 8px;
}
.card, .testimonial-card {
  transition: box-shadow 0.24s, border-color 0.14s, background .19s;
}
.btn-primary, .btn-secondary, .cookie-banner button, .cookie-modal button, .mobile-menu-toggle {
  transition: background .17s, color .17s, box-shadow .20s;
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */
@media (max-width: 1320px) {
  .container { max-width: 1002px; }
}
@media (max-width: 1024px) {
  .container { max-width: 840px; }
  .section { padding: 28px 7px; }
  header .container { gap: 12px; }
}
@media (max-width: 900px) {
  .container { max-width: 96vw; }
  .footer-legal { flex-direction: column; gap: 6px; }
  header nav { gap: 16px; }
}
@media (max-width: 768px) {
  header .container { flex-wrap: wrap; gap: 7px; min-height: 56px; }
  header nav {
    display: none;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 10px 18px;
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section {
    padding: 28px 5px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .testimonial-card {
    padding: 13px;
    border-radius: 7px;
  }
  .section:after {
    margin: 18px auto 0 auto;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 11px;
  }
  .cookie-modal {
    padding: 18px 7px 12px 12px;
    min-width: 92vw;
    border-radius: 15px;
  }
  .footer-social { margin-top: 10px; }
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 420px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.13rem; }
  .btn-primary, .btn-secondary, .cookie-modal button, .cookie-banner button {
    font-size: 0.93rem;
    padding: 8px 8px;
  }
}

/* ===============
   UTILITY CLASSES
   =============== */
.hide { display: none!important; }
.text-section { width: 100%; }
.w-100 { width: 100%; }
.text-center { text-align: center; }

/* ===============
   INDUSTRIAL TEXT
   =============== */
body, p, li, .footer-contact, .cookie-banner, .cookie-modal {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
h1,h2,h3,h4,h5,h6, .btn-primary, .btn-secondary, header nav a, .mobile-nav a, .cookie-modal h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.03em;
}

/* =============
   MISC DETAILS
   ============= */
::-webkit-scrollbar-thumb { background: #2D3540; border-radius: 6px; }
::-webkit-scrollbar-track { background: #181C22; }
::-webkit-scrollbar { width: 9px; background: #181C22; }

/* ON PAGE THANK YOU - animate button bounce */
@media (min-width: 600px) {
  .thank-you .btn-primary {
    animation: btnBounce 1.6s infinite alternate cubic-bezier(0.5,0.15,0,1);
  }
}
@keyframes btnBounce {
  0% { transform: scale(1) translateY(0); }
  70% { transform: scale(1.04) translateY(-5px); }
  100% { transform: scale(1) translateY(0); }
}

/* LINKEDIN ICON TWEAKS FOR HOVER (EXTRA INDUSTRIAL ACCENT) */
.footer-social a[href*="linkedin"]:hover img {
  filter: grayscale(0) brightness(1.9) drop-shadow(0 2px 8px #224389AA);
}
