.home-main {
  overflow: hidden;
}

.hero {
  position: relative;
  z-index: 0;
  overflow: visible;
}

.hero + .section,
.hero ~ .section,
.hero ~ .logo-cloud {
  position: relative;
  z-index: 1;
}

.site-header .site-header__inner {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.section-intro h2,
.cta-copy h2 {
  font-size: 40px;
  line-height: 56px;
}

.section--use-cases,
.logo-cloud,
.section--testimonials,
.section--cta {
  padding-top: 120px;
}

.section--cta .cta-panel {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 80px;
}

.section--cta .cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(59, 130, 246, 0.2), transparent 34%),
    linear-gradient(245deg, rgba(124, 58, 237, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(6, 182, 212, 0.14), transparent 58%);
  opacity: 0.72;
  pointer-events: none;
}

.section--cta .cta-panel::after {
  content: none;
}

.section--cta .cta-copy,
.section--cta .cta-actions {
  position: relative;
  z-index: 2;
}

.pixel-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}

.cta-shape-grid {
  display: block;
  position: absolute;
  z-index: 1;
  width: 1240px;
  min-width: 1240px;
  max-width: 1240px;
  height: 1080px;
  min-height: 1080px;
  max-height: 1080px;
  left: 50%;
  top: 50%;
  opacity: 1;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
}

.section--cta .cta-copy,
.section--cta .cta-actions {
  z-index: 2;
}

[data-float-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--hover-lift, 0px), 0) translateY(56px);
  will-change: opacity, transform;
}

[data-float-reveal].is-visible {
  animation: floatRevealUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--float-delay, 0ms);
}

.hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: min(82vw, 1080px);
  aspect-ratio: 1;
  left: 50%;
  top: 62%;
  border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%;
  background:
    radial-gradient(circle at 18% 26%, rgba(105, 227, 255, 0.86), transparent 30%),
    radial-gradient(circle at 78% 52%, rgba(23, 104, 255, 0.7), transparent 40%),
    radial-gradient(circle at 42% 84%, rgba(10, 99, 230, 0.56), transparent 42%);
  filter: blur(46px);
  opacity: 0.56;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  animation: homeHeroFluid 6.5s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: min(56vw, 700px);
  aspect-ratio: 1.15;
  left: 58%;
  top: 58%;
  border-radius: 62% 38% 48% 52% / 42% 58% 40% 60%;
  background:
    radial-gradient(circle at 24% 62%, rgba(45, 220, 255, 0.52), transparent 34%),
    radial-gradient(circle at 74% 34%, rgba(45, 90, 255, 0.5), transparent 42%);
  filter: blur(34px);
  opacity: 0.42;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(8deg);
  animation: homeHeroFluidAccent 5.2s ease-in-out infinite alternate;
}

.hero .hero-shell {
  z-index: 1;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  animation: none;
}

.hero .hero-copy {
  z-index: 1;
}

.hero .hero-shell::before,
.hero .hero-shell::after {
  display: none;
}

.hero .hero-copy__meta {
  padding: 4px 16px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.hero .hero-copy h1 {
  letter-spacing: 0.12em !important;
  line-height: 1.16;
}

.hero .hero-copy h1 span + span {
  margin-top: 10px;
}

@keyframes homeHeroFluid {
  0% {
    border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%;
    transform: translate(-56%, -52%) scale(0.92) rotate(0deg);
  }

  45% {
    border-radius: 58% 42% 44% 56% / 42% 56% 44% 58%;
    transform: translate(-44%, -56%) scale(1.1) rotate(24deg);
  }

  100% {
    border-radius: 42% 58% 52% 48% / 56% 46% 54% 44%;
    transform: translate(-51%, -43%) scale(1.18) rotate(-18deg);
  }
}

@keyframes homeHeroFluidAccent {
  0% {
    border-radius: 62% 38% 48% 52% / 42% 58% 40% 60%;
    transform: translate(-58%, -48%) scale(0.94) rotate(8deg);
  }

  50% {
    border-radius: 38% 62% 58% 42% / 60% 38% 62% 40%;
    transform: translate(-45%, -56%) scale(1.12) rotate(-22deg);
  }

  100% {
    border-radius: 54% 46% 36% 64% / 44% 62% 38% 56%;
    transform: translate(-52%, -42%) scale(1.02) rotate(18deg);
  }
}

@keyframes floatRevealUp {
  from {
    opacity: 0;
    transform: translate3d(0, var(--hover-lift, 0px), 0) translateY(56px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, var(--hover-lift, 0px), 0) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .section--cta .cta-panel::after {
    animation: none;
  }

  [data-float-reveal] {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.review-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 24, 44, 0.06);
}

.review-card img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.review-card strong {
  display: block;
  font-size: 16px;
}

.review-card span {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.use-case-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.section--use-cases .section-shell--scenes {
  padding: 0;
  border-radius: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.use-cases-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-content: start;
  gap: 12px;
  margin-bottom: 28px;
}

.use-cases-intro > div {
  display: grid;
  gap: 12px;
}

.use-cases-intro h2 {
  max-width: none;
  white-space: nowrap;
}

.use-cases-intro p {
  max-width: 1240px;
  font-size: 17px;
  transform: none;
}

.logo-cloud__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-content: start;
  gap: 12px;
}

.logo-cloud__intro > div {
  display: grid;
  gap: 12px;
}

.logo-cloud__intro h2 {
  max-width: none;
  white-space: nowrap;
}

.logo-cloud__intro p {
  max-width: 1240px;
  transform: none;
}

.testimonials-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-content: start;
  gap: 12px;
}

.testimonials-intro > div {
  display: grid;
  gap: 12px;
}

.testimonials-intro h2 {
  max-width: none;
  white-space: nowrap;
}

.testimonials-intro p {
  max-width: 1240px;
  transform: none;
}

.use-case-card,
.testimonial-card {
  --hover-lift: 0px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 24, 44, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.use-case-card:hover,
.testimonial-card:hover {
  box-shadow: 0 24px 48px rgba(14, 37, 69, 0.14);
  border-color: rgba(10, 99, 230, 0.14);
}

.use-case-card,
.testimonial-card {
  padding: 24px;
}

.use-case-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.use-case-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 24px;
  color: inherit;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(56, 142, 255, 0.22);
  background:
    radial-gradient(circle at top left, rgba(23, 104, 255, 0.035), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.96));
  border-color: rgba(17, 31, 48, 0.08);
  box-shadow: 0 18px 38px rgba(17, 31, 48, 0.07);
}

.use-case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      circle 190px at var(--mouse-x) var(--mouse-y),
      var(--spotlight-color),
      rgba(56, 142, 255, 0) 68%
    );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.use-case-card:hover::before {
  opacity: 1;
}

.use-case-card > * {
  position: relative;
  z-index: 1;
}

.use-case-card:focus-visible {
  outline: 2px solid rgba(10, 99, 230, 0.45);
  outline-offset: 3px;
}

.use-case-card__topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.use-case-card__index {
  color: rgba(16, 35, 62, 0.34);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.use-case-card__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
  filter: drop-shadow(0 7px 8px rgba(10, 99, 230, 0.66));
}

.use-case-card h3 {
  margin: 0;
  color: #0f2340;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0;
  font-weight: 600;
}

.use-case-card p {
  margin: 0;
  color: #50627c;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 20px;
}

.section--testimonials .section-shell--testimonials {
  padding: 42px 0 0;
  overflow: hidden;
  border-radius: 38px;
  border-color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 8% 0%, rgba(10, 99, 230, 0.08), transparent 24%),
    radial-gradient(circle at 94% 80%, rgba(105, 227, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 250, 255, 0.92));
  box-shadow: 0 24px 60px rgba(18, 40, 70, 0.08);
}

.testimonials-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-content: start;
  gap: 12px;
  margin: 0 42px 28px;
}

.testimonials-intro h2 {
  max-width: none;
  white-space: nowrap;
}

.testimonials-intro p {
  max-width: 1240px;
  font-size: 17px;
  transform: none;
}

.testimonial-marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0 43px;
}

.testimonial-marquee::before,
.testimonial-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 120px;
  pointer-events: none;
}

.testimonial-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(247, 251, 255, 0.96), transparent);
}

.testimonial-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(247, 251, 255, 0.96), transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  animation: testimonialScroll 44s linear infinite;
}

.testimonial-loop {
  display: flex;
  gap: 18px;
  padding: 0 9px;
  flex: 0 0 auto;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  flex: 0 0 360px;
  min-height: 280px;
  padding: 26px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(23, 104, 255, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.96));
  border-color: rgba(17, 31, 48, 0.08);
  box-shadow: 0 18px 38px rgba(17, 31, 48, 0.07);
}

.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.testimonial-card__avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #1768ff, #0f48c7 70%, #10233e);
  box-shadow: 0 12px 24px rgba(23, 104, 255, 0.16);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.testimonial-card strong {
  color: #0f2340;
  font-size: 20px;
  line-height: 1.2;
}

.testimonial-card p {
  margin: 0;
  color: #50627c;
  font-size: 16px;
  line-height: 1.8;
}

@keyframes testimonialScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1200px) {
  .use-case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .use-cases-intro,
  .testimonials-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .use-cases-intro h2,
  .use-cases-intro p,
  .testimonials-intro h2,
  .testimonials-intro p {
    max-width: none;
  }

  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero::before,
  .hero::after {
    display: none;
  }

  .hero .hero-shell {
    overflow: visible;
    border: 0;
  }

  .section--use-cases,
  .logo-cloud,
  .section--testimonials,
  .section--cta {
    padding-top: 64px;
  }

  .hero .hero-copy h1 {
    font-size: 48px;
  }

  .hero .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
  }

  .hero .hero-cta {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 56px;
    padding: 0 16px 0 18px;
  }

  .home-main .section-intro h2,
  .home-main .cta-copy h2 {
    font-size: 32px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .section--use-cases .section-shell--scenes,
  .section--testimonials .section-shell--testimonials {
    border-radius: 28px;
  }

  .section--use-cases .section-shell--scenes {
    padding: 0;
  }

  .section--testimonials .section-shell--testimonials {
    padding: 22px;
  }

  .testimonials-intro {
    margin: 0 0 22px;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .use-case-card {
    padding: 24px;
  }

  .testimonial-marquee {
    margin: 0;
  }

  .testimonial-marquee::before,
  .testimonial-marquee::after {
    width: 42px;
  }

  .testimonial-track {
    gap: 14px;
    padding: 0 14px;
    animation-duration: 52s;
  }

  .testimonial-card {
    flex-basis: min(82vw, 330px);
    min-height: 300px;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
  }
}
