/* ================================
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #181B22;
  color: #ECECEC;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, picture {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ================================
   Brand Variables (with Fallbacks)
   ================================ */
:root {
  --primary: #1A212C;
  --secondary: #708090;
  --accent: #F9F9F6;
  --metal-dark: #272B34;
  --metal: #434954;
  --gray: #393E46;
  --mid-gray: #6D7581;
  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ================================
   Typography
   ================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #ECECEC;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  font-weight: 600;
}

p,
li,
blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #E3E3E1;
  margin-bottom: 16px;
}
strong { color: var(--accent); }
blockquote {
  font-size: 1.12rem;
  color: var(--gray);
  background: #F9F9F6;
  border-left: 4px solid var(--secondary);
  padding: 18px 24px;
  border-radius: 8px 2px 2px 8px;
  font-style: italic;
  margin-bottom: 8px;
}

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
}
@media (min-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.25rem; }
}

/* ================================
   Containers and Layout
   ================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}
/* Section Spacing */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
main {
  width: 100%;
  min-height: 67vh;
}

/* ================================
   Header & Navigation
   ================================ */
header {
  background: var(--metal-dark);
  border-bottom: 3px solid var(--metal);
  box-shadow: 0 3px 14px 0 rgba(26, 33, 44, 0.14);
  z-index: 50;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
header img {
  height: 48px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #C2C6CC;
  letter-spacing: 0.06em;
  padding: 8px 4px;
  transition: color 0.2s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
}
header .btn {
  margin-left: 28px;
}

/* ====== Mobile Burger ====== */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 7px;
  background: var(--primary);
  color: var(--accent);
  font-size: 2rem;
  z-index: 101;
  cursor: pointer;
  box-shadow: 0 1px 10px 0 rgba(30,34,43,0.11);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ====== Mobile Menu Overlay ====== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--metal-dark);
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 340px;
  height: 100vh;
  z-index: 1000;
  box-shadow: -6px 0 40px 0 rgba(34,38,45,0.54);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.85,-0.11,.45,1.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 18px 0 0;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 1;
  padding: 2px 10px;
  border-radius: 4px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 20px 24px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.14rem;
  color: #ECECEC;
  padding: 12px 4px;
  border-radius: 7px;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}
@media (max-width: 1023px) {
  header nav, header .btn {
    display: none;
  }
}

/* ================================
   Buttons
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  font-size: 1.06rem;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  box-shadow: 0 2px 8px 0 rgba(34,35,40,0.13);
}
.btn-primary {
  color: var(--accent);
  background: linear-gradient(92deg, var(--primary) 82%, var(--secondary) 120%);
  border: 2px solid var(--metal);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 5px 18px 0 rgba(74,88,110,0.19);
}
.btn-secondary {
  color: var(--primary);
  background: var(--accent);
  border: 2px solid var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: var(--accent);
  border-color: var(--primary);
}

/* ================================
   Main Features & Cards
   ================================ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.features-grid > div {
  background: var(--metal);
  color: var(--accent);
  border-radius: 10px;
  box-shadow: 0 1px 10px 0 rgba(22,28,38,0.10);
  border: 1.5px solid var(--metal-dark);
  min-width: 222px;
  flex: 1 1 222px;
  padding: 32px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.22s, background 0.18s, transform 0.2s;
  position: relative;
  max-width: 350px;
}
.features-grid > div:hover {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 5px 30px 0 rgba(80,90,110,0.29);
  transform: translateY(-4px) scale(1.025);
}
.features-grid > div img {
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  display: block;
  filter: grayscale(0.3) contrast(1.07) drop-shadow(0 1px 2px var(--metal-dark));
}
.features-grid h3 {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}
.features-grid p {
  font-size: 1rem;
  color: var(--accent);
}

/* ================================
   Card Containers and Cards
   ================================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  background: var(--metal);
  border-radius: 10px;
  border: 1.5px solid var(--metal-dark);
  box-shadow: 0 3px 14px 0 rgba(22,28,38,0.10);
  margin-bottom: 20px;
  position: relative;
  min-width: 230px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(80,90,110,0.15);
  transform: translateY(-3px) scale(1.015);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ================================
   Custom Spacing and Flex Groups
   ================================ */
.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: 20px;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* =====================
   Feature item
   ===================== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================================
   Testimonial Cards
   ================================ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9F9F6;
  border-left: 4px solid var(--secondary);
  border-radius: 8px 25px 8px 8px;
  margin-bottom: 24px;
  color: #222;
  box-shadow: 0 3px 18px 0 rgba(140, 140, 120, 0.11);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 24px 0 rgba(110,110,110,0.19);
  border-left-color: var(--primary);
}
.testimonial-card blockquote {
  color: #232323;
  background: transparent;
  border: none;
  font-style: italic;
  font-size: 1.12rem;
  padding: 0;
  margin-bottom: 6px;
  margin-right: 0;
}
.testimonial-meta {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
}

/* ================================
   Contact List & FAQ
   ================================ */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.01rem;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list li strong {
  color: var(--primary);
  margin-right: 4px;
}

/* ================================
   Footer
   ================================ */
footer {
  background: var(--metal-dark);
  border-top: 3px solid var(--metal);
  padding: 44px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: stretch;
}
footer img {
  height: 40px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav a {
  font-size: 0.98rem;
  color: #C2C6CC;
  transition: color 0.14s;
}
footer nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}
footer .contact-info {
  font-size: 0.94rem;
  color: var(--mid-gray);
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ================================
   Cookie Banner
   ================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 -2px 22px 0 rgba(22,28,38,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 12px 18px 12px;
  z-index: 1500;
  gap: 18px;
  transition: transform 0.26s;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner p {
  color: var(--accent);
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  padding: 8px 22px;
  font-size: 0.98rem;
}
.cookie-banner .btn-accept {
  background: var(--secondary);
  border: none;
  color: var(--primary);
}
.cookie-banner .btn-accept:hover {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid var(--metal);
}
.cookie-banner .btn-reject {
  background: var(--metal);
  border: none;
  color: var(--accent);
}
.cookie-banner .btn-reject:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .btn-settings {
  background: var(--primary);
  border: 1.5px solid var(--secondary);
  color: var(--secondary);
}
.cookie-banner .btn-settings:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(26,33,44,0.80);
  z-index: 1750;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.hide{
  opacity:0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--metal-dark);
  color: var(--accent);
  border-radius: 14px;
  box-shadow: 0 6px 32px 0 rgba(44,54,74,0.22);
  min-width: 310px;
  max-width: 94vw;
  padding: 34px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.23rem;
  color: var(--secondary);
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--metal);
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal label {
  font-family: var(--font-body);
  font-size: 1.01rem;
  color: var(--accent);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  color: var(--secondary);
  border: none;
  font-size:1.32rem;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 5px;
  transition: background 0.14s;
  z-index: 22;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1023px) {
  header .container {
    flex-direction: row;
    gap: 12px;
  }
  .features-grid > div { min-width: 160px; max-width: none; }
  .card-container .card { min-width: 180px; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px; padding-right: 8px;
    max-width: 98vw;
  }
  header img, footer img { height: 34px; }
  section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
  .features-grid {
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 15px 11px;
  }
  footer .container, footer .content-wrapper {
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .features-grid > div {
    min-width: 0;
    padding: 20px 8px 18px 8px;
  }
  .card {
    padding: 16px 6px;
  }
  .cookie-modal {
    padding: 22px 10px 10px 10px;
    min-width: 0;
    max-width: 99vw;
  }
}

/* ================================
   Micro-interactions, Transitions
   ================================ */
a, .btn, .card, .features-grid > div, .testimonial-card, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner, .cookie-banner .btn, .cookie-modal .modal-close {
  transition: all 0.2s cubic-bezier(.73,.17,.95,.44);
}

/* ================================
   Miscellaneous Utility
   ================================ */
::-webkit-scrollbar {
  width: 9px;
  background: var(--metal-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--metal);
  border-radius: 5px;
}
::-webkit-input-placeholder { color: var(--secondary); }
::-moz-placeholder { color: var(--secondary); }
:-ms-input-placeholder { color: var(--secondary); }
::placeholder { color: var(--secondary); }

table { width:100%; border-collapse:collapse; margin:24px 0; }
th, td { padding:14px; border:1px solid var(--metal); }

/* Utility classes for spacing */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* Ensure no overlapping content */
* { box-sizing: border-box; }

/* ================================
   End of style.css
   ================================ */