* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(0, 212, 255, 0.3);
}

body {
  background: #060d18;
  color: #e8ecf1;
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Canvas */
#neural {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Nav */
nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1180px;
  z-index: 100;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 18px;
  background: rgba(6, 13, 24, 0.56);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  transition: all 0.35s ease;
}

nav.scrolled {
  top: 12px;
  padding: 10px 16px;
  background: rgba(6, 13, 24, 0.86);
  border-color: rgba(0, 212, 255, 0.16);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.36);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.nav-logo-img {
  width: 250px;
  height: 70px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  color: #9aa8b8;
  border: 1px solid transparent;
  padding: 9px 12px;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.07);
  border-color: rgba(0, 212, 255, 0.12);
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.22);
  transition: all 0.3s;
}

.nav-cta:hover {
  box-shadow: 0 0 34px rgba(0, 212, 255, 0.42);
  transform: translateY(-1px);
}

/* General Sections */
section {
  position: relative;
  z-index: 1;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  font-size: 12px;
  font-family: "Space Mono", monospace;
  color: #00d4ff;
  letter-spacing: 4px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 16px;
  color: #8899aa;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Hero */
#hero {
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 145px 40px 60px;
}

.hero-badge {
  font-size: 12px;
  font-family: "Space Mono", monospace;
  color: #00d4ff;
  letter-spacing: 4px;
  margin-bottom: 28px;
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.05);
}

.hero-h1 {
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 24px;
  max-width: 900px;
  letter-spacing: -1px;
}

.hero-h1 .gradient {
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-p {
  font-size: 18px;
  color: #8899aa;
  line-height: 1.7;
  max-width: 660px;
  margin: 0 0 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  padding: 15px 34px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.25);
  transition: all 0.3s;
}

.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  padding: 15px 34px;
  border-radius: 12px;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #00d4ff;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
}

.btn-ghost:hover {
  background: rgba(0, 212, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.5);
}

.stats {
  display: flex;
  gap: 54px;
  margin-top: 58px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-box {
  text-align: center;
}

.stat-num {
  font-size: 34px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 12px;
  color: #5a6a7e;
  margin-top: 6px;
  letter-spacing: 1px;
}

.scroll-ind {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
}

.scroll-ind span {
  font-size: 11px;
  color: #5a6a7e;
  letter-spacing: 2px;
  font-family: "Space Mono", monospace;
}

.scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, #00d4ff, transparent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.8;
  }
}

/* Solutions */
/* Solutions */
#solutions {
  padding: 86px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.solution-slider {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

.solution-showcase {
  min-height: 540px;
}

.solution-showcase-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(0, 102, 255, 0.03)),
    rgba(10, 22, 40, 0.78);
  border: 1px solid rgba(0, 212, 255, 0.14);
  backdrop-filter: blur(24px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
  animation: solutionFade 0.45s ease;
}

@keyframes solutionFade {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.solution-content {
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-kicker {
  font-size: 12px;
  font-family: "Space Mono", monospace;
  letter-spacing: 3px;
  color: #00d4ff;
  margin-bottom: 14px;
}

.solution-title {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 800;
  color: #e8ecf1;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.solution-desc {
  font-size: 15px;
  color: #8899aa;
  line-height: 1.7;
  max-width: 430px;
  margin-bottom: 22px;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.solution-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 16px;
  border-radius: 14px;
  color: #dff8ff;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.14), rgba(0, 102, 255, 0.08)),
    rgba(10, 22, 40, 0.72);
  border: 1px solid rgba(0, 212, 255, 0.22);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.06);
  backdrop-filter: blur(14px);
  transition: all 0.25s ease;
}

.solution-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.8);
  flex-shrink: 0;
}

.solution-tag:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 102, 255, 0.12)),
    rgba(10, 22, 40, 0.88);
  box-shadow: 0 16px 42px rgba(0, 212, 255, 0.12);
}

.solution-primary-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 36px rgba(0, 212, 255, 0.22);
  cursor: pointer;
}

.solution-gallery {
  padding: 18px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 250px 250px;
  gap: 14px;
  background: rgba(0, 212, 255, 0.025);
}

.solution-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(0, 212, 255, 0.05);
  cursor: pointer;
}

.solution-img-wrap:nth-child(1) {
  grid-row: span 2;
}

.solution-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 212, 255, 0.16),
      transparent 36%
    ),
    linear-gradient(180deg, transparent, rgba(6, 13, 24, 0.34));
  pointer-events: none;
}

.solution-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  opacity: 0.94;
}

.solution-img-wrap:hover .solution-img {
  transform: scale(1.07);
}

.solution-more-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 13, 24, 0.58);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

.solution-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.18);
  background: rgba(6, 13, 24, 0.76);
  backdrop-filter: blur(16px);
  color: #00d4ff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.solution-arrow:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.38);
  transform: translateY(-50%) scale(1.05);
}

.solution-arrow-left {
  left: -24px;
}

.solution-arrow-right {
  right: -24px;
}

.solution-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.solution-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(0, 212, 255, 0.22);
  transition: all 0.25s ease;
}

.solution-dot.active {
  width: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
}

/* Image Lightbox */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(2, 7, 15, 0.92);
  backdrop-filter: blur(18px);
}

.image-lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: min(1100px, 88vw);
  max-height: 82vh;
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.5);
  animation: lightboxFade 0.25s ease;
}

@keyframes lightboxFade {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 30px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.18);
  background: rgba(6, 13, 24, 0.78);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(6, 13, 24, 0.78);
  color: #00d4ff;
  font-size: 38px;
  cursor: pointer;
}

.lightbox-arrow-left {
  left: 32px;
}

.lightbox-arrow-right {
  right: 32px;
}

.lightbox-count {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #8899aa;
  font-size: 12px;
  font-family: "Space Mono", monospace;
  letter-spacing: 2px;
}

/* Responsive Solutions */
@media (max-width: 900px) {
  .solution-showcase {
    min-height: auto;
  }

  .solution-showcase-card {
    grid-template-columns: 1fr;
  }

  .solution-content {
    padding: 34px 24px 36px;
  }

  .solution-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 130px 130px;
  }

  .solution-img-wrap:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .solution-arrow {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .solution-arrow-left {
    left: 8px;
  }

  .solution-arrow-right {
    right: 8px;
  }

  .lightbox-arrow {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .lightbox-arrow-left {
    left: 14px;
  }

  .lightbox-arrow-right {
    right: 14px;
  }

  .lightbox-close {
    top: 18px;
    right: 18px;
  }
}

.solution-showcase-card-vertical {
  display: block;
}

.solution-content-top {
  padding: 42px 42px 26px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: end;
}

.solution-content-top .solution-desc {
  margin-bottom: 0;
}

.solution-gallery-wide {
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 190px 190px;
  min-height: auto;
}

.solution-gallery-wide .solution-img-wrap:nth-child(1) {
  grid-row: span 2;
}

.solution-gallery-wide .solution-img-wrap:nth-child(2),
.solution-gallery-wide .solution-img-wrap:nth-child(3),
.solution-gallery-wide .solution-img-wrap:nth-child(4),
.solution-gallery-wide .solution-img-wrap:nth-child(5) {
  grid-row: span 1;
}

@media (max-width: 900px) {
  .solution-content-top {
    padding: 34px 24px 22px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .solution-gallery-wide {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 130px 130px;
  }

  .solution-gallery-wide .solution-img-wrap:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* Services */
#services {
  padding: 86px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tier-card-wrap {
  padding: 1px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--tc) 25, transparent 60%);
  transition:
    background 0.4s,
    transform 0.35s;
}

.tier-card-wrap:hover {
  background: linear-gradient(135deg, var(--tc) 60, transparent 60%);
  transform: translateY(-4px);
}

.tier-card {
  padding: 34px 30px;
  border-radius: 19px;
  background: linear-gradient(
    145deg,
    rgba(10, 22, 40, 0.95),
    rgba(10, 22, 40, 0.8)
  );
  backdrop-filter: blur(20px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tier-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.tier-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.tier-tag {
  font-size: 11px;
  font-family: "Space Mono", monospace;
  letter-spacing: 2px;
}

.tier-title {
  font-size: 20px;
  font-weight: 700;
  color: #e8ecf1;
}

.tier-desc {
  font-size: 14px;
  color: #8899aa;
  line-height: 1.75;
  margin-bottom: 22px;
  flex: 1;
}

.tier-del {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tier-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tier-del span {
  font-size: 13px;
  color: #a0aabb;
}

.tier-foot {
  margin-top: 22px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 212, 255, 0.08);
}

.tier-dur {
  font-size: 12px;
  color: #5a6a7e;
  font-family: "Space Mono", monospace;
}

.tier-cta {
  font-size: 13px;
  font-weight: 600;
}

/* Methodology */
#methodology {
  padding: 86px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.phase-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 38px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.phase-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.phase-item.left {
  flex-direction: row;
}

.phase-item.right {
  flex-direction: row-reverse;
}

.phase-line {
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: -38px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(0, 212, 255, 0.3),
    rgba(0, 102, 255, 0.1)
  );
  transform: translateX(-50%);
  z-index: 0;
}

.phase-card {
  flex: 1;
  padding: 26px 30px;
  border-radius: 16px;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.phase-card .accent {
  position: absolute;
  top: 0;
  width: 80px;
  height: 3px;
}

.left .phase-card {
  text-align: right;
}

.left .phase-card .accent {
  right: 0;
  background: linear-gradient(to left, var(--pc), transparent);
}

.right .phase-card .accent {
  left: 0;
  background: linear-gradient(to right, var(--pc), transparent);
}

.left .phase-tags {
  justify-content: flex-end;
}

.phase-dur {
  font-size: 11px;
  font-family: "Space Mono", monospace;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.phase-name {
  font-size: 20px;
  font-weight: 700;
  color: #e8ecf1;
  margin-bottom: 10px;
}

.phase-desc {
  font-size: 14px;
  color: #8899aa;
  line-height: 1.7;
}

.phase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.phase-tag {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: "Space Mono", monospace;
}

.phase-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  font-family: "Space Mono", monospace;
  z-index: 1;
  position: relative;
}

.phase-spacer {
  flex: 1;
}

/* ARMM */
#armm {
  padding: 86px 40px;
}

.armm-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.armm-title {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.armm-text {
  font-size: 16px;
  color: #8899aa;
  line-height: 1.8;
  margin-bottom: 28px;
}

.armm-dim {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.armm-code {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  min-width: 28px;
  padding: 3px 0;
}

.armm-dim-name {
  font-size: 14px;
  font-weight: 600;
  color: #e8ecf1;
  margin-bottom: 2px;
}

.armm-dim-desc {
  font-size: 12px;
  color: #5a6a7e;
}

.armm-chart-wrap {
  padding: 36px 20px;
  border-radius: 24px;
  background: rgba(10, 22, 40, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.08);
}

#radarSvg {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: block;
}

.armm-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 11px;
  color: #5a6a7e;
  font-family: "Space Mono", monospace;
  letter-spacing: 2px;
}

.radar-dot {
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.radar-label {
  transition: all 0.2s;
  cursor: pointer;
}

.radar-score {
  fill: #00d4ff;
  font-size: 22px;
  font-weight: 700;
  font-family: "Space Mono", monospace;
}

/* Standards */
#standards {
  padding: 78px 40px;
}

.standards-wrap {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.standards-title {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 14px;
}

.standards-text {
  font-size: 16px;
  color: #8899aa;
  max-width: 550px;
  margin: 0 auto 34px;
}

.std-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.std-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.1);
  font-size: 12px;
  color: #8899aa;
  font-weight: 500;
}

.std-badge span {
  font-size: 18px;
}

/* Contact */
#contact {
  padding: 82px 40px 76px;
}

.contact-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 62px 46px;
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    rgba(0, 212, 255, 0.06),
    rgba(0, 102, 255, 0.03)
  );
  border: 1px solid rgba(0, 212, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.contact-title {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 16px;
}

.contact-text {
  font-size: 17px;
  color: #8899aa;
  max-width: 500px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.contact-mail {
  display: inline-block;
}

.contact-locs {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}

.contact-locs span {
  font-size: 14px;
  color: #5a6a7e;
}

/* Footer */
footer {
  padding: 34px 40px;
  border-top: 1px solid rgba(0, 212, 255, 0.06);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 10px;
  color: #fff;
}

.footer-copy {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: #5a6a7e;
}

.footer-tag {
  font-size: 11px;
  color: #3a4a5e;
  font-family: "Space Mono", monospace;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  nav {
    width: calc(100% - 28px);
    top: 12px;
    padding: 12px 14px;
  }

  .nav-logo-img {
    width: 170px;
    height: 50px;
  }

  .nav-link {
    display: none !important;
  }

  .nav-cta {
    padding: 9px 14px;
    font-size: 12px;
  }

  .armm-grid {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }

  .stats {
    gap: 28px;
    margin-top: 44px;
  }

  .phase-item {
    flex-direction: column !important;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
  }

  .phase-card {
    text-align: center !important;
  }

  .phase-card .accent {
    display: none;
  }

  .phase-tags {
    justify-content: center !important;
  }

  .phase-spacer {
    display: none;
  }

  .phase-line {
    display: none;
  }

  .section-title {
    font-size: 32px;
  }

  #hero {
    padding: 130px 22px 56px;
  }

  #solutions,
  #services,
  #methodology,
  #armm,
  #standards,
  #contact {
    padding-left: 22px;
    padding-right: 22px;
  }

  .contact-box {
    padding: 44px 24px;
  }
}
/* =========================================
   THEME TOGGLE — Light / Dark Mode
   Paste at the END of style.css
========================================= */

body {
  transition:
    background 0.35s ease,
    color 0.35s ease;
}

/* Theme toggle button */
.theme-toggle {
  width: 46px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.18);
  background: rgba(6, 13, 24, 0.58);
  color: #00d4ff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: all 0.25s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 212, 255, 0.38);
  background: rgba(0, 212, 255, 0.08);
}

.theme-icon {
  position: absolute;
  font-size: 17px;
  line-height: 1;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.theme-sun {
  opacity: 0;
  transform: translateY(14px) rotate(-25deg);
}

.theme-moon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* In light mode show moon icon, meaning click to go dark */
body.light-mode .theme-toggle {
  border-color: rgba(0, 122, 255, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: #006fff;
  box-shadow: 0 10px 26px rgba(13, 70, 120, 0.1);
}

body.light-mode .theme-toggle:hover {
  background: rgba(0, 122, 255, 0.07);
  border-color: rgba(0, 122, 255, 0.3);
}

body.light-mode .theme-sun {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

body.light-mode .theme-moon {
  opacity: 0;
  transform: translateY(-14px) rotate(25deg);
}

/* ======================
   LIGHT MODE OVERRIDES
====================== */

body.light-mode {
  --light-bg: #f7fbff;
  --light-bg-soft: #eef7ff;
  --light-card: rgba(255, 255, 255, 0.82);
  --light-card-solid: #ffffff;
  --light-border: rgba(0, 83, 135, 0.12);
  --light-border-strong: rgba(0, 111, 180, 0.22);
  --light-text: #102033;
  --light-text-soft: #42566e;
  --light-text-muted: #6d7f94;
  --light-blue: #007aff;
  --light-cyan: #00a8d8;
  --light-shadow: 0 24px 70px rgba(13, 70, 120, 0.12);
  --light-shadow-soft: 0 14px 44px rgba(13, 70, 120, 0.09);

  background:
    radial-gradient(circle at top left, rgba(0, 212, 255, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(0, 102, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--light-bg) 45%, #f3f9ff 100%);
  color: var(--light-text);
}

body.light-mode #neural {
  opacity: 0.18;
  filter: saturate(0.9) brightness(1.05);
}

body.light-mode ::selection {
  background: rgba(0, 168, 216, 0.18);
  color: var(--light-text);
}

/* Navbar */
body.light-mode nav {
  border: 1px solid var(--light-border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(20, 75, 125, 0.12);
}

body.light-mode nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--light-border-strong);
  box-shadow: 0 18px 70px rgba(20, 75, 125, 0.16);
}

body.light-mode .nav-link {
  color: var(--light-text-muted);
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
  color: var(--light-blue);
  background: rgba(0, 122, 255, 0.07);
  border-color: rgba(0, 122, 255, 0.14);
}

/* Buttons */
body.light-mode .nav-cta,
body.light-mode .btn-primary,
body.light-mode .solution-primary-link {
  background: linear-gradient(135deg, #00bde8, #006fff);
  color: #ffffff;
  box-shadow: 0 12px 34px rgba(0, 122, 255, 0.22);
}

body.light-mode .nav-cta:hover,
body.light-mode .btn-primary:hover {
  box-shadow: 0 16px 46px rgba(0, 122, 255, 0.28);
}

body.light-mode .btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 122, 255, 0.22);
  color: var(--light-blue);
  box-shadow: 0 10px 28px rgba(13, 70, 120, 0.06);
}

body.light-mode .btn-ghost:hover {
  background: rgba(0, 122, 255, 0.07);
  border-color: rgba(0, 122, 255, 0.35);
}

/* Text */
body.light-mode .section-tag,
body.light-mode .hero-badge,
body.light-mode .solution-kicker {
  color: var(--light-blue);
}

body.light-mode .section-title,
body.light-mode .hero-h1,
body.light-mode .armm-title,
body.light-mode .standards-title,
body.light-mode .contact-title,
body.light-mode .solution-title,
body.light-mode .tier-title,
body.light-mode .phase-name,
body.light-mode .armm-dim-name {
  color: var(--light-text);
}

body.light-mode .section-sub,
body.light-mode .hero-p,
body.light-mode .solution-desc,
body.light-mode .tier-desc,
body.light-mode .phase-desc,
body.light-mode .armm-text,
body.light-mode .standards-text,
body.light-mode .contact-text {
  color: var(--light-text-soft);
}

body.light-mode .stat-label,
body.light-mode .scroll-ind span,
body.light-mode .armm-dim-desc,
body.light-mode .armm-hint,
body.light-mode .contact-locs span,
body.light-mode .footer-copy,
body.light-mode .lightbox-count {
  color: var(--light-text-muted);
}

/* Hero */
body.light-mode .hero-badge {
  border: 1px solid rgba(0, 122, 255, 0.16);
  background: rgba(0, 122, 255, 0.06);
}

body.light-mode .hero-h1 .gradient,
body.light-mode .stat-num {
  background: linear-gradient(135deg, #00a8d8, #006fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .scroll-line {
  background: linear-gradient(180deg, var(--light-blue), transparent);
}

/* Solutions */
body.light-mode .solution-showcase-card {
  background:
    linear-gradient(145deg, rgba(0, 189, 232, 0.08), rgba(0, 111, 255, 0.045)),
    rgba(255, 255, 255, 0.86);
  border: 1px solid var(--light-border-strong);
  box-shadow: var(--light-shadow);
}

body.light-mode .solution-gallery {
  background:
    linear-gradient(135deg, rgba(0, 168, 216, 0.06), rgba(0, 111, 255, 0.035)),
    rgba(246, 251, 255, 0.9);
}

body.light-mode .solution-img-wrap {
  background: rgba(0, 122, 255, 0.06);
  box-shadow: 0 12px 34px rgba(13, 70, 120, 0.08);
}

body.light-mode .solution-img-wrap::after {
  background:
    radial-gradient(circle at top left, rgba(0, 168, 216, 0.14), transparent 38%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08));
}

body.light-mode .solution-img {
  opacity: 1;
}

body.light-mode .solution-tag {
  color: #0f5f7a;
  background:
    linear-gradient(135deg, rgba(0, 189, 232, 0.11), rgba(0, 111, 255, 0.07)),
    rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 122, 255, 0.15);
  box-shadow: 0 10px 26px rgba(13, 70, 120, 0.07);
}

body.light-mode .solution-tag::before {
  background: var(--light-cyan);
  box-shadow: 0 0 12px rgba(0, 168, 216, 0.45);
}

body.light-mode .solution-tag:hover {
  border-color: rgba(0, 122, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(0, 189, 232, 0.16), rgba(0, 111, 255, 0.1)),
    #ffffff;
  box-shadow: 0 14px 34px rgba(13, 70, 120, 0.11);
}

body.light-mode .solution-more-overlay {
  background: rgba(12, 31, 50, 0.5);
  color: #ffffff;
}

body.light-mode .solution-arrow {
  border: 1px solid rgba(0, 122, 255, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: var(--light-blue);
  box-shadow: 0 12px 34px rgba(13, 70, 120, 0.13);
}

body.light-mode .solution-arrow:hover {
  background: rgba(0, 122, 255, 0.08);
  border-color: rgba(0, 122, 255, 0.35);
}

body.light-mode .solution-dot {
  background: rgba(0, 122, 255, 0.2);
}

body.light-mode .solution-dot.active {
  background: linear-gradient(135deg, #00bde8, #006fff);
}

/* Lightbox */
body.light-mode .image-lightbox {
  background: rgba(245, 250, 255, 0.88);
  backdrop-filter: blur(20px);
}

body.light-mode .lightbox-image {
  box-shadow: 0 30px 120px rgba(13, 70, 120, 0.28);
}

body.light-mode .lightbox-close,
body.light-mode .lightbox-arrow {
  border: 1px solid rgba(0, 122, 255, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: var(--light-blue);
  box-shadow: 0 14px 40px rgba(13, 70, 120, 0.14);
}

/* Services */
body.light-mode .tier-card-wrap {
  background: linear-gradient(135deg, var(--tc) 20, rgba(0, 122, 255, 0.06) 60%);
}

body.light-mode .tier-card-wrap:hover {
  background: linear-gradient(135deg, var(--tc) 42, rgba(0, 122, 255, 0.09) 70%);
}

body.light-mode .tier-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.88));
  border: 1px solid var(--light-border);
  box-shadow: var(--light-shadow-soft);
}

body.light-mode .tier-del span {
  color: var(--light-text-soft);
}

body.light-mode .tier-foot {
  border-top: 1px solid rgba(0, 122, 255, 0.1);
}

body.light-mode .tier-dur {
  color: var(--light-text-muted);
}

/* Methodology */
body.light-mode .phase-line {
  background: linear-gradient(180deg,
      rgba(0, 122, 255, 0.28),
      rgba(0, 168, 216, 0.08));
}

body.light-mode .phase-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 255, 0.82));
  border: 1px solid var(--light-border);
  box-shadow: var(--light-shadow-soft);
}

body.light-mode .phase-tag {
  background: rgba(0, 122, 255, 0.07);
  color: var(--light-text-soft);
  border: 1px solid rgba(0, 122, 255, 0.1);
}

/* ARMM */
body.light-mode .armm-chart-wrap {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(247, 251, 255, 0.78));
  border: 1px solid var(--light-border);
  box-shadow: var(--light-shadow-soft);
}

body.light-mode .radar-score {
  fill: var(--light-blue);
}

/* Standards */
body.light-mode .std-badge {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 122, 255, 0.12);
  color: var(--light-text-soft);
  box-shadow: 0 10px 26px rgba(13, 70, 120, 0.06);
}

/* Contact */
body.light-mode .contact-box {
  background:
    linear-gradient(145deg, rgba(0, 189, 232, 0.07), rgba(0, 111, 255, 0.04)),
    rgba(255, 255, 255, 0.82);
  border: 1px solid var(--light-border-strong);
  box-shadow: var(--light-shadow);
}

/* Footer */
body.light-mode footer {
  border-top: 1px solid rgba(0, 122, 255, 0.1);
}

body.light-mode .footer-tag {
  color: var(--light-text-muted);
}

body.light-mode .footer-mark {
  background: linear-gradient(135deg, #00bde8, #006fff);
  color: #ffffff;
}

/* Soft section glow */
body.light-mode #solutions,
body.light-mode #services,
body.light-mode #methodology,
body.light-mode #armm,
body.light-mode #standards,
body.light-mode #contact {
  position: relative;
}

body.light-mode #solutions::before,
body.light-mode #services::before,
body.light-mode #methodology::before,
body.light-mode #armm::before,
body.light-mode #standards::before,
body.light-mode #contact::before {
  content: "";
  position: absolute;
  inset: 20px auto auto 50%;
  width: min(720px, 80vw);
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 168, 216, 0.07), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

/* Mobile */
@media (max-width: 900px) {
  .theme-toggle {
    width: 40px;
    height: 36px;
  }

  body.light-mode {
    background:
      radial-gradient(circle at top, rgba(0, 189, 232, 0.13), transparent 30%),
      linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  }

  body.light-mode nav {
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 38px rgba(13, 70, 120, 0.13);
  }

  body.light-mode .solution-showcase-card {
    border-radius: 22px;
  }

  body.light-mode .solution-gallery {
    padding: 14px;
  }

  body.light-mode .solution-arrow {
    background: rgba(255, 255, 255, 0.92);
  }

  body.light-mode .contact-box {
    border-radius: 22px;
  }
}