html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-brand {
  font-size: 2rem;
}

.navbar-brand img {
  height: 46px;
}

.hero-bg {
  background:
    radial-gradient(circle at 66% 38%, rgba(60, 227, 255, 0.4), transparent 24%),
    radial-gradient(circle at 84% 34%, rgba(58, 155, 255, 0.18), transparent 26%),
    radial-gradient(circle at 92% 70%, rgba(87, 255, 188, 0.2), transparent 28%),
    linear-gradient(105deg, #010818 0%, #00183c 45%, #022848 65%, #0c5f64 100%);
}

.footer-bg {
  background: linear-gradient(120deg, #020d1d 0%, #03223d 100%);
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
  background: linear-gradient(90deg, rgba(1, 14, 34, 0.95) 0%, rgba(8, 54, 82, 0.93) 75%, rgba(27, 133, 134, 0.86) 100%);
  border-bottom: 1px solid rgba(83, 226, 255, 0.15);
  transition: background-color 220ms ease, backdrop-filter 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.top-nav.nav-at-top {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.top-nav:not(.nav-at-top) {
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 12, 30, 0.28);
}

.hero-main {
  position: relative;
  overflow: visible;
  padding-top: 5.5rem !important;
  padding-bottom: 2.5rem !important;
}

.hero-main::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 48%;
  height: 220px;
  border-radius: 100%;
  border: 1px solid rgba(53, 188, 246, 0.35);
  border-left: 0;
  border-top: 0;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-main::before {
  content: "";
  position: absolute;
  right: 10%;
  top: 24%;
  width: 190px;
  height: 130px;
  background-image: radial-gradient(circle, rgba(23, 199, 255, 0.6) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: 0.35;
  pointer-events: none;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  font-size: 1.06rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: #3ed5ff;
}

.hero-emblem {
  width: min(100%, 560px);
  min-height: 440px;
  background:
    radial-gradient(circle at center, rgba(66, 234, 255, 0.32), rgba(3, 26, 48, 0.07) 54%, transparent 88%);
}

.hero-logo {
  max-width: 370px;
  filter: drop-shadow(0 16px 36px rgba(16, 230, 255, 0.34));
}

.hero-wordmark {
  text-align: center;
}

.hero-zanca {
  letter-spacing: 0.56rem;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  font-weight: 300;
  line-height: 1;
  color: #79d8ff;
  text-shadow: 0 0 20px rgba(24, 200, 255, 0.3);
}

.hero-apps {
  letter-spacing: 0.42rem;
  font-size: clamp(0.9rem, 1.5vw, 1.45rem);
  color: #c5dfff;
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
}

.hero-apps span {
  width: 58px;
  height: 2px;
  display: inline-block;
  background: linear-gradient(90deg, rgba(41, 212, 255, 0.25), rgba(73, 253, 212, 0.95), rgba(41, 212, 255, 0.25));
}

.feature-strip {
  background: linear-gradient(95deg, rgba(1, 34, 72, 0.95) 0%, rgba(2, 49, 85, 0.94) 55%, rgba(7, 68, 94, 0.95) 100%);
  border: 1px solid rgba(89, 211, 239, 0.22);
  box-shadow: 0 24px 40px rgba(0, 10, 24, 0.35);
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  transform: translateY(104px);
}

.feature-cell {
  border-right: 1px solid rgba(77, 182, 207, 0.24);
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #35d7ff;
  background: rgba(2, 28, 57, 0.9);
  border: 1px solid rgba(57, 211, 246, 0.36);
  font-size: 1.1rem;
  flex: 0 0 auto;
}

#services {
  padding-top: 12rem !important;
}

.glass-card {
  background: rgba(3, 34, 64, 0.62);
  border: 1px solid rgba(90, 202, 235, 0.22);
  backdrop-filter: blur(6px);
}

.card-img-top {
  height: 160px;
  object-fit: cover;
}

@media (max-width: 1199.98px) {
  .hero-emblem {
    min-height: 360px;
  }

  .hero-zanca {
    letter-spacing: 0.26rem;
  }

  .hero-apps {
    letter-spacing: 0.2rem;
  }

  .hero-main::before,
  .hero-main::after {
    display: none;
  }

  .feature-cell {
    border-right: 0;
  }

  .feature-strip {
    transform: translateY(0);
  }

  #services {
    padding-top: 3rem !important;
  }
}
