:root {
  --brand: #e74c3c;
  --brand-dark: #c0392b;
  --ink: #131313;
  --ink-2: #1c1c1c;
  --mist: #f6f6f7;
  --line: #e5e5e7;
}

html { scroll-behavior: smooth; }
body { font-family: "Open Sans", system-ui, sans-serif; color: var(--ink); background: #fff; }
h1, h2, h3, h4, h5 { font-family: "Poppins", system-ui, sans-serif; letter-spacing: -.01em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: all .22s ease;
}
.btn-primary { color: #fff; background: var(--brand); box-shadow: 0 6px 20px rgba(231,76,60,.32); }
.btn-primary:hover { background: var(--ink); box-shadow: 0 10px 28px rgba(19,19,19,.28); transform: translateY(-2px); }
.btn-light { color: var(--ink); background: #fff; }
.btn-light:hover { color: #fff; background: var(--brand); transform: translateY(-2px); }
.nav-link { position: relative; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--brand); }

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: 10%;
  border-radius: 999px;
  background: rgba(231,76,60,.17);
  filter: blur(70px);
}
.eyebrow { color: var(--brand); font-size: .75rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.hero-orb {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: 0 24px 80px rgba(0,0,0,.26);
}
.hero-orb::before, .hero-orb::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  animation: orbit 14s linear infinite;
}
.hero-orb::before { inset: 48px; }
.hero-orb::after { inset: 90px; animation-direction: reverse; animation-duration: 10s; }
.hero-mark {
  position: absolute;
  inset: 50%;
  width: 112px;
  height: 112px;
  margin: -56px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 18px 48px rgba(231,76,60,.42);
  animation: float 5s ease-in-out infinite;
}
.hero-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 20px var(--brand); }
.hero-dot.one { top: 22%; left: 18%; }
.hero-dot.two { right: 18%; top: 30%; }
.hero-dot.three { bottom: 20%; left: 34%; }

.page-footer {
  background: var(--ink);
  color: #fff;
  padding: 5rem 0 2rem;
}
.page-footer a { color: inherit; }
.page-footer .footer-link { color: rgba(255,255,255,.66); transition: color .2s ease; }
.page-footer .footer-link:hover { color: var(--brand); }
.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.09);
}
.cloud-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: clamp(110px, 14vw, 190px);
  overflow: hidden;
  pointer-events: none;
}
.cloud-wave::before,
.cloud-wave::after {
  content: "";
  position: absolute;
  inset: auto -12% -30% -12%;
  height: 140%;
  background:
    radial-gradient(circle at 10% 70%, rgba(255,255,255,.26) 0 7%, transparent 7.5%),
    radial-gradient(circle at 22% 55%, rgba(255,255,255,.22) 0 10%, transparent 10.5%),
    radial-gradient(circle at 34% 72%, rgba(255,255,255,.24) 0 8%, transparent 8.5%),
    radial-gradient(circle at 48% 58%, rgba(255,255,255,.20) 0 11%, transparent 11.5%),
    radial-gradient(circle at 62% 73%, rgba(255,255,255,.25) 0 9%, transparent 9.5%),
    radial-gradient(circle at 76% 57%, rgba(255,255,255,.21) 0 10%, transparent 10.5%),
    radial-gradient(circle at 90% 71%, rgba(255,255,255,.23) 0 8%, transparent 8.5%);
  filter: blur(10px);
  opacity: .95;
}
.cloud-wave::after {
  transform: translateX(8%);
  opacity: .65;
  filter: blur(16px);
}

.feature-card, .content-card {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover, .content-card:hover {
  transform: translateY(-5px);
  border-color: rgba(231,76,60,.35);
  box-shadow: 0 18px 42px rgba(19,19,19,.09);
}
.icon-box {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: .9rem;
  color: var(--brand);
  background: rgba(231,76,60,.10);
}
.metric {
  border-left: 2px solid var(--brand);
  padding-left: 1rem;
}
.step-number {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-visible { animation: revealUp .7s ease forwards; }

@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
