/* ===== CSS RESET & NORMALIZATION ===== */
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: #222831;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
input, button, textarea, select {
  font: inherit;
  outline: none;
  border-radius: 0;
}

/* ===== CUSTOM VARIABLES / FALLBACKS ===== */
:root {
  --color-primary: #214236;
  --color-secondary: #ffffff;
  --color-accent: #B46042;
  --color-bg-dark: #222831;
  --color-bg-tech: #161A22;
  --color-border: #30453C;
  --color-highlight: #28ffe4;
  --color-neon-blue: #1fe9ff;
  --color-neon-orange: #ff8136;
  --color-neon-green: #34ffb4;
  --color-muted: #C1CFCA;
  --color-card-bg: #232B2B;
  --color-light: #f5f6fa;
  --shadow-default: 0 4px 20px rgba(30,255,240,0.08), 0 1.5px 10px rgba(66,255,135,0.05);
  --shadow-neon: 0 0 12px var(--color-neon-blue);
  --radius-default: 16px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ===== BASE BODY AND TYPOGRAPHY ===== */
body {
  font-family: var(--font-body);
  color: var(--color-secondary);
  background: linear-gradient(135deg,#25272f 0%, #1a2225 60%, #2f393c 100%);
  min-height: 100vh;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-neon-blue);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  font-weight: 800;
}
h1 { font-size: 2.6rem; margin-bottom: 20px; text-shadow: 0 2px 16px rgba(31,233,255, 0.30); }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.12rem; }

p, ul, ol, blockquote { font-size: 1.1rem; }
strong { color: var(--color-accent); font-weight: 700; }
.subheadline { color: var(--color-neon-orange); font-family: var(--font-display); font-size: 1.22rem; margin-bottom: 16px; text-shadow: 0 0 6px rgba(255,129,54, 0.20); }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .subheadline { font-size: 1rem; }
}

/* ====== CONTAINER & SECTION LAYOUT ====== */
.container {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
.section, section, main > section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  position: relative;
}
@media (max-width: 768px) {
  .section, section, main > section {
    padding: 32px 0 32px 0;
    margin-bottom: 36px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ===== HEADER, NAVIGATION ===== */
header {
  background: #181F21;
  border-bottom: 2px solid var(--color-border);
  box-shadow: 0 3px 24px 0 rgba(31,233,255,0.04);
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}
header img { height: 44px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-neon-blue);
  padding: 10px 18px;
  border-radius: 8px;
  transition: background .18s, color .18s, box-shadow .18s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 0;
  height: 2px;
  background: var(--color-neon-blue);
  transition: width 0.2s ease;
}
.main-nav a:hover, .main-nav a:focus {
  background:rgba(49,246,252,0.12);
  color: var(--color-accent);
  box-shadow: 0 1.5px 12px var(--color-neon-blue);
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 60%;
}

@media (max-width: 1020px) {
  .main-nav { gap: 14px; }
}
@media (max-width: 830px) {
  .main-nav { display: none; }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--color-neon-green);
  border: 0;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 101;
  transition: color .25s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--color-neon-blue);
}

@media (max-width: 830px) {
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: linear-gradient(110deg, #1a232e 70%, #27434d 100%);
  z-index: 1200;
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.87, .04, .15,.89);
  box-shadow: 0 0 100px 30px #111c23;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: var(--color-neon-blue);
  border: 0;
  font-size: 2.3rem;
  cursor: pointer;
  align-self: flex-end;
  margin: 18px 24px 0 0;
  z-index: 2001;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-neon-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 24px 36px;
  gap: 20px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-neon-blue);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 0 10px 0;
  border-bottom: 1px solid #26434b;
  width: 100%;
  transition: color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-neon-orange);
}

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

/* ===== HERO & BUTTONS ===== */
.hero {
  margin-bottom: 60px;
  padding: 0 0 40px 0;
  background: linear-gradient(120deg,rgba(66,255,135,0.11) 0%,rgba(31,233,255,0.07) 100%);
  border-radius: 0 0 var(--radius-default) var(--radius-default);
  box-shadow: 0 0 30px 0 rgba(31, 233, 255, 0.04);
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 22px;
  text-align: center;
}

.cta-button {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 38px;
  color: var(--color-bg-dark);
  background: var(--color-neon-blue);
  border-radius: 32px;
  box-shadow: 0 4px 22px rgba(31,233,255, 0.15);
  border: none;
  transition: background .20s, color .20s, box-shadow .22s, transform .16s;
  cursor: pointer;
  margin-top: 10px;
  letter-spacing: 0.04em;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-neon-green);
  color: #232B2B;
  box-shadow: 0 2px 28px var(--color-neon-green),0 1px 0 #2f393c inset;
  transform: translateY(-2px) scale(1.03);
}

@media (max-width: 900px) {
  .hero .content-wrapper { padding-top: 14px; padding-bottom: 14px; }
  .cta-button { padding: 12px 24px; font-size: 1rem; }
}

/* ===== CARD & FLEX LAYOUTS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: var(--color-card-bg);
  box-shadow: var(--shadow-default),0 0 18px 0 rgba(66,255,135,.14);
  border-radius: var(--radius-default);
  margin-bottom: 20px;
  padding: 28px 24px;
  color: var(--color-secondary);
  transition: box-shadow .19s, background .18s, transform .19s;
  position: relative;
  min-width: 260px;
  flex: 1 1 240px;
}
.card:hover, .card:focus-within {
  background: #27343e;
  box-shadow: 0 0 18px var(--color-neon-blue), 0 0 8px var(--color-accent);
  transform: translateY(-2px) scale(1.012);
}

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

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-light);
  color: #191e22;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(31,233,255,0.10), 0 0 0 2.5px #b7ffe6;
  min-width: 0;
  flex: 1 1 300px;
  transition: box-shadow .17s, transform .18s;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  color: #21343e;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}
.testimonial-card strong {
  color: var(--color-accent);
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 0 18px var(--color-neon-blue), 0 0 8px var(--color-accent);
  transform: translateY(-2px) scale(1.012);
}

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

/* ===== LISTS ===== */
.features-list, .faq-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  padding: 0;
}
.features-list li, .faq-list li {
  background: var(--color-card-bg);
  padding: 18px 20px;
  border-radius: 12px;
  min-width: 220px;
  box-shadow: 0 0 14px rgba(31,233,255, 0.05);
  color: var(--color-secondary);
  font-size: 1.07rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .16s, box-shadow .15s;
  margin-bottom: 12px;
  flex: 1 1 210px;
}
.features-list li strong,
.faq-list li strong {
  color: var(--color-neon-blue);
  font-size: 1.05rem;
}
.features-list li:hover, .faq-list li:hover {
  background: #303b40;
  box-shadow: 0 0 10px var(--color-neon-blue);
}
.features-list img {
  margin-right: 8px;
  height: 36px;
  filter: drop-shadow(0 0 10px var(--color-neon-green));
}

@media (max-width: 900px) {
  .features-list, .faq-list, .service-list {
    flex-direction: column;
    gap: 14px;
  }
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.service-list .service-item {
  background: var(--color-card-bg);
  box-shadow: 0 8px 36px rgba(31,233,255,0.06);
  border-radius: 18px;
  padding: 20px 18px;
  color: var(--color-secondary);
  min-width: 220px;
  flex: 1 1 200px;
  margin-bottom: 16px;
  transition: background .13s, box-shadow .13s, transform .15s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.service-list .service-item img {
  max-width: 38px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 6px var(--color-neon-blue));
}
.service-item strong {
  color: var(--color-neon-orange);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.service-item .service-price {
  color: var(--color-neon-green);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-top: 8px;
  font-weight: 700;
}
.service-list .service-item:hover,
.service-list .service-item:focus-within {
  background: #27343e;
  box-shadow: 0 0 18px var(--color-neon-green);
  transform: translateY(-1.7px) scale(1.008);
}

@media (max-width: 900px) {
  .service-list { flex-direction: column; gap: 18px; }
}

/* ===== CATEGORY NAV AND SEARCH ===== */
.category-nav ul {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.category-nav li {
  background: var(--color-card-bg);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(49,246,252,0.03);
  margin-bottom: 6px;
  transition: background .15s, box-shadow .13s;
}
.category-nav a {
  color: var(--color-neon-blue);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 9px 18px;
  display: block;
  border-radius: 10px;
  transition: color .15s;
}
.category-nav a:hover, .category-nav a:focus {
  color: var(--color-accent);
  background: rgba(49,246,252,0.11);
}

.search-bar {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
}
.search-bar input {
  padding: 10px 14px;
  border-radius: 8px 0 0 8px;
  border: 1px solid var(--color-neon-blue);
  background: #20242a;
  color: var(--color-secondary);
  font-size: 1.07rem;
  width: 200px;
  transition: border .18s;
}
.search-bar input:focus { border-color: var(--color-neon-green); }
.search-bar button {
  padding: 10px 18px;
  border-radius: 0 8px 8px 0;
  border: none;
  background: var(--color-neon-blue);
  color: var(--color-bg-dark);
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: background .17s, color .15s;
}
.search-bar button:hover,
.search-bar button:focus {
  background: var(--color-neon-green);
  color: #232B2B;
}
@media (max-width: 600px) {
  .category-nav ul { flex-direction: column; gap: 8px; }
  .search-bar input { width: 120px; }
}

/* ===== FOOTER ===== */
footer {
  background: #1a2526;
  border-top: 2px solid var(--color-border);
  padding: 34px 0 22px 0;
  margin-top: 60px;
  color: var(--color-secondary);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--color-neon-blue);
  font-family: var(--font-display);
  font-size: 1.01rem;
  padding-bottom: 2px;
  transition: color .16s;
}
.footer-nav a:hover { color: var(--color-neon-orange); }
.footer-contact {
  font-size: 1rem;
  color: var(--color-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact strong {
  color: var(--color-primary);
  font-family: var(--font-display);
}
footer img {
  max-height: 48px;
  margin-right: 14px;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(92deg, #1a2228 75%, #233a39 100%);
  box-shadow: 0 -2px 22px 0 rgba(31,233,255,0.18);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding: 24px 36px 22px 36px;
  z-index: 7020;
  font-size: 1.06rem;
  animation: cookieBannerIn .6s cubic-bezier(.65,.05,.15,1.25);
  color: var(--color-secondary);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner button {
  border-radius: 24px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 22px;
  margin: 0 8px
}
.cookie-banner .accept {
  background: var(--color-neon-green);
  color: #232B2B;
  box-shadow: 0 0 10px var(--color-neon-green);
  transition: background .15s, color .14s;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-neon-blue);
  color: #232B2B;
}
.cookie-banner .reject {
  background: #26303e;
  color: var(--color-neon-blue);
  border: 1.8px solid var(--color-neon-blue);
  transition: background .16s, color .14s, border .12s;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--color-neon-orange);
  color: #232B2B;
  border-color: var(--color-neon-orange);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--color-neon-orange);
  border: none;
  text-decoration: underline;
  padding: 8px 14px;
  transition: color .13s;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  color: var(--color-neon-blue);
}

/* ===== COOKIE MODAL DIALOG ===== */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  height: 100vh; width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8001;
  background: rgba(16,24,28,0.75);
  animation: cookieModalOpen .3s cubic-bezier(.72,.15,.29,1.22);
}
@keyframes cookieModalOpen {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-inner {
  background: #1a232e;
  border-radius: 18px;
  box-shadow: 0 16px 64px rgba(31,233,255,0.20),0 2px 8px #1fe9ff inset;
  color: var(--color-secondary);
  padding: 34px 24px 28px 24px;
  max-width: 420px;
  min-width: 0;
  width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.cookie-modal h3 {
  color: var(--color-neon-blue);
  font-size: 1.23rem;
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  font-family: var(--font-body);
  gap: 10px;
  cursor: pointer;
  margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-neon-blue);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 8px 0;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 10px;
  right: 8px;
  background: none;
  color: var(--color-neon-orange);
  font-size: 2rem;
  border: 0;
  cursor: pointer;
  padding: 2px 8px;
  transition: color .13s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: var(--color-neon-blue);
}
.cookie-modal .modal-actions button {
  border-radius: 24px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 22px;
}
.cookie-modal .accept {
  background: var(--color-neon-green);
  color: #232B2B;
  box-shadow: 0 0 10px var(--color-neon-green);
}
.cookie-modal .reject {
  background: #26303e;
  color: var(--color-neon-blue);
  border: 1.6px solid var(--color-neon-blue);
}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
  background: var(--color-neon-blue);
  color: #232B2B;
}
.cookie-modal .reject:hover, .cookie-modal .reject:focus {
  background: var(--color-neon-orange);
  color: #232B2B;
  border-color: var(--color-neon-orange);
}

/* ===== UTILITIES & MICRO-ANIMATIONS ===== */
::-webkit-scrollbar { width: 8px; background: #192727; }
::-webkit-scrollbar-thumb { background: #1fe9ff; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #34ffb4; }

.align-center { text-align: center; }
.mt-2  { margin-top: 16px; }
.mb-2  { margin-bottom: 16px; }

hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, #1fe9ff, #34ffb4);
  border-radius: 8px;
  margin: 32px 0;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav, .footer-nav { font-size: 0.98rem; }
  .service-list .service-item, .features-list li, .faq-list li {
    min-width: unset;
    padding-left: 10px;
    padding-right: 10px;
  }
  .card-container { gap: 12px; }
  .card { padding: 18px 10px; }
  .feature-item { gap: 8px; }
  .content-wrapper { gap: 16px; }
}

/* ===== FOCUS VISIBLE STATE ===== */
:focus { outline: none; }
:focus-visible {
  outline: 2.5px solid var(--color-neon-orange);
  outline-offset: 1px;
  box-shadow: 0 0 0 3px var(--color-neon-blue),0 0 0 8px #29343700;
}
