/* === CSS RESET & NORMALIZE: BEGIN === */
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; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
button, input, select, textarea { font-family: inherit; font-size: 100%; }
*, *::before, *::after { box-sizing: border-box; }

/* === VARIABLES & BASE: TECH_FUTURISTIC THEME === */
:root {
  --col-primary: #2B3A42;
  --col-secondary: #7D947B;
  --col-accent: #F6E9D8;
  --col-bg: #181C23;
  --col-card: #232937;
  --col-neon1: #34ffe6;
  --col-neon2: #38a9ff;
  --col-error: #ff1a40;

  --font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--col-bg);
}
body {
  font-family: var(--font-body);
  color: #f5f5f5;
  background: var(--col-bg);
  line-height: 1.7;
}

/* General containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--col-neon1);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

p, li, em, strong {
  font-family: var(--font-body);
  color: #e5e8f0;
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
}

strong {
  color: var(--col-neon2);
}
em {
  color: var(--col-accent);
}

blockquote {
  border-left: 3px solid var(--col-neon2);
  color: #181c23;
  background-color: #fff;
  font-style: italic;
  padding: 10px 20px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  border-radius: 8px;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 20px;
}

/* === NAVIGATION (Desktop & Mobile) === */
header {
  width: 100%;
  background: linear-gradient(90deg, #232937 60%, var(--col-primary) 100%);
  box-shadow: 0 2px 16px rgba(52,255,230,0.08);
  position: sticky;
  top: 0; z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 12px 20px;
  font-family: var(--font-display);
  font-size: 1rem;
}
.main-nav a {
  position: relative;
  color: #fff;
  opacity: 0.87;
  padding: 4px 2px;
  border-radius: 4px;
  transition: color .2s, background .2s, box-shadow .2s;
}
.main-nav a.active,.main-nav a:hover {
  color: var(--col-neon1);
  background: rgba(52,255,230,0.06);
}
.main-nav img {
  height: 36px;
  margin-right: 20px;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--col-neon2);
  cursor: pointer;
  z-index: 50;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover { color: var(--col-neon1); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; right: 0;
  width: 100vw; max-width: 360px;
  height: 100vh;
  background: linear-gradient(120deg, #232937 80%, #181c23);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 200;
  box-shadow: -4px 0 36px rgba(52,255,230,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-top: 22px;
  margin-right: 22px;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--col-neon2);
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover { color: var(--col-neon1); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 38px 32px 0 32px;
}
.mobile-nav a {
  font-size: 1.05rem;
  color: #fff;
  border-radius: 4px;
  padding: 8px 4px;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: rgba(52,255,230,0.15);
  color: var(--col-neon1);
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 16px;
    padding: 16px 10px 8px 16px;
  }
  .main-nav img { margin-right: 10px; height: 32px; }
}
@media (max-width: 820px) {
  .main-nav { gap: 12px; font-size: 0.98rem; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* === HERO & GENERAL SECTIONS === */
.hero {
  width: 100%;
  background: linear-gradient(100deg, var(--col-primary) 75%, var(--col-bg) 100%);
  padding: 56px 0 44px 0;
  margin-bottom: 60px;
  box-shadow: 0 8px 40px 0 rgba(52,255,230,0.10);
}
.hero .content-wrapper { max-width: 680px; }

.features, .about, .services, .contact, .testimonials {
  background: none;
  margin-bottom: 60px; padding: 40px 20px;
}

.features .content-wrapper, .services .content-wrapper, .about .content-wrapper, .contact .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: none;
}

/* List with icons */
.features ul li, .about ul li, .services ul li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  margin-bottom: 18px;
}
.features ul li img, .about ul li img, .services ul li img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 4px var(--col-neon1));
}

.features ul, .about ul, .services ul, .content-wrapper ul {
  padding-left: 0;
  /* No bullet */
}
ol {
  margin-left: 18px;
  margin-bottom: 16px;
}
ol li {
  margin-bottom: 13px;
}

/* === CARDS AND FLEX CONTAINERS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--col-card);
  border-radius: 18px;
  padding: 32px 20px;
  box-shadow: 0 4px 32px 0 rgba(56,169,255,0.09);
  transition: box-shadow .22s, background .18s;
  z-index: 1;
}
.card:hover {
  box-shadow: 0 6px 40px 0 var(--col-neon2), 0 0 0 3px var(--col-neon1) inset;
  background: #202330;
}

.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;
}

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

.testimonials .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #181c23;
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(52,255,230,.14);
  min-width: 250px;
  max-width: 360px;
  flex: 1 1 260px;
  font-size: 1rem;
  margin-bottom: 0;
  transition: box-shadow .19s, transform .21s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px var(--col-neon2), 0 0 0 3px var(--col-neon1) inset;
  transform: translateY(-5px) scale(1.03);
}
.testimonial-card blockquote {
  color: #181c23;
  background: #e8fafe;
  border-left: 3px solid var(--col-neon2);
  padding: 15px 15px 7px 18px;
  border-radius: 7px;
}
.testimonial-card p {
  font-size: 1rem;
  font-family: var(--font-display);
}
.testimonial-card strong { color: var(--col-secondary); }

@media (max-width: 900px) {
  .testimonials .content-wrapper { flex-direction: column; gap: 20px; }
}

/* === BUTTONS & CTA === */
.cta-button, .cookie-btn, .cookie-btn-primary, .cookie-btn-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  outline: none;
  background: linear-gradient(90deg, var(--col-neon2), var(--col-neon1));
  color: #232937;
  box-shadow: 0 2px 20px 0 var(--col-neon1, #34ffe6);
  padding: 14px 34px;
  margin-top: 16px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background .18s, color .13s, transform .19s, box-shadow .22s;
  letter-spacing: 1px;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--col-neon1), var(--col-neon2));
  color: var(--col-bg);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 5px 28px 0 var(--col-neon2);
}
.cookie-btn, .cookie-btn-primary {
  background: linear-gradient(90deg, var(--col-neon2), var(--col-neon1));
  color: #232937;
  padding: 11px 24px;
}
.cookie-btn:hover, .cookie-btn-primary:hover {
  background: linear-gradient(90deg, var(--col-neon1), var(--col-neon2));
  color: #202330;
}
.cookie-btn-secondary {
  background: none;
  color: var(--col-neon2);
  border: 2px solid var(--col-neon2);
  padding: 11px 24px;
  margin-left: 8px;
  box-shadow: none;
  transition: background .2s, color .2s, border .2s;
}
.cookie-btn-secondary:hover {
  background: var(--col-neon2);
  color: #232937;
}

/* === FOOTER & CONTACT === */
footer {
  background: #232937;
  width: 100%;
  color: #f6e9d8;
  font-size: 1rem;
}
footer section {
  border-top: 2px solid #2b3a42;
  padding: 32px 0 24px 0;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 0.98rem;
}
.footer-nav a {
  color: var(--col-neon1);
  opacity: 0.75;
  transition: opacity 0.18s, color 0.18s;
}
.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
  color: var(--col-neon2);
}
.contact-info p, .contact-info a { color: #f6e9d8; }
.contact-info a { text-decoration: underline; }
.social-media {
  margin-top: 18px;
  font-style: italic;
  color: var(--col-neon1);
}

@media (max-width: 768px) {
  .container { padding: 0 8px; }
  footer section { padding: 24px 0 16px 0; }
  .footer-nav { gap: 15px; font-size: 0.90rem; }
}

/* === RESPONSIVE FLEX LAYOUTS === */
@media (max-width: 900px) {
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .section, .features, .about, .services, .contact, .testimonials {
    padding: 28px 4px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 30px 0 24px 0;
    margin-bottom: 36px;
  }
  .hero .content-wrapper h1, .hero .content-wrapper p {
    text-align: left;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card { padding: 20px 12px; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #1b2028;
  color: #f6e9d8;
  box-shadow: 0 -2px 32px 0 rgba(56,169,255,0.11);
  padding: 26px 12px 24px 12px;
  z-index: 4000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  font-family: var(--font-body);
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity .58s, transform .45s cubic-bezier(.69,-0.17,.48,1.47);
}
.cookie-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner-msg {
  max-width: 550px;
  font-size: 1.07rem;
  color: #e5e8f0;
  margin-right: 24px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 24px 5vw 18px 5vw;
  }
  .cookie-banner-msg {
    margin-right: 0;
    font-size: 0.97rem;
  }
}

/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,42,54,0.76);
  z-index: 4020;
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookieFadeIn 0.38s;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes cookieFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #191e27;
  border-radius: 20px;
  max-width: 440px;
  width: 96vw;
  padding: 30px 28px 22px 28px;
  box-shadow: 0 6px 44px rgba(56,169,255,0.21);
  color: #f6e9d8;
  font-family: var(--font-body);
  animation: modalSlideIn 0.33s;
}
@keyframes modalSlideIn {
  from { transform: translateY(48px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 { font-size: 1.14rem; color: var(--col-neon2); margin-bottom: 19px; }
.cookie-modal-category {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 13px;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: var(--col-accent);
  cursor: pointer;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: var(--col-neon2);
  width: 19px; height: 19px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 19px;
}
.cookie-modal-close {
  position: absolute;
  right: 21px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--col-neon2);
  cursor: pointer;
  z-index: 4030;
  transition: color .18s;
}
.cookie-modal-close:hover { color: var(--col-neon1); }

@media (max-width: 420px) {
  .cookie-modal { padding: 22px 9px 16px 9px; font-size: 0.95rem; }
}

/* === MICRO-INTERACTIONS, TRANSITIONS === */
a, button, .cta-button, .cookie-btn, .cookie-btn-secondary, .cookie-btn-primary {
  transition: color 0.18s, background 0.22s, box-shadow 0.19s, transform 0.13s;
}
button:active, .cta-button:active {
  transform: scale(0.97);
}
input[type="checkbox"]:focus {
  outline: 2px solid var(--col-neon2);
  box-shadow: 0 0 0 2px var(--col-neon2) inset;
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-16 { margin-bottom: 16px; }

/* === ENSURE NO GRID, PROPER SPACING === */
.section, .features, .services, .about, .testimonials, .contact {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container, .content-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
}
.card {
  margin-bottom: 20px !important;
}
.text-image-section { gap: 30px !important; align-items: center !important; }
.feature-item { gap: 15px !important; align-items: flex-start !important; }
.testimonial-card { gap: 20px !important; padding: 20px !important; }

/* === SCROLLBAR STYLE (subtle, futuristic) === */
::-webkit-scrollbar { width: 9px; background: #22272f; }
::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #38a9ff 50%, #34ffe6 100%); border-radius: 12px; }

/* High-contrast for testimonials (CRITICAL) */
.testimonial-card, .testimonial-card blockquote { color: #181c23 !important; background: #fff !important; }

/* Remove accidental overlapping */
.card, .testimonial-card, .footer-nav, .main-nav {
  z-index: 1;
}

/* === END === */