:root {
  color-scheme: dark;
  font-family: "Cairo", system-ui, sans-serif;
  background: #061522;
  color: #f8fbff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(15, 151, 159, .18), transparent 32rem),
    radial-gradient(circle at 90% 90%, rgba(45, 104, 192, .16), transparent 30rem),
    #061522;
}

.ambient {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .18;
  pointer-events: none;
}
.ambient-one { inset: -10rem auto auto -8rem; background: #19c6bd; }
.ambient-two { inset: auto -8rem -10rem auto; background: #5b8cff; }

.shell { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 60px 0 28px; }
.hero { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  background: linear-gradient(145deg, #18aaa5, #17619c);
  box-shadow: 0 18px 60px rgba(19, 150, 157, .3);
  font-size: 30px;
  font-weight: 800;
}
.eyebrow { margin: 0 0 8px; color: #62d8d0; font-weight: 700; letter-spacing: .04em; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 4.15rem); line-height: 1.25; letter-spacing: -.035em; }
h1 span { color: #67ded5; }
.intro { margin: 18px auto 0; color: #a9bdca; font-size: clamp(1rem, 2vw, 1.2rem); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product {
  position: relative;
  min-height: 330px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(12, 35, 52, .78);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.product::after {
  content: "";
  position: absolute;
  inset: auto -30% -65% -30%;
  height: 75%;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(70px);
  opacity: .17;
}
.product:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--accent) 65%, white 10%); background: rgba(16, 43, 62, .94); }
.personal { --accent: #26c6b9; }
.academy { --accent: #e7a340; }
.clinic { --accent: #4e91f2; }
.icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.08); font-size: 31px; }
.tag { display: inline-block; margin-top: 28px; color: var(--accent); font-size: .82rem; font-weight: 800; }
.product h2 { margin: 7px 0 12px; font-size: 1.55rem; }
.product p { margin: 0; color: #a9bdca; line-height: 1.9; }
.action { position: absolute; z-index: 1; inset: auto 28px 25px auto; color: #efffff; font-weight: 700; }
.action b { display: inline-block; margin-right: 6px; transition: transform .2s ease; }
.product:hover .action b { transform: translateX(-5px); }

footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding: 22px 4px; border-top: 1px solid rgba(255,255,255,.08); color: #7893a4; font-size: .88rem; }
footer nav { display: flex; gap: 20px; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: #fff; }

@media (max-width: 880px) {
  .products { grid-template-columns: 1fr; }
  .product { min-height: 270px; }
}

@media (max-width: 540px) {
  .shell { width: min(100% - 24px, 1180px); padding-top: 34px; }
  .hero { margin-bottom: 30px; }
  .product { padding: 23px; border-radius: 23px; }
  footer { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .product, .action b { transition: none; }
}
