/* Homepage only. Evolve the existing blue cloud illustration without new assets.
   Layers: ambient light 0, illustration 1, copy and service labels 2. */
.c-home-hero {
  --hero-blue: var(--cloud-blue);
  --hero-label-ink: #4c668c;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 78% 50%, #d5e6ff 0, #e6efff88 29%, transparent 58%),
    linear-gradient(112deg, #f8fbff 8%, #f1f6ff 60%, #eaf2ff);
  border-bottom: 1px solid #e7eefb;
}

.c-home-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(124deg, transparent 52%, #ffffffa6 52.1%, #ffffff14 67%, transparent 67.1%);
  opacity: .6;
}

.c-home-hero .c-hero-grid {
  position: relative;
  min-height: clamp(640px, calc(100svh - 68px), 800px);
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.c-home-hero .c-hero-copy {
  padding: 44px 0 40px;
}

.c-home-hero .c-hero-copy h1 {
  font-size: clamp(50px, 4.45vw, 64px);
  line-height: 1.23;
  letter-spacing: -1.9px;
  margin: 31px 0 26px;
}

.c-home-hero .c-hero-copy > p {
  color: #5b7295;
  line-height: 1.95;
  max-width: 540px;
}

.c-home-hero .c-hero-buttons {
  margin-top: 32px;
  margin-bottom: 21px;
}

.c-home-hero .c-hero-buttons .c-button {
  min-height: 48px;
}

.c-home-hero .c-hero-buttons .c-primary {
  box-shadow: 0 8px 22px #1765ff21;
}

.c-home-hero .c-trust {
  color: #657d9e;
}

.c-home-hero .c-hero-pages {
  margin-top: 40px;
}

.c-home-hero .ai-cloud-art {
  height: 540px;
  z-index: 1;
  pointer-events: none;
}

.c-home-hero .ai-cloud-art::before {
  inset: 8% -8%;
  background: radial-gradient(ellipse, #6ca3ff30, #aecfff29 35%, transparent 68%);
  filter: none;
}

.c-home-hero .ai-cloud-art::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 18%;
  width: 74%;
  height: 19%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #4a82e92b, transparent 67%);
  transform: rotate(-18deg);
}

.c-home-hero .cloud-stack {
  width: 360px;
  height: 360px;
  top: 100px;
  left: calc(50% - 160px);
  animation: home-cloud-float 9s ease-in-out infinite;
}

.c-home-hero .cloud-plate {
  border-radius: 26px;
  box-shadow: 8px 12px 0 #bcd4fc;
}

.c-home-hero .cloud-plate.bottom {
  transform: translateZ(-51px);
  background: #c7dcff;
}

.c-home-hero .cloud-plate.middle {
  transform: translateZ(-26px);
}

.c-home-hero .cloud-plate.top {
  background: linear-gradient(135deg, #ffffff, #f0f6ff);
}

.c-home-hero .cloud-plate.top::after {
  content: "";
  position: absolute;
  inset: -35%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, #fff9 50%, transparent 58%);
  transform: translateX(-100%);
  animation: home-cloud-light 11s ease-in-out infinite;
}

.c-home-hero .plate-lines {
  opacity: .85;
}

.c-home-hero .ai-chip {
  inset: 82px;
  border-color: #8fb9ff;
  background: linear-gradient(135deg, #508bff, #1765ff 62%, #0952eb);
  box-shadow: 6px 9px 0 #0c4ed7, 0 0 42px #1765ff3d;
}

.c-home-hero .ai-chip b {
  font-size: 64px;
}

.c-home-hero .art-orbit {
  inset: 98px -4px 98px -8px;
  border-color: #a9c9ff;
  opacity: .8;
}

.c-home-hero .art-orbit.o2 {
  inset: 31px 39px 30px 96px;
  border-color: #b2ceff;
  opacity: .65;
}

.c-home-hero .art-orbit::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  left: 50%;
  top: -4px;
  border-radius: 50%;
  background: #5c93f2;
  box-shadow: 0 0 0 5px #96bfff24, 0 0 16px #1765ff38;
  animation: home-cloud-signal 5s ease-in-out infinite;
}

.c-home-hero .art-orbit.o2::after {
  top: auto;
  bottom: -4px;
  animation-delay: -2.5s;
}

.c-home-hero .art-label {
  width: 196px;
  min-height: 72px;
  border-color: #ffffff;
  box-shadow: 0 14px 40px #3465b011, 0 1px 0 #d4e3fb;
  background: #fffffff2;
  padding: 17px 20px;
}

.c-home-hero .art-label strong {
  color: var(--hero-label-ink);
}

.c-home-hero .art-label small {
  color: #587cab;
}

.c-home-hero .art-label > i {
  display: none;
}

.c-home-hero .art-models {
  top: 57px;
  right: 0;
}

.c-home-hero .art-knowledge {
  left: -18px;
  top: 240px;
}

.c-home-hero .art-apps {
  right: -6px;
  bottom: 32px;
  width: 205px;
}

.c-home-hero .art-footer-label {
  bottom: 4px;
  left: 32px;
  color: #6387bc;
}

.c-home-hero .art-float.f1 {
  top: 113px;
  left: 96px;
}

.c-home-hero .art-float.f2 {
  right: 5px;
  bottom: 166px;
}

/* The layered cloud gently floats; a single light pass connects its surfaces. */
@keyframes home-cloud-float {
  0%, 100% { transform: translateY(4px) rotateX(56deg) rotateZ(-43deg); }
  50% { transform: translateY(-9px) rotateX(56deg) rotateZ(-43deg); }
}

@keyframes home-cloud-light {
  0%, 18% { transform: translateX(-100%); opacity: 0; }
  24% { opacity: .65; }
  46% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes home-cloud-signal {
  0%, 100% { opacity: .3; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 1279px) {
  .c-home-hero .c-hero-copy h1 { font-size: 50px; }
  .c-home-hero .ai-cloud-art { height: 500px; }
  .c-home-hero .cloud-stack { width: 320px; height: 320px; left: calc(50% - 142px); top: 105px; }
  .c-home-hero .ai-chip { inset: 73px; }
  .c-home-hero .ai-chip b { font-size: 56px; }
  .c-home-hero .art-label { width: 174px; padding: 15px; gap: 10px; }
  .c-home-hero .art-models { top: 42px; }
  .c-home-hero .art-knowledge { top: 225px; left: -8px; }
  .c-home-hero .art-apps { width: 184px; bottom: 31px; right: 0; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .c-home-hero .c-hero-grid { gap: 12px; min-height: 650px; }
  .c-home-hero .c-hero-copy h1 { font-size: 42px; letter-spacing: -1.4px; }
  .c-home-hero .c-hero-copy > p { font-size: 14px; }
  .c-home-hero .c-hero-buttons { gap: 10px; }
  .c-home-hero .c-hero-buttons .c-button { padding: 10px 13px; font-size: 12px; }
  .c-home-hero .ai-cloud-art { height: 420px; }
  .c-home-hero .cloud-stack { width: 255px; height: 255px; left: calc(50% - 113px); top: 100px; }
  .c-home-hero .ai-chip { inset: 58px; }
  .c-home-hero .ai-chip b { font-size: 44px; }
  .c-home-hero .art-label { width: 151px; min-height: 60px; padding: 11px; gap: 8px; }
  .c-home-hero .art-label strong { font-size: 10px; }
  .c-home-hero .art-label small { font-size: 6px; }
  .c-home-hero .art-label > .c-icon { width: 21px; height: 21px; }
  .c-home-hero .art-models { top: 35px; }
  .c-home-hero .art-knowledge { left: -2px; top: 196px; }
  .c-home-hero .art-apps { width: 158px; bottom: 24px; }
  .c-home-hero .art-orbit { inset: 90px -15px; }
  .c-home-hero .art-orbit.o2 { inset: 35px 5px 25px 45px; }
  .c-home-hero .art-footer-label { left: 2px; font-size: 6px; }
}

@media (min-width: 768px) and (max-height: 700px) {
  .c-home-hero .c-hero-grid { min-height: 560px; }
  .c-home-hero .c-hero-copy { padding: 25px 0; }
  .c-home-hero .c-hero-copy h1 { font-size: 48px; margin: 23px 0 20px; }
  .c-home-hero .c-hero-pages { margin-top: 25px; }
  .c-home-hero .ai-cloud-art { height: 460px; }
}

@media (max-width: 767px) {
  .c-home-hero .c-hero-grid { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .c-home-hero .c-hero-copy { padding: 34px 0 0; }
  .c-home-hero .c-hero-copy h1 { font-size: clamp(34px, 10vw, 42px); line-height: 1.23; letter-spacing: -1.3px; margin: 25px 0 20px; }
  .c-home-hero .c-hero-copy > p { font-size: 13px; line-height: 1.95; min-height: 51px; }
  .c-home-hero .c-hero-buttons { margin: 24px 0 18px; gap: 10px; }
  .c-home-hero .c-hero-buttons .c-button { min-height: 44px; padding: 10px 15px; font-size: 12px; }
  .c-home-hero .c-trust { font-size: 9px; gap: 9px; }
  .c-home-hero .c-hero-pages { margin-top: 22px; }
  .c-home-hero .ai-cloud-art { width: 360px; max-width: 100%; height: 292px; margin: 0 auto 16px; }
  .c-home-hero .cloud-stack { width: 228px; height: 228px; left: calc(50% - 101px); top: 45px; }
  .c-home-hero .cloud-plate { border-radius: 19px; }
  .c-home-hero .cloud-plate.bottom { transform: translateZ(-38px); }
  .c-home-hero .cloud-plate.middle { transform: translateZ(-19px); }
  .c-home-hero .ai-chip { inset: 51px; }
  .c-home-hero .ai-chip b { font-size: 40px; }
  .c-home-hero .ai-chip span { font-size: 7px; }
  .c-home-hero .art-label { width: 139px; min-height: 54px; padding: 10px; gap: 8px; }
  .c-home-hero .art-label strong { font-size: 10px; }
  .c-home-hero .art-label small { font-size: 6px; }
  .c-home-hero .art-label > .c-icon { width: 20px; height: 20px; }
  .c-home-hero .art-models { top: 5px; right: 0; }
  .c-home-hero .art-knowledge { top: 126px; left: 0; }
  .c-home-hero .art-apps { bottom: 15px; right: 0; width: 146px; }
  .c-home-hero .art-orbit { inset: 42px -2px; }
  .c-home-hero .art-orbit.o2 { inset: 10px 15px 21px 70px; }
  .c-home-hero .art-footer-label { bottom: -4px; left: 5px; font-size: 6px; }
  .c-home-hero .art-float.f1 { top: 60px; left: 51px; width: 9px; height: 9px; }
  .c-home-hero .art-float.f2 { right: 7px; bottom: 101px; width: 9px; height: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .c-home-hero *, .c-home-hero *::before, .c-home-hero *::after {
    animation: none !important;
    transition: none !important;
  }
  .c-home-hero .cloud-stack { transform: rotateX(56deg) rotateZ(-43deg); }
  .c-home-hero .cloud-plate.top::after { opacity: 0; }
}
