/* ============================ */
/* RESET AND BASE STYLES        */
/* ============================ */
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: 16px;
  scroll-behavior: smooth;
}
body {
  background: #191e23;
  color: #e3e6e8;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7; 
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #FCE248;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD308;
  outline: none;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
strong {
  font-weight: 600;
  color: #fff;
}
*:focus {
  outline: 2px solid #FCE248;
  outline-offset: 1px;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #232931;
  border-radius: 4px;
}

/* ============================ */
/* TYPOGRAPHY                  */
/* ============================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(14,25,41,0.15);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.16;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  line-height: 1.18;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  color: #e3e6e8;
}

/* ============================ */
/* BRAND + INDUSTRIAL MODERN PALETTE */
:root {
  --color-primary: #15325F;
  --color-secondary: #FCE248;
  --color-accent: #fff;
  --color-bg: #191e23;
  --color-bg-dark: #13171b;
  --color-card: #232931;
  --color-card-alt: #202227;
  --color-text: #e3e6e8;
  --color-heading: #fff;
  --color-steel: #81878e;
  --color-metal: #aab7bd;
  --color-link: #FCE248;
  --shadow-soft: 0 4px 20px 0 rgba(24,32,39,0.28);
  --shadow-hard: 0 6px 32px 0 rgba(14,19,25,0.40);
  --radius-card: 12px;
  --radius-btn: 6px;
  --gap-section: 60px;
}

/* ============================ */
/* CONTAINER + LAYOUT UTILS     */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
  border-radius: var(--radius-card);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 10px;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.feature-grid > div {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 32px 20px 26px 20px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-metal);
}
.feature-grid > div img {
  width: 36px;
  height: 36px;
  filter: grayscale(80%) contrast(1.2) brightness(1.5);
  margin-bottom: 10px;
}
.feature-grid h3 {
  color: var(--color-secondary);
  font-size: 1.1rem;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 2px 14px 3px rgba(252, 226, 72, 0.13), var(--shadow-hard);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 26px 20px;
  width: 100%;
}

.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;
    gap: 18px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #232931;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 16px 0 rgba(30,34,40,0.08);
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 520px;
  transition: box-shadow 0.15s, transform 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 2px 18px 2px rgba(21, 50, 95, 0.10), var(--shadow-soft);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #273144;
  margin-bottom: 5px;
  line-height: 1.58;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #414a59;
  opacity: 0.85;
}

/* ============================ */
/* BUTTONS                      */
/* ============================ */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: var(--radius-btn);
  font-size: 1.08rem;
  padding: 14px 32px;
  margin-top: 8px;
  margin-bottom: 8px;
  min-width: 160px;
  min-height: 48px;
  letter-spacing: 0.025em;
  border: none;
  box-shadow: 0 1px 7px 0 rgba(50,67,120,0.13);
  transition: background 0.15s, color 0.15s, box-shadow 0.18s, transform 0.13s;
  cursor: pointer;
}
.btn-primary {
  background: var(--color-secondary);
  color: #1a1e26;
  border: 2px solid var(--color-secondary);
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffd308;
  color: #15325F;
  box-shadow: 0 2px 16px 0 rgba(252,226,72,0.19);
  outline: none;
  transform: translateY(-1px) scale(1.012);
}
.btn-secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-secondary);
  color: #15325F;
  box-shadow: 0 4px 16px 0 rgba(252,226,72,0.10);
  outline: none;
  transform: translateY(-1px) scale(1.012);
}

/* ============================ */
/* HEADER / NAVIGATION          */
/* ============================ */
header {
  background: var(--color-bg-dark);
  border-bottom: 1.5px solid #232931;
  box-shadow: 0 2px 16px 0 rgba(17,28,32,0.11);
  z-index: 100;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 0;
}
header img {
  height: 44px;
  max-width: 138px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: #e3e6e8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.014em;
  font-size: 1rem;
  padding: 10px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-bottom 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}
.main-nav .btn-primary {
  margin: 0 0 0 18px;
  min-width: unset;
  color: #000
}

/* Hide mobile menu button on desktop */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 999px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    background: none;
    border: none;
    color: #FCE248;
    font-size: 2rem;
    margin-left: 16px;
    align-items: center;
    justify-content: center;
    padding: 2px 13px;
    cursor: pointer;
    z-index: 120;
    transition: color 0.15s;
  }
  .mobile-menu-toggle:focus,
  .mobile-menu-toggle:hover {
    color: #fff;
    outline: none;
  }
}

/* ============================ */
/* MOBILE MENU                  */
/* ============================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,30,35,0.99);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  transition: transform 0.36s cubic-bezier(0.56,0.18,0.12,1.01);
  transform: translateX(-100vw); /* hidden by default */
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.4rem;
  background: none;
  border: none;
  color: #FCE248;
  margin: 36px 34px 10px 0;
  cursor: pointer;
  filter: drop-shadow(0 1px 8px #2329314a);
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-end;
  margin: 42px 40px 0 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FCE248;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.014em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  display: block;
  transition: color 0.12s, border-bottom 0.16s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  border-bottom: 2px solid #fff;
}

@media (max-width: 999px) {
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 1000px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============================ */
/* SECTION SPACING&LAYOUT RULES */
/* ============================ */
.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;
}

/* ============================ */
/* FOOTER DESIGN                */
/* ============================ */
footer {
  background: var(--color-bg-dark);
  border-top: 1.5px solid #232931;
  box-shadow: 0 -1px 12px 0 rgba(17,28,32,0.10);
  padding: 32px 0 0 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 44px;
}
footer img {
  height: 42px;
  margin-bottom: 8px;
  filter: grayscale(60%) brightness(1.18);
  mix-blend-mode: multiply;
}
footer p {
  color: #acb4bc;
  font-size: 0.95rem;
  line-height: 1.53;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  margin-top: 0;
}
.footer-nav a {
  color: #FCE248;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 3px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.14s, border-bottom 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  border-bottom: 1.5px solid #fff;
}
@media (max-width: 999px) {
  footer .container,
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-nav {
    align-items: flex-start;
    margin-top: 18px;
  }
}

/* ============================ */
/* DETAILS (FAQ)                */
/* ============================ */
details {
  background: var(--color-card-alt);
  color: #e3e6e8;
  padding: 18px 18px 12px 18px;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px 0 rgba(21,50,95,0.05);
}
details[open] {
  box-shadow: 0 4px 18px 0 rgba(252,226,72,0.08);
}
summary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: #FCE248;
  cursor: pointer;
  margin-bottom: 9px;
}

/* ============================ */
/* RESPONSIVE + FLEX RULES      */
/* ============================ */
@media (max-width: 999px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 90vw;
    max-width: 98vw;
    flex: 1 1 98vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 5px;
  }
  .content-wrapper {
    gap: 16px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  h3 {
    font-size: 1.06rem;
  }
}

/* ============================ */
/* COOKIE CONSENT BANNER        */
/* ============================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #232931;
  color: #fff;
  box-shadow: 0 -2px 18px 0 rgba(21,50,95,0.15);
  z-index: 3060;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  min-height: 80px;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookiebanner-in 0.5s cubic-bezier(0.71,0.1,0.29,1.12) both;
}
.cookie-banner.hidden {
  display: none;
}
@keyframes cookiebanner-in {
  0% { transform: translateY(48px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 11px 25px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #232931;
  background: #FCE248;
  border: none;
  border-radius: 6px;
  margin: 0 8px 0 0;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(252,226,72,0.13);
  transition: background 0.12s, color 0.14s, box-shadow 0.18s;
}
.cookie-btn.settings {
  background: transparent;
  color: #FCE248;
  border: 2px solid #FCE248;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FCE248;
  color: #15325F;
}
.cookie-btn.reject {
  background: #81878e;
  color: #fff;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #4c5258;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffd308;
  color: #15325F;
  box-shadow: 0 4px 16px 0 rgba(252,226,72,0.17);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 10px;
    font-size: 0.98rem;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-bg {
  position: fixed;
  z-index: 4000;
  inset: 0;
  background: rgba(30,34,39,0.76);
  display: none;
}
.cookie-modal-bg.open { display: block; }
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #232931;
  color: #fff;
  border-radius: 10px;
  max-width: 380px;
  width: 97vw;
  z-index: 4100;
  box-shadow: 0 8px 36px 0 rgba(21,50,95,0.25);
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px 22px 24px;
  animation: modalfadein 0.32s ease;
}
@keyframes modalfadein {
  from { opacity: 0; transform: translate(-50%,-44%) scale(0.97); }
  to { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal.open { display: flex; }
.cookie-modal h2 {
  color: #ffe78c;
  font-size: 1.24rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #1d2227;
  border-radius: 7px;
  padding: 11px 10px 11px 19px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #f5f6fa;
  cursor: pointer;
  flex: 1 1 auto;
}
.cookie-toggle {
  accent-color: #FCE248;
  width: 22px; height: 22px;
}
.cookie-modal .cookie-btn {
  margin: 12px 0 0 0;
  min-width: 110px;
  padding: 11px 20px;
}
.cookie-modal .close {
  background: transparent;
  color: #FCE248;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 18px; right: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.13s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #fff;
}

/* ============================ */
/* MISCELLANEOUS & UTILS        */
/* ============================ */
hr {
  border: 0; height: 1px;
  background: #36414e;
  margin: 32px 0;
}
blockquote {
  border-left: 5px solid #FCE248;
  background: #22262a;
  color: #FFFBE4;
  font-family: 'Montserrat';
  font-size: 1.05rem;
  padding: 16px 26px;
  margin: 14px 0 24px 0;
  border-radius: 8px;
  font-style: italic;
}

/* ============================ */
/* INDUSTRIAL DECORATIVE ELEMENTS */
/* ============================ */
/* Subtle metallic highlights for feature icons etc */
.section-gradient {
  position: absolute;
  top: 0; right: 0;
  width: 56px;
  height: 100%;
  background: linear-gradient(90deg,transparent 0 65%,#b7bac1 80%,#edefff 100%);
  opacity: .10;
  pointer-events: none;
}
@media (max-width: 999px) {
  .section-gradient { display: none; }
}

/* ============================ */
/* PRINT                         */
/* ============================ */
@media print {
  body, header, footer, nav, main, section, .container, .content-wrapper {
    box-shadow: none !important;
    background: #fff !important;
    color: #000 !important;
  }
  .main-nav, .mobile-menu, .mobile-menu-toggle, .footer-nav, .cookie-banner, .cookie-modal-bg, .cookie-modal {
    display: none !important;
  }
}
