/* 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: #fff;
  color: #181818;
  font-family: 'Arial', sans-serif;
  min-height: 100vh;
}

/* MONOCHROME SOPHISTICATED PALETTE */
:root {
  --primary: #181818;
  --primary-contrast: #fff;
  --secondary: #f5f5f5;
  --card-bg: #fff;
  --accent: #222;
  --border-color: #dedede;
  --hover-gray: #222;
  --shadow-light: 0 2px 24px rgba(32,32,32,.08);
  --shadow-dark: 0 6px 32px rgba(15,15,15,.14);
  --radius: 12px;
  --accent-brand: #FFB700;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
p, li, ul {
  font-family: 'Arial', sans-serif;
  font-size: 1.09rem;
  color: #242424;
  margin-bottom: 14px;
  line-height: 1.7;
}
strong, b {
  font-weight: 600;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
a {
  color: var(--primary);
  text-decoration: underline;
  transition: color .15s;
}
a:hover, a:focus {
  color: var(--accent-brand);
  text-decoration: none;
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 800px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  flex: 1 1 320px;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: var(--shadow-dark);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #f6f6f6;
  box-shadow: var(--shadow-light);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 24px;
  max-width: 600px;
  color: #1a1a1a;
}
.testimonial-card p {
  color: #1d1d1d;
  margin: 0 0 6px 0;
}
.testimonial-card strong {
  color: #333;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.feature {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  padding: 28px 22px;
  flex: 1 1 260px;
  transition: box-shadow .18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
}
.feature img {
  width: 40px;
  margin-bottom: 14px;
  filter: grayscale(1) brightness(0.45);
}
.feature:hover {
  box-shadow: var(--shadow-dark);
}
.feature h3 {
  color: #191919;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section img {
  vertical-align: middle;
  width: 20px;
  margin-right: 8px;
  filter: grayscale(1) brightness(0.4);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 14px rgba(32,32,32,0.04);
  border-bottom: 1px solid #efefef;
  z-index: 10;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
header img {
  height: 44px;
  width: auto;
}
.main-navigation {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-navigation a {
  padding: 8px 0 8px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  color: #232323;
  text-decoration: none;
  position: relative;
  transition: color .15s;
}
.main-navigation a:hover, .main-navigation a:focus {
  color: var(--accent-brand);
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #111;
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  font-size: 1.12rem;
  box-shadow: var(--shadow-light);
  margin-left: 18px;
  text-decoration: none;
  transition: background .18s, color .18s, box-shadow .20s;
  display: inline-block;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: var(--accent-brand);
  color: #181818;
  box-shadow: var(--shadow-dark);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #181818;
  cursor: pointer;
  padding: 7px 12px;
  margin-left: 14px;
  border-radius: 8px;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f1f1f1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,24,24,0.94);
  color: #fff;
  z-index: 190;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform .36s cubic-bezier(.65,.05,.39,.93);
  box-shadow: 0 6px 28px rgba(0,0,0,0.24);
  padding-top: 24px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  padding: 14px 16px;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: background .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #222;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 0 36px 40px 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color .16s, background .18s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #191919;
}

/* MAIN CONTENT */
main {
  padding-bottom: 60px;
}

/* FOOTER */
footer {
  background: #1a1a1a;
  color: #eee;
  padding: 40px 0 28px 0;
  border-top: 1px solid #eee;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-links a {
  color: #eee;
  font-size: 1rem;
  text-decoration: none;
  transition: color .19s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--accent-brand);
}
.company-info p {
  color: #b5b5b5;
  font-size: .97rem;
  margin-bottom: 6px;
}

/* UTILITY CLASSES */
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mt-2 { margin-top: 18px !important; }
.mb-2 { margin-bottom: 18px !important; }

.hide { display: none !important; }

/* IMAGE TREATMENT FOR MONOCHROME */
img, svg {
  max-width: 100%;
  display: inline-block;
}

/* SPACING */
section + section {
  margin-top: 24px;
}

/* BUTTONS */
button, .button, .cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  outline: none;
  background: #fff;
  color: #191919;
  transition: background .2s, color .2s, box-shadow .2s;
}
button:active, .cta-button:active {
  outline: 2px solid var(--accent-brand);
}

/* FORM ELEMENTS (if any form is included in modal/banners) */
input, select, textarea {
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: #fff;
  color: #181818;
  transition: border .14s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent-brand);
  outline: none;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 150;
  background: #191919;
  color: #fff;
  box-shadow: 0 -2px 16px rgba(24,24,24,0.08);
  padding: 24px 6vw 18px 6vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 1.06rem;
  animation: cookieBannerFadeIn .7s both;
}
@keyframes cookieBannerFadeIn {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 240px;
  color: #fff;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button, .cookie-banner .btn {
  padding: 11px 24px;
  background: #fff;
  color: #181818;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background .16s, color .16s, box-shadow .2s;
  box-shadow: var(--shadow-light);
}
.cookie-banner button:hover, .cookie-banner .btn:hover {
  background: var(--accent-brand);
  color: #191919;
}
.cookie-banner .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-banner .btn-secondary:hover {
  background: #232323;
  color: #fff;
  border-color: var(--accent-brand);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  z-index: 220;
  background: #fff;
  color: #181818;
  box-shadow: 0 18px 60px rgba(16,16,16,0.25);
  border-radius: 18px;
  width: 90%;
  max-width: 420px;
  padding: 32px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalFadeIn .4s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; transform: scale(0.96) translate(-50%,-50%); }
  to   { opacity: 1; transform: scale(0.98) translate(-50%,-50%); }
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  margin-bottom: 4px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}
.cookie-category .toggle {
  width: 34px;
  height: 20px;
  background: #ccc;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 8px;
  transition: background .2s;
}
.cookie-category input[type="checkbox"] {
  display: none;
}
.cookie-category .toggle::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.cookie-category input[type="checkbox"]:checked + .toggle {
  background: var(--accent-brand);
}
.cookie-category input[type="checkbox"]:checked + .toggle::after {
  transform: translateX(14px);
}
.cookie-modal__footer {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 10px 22px;
  font-size: 1.03rem;
}
.cookie-modal .btn-link {
  background: none;
  color: #181818;
  border: none;
  text-decoration: underline;
  font-weight: 500;
  font-size: 1rem;
  padding: 0;
  cursor: pointer;
}
.cookie-modal .btn-link:hover {
  color: var(--accent-brand);
}

/* MEDIA QUERIES: RESPONSIVE DESIGN */
@media (max-width: 1180px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
}
@media (max-width: 1020px) {
  .features-grid {
    gap: 18px;
  }
  .card-container {
    gap: 16px;
  }
  .section {
    padding: 34px 10px;
    margin-bottom: 40px;
  }
}
@media (max-width: 900px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .main-navigation {
    gap: 16px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .main-navigation, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 32px;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature, .card {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .container, footer .container {
    padding: 0 4vw;
  }
  footer .container {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  h1, .h1 {
    font-size: 1.7rem;
  }
  h2, .h2 {
    font-size: 1.3rem;
  }
  h3, .h3 {
    font-size: 1.08rem;
  }
  .cookie-modal {
    padding: 20px 8px 20px 8px;
    max-width: 99vw;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    font-size: .99rem;
    padding: 16px 3vw 12px 3vw;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.card, .feature, .testimonial-card, .section {
  transition: box-shadow .22s, background .19s, transform .17s;
}
.card:hover, .feature:hover {
  transform: translateY(-2px) scale(1.01);
}
a, .cta-button, .mobile-menu-close {
  transition: color .16s, background .17s, box-shadow .17s;
}
.mobile-menu {
  will-change: transform;
}

/* ACCESSIBILITY: FOCUS RINGS */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid var(--accent-brand);
  outline-offset: 2px;
}

/* CUSTOM MONOCHROME CHECKLISTS */
ul li::marker {
  color: #555;
}

/* OVERRIDE CHROME INPUT BG ON AUTOFILL */
input:-webkit-autofill {
  background: #fff !important;
  color: #101010 !important;
}

/* NON-FLEXBOX SAFEGUARDS: PREVENT GRID/COLUMN LAYOUTS */
/* (None needed, ensure only flexbox is in use as per spec) */

/* Z-INDEX MANAGEMENT */
header { z-index: 100; }
.mobile-menu { z-index: 190; }
.cookie-banner { z-index: 150; }
.cookie-modal { z-index: 220; }

/* --------- END OF CSS --------- */
