#hero{
  min-height: 100vh;
}
.hero-glass {
  position: relative;
  padding: clamp(6rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background: radial-gradient(
      1200px 400px at 20% -10%,
      rgba(125, 211, 252, 0.22),
      transparent 60%
    ),
    linear-gradient(#ffffff, #f8fafc);
}
.hero-glass .container {
  position: relative;
  z-index: 3;
  gap: 2.5rem;
  align-items: flex-start;
  padding-top: 2rem;
}
#hero .hero-copy {
  max-width: 720px;
}
#hero .hero-copy h1 {
  margin-top: 0.25rem;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
#hero .hero-copy .sub {
  max-width: 62ch;
  color: #e5e7eb;
  font-size: 1.15rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

/* small gap utility since we used it above */
#hero .gap {
  gap: 0.75rem;
}

#hero .hero-points {
  margin-left: auto;
  max-width: 520px;
  backdrop-filter: saturate(140%) blur(6px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.75)
  );
  border: 1px solid rgba(229, 231, 235, 0.8);
}
#hero .hero-points li {
  margin: 0.35rem 0;
}

/* background image + overlays */
#hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}
#hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#hero .hero-bg::after {
  /* dark-to-clear vignette to improve text contrast */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(2, 6, 23, 0.75) 0%,
      rgba(2, 6, 23, 0.55) 28%,
      rgba(2, 6, 23, 0.15) 58%,
      rgba(2, 6, 23, 0) 100%
    ),
    radial-gradient(
      60% 60% at 100% 0%,
      rgba(125, 211, 252, 0.18) 0%,
      transparent 60%
    );
  pointer-events: none;
}

/* Overlay for better text contrast */
#hero .hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.85) 0%,
    rgba(2, 6, 23, 0.55) 40%,
    rgba(2, 6, 23, 0.15) 80%,
    rgba(2, 6, 23, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Card styling */
#hero .card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(27, 143, 217, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  font-size: 1.08rem;
  border: 1px solid #e5e7eb;
}

/* Card list items */
#hero .card li {
  margin: 0.5rem 0;
  color: #0f172a;
}
/* ===== 3 service cards inside hero ===== */
.service-cards {
  position: relative;
  z-index: 2;
  align-self: stretch;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.5rem;
  padding: 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(240, 249, 255, 0.82)
  );
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(27, 143, 217, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  color: #0f172a;
  text-decoration: none;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: saturate(140%) blur(6px);
}

.service-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #1e90ff;
  background: radial-gradient(
      60% 60% at 30% 20%,
      rgba(125, 211, 252, 0.18),
      transparent 60%
    ),
    #f8fafc;
  border: 1px solid #bae6fd;
}

.service-card h3 {
  font-size: clamp(1.05rem, 1.2vw, 1.35rem);
  margin-top: 0.25rem;
  color: #0f172a;
}

.service-card p {
  color: #64748b;
  margin: 0 0 0.25rem;
}

.service-card .link {
  margin-top: 0.25rem;
  font-weight: 600;
  color: #1e90ff;
}

/* Shine + depth on hover */
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55),
      rgba(125, 211, 252, 0.10) 40%
    ),
    radial-gradient(
      120% 100% at -10% -10%,
      rgba(125, 211, 252, 0.18),
      transparent 60%
    );
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0.6;
}

.service-card::after {
  /* moving light streak */
  content: "";
  position: absolute;
  top: -120%;
  left: -50%;
  width: 60%;
  height: 300%;
  transform: rotate(25deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(125, 211, 252, 0.22),
    transparent
  );
  transition: transform 0.6s ease;
  pointer-events: none;
  opacity: 0.7;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #7dd3fc;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.12);
}

.service-card:hover::after {
  transform: translateX(140%) rotate(25deg);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  #hero .hero-copy h1 {
    font-size: 2rem;
  }
  #hero .card {
    padding: 1rem;
    font-size: 1rem;
  }
  .hero-glass .container {
    gap: 1.5rem;
    padding-top: 1rem;
  }
  .service-cards {
    width: 100%;
  }
}
