/* ==========================================================================
   Astra brand pattern: overlay for the live site (staging only).
   Loaded after the live CSS. Adds the slat panel and the black-to-cobalt
   gradient to the existing layout without changing its content.
   ========================================================================== */

:root {
  --astra-grad-rise: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000b30 30%, #001a66 52%, #00329e 72%, #004cc6 88%, #0a6bdb 100%);
}

/* ---- Hero: slat panel replaces the arc as the backdrop of the workspace -- */
.hero { position: relative; isolation: isolate; }
.hero::before {
  /* black above the headline, deepening to cobalt behind the product */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 34% at 50% 80%, rgba(30,130,245,.38) 0%, rgba(10,90,220,0) 72%),
    linear-gradient(180deg, #000 0%, #000 36%, #00020e 44%, #000b30 52%, #001a66 62%, #00329e 72%, #004cc6 82%, #0457cf 88%, #0a0a0a 100%);
}
.hero__arc, .hero__glow { display: none !important; }
.hero__stage { position: relative; }
.hero__stage > .astra-slats-wrap {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: clamp(-160px, -11vw, -40px);
  width: min(1360px, 100vw - 32px);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero__stage > .app { position: relative; z-index: 1; }
/* a touch more depth on the product so it sits in front of the rows */
.hero__stage > .app { box-shadow: 0 40px 120px -30px rgba(0,8,40,.9), 0 0 0 1px rgba(140,170,255,.18); }

/* ---- Trust strip: continue the gradient's foot ----------------------------- */
.trust { background: linear-gradient(180deg, #0a0a0a, #0a0a0a); }

/* ---- Vision: slat panel as the section's image -------------------------- */
#vision > .wrap { position: relative; }
#vision .astra-vision-plate {
  position: absolute;
  top: 300px;
  right: 40px;
  width: min(340px, 26%);
  pointer-events: none;
}
#vision .astra-vision-plate::after {
  /* the blue floor the panel stands on */
  content: "";
  position: absolute;
  left: -30%;
  right: -30%;
  top: 30%;
  bottom: -60%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 60%, rgba(20,110,240,.45), rgba(10,60,200,.12) 55%, rgba(0,0,0,0) 75%);
  filter: blur(14px);
}
@media (max-width: 1000px) {
  #vision .astra-vision-plate { position: relative; top: 0; right: 0; width: 100%; margin: 0 0 40px; }
}

/* ---- Story stats: rows of the gradient as top rules --------------------- */
.stats__i { position: relative; }
.stats__i::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, #cdd6f6 0%, #7d9ae8 35%, #1a5cf0 70%, rgba(26,92,240,0) 100%);
}

/* ---- Deployment: progress rules use the slat gradient ------------------- */
.deploy .box hr, .deploy [class*="bar"] i, .deploy [class*="prog"] i {
  background: linear-gradient(90deg, #dfe2f3, #4d8ae9 45%, #0546d4) !important;
}

/* ---- Demo: the form stands in front of the panel, on the gradient ------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: #000 !important; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(90% 40% at 50% 100%, rgba(30,130,245,.42) 0%, rgba(10,90,220,0) 70%),
    linear-gradient(180deg, #000 0%, #000 30%, #00020e 42%, #000b30 54%, #001a66 66%, #00329e 78%, #004cc6 90%, #0a6bdb 100%);
}
.cta__glow { display: none !important; }
.cta > .astra-slats-wrap {
  position: absolute;
  z-index: -1;
  right: max(16px, calc(50% - 690px));
  bottom: 60px;
  width: min(700px, 50vw);
  pointer-events: none;
}
.cta__formwrap { background: rgba(2,6,24,.78) !important; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
@media (max-width: 900px) {
  .cta > .astra-slats-wrap { left: 16px; right: 16px; width: auto; bottom: 24px; opacity: .55; }
}

/* ---- Footer: picks up the cobalt from the demo stage -------------------- */
.foot { background: linear-gradient(180deg, #0a6bdb 0%, #00329e 16%, #000b30 42%, #000 78%) !important; border-top: 0 !important; }
