/* Rasa Web homepage: Growth Command Center. Every selector is hero-scoped. */
.rasa-command-hero {
  --rasa-command-navy: #071a3d;
  --rasa-command-navy-deep: #03112b;
  --rasa-command-blue: #1e6bff;
  --rasa-command-cyan: #22d3ee;
  --rasa-command-ink: #f8fbff;
  --rasa-command-muted: #b8c9e7;
  --rasa-command-line: rgba(103, 232, 249, 0.2);
  --rasa-command-glass: rgba(8, 31, 70, 0.72);
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: var(--rasa-command-ink);
  background:
    radial-gradient(circle at 18% 42%, rgba(34, 211, 238, 0.14), transparent 31rem),
    radial-gradient(circle at 82% 12%, rgba(30, 107, 255, 0.18), transparent 30rem),
    linear-gradient(145deg, var(--rasa-command-navy-deep), var(--rasa-command-navy) 58%, #091d46) !important;
}

/* Out-rank body.home .hero !important and remove its legacy aurora/grid layers. */
.elementor .rasa-command-hero.hero {
  background:
    radial-gradient(circle at 18% 42%, rgba(34, 211, 238, 0.14), transparent 31rem),
    radial-gradient(circle at 82% 12%, rgba(30, 107, 255, 0.18), transparent 30rem),
    linear-gradient(145deg, var(--rasa-command-navy-deep), var(--rasa-command-navy) 58%, #091d46) !important;
}

.elementor .rasa-command-hero.hero::before,
.elementor .rasa-command-hero.hero::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  background: none !important;
}

.rasa-command-hero > .elementor-element-h10 {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-areas: "copy visual";
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  width: min(100%, 1280px) !important;
  max-width: 1280px !important;
  min-height: 720px;
  margin-inline: auto !important;
  padding: clamp(4.5rem, 7vw, 7rem) clamp(1.5rem, 5vw, 4.5rem) !important;
}

.rasa-command-hero > .elementor-element-h10::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 82%);
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

/* h8 and h1-h7 remain the visible, editable Elementor content source. */
.rasa-command-hero .elementor-element-h8 {
  grid-area: copy;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: none;
  align-items: flex-start;
  text-align: right;
}

/* Retained Elementor widgets still carry the legacy .hero-anim class, whose
   initial state is invisible. Reveal the wrappers while descendant command
   center animations continue independently. */
.rasa-command-hero .hero-anim {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.rasa-command-hero .elementor-element-h1 {
  width: auto;
  margin: 0 0 1.25rem;
}

.rasa-command-hero .elementor-element-h1 .elementor-heading-title {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  min-height: 2rem;
  color: #c8f7ff;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  font-weight: 700;
  line-height: 1.6;
}

.rasa-command-hero .elementor-element-h1 .elementor-heading-title::before {
  width: 1.6rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--rasa-command-cyan), transparent);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.75);
}

.rasa-command-hero .elementor-element-h2,
.rasa-command-hero .elementor-element-h3,
.rasa-command-hero .elementor-element-h6,
.rasa-command-hero .elementor-element-h7 {
  width: 100%;
}

.rasa-command-hero .elementor-element-h2 .elementor-heading-title {
  max-width: 12ch;
  margin: 0;
  color: var(--rasa-command-ink) !important;
  font-size: clamp(2.35rem, 4.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.rasa-command-hero .elementor-element-h2 .elementor-heading-title span {
  color: var(--rasa-command-cyan);
  background: linear-gradient(92deg, #ffffff 4%, var(--rasa-command-cyan) 45%, #7aa7ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rasa-command-hero .elementor-element-h3 .elementor-widget-container,
.rasa-command-hero .elementor-element-h3 p {
  max-width: 42rem;
  margin: 0;
  color: var(--rasa-command-muted) !important;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 400;
  line-height: 1.9;
}

.rasa-command-hero .elementor-element-h3 {
  margin-top: 1.5rem;
}

.rasa-command-hero .elementor-element-h6 {
  display: flex;
  flex-flow: row wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2rem;
}

.rasa-command-hero .elementor-element-h4,
.rasa-command-hero .elementor-element-h5 {
  width: auto;
}

.rasa-command-hero .elementor-element-h4 .elementor-button,
.rasa-command-hero .elementor-element-h5 .elementor-button {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 240ms ease, border-color 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
}

.rasa-command-hero .elementor-element-h4 .elementor-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rasa-command-blue), #2563eb 58%, #087a99);
  box-shadow: 0 14px 34px rgba(30, 107, 255, 0.3);
}

.rasa-command-hero .elementor-element-h4 .elementor-button-text::after {
  content: "\2190";
  display: inline-block;
  margin-inline-start: 0.45rem;
  transition: transform 240ms ease;
}

.rasa-command-hero .elementor-element-h4 .elementor-button:hover .elementor-button-text::after {
  transform: translateX(-3px);
}

.rasa-command-hero .rasa-command-hero__trust {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.25rem;
  color: #c9d9f2;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.rasa-command-hero .rasa-command-hero__trust-icon {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.45);
  border-radius: 50%;
  color: var(--rasa-command-cyan);
  background: rgba(34, 211, 238, 0.1);
}

.rasa-command-hero .elementor-element-h5 .elementor-button {
  color: #e9f9ff;
  border-color: rgba(103, 232, 249, 0.34);
  background: rgba(7, 26, 61, 0.55);
}

.rasa-command-hero .elementor-element-h4 .elementor-button:hover,
.rasa-command-hero .elementor-element-h5 .elementor-button:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, 0.72);
  background-color: rgba(30, 107, 255, 0.22);
  box-shadow: 0 16px 38px rgba(34, 211, 238, 0.2);
}

.rasa-command-hero .elementor-element-h4 .elementor-button:focus-visible,
.rasa-command-hero .elementor-element-h5 .elementor-button:focus-visible {
  outline: 3px solid var(--rasa-command-cyan);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(3, 17, 43, 0.86);
}

.rasa-command-hero .elementor-element-h7 .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: 2.25rem 0 0;
  padding: 1rem 0;
  border-block: 1px solid rgba(184, 201, 231, 0.18);
}

.rasa-command-hero .elementor-element-h7 .hero-stats > div {
  min-width: 0;
  padding-inline: clamp(0.65rem, 2vw, 1.2rem);
  border-inline-start: 1px solid rgba(184, 201, 231, 0.18);
}

.rasa-command-hero .elementor-element-h7 .hero-stats > div:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.rasa-command-hero .elementor-element-h7 .hero-stats .lbl {
  color: #9fb2d2 !important;
  font-size: clamp(0.72rem, 1vw, 0.83rem);
  line-height: 1.5;
}

.rasa-command-hero .elementor-element-h7 .hero-stats .num {
  margin: 0 0 0.28rem;
  color: #ffffff;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

/* h9 remains an Elementor HTML widget, but contains decorative visual markup only. */
.rasa-command-hero .elementor-element-h9,
.rasa-command-hero .elementor-element-h9 > .elementor-widget-container {
  grid-area: visual;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  order: initial !important;
}

.rasa-command-hero .rasa-command-hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: clamp(420px, 42vw, 560px);
}

.rasa-command-hero .rasa-command-hero__visual::before {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), rgba(30, 107, 255, 0.05) 48%, transparent 70%);
  filter: blur(16px);
  animation: rasa-command-breathe 7s ease-in-out infinite;
}

.rasa-command-hero .rasa-command-hero__console {
  position: relative;
  display: grid;
  place-items: center;
  width: min(92%, 540px);
  aspect-ratio: 1.08;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 44% 56% 50% 50% / 54% 45% 55% 46%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), transparent 48%), linear-gradient(160deg, rgba(11, 31, 58, 0.84), rgba(7, 26, 61, 0.52));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 34px 90px rgba(0, 8, 28, 0.46);
  backdrop-filter: blur(14px);
}

.rasa-command-hero .rasa-command-hero__console-grid {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  opacity: 0.26;
  background-image: linear-gradient(rgba(103, 232, 249, 0.17) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 232, 249, 0.17) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle, #000, transparent 72%);
  mask-image: radial-gradient(circle, #000, transparent 72%);
}

.rasa-command-hero .rasa-command-hero__orbit {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(103, 232, 249, 0.32);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.06);
  animation: rasa-command-orbit 28s linear infinite;
}

.rasa-command-hero .rasa-command-hero__orbit::before,
.rasa-command-hero .rasa-command-hero__orbit::after {
  position: absolute;
  top: 50%;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  content: "";
  background: var(--rasa-command-cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.95);
}

.rasa-command-hero .rasa-command-hero__orbit::before { inset-inline-start: -0.24rem; }
.rasa-command-hero .rasa-command-hero__orbit::after { inset-inline-end: -0.24rem; }

.rasa-command-hero .rasa-command-hero__orbit--outer {
  width: 88%;
  border-style: dashed;
  opacity: 0.48;
  animation-duration: 42s;
  animation-direction: reverse;
}

.rasa-command-hero .rasa-command-hero__data-line {
  position: absolute;
  inset-inline: 8%;
  bottom: 12%;
  width: 84%;
  height: 24%;
  color: var(--rasa-command-cyan);
  opacity: 0.48;
}

.rasa-command-hero .rasa-command-hero__logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 46%;
  max-width: 250px;
  height: auto;
  filter: drop-shadow(0 22px 32px rgba(0, 8, 30, 0.48)) drop-shadow(0 0 24px rgba(34, 211, 238, 0.18));
  animation: rasa-command-logo-float 7s ease-in-out infinite;
}

.rasa-command-hero .rasa-command-hero__signal {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  width: min(48%, 190px);
  min-height: 66px;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(103, 232, 249, 0.25);
  border-radius: 1rem;
  color: #ffffff;
  background: var(--rasa-command-glass);
  box-shadow: 0 18px 42px rgba(0, 9, 31, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  animation: rasa-command-signal-float 8s ease-in-out infinite;
}

.rasa-command-hero .rasa-command-hero__signal-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border-radius: 0.75rem;
  color: var(--rasa-command-cyan);
  background: rgba(34, 211, 238, 0.1);
}

.rasa-command-hero .rasa-command-hero__signal-icon svg { width: 1.2rem; height: 1.2rem; }
.rasa-command-hero .rasa-command-hero__signal-copy { display: grid; gap: 0.15rem; min-width: 0; }
.rasa-command-hero .rasa-command-hero__signal-title { font-size: 0.9rem; font-weight: 800; line-height: 1.35; }
.rasa-command-hero .rasa-command-hero__signal-label { color: #9fb7d8; font-size: 0.7rem; line-height: 1.35; }
.rasa-command-hero .rasa-command-hero__signal--sales { top: 8%; inset-inline-start: 0; }
.rasa-command-hero .rasa-command-hero__signal--search { right: auto; bottom: 8%; inset-inline-end: 0; animation-delay: -2.4s; }
.rasa-command-hero .rasa-command-hero__signal--social { top: 44%; inset-inline-end: -2%; animation-delay: -4.8s; }

@keyframes rasa-command-logo-float { 0%, 100% { transform: translate3d(0, -4px, 0); } 50% { transform: translate3d(0, 7px, 0); } }
@keyframes rasa-command-signal-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -7px, 0); } }
@keyframes rasa-command-orbit { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes rasa-command-breathe { 0%, 100% { opacity: 0.45; transform: scale(0.96); } 50% { opacity: 0.78; transform: scale(1.04); } }

@media (max-width: 1024px) {
  .rasa-command-hero > .elementor-element-h10 { gap: 1.5rem; min-height: 660px; padding-inline: clamp(1.25rem, 4vw, 2.5rem) !important; }
  .rasa-command-hero .rasa-command-hero__signal { width: min(50%, 168px); }
}

@media (max-width: 767px) {
  .rasa-command-hero { width: 100%; max-width: 100%; height: auto; min-height: auto; }
  .rasa-command-hero > .elementor-element-h10 { grid-template-areas: "copy" "visual"; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; width: 100% !important; min-height: auto; padding: 4.25rem max(1rem, env(safe-area-inset-right)) 3.5rem max(1rem, env(safe-area-inset-left)) !important; }
  .rasa-command-hero > .elementor-element-h10::before { background-size: 48px 48px; -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%); }
  .rasa-command-hero .elementor-element-h8,
  .rasa-command-hero .elementor-element-h9,
  .rasa-command-hero .rasa-command-hero__visual,
  .rasa-command-hero .rasa-command-hero__console { width: 100% !important; max-width: 100% !important; }
  .rasa-command-hero .elementor-element-h2 .elementor-heading-title { max-width: 14ch; font-size: clamp(2.15rem, 11vw, 3.35rem); }
  .rasa-command-hero .elementor-element-h3 .elementor-widget-container,
  .rasa-command-hero .elementor-element-h3 p { max-width: 100%; font-size: 1rem; line-height: 1.85; }
  .rasa-command-hero .elementor-element-h6 { align-items: stretch; }
  .rasa-command-hero .elementor-element-h4,
  .rasa-command-hero .elementor-element-h5,
  .rasa-command-hero .elementor-element-h4 .elementor-button,
  .rasa-command-hero .elementor-element-h5 .elementor-button { width: 100%; }
  .rasa-command-hero .elementor-element-h7 .hero-stats { margin-top: 1.75rem; }
  .rasa-command-hero .elementor-element-h7 .hero-stats > div { padding-inline: 0.5rem; }
  .rasa-command-hero .rasa-command-hero__visual { min-height: 370px; }
  .rasa-command-hero .rasa-command-hero__console { width: min(92%, 390px) !important; }
  .rasa-command-hero .rasa-command-hero__signal { width: min(46%, 158px); min-height: 60px; padding: 0.65rem; }
  .rasa-command-hero .rasa-command-hero__signal--sales { top: 5%; inset-inline-start: 0; }
  .rasa-command-hero .rasa-command-hero__signal--search { bottom: 4%; inset-inline-end: 0; }
  .rasa-command-hero .rasa-command-hero__signal--social { display: none; }
}

@media (max-width: 390px) {
  .rasa-command-hero > .elementor-element-h10 { padding-inline: 1rem !important; }
  .rasa-command-hero .elementor-element-h7 .hero-stats .lbl { font-size: 0.68rem; }
  .rasa-command-hero .elementor-element-h7 .hero-stats .num { font-size: 1.18rem; }
  .rasa-command-hero .rasa-command-hero__signal-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rasa-command-hero,
  .rasa-command-hero *,
  .rasa-command-hero::before,
  .rasa-command-hero::after,
  .rasa-command-hero *::before,
  .rasa-command-hero *::after {
    animation: none !important;
    transition: none !important;
  }
}
