:root {
  --nereus-bg: #0a1628;
  --nereus-bg-card: #0f1f38;
  --nereus-bg-section: #08111f;
  --nereus-text: #e6eef7;
  --nereus-muted: #9bb3d1;
  --nereus-teal: #00afef;
  --nereus-orange: #f58634;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background-color: var(--nereus-bg);
  color: var(--nereus-text);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1100;
  padding: 0.5rem 1rem;
  background: var(--nereus-teal);
  color: var(--nereus-bg);
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
}

.navbar .nav-link {
  transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--nereus-text) !important;
}

.navbar-nav .btn:hover,
.navbar-nav .btn:focus {
  background-color: #33c4f5 !important;
  color: var(--nereus-bg) !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 175, 239, 0.35);
}

.btn:focus-visible {
  outline: 2px solid var(--nereus-teal);
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 1rem;
  }
}

.dashboard-preview img {
  display: block;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-slider {
  --hero-height: min(68vh, 640px);
  height: var(--hero-height);
  background-color: var(--nereus-bg);
}

.hero-slider .carousel,
.hero-slider .carousel-inner {
  height: 100%;
  margin: 0;
}

.hero-slider .carousel-item {
  position: relative;
  height: var(--hero-height);
  background-color: var(--nereus-bg);
}

.hero-slide-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--nereus-bg);
}

.hero-slide-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

.hero-slider .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(10, 22, 40, 0.94) 0%,
    rgba(10, 22, 40, 0.78) 32%,
    rgba(10, 22, 40, 0.4) 52%,
    rgba(10, 22, 40, 0.08) 72%,
    transparent 100%
  );
}

.hero-slide-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  pointer-events: none;
}

.hero-slide-text {
  text-align: left;
}

.hero-slide-title {
  font-size: clamp(1.65rem, 2.8vw + 0.5rem, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-slide-copy a {
  pointer-events: auto;
}

.hero-slide-badge {
  background-color: rgba(0, 175, 239, 0.12);
  color: var(--nereus-teal);
  font-weight: 500;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
}

.hero-slide-accent {
  color: var(--nereus-teal);
}

.hero-slide-lead {
  max-width: 34rem;
  color: var(--nereus-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.hero-slide-actions .btn {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .hero-slide-actions .btn {
    font-size: 1rem;
  }
}

.hero-btn-primary {
  background-color: var(--nereus-teal);
  color: var(--nereus-bg);
  font-weight: 600;
  border: none;
}

.hero-btn-secondary {
  background-color: transparent;
  color: var(--nereus-text);
  border: 1px solid var(--nereus-orange);
  font-weight: 500;
}

.hero-content-row {
  width: 100%;
}

.hero-carousel-indicators {
  z-index: 3;
  margin-bottom: 1.5rem;
}

.hero-carousel-indicators [data-bs-target] {
  width: 2.5rem;
  height: 0.2rem;
  border-radius: 2px;
  border: none;
  background-color: rgba(255, 255, 255, 0.35);
}

.hero-carousel-indicators .active {
  background-color: var(--nereus-teal);
}

.hero-carousel-control {
  z-index: 3;
  width: 8%;
  opacity: 0.85;
}

.hero-slider--single .hero-carousel-indicators,
.hero-slider--single .hero-carousel-control {
  display: none;
}

@media (max-width: 991.98px) {
  .hero-slider {
    --hero-height: min(72vh, 600px);
  }

  .hero-slide-img {
    object-position: 60% center;
  }

  .hero-slider .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 22, 40, 0.96) 0%,
      rgba(10, 22, 40, 0.88) 38%,
      rgba(10, 22, 40, 0.55) 62%,
      rgba(10, 22, 40, 0.2) 100%
    );
  }

  .hero-slide-copy {
    align-items: flex-start;
    padding-top: 1.5rem;
    padding-bottom: 4.25rem;
  }

  .hero-slide-copy.container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-slide-lead {
    font-size: 0.95rem;
    max-width: none;
  }

  .hero-carousel-control {
    display: none;
  }

  .hero-carousel-indicators {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-slider {
    --hero-height: min(78vh, 560px);
  }

  .hero-slide-copy {
    padding-top: 1.25rem;
    padding-bottom: 4rem;
  }

  .hero-slide-badge {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  .hero-slide-title {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  .hero-slide-lead {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-slide-actions {
    width: 100%;
  }

  .hero-slide-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
