:root {
  color-scheme: light;
}

body {
  min-width: 320px;
}

section {
  scroll-margin-top: 86px;
}

.shadow-glow {
  box-shadow: 0 24px 80px rgb(25 199 189 / 0.18);
}

.nav-link {
  color: rgb(226 232 240 / 0.86);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #58d8ff;
  transform: translateY(-1px);
}

.mobile-link {
  border-radius: 1rem;
  color: rgb(226 232 240 / 0.9);
  font-weight: 700;
  padding: 0.85rem 1rem;
  transition: background 180ms ease, color 180ms ease;
}

.mobile-link:hover,
.mobile-link:focus {
  background: rgb(255 255 255 / 0.08);
  color: #58d8ff;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  position: relative;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 20px;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
}

.menu-icon::before {
  transform: translateY(-7px);
}

.menu-icon::after {
  transform: translateY(7px);
}

.menu-open .menu-icon {
  background: transparent;
}

.menu-open .menu-icon::before {
  transform: rotate(45deg);
}

.menu-open .menu-icon::after {
  transform: rotate(-45deg);
}

.header-compact nav {
  padding-bottom: 0.75rem;
  padding-top: 0.75rem;
}

.hero-grid {
  background-image: linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black 35%, transparent 100%);
}

.metric-card {
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.06);
  padding: 1rem;
}

.metric-card span {
  color: #58d8ff;
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
}

.metric-card p {
  color: rgb(203 213 225 / 0.82);
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.dashboard-tile {
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 1.25rem;
  background: radial-gradient(circle at 30% 30%, rgb(25 199 189 / 0.32), transparent 34%),
    linear-gradient(135deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.03));
}

.dashboard-tile-alt {
  background: radial-gradient(circle at 70% 35%, rgb(47 109 246 / 0.34), transparent 34%),
    linear-gradient(135deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.03));
}

.section-kicker {
  color: #2f6df6;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.section-title {
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.section-copy {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 1.25rem;
}

.product-card {
  border: 1px solid rgb(226 232 240 / 0.9);
  border-radius: 1.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 20px 60px rgb(15 23 42 / 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.product-card::before {
  background: linear-gradient(135deg, rgb(25 199 189 / 0.16), rgb(47 109 246 / 0.08));
  content: '';
  height: 9rem;
  position: absolute;
  right: -3rem;
  top: -4rem;
  transform: rotate(12deg);
  width: 12rem;
}

.product-card:hover {
  border-color: rgb(25 199 189 / 0.48);
  box-shadow: 0 26px 70px rgb(15 23 42 / 0.12);
  transform: translateY(-6px);
}

.product-icon {
  align-items: center;
  background: linear-gradient(135deg, #0b1728, #10233e);
  border-radius: 1.15rem;
  color: #58d8ff;
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 800;
  height: 3.4rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  width: 3.4rem;
  z-index: 1;
}

.product-card h3 {
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  position: relative;
  z-index: 1;
}

.product-card p {
  color: #64748b;
  line-height: 1.75;
  margin-top: 0.85rem;
  position: relative;
  z-index: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.product-tags span {
  background: #eafefe;
  border: 1px solid rgb(25 199 189 / 0.16);
  border-radius: 999px;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.42rem 0.7rem;
}

.product-link {
  align-items: center;
  color: #1d4ed8;
  display: inline-flex;
  font-weight: 800;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.75rem;
  position: relative;
  z-index: 1;
}

.product-link:hover,
.product-link:focus {
  color: #0f766e;
}

.value-card {
  background: #fff;
  border: 1px solid rgb(226 232 240 / 0.95);
  border-radius: 1.35rem;
  box-shadow: 0 16px 40px rgb(15 23 42 / 0.06);
  padding: 1.15rem;
}

.value-card span {
  color: #2f6df6;
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 0.45rem;
}

.value-card strong {
  color: #0f172a;
  display: block;
  line-height: 1.35;
}

.footer-link {
  color: rgb(203 213 225 / 0.82);
  font-weight: 700;
  transition: color 180ms ease;
}

.footer-link:hover,
.footer-link:focus {
  color: #58d8ff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-delay {
  transition-delay: 120ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
