/*
 * Rahco visual polish & motion layer — v4.2
 * Loaded after the base styles so the original design stays maintainable.
 * Motion uses transform/opacity only and respects prefers-reduced-motion.
 */

:root {
  --motion-ease: cubic-bezier(.2, .75, .2, 1);
  --motion-spring: cubic-bezier(.16, 1, .3, 1);
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  --hero-scroll: 0px;
  --chip-shift-x: 0px;
  --chip-shift-y: 0px;
}

html { scroll-padding-top: calc(var(--header-height) + 30px); }

/* Header: clear hierarchy, premium micro-interactions and safe laptop layout. */
.site-header { isolation: isolate; }
.site-header::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00aeef 25%, #28c7e8 55%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .55s var(--motion-ease);
}
.site-header.is-scrolled::after { transform: scaleX(1); }
.brand img {
  filter: drop-shadow(0 8px 12px rgba(6, 27, 58, .12));
  transition: transform .45s var(--motion-spring), filter .45s ease;
}
.brand:hover img {
  transform: translateY(-2px) rotate(-2deg) scale(1.035);
  filter: drop-shadow(0 12px 16px rgba(6, 27, 58, .18));
}
.main-nav a::before {
  content: "";
  position: absolute;
  inset: 20% -8px;
  z-index: -1;
  border-radius: 10px;
  background: #edf8ff;
  opacity: 0;
  transform: scale(.84);
  transition: opacity .25s ease, transform .35s var(--motion-spring);
}
.main-nav a:hover::before { opacity: 1; transform: scale(1); }

/* Button sheen is intentionally visible only on interaction. */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -45% auto -45% -45%;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg) translateX(0);
  transition: transform .75s var(--motion-ease);
}
.btn:hover::before { transform: skewX(-18deg) translateX(560%); }
.btn .lucide { transition: transform .35s var(--motion-spring); }
.btn:hover .lucide { transform: translateX(-3px); }

/* Premium hero scene. */
.hero--premium {
  isolation: isolate;
  min-height: 655px;
  background:
    radial-gradient(circle at 13% 18%, rgba(111, 198, 255, .34), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(49, 202, 235, .12), transparent 30%),
    linear-gradient(135deg, #fbfdff 0%, #edf7ff 51%, #fbfdff 100%);
}
.hero--premium::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -12% -48% auto;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(23, 137, 226, .08);
  box-shadow: 0 0 0 78px rgba(23, 137, 226, .025), 0 0 0 158px rgba(23, 137, 226, .018);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
  will-change: transform;
}
.hero__glow--one {
  width: 420px;
  height: 420px;
  inset: -170px -100px auto auto;
  background: radial-gradient(circle, rgba(0,174,239,.18), transparent 68%);
  animation: rahcoGlowOne 12s ease-in-out infinite alternate;
}
.hero__glow--two {
  width: 540px;
  height: 540px;
  inset: auto auto -310px -160px;
  background: radial-gradient(circle, rgba(82,135,255,.16), transparent 67%);
  animation: rahcoGlowTwo 15s ease-in-out infinite alternate;
}
.hero__particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__particles i {
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(0, 126, 220, .42);
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  box-shadow: 0 0 0 6px rgba(0,174,239,.055);
  animation: rahcoParticle 5.5s ease-in-out infinite;
}
.hero__particles i:nth-child(1) { inset: 13% 8% auto auto; }
.hero__particles i:nth-child(2) { inset: 32% auto auto 7%; animation-delay: -1.2s; }
.hero__particles i:nth-child(3) { inset: 72% 47% auto auto; animation-delay: -2.7s; }
.hero__particles i:nth-child(4) { inset: 18% auto auto 42%; animation-delay: -3.6s; }
.hero__particles i:nth-child(5) { inset: auto 17% 12% auto; animation-delay: -4.4s; }
.hero__particles i:nth-child(6) { inset: auto auto 20% 25%; animation-delay: -.7s; }

.hero--premium .hero__inner {
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  gap: clamp(18px, 3vw, 52px);
}
.hero__content,
.hero__visual { min-width: 0; }
.hero--premium .hero__content { position: relative; }
.hero--premium .hero__content::before {
  content: "";
  position: absolute;
  inset: -28px -32px auto auto;
  width: 86px;
  height: 60px;
  opacity: .24;
  background-image: radial-gradient(circle, #0a8ce1 1.5px, transparent 1.7px);
  background-size: 12px 12px;
  mask-image: linear-gradient(135deg, #000, transparent 75%);
  pointer-events: none;
}
.hero--premium h1 em {
  color: transparent;
  background: linear-gradient(90deg, #086fd0, #00a8e9 42%, #0756b6 82%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: rahcoTitleGradient 8s linear infinite;
}
.hero--premium .eyebrow span {
  position: relative;
  overflow: visible;
}
.hero--premium .eyebrow span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 100%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00aeef;
  box-shadow: 0 0 0 5px rgba(0,174,239,.12);
  transform: translate(50%, -50%);
  animation: rahcoSignal 2.4s ease-out infinite;
}

.hero--premium .hero__visual {
  min-height: 465px;
  place-items: center;
  align-self: center;
  perspective: 1100px;
}
.hero__visual-stage {
  position: relative;
  z-index: 2;
  width: min(650px, 116%);
  transform: translate3d(var(--hero-shift-x), calc(var(--hero-shift-y) + var(--hero-scroll)), 0);
  transition: transform .18s linear;
  will-change: transform;
}
.hero__visual-stage > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 38px rgba(31,88,146,.18));
  animation: rahcoHeroFloat 5.8s ease-in-out infinite;
  transform-origin: 52% 65%;
}
.hero--premium .hero__orb {
  width: min(430px, 82%);
  height: auto;
  aspect-ratio: 1;
  inset: 3% 50% auto auto;
  background:
    radial-gradient(circle, rgba(121,193,255,.21), transparent 61%),
    conic-gradient(from 45deg, transparent 0 23%, rgba(0,174,239,.06) 24% 29%, transparent 30% 100%);
  animation: rahcoOrbitSpin 34s linear infinite;
}
.hero--premium .hero__orb::before { inset: 38px; border-style: dashed; }
.hero--premium .hero__orb::after { inset: 88px; border-style: solid; }
.hero__orb > span,
.hero__orb > i,
.hero__orb > b {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #00aeef;
  box-shadow: 0 5px 16px rgba(0,109,199,.34);
}
.hero__orb > span { inset: 13% 19% auto auto; }
.hero__orb > i { inset: auto auto 19% 11%; background: #ffc928; }
.hero__orb > b { inset: 52% -6px auto auto; background: #3ccf91; }

.hero--premium .floating-chip {
  border-color: rgba(138,194,238,.62);
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 42px rgba(20,83,139,.14), inset 0 1px 0 rgba(255,255,255,.9);
  translate: var(--chip-shift-x) var(--chip-shift-y);
  transition: translate .2s linear, box-shadow .3s ease;
}
.hero--premium .floating-chip:hover { box-shadow: 0 20px 48px rgba(20,83,139,.22); }
.floating-chip--cloud { inset: 15% auto auto 1%; }
.floating-chip--shield { inset: auto 2% 22% auto; }
.floating-chip--code { inset: auto auto 13% 9%; animation-delay: -2.8s; }
.floating-chip .lucide { width: 18px; height: 18px; }

.hero-stats .mini-stat {
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--motion-spring), box-shadow .4s ease, border-color .4s ease;
}
.hero-stats .mini-stat::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -34%;
  width: 25%;
  background: linear-gradient(90deg, transparent, rgba(70,179,245,.16), transparent);
  transform: skewX(-18deg);
  transition: translate .85s var(--motion-ease);
}
.hero-stats .mini-stat:hover {
  transform: translateY(-5px);
  border-color: #b9dcf7;
  box-shadow: 0 22px 45px rgba(18,85,145,.14);
}
.hero-stats .mini-stat:hover::after { translate: 650% 0; }
.hero-stats.reveal { transform: translateY(calc(50% + 20px)); }
.hero-stats.reveal.is-visible { transform: translateY(50%); }

/* Internal heroes keep the same visual language without reusing one animation blindly. */
.inner-hero { isolation: isolate; overflow: hidden; }
.inner-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto auto -220px -150px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(0,132,224,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(0,132,224,.025), 0 0 0 140px rgba(0,132,224,.018);
}
.inner-hero__grid { animation: rahcoGridDrift 18s linear infinite; }
.hero-symbol { animation: rahcoSymbolFloat 5.2s ease-in-out infinite; }
.hero-symbol__ring {
  position: absolute;
  inset: -18px;
  border: 1px dashed rgba(0,128,220,.22);
  border-radius: 50%;
  animation: rahcoSoftSpin 28s linear infinite;
}
.hero-symbol__ring::before,
.hero-symbol__ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #00aeef;
  box-shadow: 0 4px 12px rgba(0,113,197,.28);
}
.hero-symbol__ring::before { inset: 12% 13% auto auto; }
.hero-symbol__ring::after { inset: auto auto 10% 18%; background: #ffc928; }
.product-detail-visual {
  transition: transform .65s var(--motion-spring), box-shadow .5s ease;
}
.product-detail-visual:hover {
  transform: perspective(1000px) rotateY(1.5deg) rotateX(.5deg) translateY(-5px);
  box-shadow: 0 36px 80px rgba(6,35,75,.27);
}

.knowledge-hero__grid > *,
.dev-hero__grid > * {
  animation: rahcoHeroEnter .8s var(--motion-spring) both;
}
.knowledge-hero__grid > *:nth-child(2),
.dev-hero__grid > *:nth-child(2) { animation-delay: .13s; }
.knowledge-orbit::after {
  content: "";
  position: absolute;
  inset: -17px;
  z-index: -1;
  border: 1px dashed rgba(7,127,192,.2);
  border-radius: 50%;
  animation: rahcoSoftSpin 32s linear infinite reverse;
}
.dev-console { position: relative; transition: transform .55s var(--motion-spring), box-shadow .45s ease; }
.dev-console:hover { transform: translateY(-5px) rotateX(1deg); box-shadow: 0 42px 90px rgba(0,0,0,.42); }
.dev-console::after {
  content: "";
  position: absolute;
  inset: 52px 0 auto;
  height: 1px;
  opacity: .75;
  background: linear-gradient(90deg, transparent, #49d2ff, transparent);
  box-shadow: 0 0 14px #2dc5ff;
  animation: rahcoConsoleScan 4.4s ease-in-out infinite;
  pointer-events: none;
}

/* Section rhythm and contextual depth. */
main > .section { position: relative; }
.section-heading { position: relative; }
.section-heading h2 { text-wrap: balance; }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; }
.section-kicker::before {
  content: "";
  width: 17px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 6px 0 0 -0.5px currentColor;
  opacity: .72;
}
.directory-section {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 15%, rgba(0,174,239,.07), transparent 21%),
    linear-gradient(#fff, #fbfdff);
}
.directory-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 9% auto auto -120px;
  width: 310px;
  height: 310px;
  border: 1px dashed rgba(4,124,216,.12);
  border-radius: 50%;
  animation: rahcoSoftSpin 38s linear infinite;
}
.directory-card,
.testimonial-grid blockquote,
.glance-grid article,
.knowledge-card,
.news-card,
.client-marquee figure {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spot-x: 50%;
  --spot-y: 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.directory-card::before,
.testimonial-grid blockquote::before,
.glance-grid article::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(260px circle at var(--spot-x) var(--spot-y), rgba(0,174,239,.11), transparent 66%);
  transition: opacity .3s ease;
  pointer-events: none;
}
.directory-card:hover::before,
.testimonial-grid blockquote:hover::before,
.glance-grid article:hover::before { opacity: 1; }
.directory-card > *,
.testimonial-grid blockquote > *,
.glance-grid article > * { position: relative; z-index: 1; }
.testimonial-grid blockquote,
.glance-grid article { position: relative; overflow: hidden; }
.testimonial-grid blockquote > .lucide {
  width: 38px;
  height: 38px;
  opacity: .28;
  transition: opacity .3s ease, transform .4s var(--motion-spring);
}
.testimonial-grid blockquote:hover > .lucide { opacity: .7; transform: translateY(-3px) rotate(-5deg); }
.glance-grid article > .lucide {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 11px;
  background: #e9f7ff;
  transition: transform .45s var(--motion-spring), background .3s ease;
}
.glance-grid article:hover > .lucide { transform: translateY(-4px) scale(1.08); background: #dff4ff; }

.solutions::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .25;
  background-image: radial-gradient(circle at center, rgba(102,210,255,.6) 1px, transparent 1.5px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000, transparent 45%);
}
.solutions__inner { z-index: 1; }
.solutions__flow { isolation: isolate; }
.solutions__flow::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 50% 15% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #56d7ff, transparent);
  box-shadow: 0 0 16px #33c7ff;
  transform: translateX(-90%);
  animation: rahcoFlowScan 4.8s ease-in-out infinite;
}
.solutions__flow article { overflow: hidden; }
.solutions__flow article::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.075), transparent 64%);
  transform: translateX(-120%);
  transition: transform .8s var(--motion-ease);
  pointer-events: none;
}
.solutions__flow article:hover::after { transform: translateX(120%); }

.client-marquee figure {
  transition: transform .4s var(--motion-spring), box-shadow .4s ease, border-color .3s ease;
}
.client-marquee figure:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: #b8ddf8;
  box-shadow: 0 22px 48px rgba(6,27,58,.12);
}

.news-card__image::after,
.knowledge-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 34%, rgba(255,255,255,.28), transparent 63%);
  transform: translateX(-130%);
  transition: transform .9s var(--motion-ease);
  pointer-events: none;
}
.news-card:hover .news-card__image::after,
.knowledge-card:hover .knowledge-card__media::after { transform: translateX(130%); }

.final-cta--motion {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 50%, rgba(0,174,239,.22), transparent 28%),
    linear-gradient(120deg, #04172f, #062958 58%, #061b3a);
}
.final-cta--motion::before,
.final-cta--motion::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(86,213,255,.16);
  border-radius: 50%;
  pointer-events: none;
}
.final-cta--motion::before { width: 280px; height: 280px; inset: -180px auto auto 10%; }
.final-cta--motion::after { width: 190px; height: 190px; inset: auto 12% -145px auto; }
.final-cta--motion .container > div:first-child > .lucide {
  width: 54px;
  height: 54px;
  padding: 13px;
  border-radius: 17px;
  color: #66dcff;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 14px 35px rgba(0,0,0,.16);
  animation: rahcoCtaIcon 3.8s ease-in-out infinite;
}

/* Staggered entrance. JS adds motion-ready only when it can observe safely. */
.motion-ready [data-motion-group] > .motion-item,
.motion-ready .motion-heading {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(.985);
  transition:
    opacity .72s var(--motion-ease) var(--motion-delay, 0ms),
    transform .78s var(--motion-spring) var(--motion-delay, 0ms),
    box-shadow .35s ease,
    border-color .35s ease;
}
.motion-ready [data-motion-group].is-inview > .motion-item,
.motion-ready .motion-heading.is-inview {
  opacity: 1;
  transform: perspective(1000px) translate3d(0, 0, 0) rotateX(0) rotateY(0);
}
.motion-ready [data-motion-group].motion-settled > .motion-item {
  transition-delay: 0ms, 0ms, 0ms, 0ms;
}
.motion-ready [data-motion-group].is-inview > .motion-card:hover {
  transform: perspective(1000px) translate3d(0, -7px, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

/* Laptop/tablet: switch to the drawer before the real menu runs out of room. */
@media (max-width: 1180px) {
  :root { --header-height: 72px; }
  .header__inner { gap: 12px; }
  .brand__text { display: flex; }
  .menu-toggle { display: block; order: 3; flex: 0 0 auto; }
  .header__actions { margin-inline-start: auto; }
  .header__actions .btn {
    width: auto;
    min-width: 0;
    padding: 0 16px;
    font-size: .75rem;
  }
  .main-nav {
    position: fixed;
    z-index: 1100;
    inset: calc(34px + var(--header-height)) 0 0 auto;
    width: min(370px, 88vw);
    height: calc(100dvh - 34px - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 18px;
    overflow-y: auto;
    border-left: 1px solid #e2ebf4;
    background: rgba(255,255,255,.985);
    box-shadow: -24px 28px 60px rgba(6,27,58,.2);
    transform: translateX(110%);
    transition: transform .34s var(--motion-spring);
  }
  .main-nav::after { display: none; }
  .main-nav.is-open { transform: none; }
  .main-nav a {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    justify-content: space-between;
    padding: 13px 10px;
    border-bottom: 1px solid #edf1f6;
    font-size: .88rem;
  }
  .main-nav a::after { display: none; }
  .main-nav a::before { inset: 5px 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  body.menu-open::after {
    content: "";
    position: fixed;
    z-index: 990;
    inset: 0;
    background: rgba(3,17,38,.44);
    backdrop-filter: blur(2px);
  }
  .hero--premium .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
    gap: 15px;
  }
  .hero--premium h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
  .hero__visual-stage { width: min(520px, 105%); }
  .hero--premium .hero__visual { min-height: 430px; }
  .floating-chip--cloud { inset-inline-start: 0; }
}

@media (max-width: 980px) {
  .hero--premium { min-height: 0; padding-top: 34px; }
  .hero--premium .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero--premium .hero__content { padding-top: 18px; }
  .hero--premium .hero__visual { min-height: 370px; }
  .hero__visual-stage { width: min(610px, 92%); }
  .hero-stats.reveal { transform: translateY(calc(42% + 20px)); }
  .hero-stats.reveal.is-visible { transform: translateY(42%); }
}

@media (max-width: 760px) {
  .hero__particles i:nth-child(n+4) { display: none; }
  .floating-chip--code { display: none; }
  .final-cta--motion .container > div:first-child { align-items: flex-start; }
}

@media (max-width: 680px) {
  .header__actions .btn { display: none; }
  .brand__text { display: flex; }
  .hero--premium { padding-top: 20px; }
  .hero--premium .hero__content::before { display: none; }
  .hero--premium .hero__visual { min-height: 285px; margin-top: 6px; }
  .hero__visual-stage { width: min(470px, 102%); }
  .hero--premium .hero__orb { width: min(300px, 78%); }
  .hero--premium .floating-chip { font-size: .58rem; }
  .floating-chip--cloud { inset: 8% auto auto 0; }
  .floating-chip--shield { inset: auto 0 15% auto; }
  .hero-stats.reveal { transform: translateY(calc(20% + 15px)); }
  .hero-stats.reveal.is-visible { transform: translateY(20%); }
  .section-kicker::before { width: 12px; }
  .final-cta--motion .container > div:first-child > .lucide { width: 46px; height: 46px; }
}

@media (max-width: 430px) {
  .brand__text small { display: none; }
  .brand__text strong { font-size: .78rem; }
  .hero--premium h1 br { display: none; }
  .hero--premium .floating-chip { display: none; }
  .hero--premium .hero__visual { min-height: 245px; }
}

@keyframes rahcoGlowOne {
  to { transform: translate3d(-45px, 34px, 0) scale(1.12); }
}
@keyframes rahcoGlowTwo {
  to { transform: translate3d(55px, -24px, 0) scale(.9); }
}
@keyframes rahcoParticle {
  0%, 100% { transform: translateY(0) scale(.9); opacity: .3; }
  50% { transform: translateY(-13px) scale(1.12); opacity: .9; }
}
@keyframes rahcoTitleGradient { to { background-position: -220% center; } }
@keyframes rahcoSignal {
  0% { box-shadow: 0 0 0 0 rgba(0,174,239,.27); }
  75%, 100% { box-shadow: 0 0 0 10px rgba(0,174,239,0); }
}
@keyframes rahcoHeroFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(.001deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(.45deg); }
}
@keyframes rahcoOrbitSpin {
  from { transform: translateX(50%) rotate(0); }
  to { transform: translateX(50%) rotate(360deg); }
}
@keyframes rahcoSoftSpin { to { transform: rotate(360deg); } }
@keyframes rahcoFlowScan {
  0%, 18% { opacity: 0; transform: translateX(-90%); }
  35%, 68% { opacity: .9; }
  88%, 100% { opacity: 0; transform: translateX(90%); }
}
@keyframes rahcoCtaIcon {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-5px) rotate(-3deg); }
}
@keyframes rahcoGridDrift { to { background-position: 54px 54px; } }
@keyframes rahcoSymbolFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes rahcoHeroEnter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes rahcoConsoleScan {
  0%, 12% { top: 52px; opacity: 0; }
  28% { opacity: .75; }
  78% { opacity: .75; }
  100% { top: calc(100% - 2px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow,
  .hero__particles i,
  .hero--premium h1 em,
  .hero--premium .hero__orb,
  .hero__visual-stage > img,
  .directory-section::before,
  .solutions__flow::after,
  .final-cta--motion .container > div:first-child > .lucide,
  .inner-hero__grid,
  .hero-symbol,
  .hero-symbol__ring,
  .knowledge-hero__grid > *,
  .dev-hero__grid > *,
  .knowledge-orbit::after,
  .dev-console::after {
    animation: none !important;
  }
  .hero__visual-stage,
  .hero--premium .floating-chip { transform: none !important; translate: none !important; }
  .motion-ready [data-motion-group] > .motion-item,
  .motion-ready .motion-heading,
  .motion-ready [data-motion-group].is-inview > .motion-item,
  .motion-ready .motion-heading.is-inview {
    opacity: 1;
    transform: none;
  }
}
