/* RESET & NORMALIZE (Meyer) */
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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #181B20;
  color: #EDEDED;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* BRAND VARS */
:root {
  --primary: #003366;
  --primary-dark: #002244;
  --secondary: #EDEDED;
  --accent: #FFB300;
  --surface: #23272D;
  --card-bg: #23272D;
  --border: #374050;
  --success: #28a745;
  --error: #dc3545;
  --font-display: 'Roboto Slab', Georgia, serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* TYPOGRAPHY */
h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--accent);
}
p, li, td, th, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #EDEDED;
}
blockquote {
  font-style: italic;
  color: var(--primary);
  border-left: 5px solid var(--accent);
  background: #21242a;
  padding: 12px 20px;
}
cite {
  font-size: 0.96rem;
  font-style: normal;
  color: var(--accent);
  margin-left: 8px;
}
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #fff;
  text-decoration: underline;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SECTIONS AND SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  section {
    padding: 30px 8px;
    margin-bottom: 40px;
  }
}

/* HEADER */
header {
  background: var(--primary-dark);
  border-bottom: 3px solid var(--accent);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 18px;
}
header img {
  height: 45px;
  width: auto;
  filter: brightness(1.1) drop-shadow(0 2px 6px #000a);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 1rem;
}
.main-nav a {
  color: #EDEDED;
  padding: 8px 0 8px 0;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
  transition: border 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.cta-primary {
  background: var(--accent);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.07rem;
  padding: 12px 26px;
  border-radius: 6px;
  border: none;
  margin-left: 22px;
  cursor: pointer;
  box-shadow: 0 2px 10px #0006, 0 1px 1.5px #fff1 inset;
  transition: background 0.17s, color 0.17s, box-shadow 0.2s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 18px #0008, 0 1px 1.5px #fff1 inset;
}
.cta-secondary {
  background: none;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: 10px 18px;
  margin-top: 8px;
  transition: background 0.18s, color 0.16s, border 0.16s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--accent);
  color: var(--primary);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--accent);
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  padding: 2px 10px;
  z-index: 1102;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  color: #fff;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #181B20ee;
  box-shadow: 4px 0 40px #000b;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.4,.2,0,1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--accent);
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  align-self: flex-end;
  margin: 22px 20px 6px 0;
  transition: color 0.17s;
  z-index: 1105;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  padding: 40px 35px;
  margin-top: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: var(--font-display);
  padding: 10px 4px;
  border-left: 5px solid transparent;
  transition: border-color 0.18s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  border-left: 5px solid var(--accent);
}

@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN CONTENT */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 22px #0004;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 36px #0008, 0 1.4px 1.8px #fff2 inset;
}
.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: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}
.feature-item {
  background: #23272D;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 26px 20px;
  min-width: 235px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px #0003;
  transition: border 0.19s, box-shadow 0.19s;
}
.feature-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 3px;
  filter: grayscale(60%) brightness(1.15);
}
.feature-item:hover, .feature-item:focus-within {
  border-color: var(--accent);
  box-shadow: 0 5px 22px #0006;
}

/**** TABLES ****/
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 26px;
}
thead {
  background: var(--primary-dark);
}
thead th {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.13rem;
  padding: 13px 7px;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 1.4px solid var(--border);
}
tbody td {
  color: #EDEDED;
  font-size: 1rem;
  padding: 11px 8px;
  border-bottom: 1px solid #23272D;
}
tbody tr:last-child td {
  border-bottom: none;
}
table tr:nth-child(even) {
  background: #22262B;
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
    padding: 0;
  }
  thead {
    display: none;
  }
  tr {
    margin-bottom: 20px;
    background: var(--surface);
  }
  td {
    padding: 8px;
    border: none;
    border-bottom: 1px solid #2a2e34;
    position: relative;
    min-width: 40vw;
  }
  td:before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2px;
    font-size: .95rem;
  }
}

/**** LISTS ****/
ul, ol {
  margin-left: 27px;
  margin-bottom: 15px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
  padding-left: 2px;
}
ul li strong {
  color: var(--accent);
  font-weight: 600;
}

/**** NEWSLETTER SIGNUP ****/
.newsletter-signup {
  background: #21252C;
  border: 1px solid #293341;
  border-radius: 7px;
  padding: 18px 24px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 2px 9px #0002;
}
.newsletter-signup a.cta-primary {
  margin-left: 0;
  margin-top: 0;
}

/**** COMPANIES PREVIEW ****/
.companies-preview {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.companies-preview img {
  height: 46px;
  width: auto;
  margin-right: 13px;
  filter: grayscale(70%) contrast(1.07);
}
.companies-preview ul {
  margin: 0;
  list-style: disc inside;
  color: #EDEDED;
}
@media (max-width:600px) {
  .companies-preview {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .companies-preview img {
    margin-right: 0;
    margin-bottom: 6px;
  }
}

/**** TESTIMONIAL CARDS ****/
.testimonial-card {
  background: #fff;
  color: #23272D;
  border-radius: 13px;
  box-shadow: 0 2px 22px #0002;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 240px;
  margin-bottom: 24px;
  border-left: 7px solid var(--primary);
  transition: box-shadow 0.17s, border-color 0.17s;
}
.testimonial-card blockquote {
  color: var(--primary);
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}
.testimonial-card cite {
  color: var(--accent);
  font-style: normal;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 30px #0007;
  border-left: 7px solid var(--accent);
}
@media (max-width:600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 8px;
  }
}

/**** DATA BLOCKS, FAQ, TECHNOLOGY HIGHLIGHTS ****/
.data-charts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.data-charts > div {
  background: #23272D;
  border-radius: 10px;
  padding: 22px 19px;
  flex: 1 1 200px;
  min-width: 200px;
  box-shadow: 0 1px 8px #0002;
  border: 1px solid #293341;
  margin-bottom: 10px;
}
.technology-highlights {
  background: #22262B;
  border-radius: 8px;
  padding: 17px 18px;
  margin-top: 14px;
  box-shadow: 0 1px 8px #0001;
}

/**** FAQ ACCORDION (static only) ****/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #181B20;
  border: 1.4px solid #2C3542;
  border-radius: 7px;
  padding: 14px 16px;
  transition: border 0.16s;
}
.faq-item:hover, .faq-item:focus-within {
  border: 1.8px solid var(--accent);
}
.faq-item h3 {
  margin: 0 0 7px 0;
}

/* MAP EMBED */
.map-embed {
  background: #21252C;
  color: #EDEDED;
  border: 1.4px solid #293341;
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 1rem;
  margin-top: 8px;
}

/**** FOOTER ****/
footer {
  background: var(--primary-dark);
  border-top: 3px solid var(--accent);
  margin-top: 40px;
  color: #EDEDED;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  padding: 28px 20px 26px 20px;
  gap: 12px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
.footer-nav {
  display: flex;
  gap: 22px;
}
.footer-nav a {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.contact-summary {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  color: #EDEDED;
}
.contact-summary img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 7px;
  filter: brightness(2) grayscale(90%);
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    padding-top: 10px;
  }
}

/**** CONTACT DETAILS ****/
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #23272D;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 1rem;
  margin: 14px 0;
}
.contact-details img {
  width: 17px;
  height: 17px;
  vertical-align: middle;
  margin-right: 4px;
  filter: brightness(1.5) grayscale(1);
}

/**** GENERAL UTILITIES ****/
.hidden { display: none !important; }

/**** MARGINS FOR MINIMUM SPACING ****/
.card, .feature-item, .testimonial-card, .data-charts > div, .faq-item {
  margin-bottom: 20px;
}

/* Ensure all content cards/sections have min 20px margin between */
.card + .card,
.feature-item + .feature-item,
.testimonial-card + .testimonial-card,
.data-charts > div + div,
.faq-item + .faq-item {
  margin-left: 0;
  margin-top: 20px;
}

/**** VISUAL HIERARCHY (SPACING) ****/
section h1, section h2, section h3 {
  margin-bottom: 16px;
}

/**** BUTTONS (GENERIC) ****/
button, .cta-primary, .cta-secondary {
  font-family: var(--font-display);
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
}
button:active {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent) inset;
}

/**** ANIMATIONS ****/
.card, .feature-item, .testimonial-card, .faq-item {
  transition: box-shadow 0.18s, border-color 0.16s;
}
a, button, .cta-primary, .cta-secondary {
  transition: color 0.15s, background 0.15s, border 0.13s;
}

/**** COOKIE CONSENT BANNER ****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #282C34;
  color: #fff;
  box-shadow: 0 -2px 28px #000b;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px 24px 28px;
  gap: 30px;
  font-size: 1rem;
  border-top: 3px solid var(--accent);
  min-height: 42px;
  animation: cookie-in 0.7s; 
}
@media (max-width:700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 10px;
    gap: 16px;
    font-size: 0.95rem;
  }
}
@keyframes cookie-in {
  from { transform: translateY(64px); opacity: 0; } to { transform:none; opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-btn {
  border-radius: 5px;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 11px 20px;
  font-size: 1rem;
  border: none;
  margin-right: 6px;
  cursor: pointer;
  box-shadow: 0 1px 5px #0002;
}
.cookie-accept {
  background: var(--accent);
  color: var(--primary-dark);
}
.cookie-accept:hover,.cookie-accept:focus {
  background: #fff;
  color: var(--primary);
}
.cookie-reject {
  background: #21252C;
  color: #ccc;
  border: 2px solid #293341;
}
.cookie-reject:hover,.cookie-reject:focus {
  color: var(--accent);
  border-color: var(--accent);
  background: #23272D;
}
.cookie-settings {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--accent);
  color: var(--primary-dark);
}

/**** COOKIE PREFERENCES MODAL ****/
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1350;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: #0006;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade-in 0.5s;
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #23272D;
  color: #EDEDED;
  border-radius: 13px;
  max-width: 420px;
  box-shadow: 0 8px 40px #000b;
  padding: 32px 24px 21px 24px;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-slide 0.5s;
}
@keyframes cookie-modal-slide {
  from { transform:translateY(42px); opacity: .2; }
  to { transform:none; opacity: 1; }
}
.cookie-modal h2 {
  margin: 0 0 8px 0;
  color: var(--accent);
  font-family: var(--font-display);
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #293341;
  font-size: 1rem;
  gap: 12px;
}
.cookie-modal .category input[type='checkbox'] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.cookie-modal .category label {
  font-size: 1rem;
  font-family: var(--font-display);
}
.cookie-category-essential {
  color: #9fc;
  font-weight: bold;
}
.cookie-modal-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 12px;
}
.cookie-modal-btns button {
  min-width: 100px;
}

/**** RESPONSIVE FIXES ****/
@media (max-width:768px) {
  .feature-grid { flex-direction: column; gap: 18px; }
  .data-charts { flex-direction: column; gap: 16px; }
}
@media (max-width:500px) {
  .container { padding: 0 6px; }
  .content-wrapper { gap: 14px; }
  .card, .feature-item, .testimonial-card, .faq-item { padding: 14px 9px; }
}

/**** CUSTOM SCROLLBAR ****/
::-webkit-scrollbar {
  width: 10px;
  background: #23272D;
}
::-webkit-scrollbar-thumb {
  background: #374050;
  border-radius: 6px;
}

/**** SELECTION ****/
::selection {
  background: var(--accent);
  color: var(--primary-dark);
}

/**** FOCUS VISIBLE ****/
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1.5px;
  z-index: 11;
}

/**** ICONS GENERAL ****/
img[alt*="icon"], [class*="icon-"] {
  filter: grayscale(80%) brightness(1.3) contrast(1.10);
}

/**** SPECIAL CLASSES FOR ALIGNMENT ****/
.align-center { text-align: center !important; }
.align-right  { text-align: right !important; }
.align-left   { text-align: left !important; }

/**** ERROR/SUCCESS UTILS ****/
.text-success { color: var(--success); }
.text-error { color: var(--error); }

/**** PRINT FIXES ****/
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}
