/* ==========================================================================
   Saraskala — Landing v3
   --------------------------------------------------------------------------
   Rebuild goals
     1. Drop the pink/magenta dominance. v2 leaned magenta in the page
        background, the hero gradient tail, the CTA and two cards, which read
        as candy rather than as an engineering instrument. v3 anchors on
        cyan -> indigo -> violet, with amber as the single warm accent and
        magenta removed from all surface treatments.
     2. Professional voice. No "Jarvis", no "command deck", no sci-fi HUD
        chrome. The corner label strip and the scanline overlay are gone; they
        were template sci-fi, not brand.
     3. Fixed hero stage instead of a scroll-pinned section. The v2 deck locked
        200vh of scroll before any product content, and pushed the footer off
        the end of the scrollable area. The stage is now a contained, fixed
        height element: the page starts at the hero and ends at the footer.
     4. The 3D is real geometry, not a fake oblique tilt: an atomic model
        (nucleus + three orbital planes) built from nested preserve-3d
        contexts, sitting on a reflective plane, with four product nodes
        anchored around it in depth.

   Depth contract (inside .panel-card)
     __bloom   translateZ(-34px)  ambient hue halo behind the plate
     __plate   translateZ(0)      the plate
     __beam    translateZ(1.5px)  rotating conic edge light
     __sheen   translateZ(2.5px)  specular hotspot tracking the pointer
     __content translateZ(28px)   icon + copy floating in front
     __reflect rotateX(90deg)     floor mirror on hover

   Motion policy
     Only transform / opacity / filter animate. No width/height/top/left.
     Every effect is disabled under prefers-reduced-motion: reduce, and
     pointer tilt is pointer:fine only so touch devices never pay for it.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Core hues: cool, technical, low-chroma enough to read as professional */
  --cyan: #38d9f0;
  --blue: #5b8cff;
  --violet: #8b7cf8;
  /* Single warm accent — used sparingly, for emphasis and highlight */
  --amber: #f2b544;
  --emerald: #2fd98f;

  /* Depth surfaces. Never pure black: black flattens the volumetric read. */
  --void: #04060e;
  --deep: #070a15;
  --ink: #0b1020;
  --plate: #101733;

  /* Text — all verified >= 4.5:1 against the plate colours */
  --fg: #f4f6ff;
  --fg-dim: #b6bed8;
  --fg-mute: #98a1c0;

  /* Elevation ladder */
  --e1: 0 1px 2px rgba(0, 0, 0, .4);
  --e2: 0 6px 16px rgba(0, 0, 0, .45);
  --e3: 0 14px 34px rgba(0, 0, 0, .5);
  --e4: 0 26px 70px rgba(0, 0, 0, .6);

  --r-lg: 24px;
  --r-md: 17px;

  --font-display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hud: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* --------------------------------------------------------------------------
   2. Horizontal overflow guard
      The fixed perspective plane is rotated in 3D, so its *projected* bounds
      exceed the viewport even though its layout box does not. `clip` is used
      rather than `hidden` on purpose: `hidden` forces the opposite axis to
      `auto`, turning <html> into a scroll container and silently disabling
      sticky positioning. `clip` prevents horizontal scrolling without one.
   -------------------------------------------------------------------------- */
html { overflow-x: clip; }

body[data-page-type="home"] {
  background:
    radial-gradient(ellipse 62% 46% at 14% -4%, rgba(56, 217, 240, .16), transparent 62%),
    radial-gradient(ellipse 58% 44% at 88% 2%, rgba(91, 140, 255, .16), transparent 60%),
    radial-gradient(ellipse 74% 48% at 50% 104%, rgba(139, 124, 248, .17), transparent 64%),
    radial-gradient(ellipse 40% 30% at 80% 68%, rgba(242, 181, 68, .07), transparent 62%),
    linear-gradient(168deg, var(--void) 0%, var(--deep) 48%, #070a1c 100%) !important;
  background-attachment: fixed !important;
}

/* --------------------------------------------------------------------------
   3. Section framing
   -------------------------------------------------------------------------- */
.skl-band { position: relative; isolation: isolate; }

/* Horizontal insets are 0, not negative: a negative value extends the pseudo
   element past the viewport and creates page-level horizontal scroll. */
.skl-band::before {
  content: "";
  position: absolute;
  inset: -10% 0 auto 0;
  height: 68%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 58% 100% at var(--band-x, 50%) 0%,
              color-mix(in srgb, var(--band-hue, #5b8cff) 20%, transparent), transparent 70%);
  filter: blur(26px);
}

.skl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 auto 14px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  font: 600 .7rem/1 var(--font-hud);
  letter-spacing: .19em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--band-hue, #5b8cff) 72%, #ffffff);
  background: color-mix(in srgb, var(--band-hue, #5b8cff) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--band-hue, #5b8cff) 32%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--band-hue, #5b8cff) 20%, transparent),
              inset 0 1px 0 rgba(255, 255, 255, .07);
}
.skl-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--band-hue, #5b8cff);
  box-shadow: 0 0 10px var(--band-hue, #5b8cff);
}

/* Must be `background-image`, NOT the `background` shorthand: the shorthand
   with !important expands to every background longhand and would force
   background-clip: border-box !important, painting the gradient as a solid
   bar and hiding the text. */
.section-title,
.hero h1 {
  font-family: var(--font-display);
}

/* The shared header stylesheet hard-codes the wordmark gradient as
   #fff -> #ffcf6b -> #ff3ea5 -> #8a5cff -> #2be4ff. Because #ff3ea5 sits at
   54% the brand name rendered half pink, which is the single most visible
   remaining source of the magenta cast on the page. Re-pointed to the v3 cool
   ramp; the mark itself is unchanged. */
.saras-brand__name {
  font-family: var(--font-display) !important;
  background-image: linear-gradient(122deg, #ffffff 6%, #7fe3f4 34%, #6d9bff 64%, #a08ff5 94%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
.section-title {
  background-image: linear-gradient(116deg, #ffffff 6%, var(--band-hue, #5b8cff) 58%, #ffffff 94%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  filter: drop-shadow(0 0 28px color-mix(in srgb, var(--band-hue, #5b8cff) 30%, transparent));
}

/* --------------------------------------------------------------------------
   4. Volumetric card
   -------------------------------------------------------------------------- */
.panels-grid {
  perspective: 1400px;
  perspective-origin: 50% 40%;
  transform-style: preserve-3d;
  gap: 28px;
}

.panel-card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 34%;
  --h1: #5b8cff;
  --h2: #38d9f0;

  position: relative;
  display: block;
  min-height: 258px;
  padding: 32px 28px 28px !important;
  border: 0 !important;
  border-radius: var(--r-lg) !important;
  background: transparent !important;   /* the plate is a real layer now */
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transition:
    transform .22s cubic-bezier(.2, .75, .25, 1),
    box-shadow .28s ease;
  will-change: transform;
  cursor: pointer;
  isolation: isolate;
}

.panel-card__bloom {
  position: absolute;
  inset: 6% 4%;
  border-radius: inherit;
  z-index: -1;
  transform: translateZ(-34px);
  background:
    radial-gradient(ellipse 60% 55% at 30% 22%, color-mix(in srgb, var(--h1) 82%, transparent), transparent 68%),
    radial-gradient(ellipse 60% 55% at 74% 82%, color-mix(in srgb, var(--h2) 74%, transparent), transparent 68%);
  filter: blur(30px);
  opacity: .38;
  transition: opacity .34s ease, transform .34s cubic-bezier(.2, .75, .25, 1);
}

.panel-card__plate {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: translateZ(0);
  background:
    linear-gradient(163deg,
      color-mix(in srgb, var(--h1) 22%, #121736) 0%,
      #0b1027 46%,
      color-mix(in srgb, var(--h2) 16%, #080b1c) 100%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow:
    var(--e3),
    inset 0 1px 0 rgba(255, 255, 255, .15),
    inset 0 -22px 44px -22px color-mix(in srgb, var(--h1) 62%, transparent);
  overflow: hidden;
}
.panel-card__plate::after {
  content: "";
  position: absolute;
  inset: -30% -10% auto -30%;
  height: 62%;
  background: radial-gradient(ellipse 70% 100% at 20% 0%, rgba(255, 255, 255, .15), transparent 62%);
  pointer-events: none;
}

.panel-card__beam {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  transform: translateZ(1.5px);
  background: conic-gradient(from var(--beam),
      transparent 0deg,
      color-mix(in srgb, var(--h1) 92%, #ffffff) 42deg,
      color-mix(in srgb, var(--h2) 88%, #ffffff) 92deg,
      transparent 148deg,
      transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: .7;
  animation: skl-beam 8s linear infinite;
}
@keyframes skl-beam { to { --beam: 360deg; } }

.panel-card__sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: translateZ(2.5px);
  background: radial-gradient(ellipse 42% 42% at var(--mx) var(--my), rgba(255, 255, 255, .20), transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.panel-card__content {
  position: relative;
  transform: translateZ(calc(28px + var(--lift, 0px)));
  transform-style: preserve-3d;
  display: block;
  transition: transform .18s cubic-bezier(.2, .75, .25, 1);
}

.panel-card:hover,
.panel-card:focus-visible {
  transform:
    rotateX(calc(var(--rx) * .34))
    rotateY(calc(var(--ry) * .34))
    translateZ(18px)
    scale(1.02);
  box-shadow: var(--e4);
}
.panel-card:hover .panel-card__bloom { opacity: .72; transform: translateZ(-22px) scale(1.08); }
.panel-card:hover .panel-card__sheen { opacity: 1; }
.panel-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--h2) 90%, #ffffff);
  outline-offset: 4px;
}

.panel-card__reflect {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 100%;
  height: 46%;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  transform: rotateX(90deg) translateZ(-8px);
  transform-origin: top center;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--h1) 36%, transparent), transparent 72%);
  filter: blur(9px);
  opacity: 0;
  transition: opacity .34s ease;
  pointer-events: none;
}
.panel-card:hover .panel-card__reflect { opacity: .45; }

.panel-icon {
  width: 62px !important;
  height: 62px !important;
  margin-bottom: 19px !important;
  border-radius: 17px !important;
  position: relative;
  transform: translateZ(42px);
  background: linear-gradient(148deg,
      color-mix(in srgb, var(--h1) 88%, #ffffff) 0%,
      var(--h1) 44%,
      var(--h2) 100%) !important;
  box-shadow:
    0 13px 28px -6px color-mix(in srgb, var(--h1) 55%, transparent),
    inset 0 2px 0 rgba(255, 255, 255, .5),
    inset 0 -9px 18px -8px rgba(0, 0, 0, .5);
}
.panel-icon::after {
  content: "";
  position: absolute;
  inset: 3px 3px 46% 3px;
  border-radius: 14px 14px 40% 40%;
  background: linear-gradient(160deg, rgba(255, 255, 255, .58), transparent);
  pointer-events: none;
}
.panel-icon i {
  position: relative;
  z-index: 1;
  color: #fff !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .45));
}

.panel-title {
  font-family: var(--font-display) !important;
  font-size: 1.55rem !important;
  font-weight: 600 !important;
  letter-spacing: -.018em !important;
  color: #fff !important;
  margin-bottom: 11px !important;
  text-shadow: 0 2px 16px color-mix(in srgb, var(--h1) 34%, transparent);
}
.panel-description {
  color: var(--fg-dim) !important;
  font-size: .96rem !important;
  line-height: 1.72 !important;
  margin-bottom: 19px !important;
}

.panel-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  font-family: var(--font-hud) !important;
  font-size: .68rem !important;
  font-weight: 600 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(120deg,
      color-mix(in srgb, var(--h1) 30%, transparent),
      color-mix(in srgb, var(--h2) 26%, transparent)) !important;
  border: 1px solid color-mix(in srgb, var(--h2) 42%, transparent) !important;
  box-shadow:
    0 6px 16px -6px color-mix(in srgb, var(--h1) 52%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .16);
  transform: translateZ(32px);
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn {
  position: relative;
  min-height: 50px;
  padding: 14px 28px !important;
  border-radius: 15px !important;
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-size: .95rem !important;
  letter-spacing: .005em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .18s cubic-bezier(.2, .8, .25, 1),
    box-shadow .24s ease,
    border-color .24s ease;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .34), transparent);
  transform: skewX(-18deg);
  transition: left .62s cubic-bezier(.3, .8, .3, 1);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* Cool blue->violet. v2 used magenta at the head of this ramp, which is what
   made every primary action read as candy-coloured. */
.btn-primary {
  color: #fff !important;
  border: 0 !important;
  background: linear-gradient(126deg, #1f9fd6 0%, #3f6ef0 52%, #6f63f2 100%) !important;
  box-shadow:
    0 13px 30px -8px rgba(63, 110, 240, .55),
    inset 0 1.5px 0 rgba(255, 255, 255, .42),
    inset 0 -13px 24px -13px rgba(0, 0, 0, .5) !important;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 21px 44px -10px rgba(63, 110, 240, .7),
    inset 0 1.5px 0 rgba(255, 255, 255, .55),
    inset 0 -13px 24px -13px rgba(0, 0, 0, .45) !important;
}
.btn-primary:active { transform: translateY(-1px) scale(.985); }

.btn-outline {
  color: #e9f3ff !important;
  background: linear-gradient(126deg, rgba(56, 217, 240, .13), rgba(91, 140, 255, .12)) !important;
  border: 1.5px solid rgba(56, 217, 240, .48) !important;
  box-shadow:
    0 9px 24px -10px rgba(56, 217, 240, .42),
    inset 0 1px 0 rgba(255, 255, 255, .18) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-outline:hover {
  transform: translateY(-3px);
  background: linear-gradient(126deg, rgba(56, 217, 240, .24), rgba(91, 140, 255, .2)) !important;
  border-color: rgba(56, 217, 240, .85) !important;
  box-shadow:
    0 17px 36px -10px rgba(56, 217, 240, .6),
    inset 0 1px 0 rgba(255, 255, 255, .26) !important;
}
.btn-outline:active { transform: translateY(-1px) scale(.985); }

.btn:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

/* ==========================================================================
   6. Tool tiles, chips, stats
   ========================================================================== */
.tools-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)) !important;
  gap: 15px !important;
  perspective: 1200px;
}

.tool-link {
  --h1: #38d9f0;
  --h2: #5b8cff;
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 15px 17px !important;
  border-radius: var(--r-md) !important;
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  font-size: .91rem !important;
  line-height: 1.4;
  color: #fff !important;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition:
    transform .2s cubic-bezier(.2, .8, .25, 1),
    box-shadow .26s ease,
    border-color .26s ease;
  background: linear-gradient(140deg,
      color-mix(in srgb, var(--h1) 16%, #0e1330) 0%,
      #090d20 58%,
      color-mix(in srgb, var(--h2) 13%, #070a18) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--h1) 30%, transparent) !important;
  box-shadow: var(--e2), inset 0 1px 0 rgba(255, 255, 255, .09) !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased;
}
.tool-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
      color-mix(in srgb, var(--h1) 28%, transparent) 0%,
      color-mix(in srgb, var(--h2) 18%, transparent) 100%);
  opacity: 0;
  transition: opacity .28s ease;
}
.tool-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent);
  transform: skewX(-16deg);
  transition: left .55s cubic-bezier(.3, .8, .3, 1);
  pointer-events: none;
}
.tool-link:hover {
  transform: translateY(-4px) translateZ(20px) !important;
  border-color: color-mix(in srgb, var(--h2) 74%, #ffffff) !important;
  box-shadow:
    0 19px 40px -12px color-mix(in srgb, var(--h1) 52%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .16) !important;
}
.tool-link:hover::before { opacity: 1; }
.tool-link:hover::after { left: 125%; }
.tool-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--h2) 88%, #ffffff);
  outline-offset: 3px;
}
.tool-link:active { transform: translateY(-1px) scale(.99) !important; }

.tool-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  font-size: .78rem;
  color: color-mix(in srgb, var(--h2) 90%, #ffffff);
  background: color-mix(in srgb, var(--h2) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--h2) 34%, transparent);
  transform: translateX(-4px);
  transition: transform .26s cubic-bezier(.2, .8, .25, 1), background .26s ease;
}
.tool-link:hover .tool-arrow { transform: translateX(3px); background: color-mix(in srgb, var(--h2) 28%, transparent); }

.use-case-strip {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  font-family: var(--font-hud) !important;
  font-size: .76rem !important;
  font-weight: 600 !important;
  letter-spacing: .03em;
  color: #d9f6ff !important;
  background: linear-gradient(120deg, rgba(47, 217, 143, .17), rgba(56, 217, 240, .14)) !important;
  border: 1px solid rgba(47, 217, 143, .42) !important;
  box-shadow: 0 8px 22px -10px rgba(47, 217, 143, .5),
              inset 0 1px 0 rgba(255, 255, 255, .14) !important;
}
.use-case-strip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 11px var(--emerald);
  flex: 0 0 auto;
}

.popular-task-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 0 22px;
  padding: 4px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.popular-task-strip a {
  --c1: #5b8cff;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .83rem;
  font-weight: 500;
  white-space: nowrap;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(120deg, color-mix(in srgb, var(--c1) 22%, #0b1028), #080b1c) !important;
  border: 1px solid color-mix(in srgb, var(--c1) 42%, transparent) !important;
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--c1) 60%, transparent),
              inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: transform .18s ease, box-shadow .24s ease, border-color .24s ease;
}
.popular-task-strip a:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c1) 88%, #ffffff) !important;
  box-shadow: 0 13px 28px -10px color-mix(in srgb, var(--c1) 72%, transparent),
              inset 0 1px 0 rgba(255, 255, 255, .18);
}
.popular-task-strip a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--c1) 88%, #ffffff);
  outline-offset: 3px;
}

.quick-stats { perspective: 1100px; }
.stat-card {
  position: relative;
  padding: 25px 21px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--e2), inset 0 1px 0 rgba(255, 255, 255, .11);
  transition: transform .22s ease, box-shadow .24s ease;
}
.stat-card:hover { transform: translateY(-4px) translateZ(18px); box-shadow: var(--e3), inset 0 1px 0 rgba(255, 255, 255, .18); }
.stat-number {
  font-family: var(--font-display);
  background-image: linear-gradient(120deg, #ffffff, var(--cyan));
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
.stat-label { color: var(--fg-mute); }

/* ==========================================================================
   7. Hero + fixed instrument stage

      The stage is a contained element with a fixed height. It does NOT pin,
      does NOT drive scroll progress, and does NOT extend the document, so the
      page begins at the hero and ends at the footer.

      Structure (nested preserve-3d):
        .stage            perspective
          .stage__grid     reflective floor plane (rotateX)
          .stage__aura     soft backlight
          .stage__rig      the atomic model
            .orbit x3      elliptical orbital planes on different axes
              em            electron travelling the orbit
            .nucleus        layered sphere
          .stage__nodes x4 product anchors positioned in depth
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 0;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.85rem);
  line-height: 1.05;
  margin: 4px 0 12px;
  font-weight: 700;
  letter-spacing: -.035em;
  background-image: linear-gradient(108deg, #ffffff 4%, #7fe3f4 38%, #6d9bff 68%, #a08ff5 94%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 0 40px rgba(56, 217, 240, .22));
}
.hero__lead {
  max-width: 700px;
  margin: 0 auto 20px;
  color: var(--fg-dim);
  font-size: 1.02rem;
  line-height: 1.72;
}
.hero__actions {
  display: flex;
  gap: 13px;
  justify-content: center;
  flex-wrap: wrap;
}

.global-badge {
  font-family: var(--font-hud) !important;
  color: #bdeaf7 !important;
  background: linear-gradient(120deg, rgba(56, 217, 240, .17), rgba(91, 140, 255, .15)) !important;
  border: 1px solid rgba(56, 217, 240, .42) !important;
  box-shadow: 0 0 24px -5px rgba(56, 217, 240, .42), inset 0 1px 0 rgba(255, 255, 255, .16) !important;
}

/* Height is tuned so the whole composition — all four nodes plus the nucleus —
   finishes inside a 900px-tall first viewport. At 560px the lower two nodes
   sat at y=908..999 and were cut off below the fold on every laptop screen. */
.stage {
  position: relative;
  width: min(1060px, 100%);
  height: 348px;
  margin: 2px auto 0;
  perspective: 1250px;
  perspective-origin: 50% 46%;
}
.stage__aura {
  position: absolute;
  inset: 6% 24% 12%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 52% 48% at 50% 46%, rgba(56, 217, 240, .17), transparent 70%),
    radial-gradient(ellipse 44% 40% at 50% 62%, rgba(91, 140, 255, .14), transparent 72%);
  filter: blur(22px);
}

/* Reflective floor: grid plane rotated into the ground */
.stage__grid {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -2%;
  height: 62%;
  transform-origin: 50% 0%;
  transform: rotateX(74deg);
  background-image:
    linear-gradient(rgba(56, 217, 240, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 140, 255, .1) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 46% 60% at 50% 8%, #000 8%, transparent 70%);
  mask-image: radial-gradient(ellipse 46% 60% at 50% 8%, #000 8%, transparent 70%);
  pointer-events: none;
}

.stage__rig {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

/* --- orbital planes --- */
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 262px;
  height: 262px;
  margin: -131px 0 0 -131px;
  border-radius: 50%;
  border: 1px solid rgba(56, 217, 240, .32);
  transform-style: preserve-3d;
  animation: skl-orbit-spin 26s linear infinite;
}
.orbit::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 1px dashed rgba(91, 140, 255, .2);
}
.orbit > em {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #7fe3f4;
  box-shadow: 0 0 16px #38d9f0, 0 0 34px rgba(56, 217, 240, .5);
}

.orbit-1 { transform: rotateX(74deg); }
.orbit-2 { transform: rotateX(74deg) rotateZ(60deg); animation-duration: 20s; animation-direction: reverse; border-color: rgba(91, 140, 255, .3); }
.orbit-2 > em { background: #8fb0ff; box-shadow: 0 0 16px #5b8cff, 0 0 34px rgba(91, 140, 255, .5); }
.orbit-3 { transform: rotateX(20deg) rotateY(66deg); animation-duration: 34s; border-color: rgba(139, 124, 248, .3); }
.orbit-3 > em { background: #b7a8ff; box-shadow: 0 0 16px #8b7cf8, 0 0 34px rgba(139, 124, 248, .5); }

@keyframes skl-orbit-spin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

/* --- nucleus --- */
.nucleus {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  transform: translateZ(0);
  background:
    radial-gradient(circle at 34% 30%, #ffffff 0%, #7fe3f4 16%, #2f7fd8 42%, #141a44 74%, #0a0d24 100%);
  box-shadow:
    0 0 40px rgba(56, 217, 240, .55),
    0 0 88px rgba(91, 140, 255, .4),
    0 0 140px rgba(139, 124, 248, .22),
    inset 0 -10px 22px -9px rgba(0, 0, 0, .55);
  animation: skl-breathe 7s ease-in-out infinite;
}
.nucleus::after {
  content: "";
  position: absolute;
  inset: 22% 18% 52% 16%;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(255, 255, 255, .7), transparent);
  filter: blur(3px);
}
@keyframes skl-breathe {
  0%, 100% { transform: translateZ(0) scale(1); }
  50% { transform: translateZ(0) scale(1.045); }
}

/* --- product nodes anchored around the model --- */
.stage__nodes { position: absolute; inset: 0; }
.node {
  --h1: #38d9f0;
  --h2: #5b8cff;
  position: absolute;
  width: 202px;
  padding: 13px 15px;
  border-radius: 14px;
  text-decoration: none;
  color: #eaf2ff;
  background: linear-gradient(150deg,
      color-mix(in srgb, var(--h1) 17%, rgba(12, 17, 40, .82)), rgba(8, 11, 26, .78));
  border: 1px solid color-mix(in srgb, var(--h1) 34%, transparent);
  box-shadow:
    0 14px 34px -16px color-mix(in srgb, var(--h1) 55%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .26s cubic-bezier(.2, .8, .25, 1), box-shadow .28s ease, border-color .28s ease;
  cursor: pointer;
}
.node em {
  display: block;
  font-family: var(--font-hud);
  font-style: normal;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--h2) 82%, #ffffff);
  margin-bottom: 5px;
}
.node strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
}
.node:hover {
  transform: translateY(-4px) translateZ(46px) scale(1.03);
  border-color: color-mix(in srgb, var(--h2) 82%, #ffffff);
  box-shadow:
    0 26px 54px -18px color-mix(in srgb, var(--h1) 80%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .2);
}
.node:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

/* Inset rather than offset so the top pair hugs the nucleus and the bottom pair
   stays inside the stage box on a 900px-tall screen. */
.node-1 { left: 0;  top: 4%;   transform: translateZ(-40px); --h1: #2fd98f; --h2: #38d9f0; }
.node-2 { right: 0; top: 0;    transform: translateZ(28px);  --h1: #f2b544; --h2: #5b8cff; }
.node-3 { left: 3%;  bottom: 0; transform: translateZ(24px);  --h1: #38d9f0; --h2: #8b7cf8; }
.node-4 { right: 2%; bottom: 2%; transform: translateZ(-34px); --h1: #5b8cff; --h2: #2fd98f; }

/* ==========================================================================
   8. Header + footer
   ========================================================================== */
.saras-nav a,
.saras-action,
.saras-account {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.saras-brand { min-height: 44px; cursor: pointer; }
.footer-links a { min-height: 44px !important; }

.saras-nav a { transition: color .2s ease, background .2s ease, border-color .2s ease; }
.saras-nav a:hover {
  color: #fff !important;
  background: rgba(56, 217, 240, .12) !important;
  border-color: rgba(56, 217, 240, .4) !important;
}
.saras-nav a:focus-visible,
.saras-action:focus-visible,
.saras-brand:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 999px;
}

/* The header action pill matched the v2 magenta ramp; re-pointed to the
   v3 blue->violet ramp so the header and the hero CTA read as one system. */
.saras-action {
  background: linear-gradient(126deg, #1f9fd6, #3f6ef0 55%, #6f63f2) !important;
  box-shadow: 0 9px 20px -8px rgba(63, 110, 240, .6), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
}

@media (max-width: 920px) {
  .saras-top-panel__inner {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    padding: 8px 16px !important;
    gap: 8px 12px !important;
    min-height: 0 !important;
  }
  .saras-brand { order: 1; flex: 1 1 auto !important; min-width: 0; }
  .saras-actions { order: 2; width: auto !important; overflow: visible !important; flex: 0 0 auto !important; }
  .saras-nav {
    order: 3;
    flex: 1 1 100% !important;
    width: 100%;
    justify-content: flex-start !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .saras-nav::-webkit-scrollbar { display: none; }
  .saras-nav a { flex: 0 0 auto; white-space: nowrap; }
}

/* ==========================================================================
   9. Scroll reveal
      The no-JS / reduced-motion path removes the hidden state entirely, so
      content can never be stranded invisible.
   ========================================================================== */
.panel-card[data-reveal],
.tool-link[data-reveal],
.stat-card[data-reveal],
.node[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, -50px) scale(.97);
  transition:
    opacity .6s cubic-bezier(.2, .75, .25, 1),
    transform .6s cubic-bezier(.2, .75, .25, 1);
}
.panel-card[data-reveal].is-revealed,
.tool-link[data-reveal].is-revealed,
.stat-card[data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.panel-card[data-reveal].is-revealed:hover { transform: translateY(-4px) !important; }

html:not(.skl-booted) [data-reveal],
html.skl-no-reveal [data-reveal],
html.skl-no-reveal .panel-card,
html.skl-no-reveal .tool-link,
html.skl-no-reveal .stat-card {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   10. Motion + touch policy
   ========================================================================== */
@media (hover: none), (pointer: coarse) {
  .panel-card { transform: none !important; }
  .panel-card__beam { animation: none; opacity: .55; }
  .panel-card__reflect { display: none; }
  .node:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .panel-card, .panel-card__bloom, .panel-card__sheen, .panel-card__reflect,
  .panel-card__content, .btn, .tool-link, .tool-link::before, .tool-link::after,
  .btn::after, .stat-card, .panel-icon, .node, .orbit, .nucleus {
    transition: none !important;
    animation: none !important;
  }
  .panel-card__beam { animation: none; opacity: .6; }
  .panel-card,
  .panel-card:hover,
  .panel-card:focus-visible { transform: none !important; }
  .btn:hover, .tool-link:hover, .stat-card:hover, .node:hover { transform: none !important; }
  .btn::after, .tool-link::after { display: none; }
  .panel-card__reflect { display: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   11. Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .panels-grid { gap: 22px; }
  .panel-card { padding: 28px 23px 26px !important; }
  .node { width: 196px; }
}

@media (max-width: 960px) {
  .panels-grid { perspective: none; }
  .panel-card, .panel-card__content { transform: none !important; }
  .panel-card__bloom { transform: none; opacity: .46; }
  .panel-card__sheen, .panel-card__reflect { display: none; }
  .panel-icon, .panel-badge { transform: none; }
  .panel-card:hover { transform: translateY(-4px) !important; }
  .section-title { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  /* Stage collapses: model stays, nodes reflow into a grid beneath it */
  .stage { height: auto; padding-bottom: 8px; }
  .stage__rig { position: relative; left: auto; top: auto; margin: 0 auto; height: 300px; }
  .stage__grid { display: none; }
  .orbit { width: 250px; height: 250px; margin: -125px 0 0 -125px; }
  .nucleus { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
  .stage__nodes {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
  }
  .node { position: static; width: auto; transform: none; }
}

@media (max-width: 640px) {
  .hero { padding-top: 40px !important; }
  .tools-grid { grid-template-columns: 1fr !important; }
  .tool-link { min-height: 58px; padding: 13px 15px !important; }
  .btn { width: 100%; justify-content: center; }
  .panel-card { padding: 25px 21px 23px !important; border-radius: 20px !important; }
  .panel-title { font-size: 1.36rem !important; }
  .panel-icon { width: 54px !important; height: 54px !important; }
  .stage__nodes { grid-template-columns: 1fr; }
  .hero__lead { font-size: 1rem; }
}

/* ==========================================================================
   12. Print
   ========================================================================== */
@media print {
  .panel-card__bloom, .panel-card__beam, .panel-card__sheen, .panel-card__reflect,
  .stage, .saras-floor, .saras-hud, .saras-scan { display: none !important; }
  .panel-card, .tool-link, .btn, .node {
    box-shadow: none !important; transform: none !important;
    background: #fff !important; color: #000 !important;
  }
}