:root {
  --bg-1: #030a04;
  --bg-2: #08150a;
  --banner-black-height: 790px;
  --surface: rgba(12, 28, 14, 0.7);
  --surface-strong: rgba(16, 36, 18, 0.85);
  --text-main: #d9f6c8;
  --text-soft: #9dc59a;
  --line: rgba(126, 255, 94, 0.28);
  --neon: #8dff4f;
  --neon-soft: #66dd40;
  --neon-dark: #3cae37;
  --neon-rgb: 141, 255, 79;
  --shadow-neon: 0 0 24px rgba(var(--neon-rgb), 0.45);
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--neon-rgb), 0.65) rgba(3, 6, 3, 0.88);
}

html,
body {
  margin: 0;
  padding: 0;
  background: #010304;
  scroll-behavior: smooth;
}
.badge-icon, .ci-icon {
  -webkit-clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  position: relative;
  overflow: visible; /* allow outline to extend */
  z-index: 0;
  background: rgba(8,18,10,0.82);
  box-sizing: border-box;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.badge-icon::before,
.ci-icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  -webkit-clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  border: 3px solid rgba(var(--neon-rgb), 1);
  box-shadow: 0 0 18px rgba(var(--neon-rgb), 0.9);
  background: transparent;
  pointer-events: none;
  z-index: 0;
}
.badge-icon::after,
.ci-icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  -webkit-clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  background: rgba(8,18,10,0.9);
  pointer-events: none;
  z-index: 1;
}
.badge-icon img, .ci-icon img, .badge-icon svg, .ci-icon svg {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
  margin: auto;
}
.parallax-bg {
  position: fixed;
  inset: -15% 0;
  z-index: 0;
  background: url("../images/background.webp") center / cover no-repeat;
  will-change: transform;
  pointer-events: none;
}

.parallax-bg-theme {
  position: fixed;
  inset: -15% 0;
  z-index: 0;
  background: url("../images/background.png") center / cover no-repeat;
  will-change: transform;
  pointer-events: none;
}
body {
    font-family: "Outfit", sans-serif;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-track-piece {
  background: rgba(3, 6, 3, 0.88);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  background: rgba(var(--neon-rgb), 0.45);
  border-radius: 999px;
  border: 3px solid rgba(3, 6, 3, 0.88);
  background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--neon-rgb), 0.75);
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
  background: rgba(3, 6, 3, 0.88);
}

img {
  max-width: 100%;
  display: block;
}

.page-wrap {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* .hero-banner,
.content-banner {
  position: relative;
  overflow: hidden;
  background: transparent;
} */

.hero-banner {
  padding: 0px;
}

/* .hero-banner::before,
.content-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 20%, rgba(85, 255, 112, 0.18), transparent 36%);
  opacity: 0.55;
} */
/* 
.hero-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.82));
  pointer-events: none;
} */

.content-banner {
  padding: 0 0 0px;
  background-attachment: fixed;
}
/* 
.content-banner::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.28));
} */

.site-bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: none;
  opacity: 0;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-family: "Orbitron", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(142, 255, 79, 0.6));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: #cbdfc5;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--neon);
}

.btn {
  border: 1px solid rgba(155, 255, 112, 0.48);
  border-radius: 16px;
  text-decoration: none;
  color: #ebffe1;
  font-weight: 600;
  font-size: 1rem;
  min-height: 52px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 18, 10, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 8px rgba(94, 255, 82, 0.2);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(188, 255, 118, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 15px rgba(120, 255, 92, 0.32);
}

.btn-outline,
.btn-glow {
  background: rgba(8, 18, 10, 0.68);
  border-color: rgba(155, 255, 112, 0.48);
  color: #ebffe1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 8px rgba(94, 255, 82, 0.2);
}

.btn-outline:hover,
.btn-glow:hover {
  border-color: rgba(188, 255, 118, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 10px rgba(120, 255, 92, 0.34);
}

.btn-ghost {
  background: rgb(9 20 10 / 85%);
  border-color: rgba(126, 255, 94, 0.44);
}

.btn-ghost:hover {
  background: rgba(23, 46, 23, 0.76);
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.08fr);
  gap: 20px;
  align-items: center;
  margin: 18px 0 64px;
}

/* .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.06), transparent 48%);
  opacity: 0.4;
} */

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.03;
  letter-spacing: 0.01em;
  max-width: 560px;
}

.hero-content p {
  margin: 22px 0 30px;
  max-width: 530px;
  color: var(--text-soft);
  font-size: 1.2rem;
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
    position: relative;
    /* min-height: 520px; */
    border-radius: 28px;
    overflow: hidden;
    background: radial-gradient(circle at 60% 25%, rgba(170, 255, 102, 0.16), transparent 28%);
    /* box-shadow: inset 0 0 0 1px rgba(146, 255, 96, 0.1), 0 26px 60px rgba(0, 0, 0, 0.45); */
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section {
  position: relative;
  /* margin-top: 58px; */
  padding: 60px 0 52px;
  overflow: hidden;
}

.section h2 {
  position: relative;
  margin: 5;
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.9rem);
  line-height: 1.15;
}

.section-subtext {
  text-align: center;
  margin: 12px auto 28px;
  color: var(--text-soft);
  max-width: 760px;
  font-size: 1.15rem;
}

.mini-label {
  text-align: center;
  color: #b4d7ac;
  margin: 0 0 16px;
  letter-spacing: 0.03em;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.four-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* border: 1px solid rgba(var(--neon-rgb), 0.26); */
  border-radius: 18px;
  background:
    radial-gradient(120% 70% at 10% 0%, rgba(var(--neon-rgb), 0.18) 0%, rgba(var(--neon-rgb), 0) 58%),
    radial-gradient(100% 60% at 90% 100%, rgba(var(--neon-rgb), 0.2) 0%, rgba(var(--neon-rgb), 0) 62%),
    linear-gradient(165deg, rgba(39, 78, 41, 0.42) 0%, rgba(13, 30, 15, 0.68) 38%, rgba(6, 14, 8, 0.86) 100%);
  box-shadow: inset 0 0 0 1px rgba(var(--neon-rgb), 0.07), 0 20px 35px rgba(3, 12, 3, 0.45);
  /* padding: 16px; */
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.service-card > * {
  position: relative;
  z-index: 3;
}

.service-card-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}

.service-card-ring .ring-base {
  fill: none;
  stroke: rgba(var(--neon-rgb), 0.26);
  stroke-width: 2;
}

.service-card-ring .ring-highlight {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  opacity: 0.95;
}

.service-card-ring .ring-tail {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  opacity: 0.4;
}

.service-card:hover .service-card-ring .ring-highlight {
  opacity: 1;
}

.service-card:hover .service-card-ring .ring-tail {
  opacity: 0.55;
}

.service-card img {
  display: block;
  width: 258px;
  height: 148px;
  object-fit: contain;
  border-radius: 18px 18px 0 0;
  position: relative;
  top: 2px;
  left: 2px;
}
.service-card h3 {
  margin: 16px 0 10px;
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  line-height: 1.2;
  padding: 0px 16px;
}

.service-card p {
  margin: 0;
  color: #a7c8a0;
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 0px 16px;
}

.card-link {
  margin-top: auto;
  align-self: flex-start;
  color: #d5f7c8;
  text-decoration: none;
  border: 1px solid rgba(144, 255, 90, 0.45);
  border-radius: 10px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  font-size: 0.92rem;
  background: rgba(19, 38, 20, 0.75);
  transition: all 0.2s ease;
  left: 10px;
  bottom: 10px;
}

.card-link:hover {
  color: #152114;
  background: linear-gradient(180deg, #abff74 0%, #7de746 100%);
  border-color: rgba(130, 255, 66, 0.95);
}

.contact-cta {
  /* margin-top: 82px; */
  text-align: center;
}

.contact-cta p {
  max-width: 860px;
  margin: 16px auto 30px;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.55;
}

.contact-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-form input {
  width: min(500px, 84vw);
  min-height: 48px;
  border-radius: 11px;
  border: 1px solid rgba(130, 255, 85, 0.42);
  background: rgba(11, 26, 12, 0.78);
  color: var(--text-main);
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  padding: 0 16px;
  outline: none;
}

.contact-form input:focus {
  border-color: rgba(147, 255, 90, 0.88);
  box-shadow: 0 0 0 4px rgba(141, 255, 79, 0.14);
}

.contact-form input::placeholder {
  color: #7ea274;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ambient-lines,
.ambient-orbs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: calc(var(--banner-black-height) - 90px);
  z-index: 1;
  pointer-events: none;
}

.ambient-lines {
  background:
    repeating-linear-gradient(112deg, rgba(117, 255, 70, 0.07) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(182deg, rgba(117, 255, 70, 0.04) 0 1px, transparent 1px 70px),
    linear-gradient(112deg, transparent 42%, rgba(117, 255, 70, 0.12) 49%, transparent 56%),
    linear-gradient(184deg, transparent 63%, rgba(117, 255, 70, 0.09) 68%, transparent 73%);
  background-size: 260px 260px, 180px 180px, 100% 100%, 100% 100%;
  animation: tech-lines-drift 14s linear infinite;
}

.ambient-orbs {
  background:
    radial-gradient(circle at 8% 28%, rgba(129, 255, 69, 0.18), transparent 16%),
    radial-gradient(circle at 78% 65%, rgba(129, 255, 69, 0.18), transparent 18%),
    radial-gradient(circle at 34% 92%, rgba(129, 255, 69, 0.12), transparent 13%);
}

@keyframes tech-lines-drift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 240px -150px, -120px 170px, 0 0, 0 0;
  }
}

@media (max-width: 1190px) {
  :root {
    --banner-black-height: 980px;
  }

  .four-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  :root {
    --banner-black-height: 1120px;
  }

  .page-wrap {
    width: min(1120px, 94vw);
    padding-top: 16px;
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero-content h1 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .hero-content p {
    font-size: 1.03rem;
  }

  .hero-visual {
    min-height: 320px;
  }

  .four-cols {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 310px;
  }

  .service-card h3 {
    font-size: 1.42rem;
  }
}
.brain-animation-container {
    position: absolute;
    width: 335px;
    height: 257px;
    right: 114px;
    top: 53px;
    background: transparent;
}
canvas#brainCanvas {
    display: none;
}
canvas#neuronCanvas {
    position: absolute;
    top: 0; left: 0;
    z-index: 2;
}
/* Hide brain visual & animation on small screens to save CPU and layout space */
@media (max-width: 760px) {
  .brain-animation-container { display: none !important; }
  .hero-brain-img { display: none !important; }
}
/* Hide hero visual on very small screens to conserve layout and resources */
@media (max-width: 720px) {
  .hero-visual { display: none !important; }
}
/* ── Footer ── */
    .site-footer-full {
      position: relative; z-index: 2;
      border-top: 1px solid rgba(var(--neon-rgb), 0.14);
      padding: 50px 0 0;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1fr 1.5fr;
      gap: 28px 20px;
      margin-bottom: 40px;
      align-items: start;
    }
    .footer-col {
      min-width: 0;
    }
    .footer-col-title { font-family: "Orbitron", sans-serif; font-size: 0.76rem; font-weight: 700; color: var(--text-main); letter-spacing: 0.07em; margin: 0 0 16px; }
    .footer-col ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
    .footer-col ul li a { color: var(--text-soft); text-decoration:none; font-size:0.86rem; transition:color .2s; }
    .footer-col ul li a:hover { color:var(--neon); }
    .footer-brand-row { display:flex; align-items:center; gap:8px; text-decoration:none; color:var(--text-main); font-family:"Orbitron",sans-serif; font-size:0.9rem; font-weight:700; letter-spacing:.07em; margin-bottom:10px; }
    .footer-brand-row img { width:28px; height:28px; object-fit:contain; filter:drop-shadow(0 0 9px rgba(142,255,79,.55)); }
    .footer-brand-desc { color:var(--text-soft); font-size:0.82rem; line-height:1.62; margin:0 0 18px; max-width:100%; }
    .footer-socials { display:flex; gap:8px; flex-wrap: wrap; align-items: center; }
    .footer-social-btn { width:32px; height:32px; border-radius:6px; border:1px solid rgba(var(--neon-rgb),.22); background:rgba(10,22,12,.6); display:flex; align-items:center; justify-content:center; color:var(--text-soft); text-decoration:none; transition:all .2s; }
    .footer-social-btn svg { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
    .footer-social-btn:hover { border-color:rgba(var(--neon-rgb),.55); color:var(--neon); background:rgba(var(--neon-rgb),.07); }
    .footer-newsletter-desc { color:var(--text-soft); font-size:0.82rem; line-height:1.6; margin:0 0 13px; }
    .footer-email-row {
      display: flex;
    }
    .footer-email-row input {
      flex: 1;
      min-width: 0;
      background: rgba(8, 18, 10, .75);
      border: 1px solid rgba(var(--neon-rgb), .22);
      border-right: none;
      border-radius: 8px 0 0 8px;
      color: var(--text-main);
      padding: 0 12px;
      height: 40px;
      font-size: 0.82rem;
      font-family: "Outfit", sans-serif;
      outline: none;
      transition: border-color .2s;
    }
    .footer-email-row input::placeholder { color:var(--text-soft); opacity:.6; }
    .footer-email-row input:focus { outline: none; }
    .footer-email-send {
      background: var(--neon);
      border: none;
      border-radius: 0 8px 8px 0;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #091509;
      font-weight: 700;
      transition: background .2s;
      flex-shrink: 0;
    }
    .footer-email-send svg { width:16px; height:16px; stroke:#091509; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
    .footer-email-send:hover { background:#b8ff7a; }
    .footer-bottom-bar { border-top:1px solid rgba(var(--neon-rgb),.1); padding:18px 0; display:flex; justify-content:space-between; align-items:center; color:var(--text-soft); font-size:0.8rem; flex-wrap:wrap; gap:8px; }
    .footer-bottom-bar span.heart { color:#e05050; }

    @media (max-width: 1100px) {
      .contact-hero-section { grid-template-columns: 1fr; }
      .contact-section { grid-template-columns: 1fr; }
      .presence-faq-row { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    @media (max-width: 900px) {
      .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .footer-newsletter-desc { max-width: 100%; }
      
    }
    @media (max-width: 760px) {
      .map-cards-row { grid-template-columns: 1fr; }
      .contact-badges { gap: 18px; }
      .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .footer-bottom-bar { justify-content: center; }
    }
    @media (max-width: 560px) {
      
      .footer-bottom-bar { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 8px; text-align: center; }
    }
    @media (max-width: 480px) {
      .footer-grid { grid-template-columns: 1fr; }
    }