/* Agentic AI hero (scoped to .ai-hero) */
.ai-hero {
  --lime: #c4f84a;
  --muted: #c9d1de;
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
  padding: 180px 0 56px;
}
.ai-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  padding: 0 24px;
}
.ai-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.ai-hero__grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: linear-gradient(rgba(120, 160, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 160, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 80%);
}
.ai-hero__stars i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px 2px rgba(196, 248, 74, 0.7);
  opacity: 0;
  animation: ai-twinkle 4s ease-in-out infinite;
}
.ai-hero__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  width: 100%;
  opacity: 0.45;
}
@keyframes ai-twinkle {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 0.9;
    transform: translateY(-12px);
  }
}

/* Layout: content | robot | form */
.ai-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.95fr;
  gap: 24px;
  align-items: center;
}
.ai-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ai-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  width: auto;
  margin: 0 !important;
}
.ai-hero h1 span {
  display: block;
  background: linear-gradient(90deg, #c4f84a, #7cf06b, #c4f84a);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ai-shine 6s linear infinite;
}
@keyframes ai-shine {
  to {
    background-position: 200% center;
  }
}
.ai-hero__sub {
  margin: 22px 0 0;
  max-width: 480px;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--muted);
}
.ai-hero__sub b {
  color: #fff;
}
.ai-hero__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.ai-hero__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  transition: transform 0.2s;
}
.ai-hero__list li:hover {
  transform: translateX(6px);
}
.ai-hero__chk {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  flex: none;
}
.ai-hero__chk svg {
  width: 13px;
  height: 13px;
  stroke: #0a0f05;
  stroke-width: 3;
  fill: none;
}

/* Robot stage */
.ai-hero__stage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.ai-hero__rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ai-hero__robot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46%;
  filter: drop-shadow(0 0 28px rgba(196, 248, 74, 0.25));
  transform: translate(-50%, -52%);
  animation: ai-float 5s ease-in-out infinite;
}
@keyframes ai-float {
  0%,
  100% {
    transform: translate(-50%, -52%);
  }
  50% {
    transform: translate(-50%, -56%);
  }
}
.ai-hero__platform {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 92%;
  height: 22%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(40, 120, 255, 0.75), rgba(40, 120, 255, 0.15) 55%, transparent 72%);
  filter: blur(2px);
}
.ai-hero__eye {
  filter: drop-shadow(0 0 6px #c4f84a);
}
.ai-hero__antenna {
  animation: ai-blink 1.6s ease-in-out infinite;
}
@keyframes ai-blink {
  50% {
    opacity: 0.25;
  }
}
.ai-hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 40, 90, 0.7);
  border: 1px solid rgba(110, 150, 255, 0.45);
  border-radius: 14px;
  padding: 10px 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  animation: ai-bob 4.5s ease-in-out infinite;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.ai-hero__card:hover {
  border-color: var(--lime);
  background: rgba(30, 55, 120, 0.85);
}
.ai-hero__card i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(196, 248, 74, 0.15);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 15px;
  flex: none;
}
.ai-hero__card--1 {
  left: 0;
  top: 10%;
}
.ai-hero__card--2 {
  right: 0;
  top: 6%;
  animation-delay: 0.6s;
}
.ai-hero__card--3 {
  left: -3%;
  top: 46%;
  animation-delay: 1.2s;
}
.ai-hero__card--4 {
  right: -2%;
  top: 42%;
  animation-delay: 1.8s;
}
.ai-hero__card--5 {
  right: 2%;
  bottom: 20%;
  animation-delay: 2.4s;
}
@keyframes ai-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Form (reuses the existing requirement form markup) */
.ai-hero .banner__second-section {
  position: relative;
  width: auto;
  margin: 0;
  padding: 30px 28px;
  border-radius: 28px;
  color: #111827;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.ai-hero .banner__second-section::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(196, 248, 74, 0.9), rgba(47, 123, 255, 0.7), rgba(196, 248, 74, 0.2));
  filter: blur(14px);
  opacity: 0.45;
}
.ai-hero .post-requirement {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}
.ai-hero__hint {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 18px;
}
.ai-hero .banner__form-actions {
  flex-direction: column;
}
.ai-hero .banner__demo-btn,
.ai-hero .banner__callback-btn {
  flex: none;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
}
.ai-hero .banner__demo-btn {
  background: var(--lime);
  box-shadow: 0 8px 20px rgba(196, 248, 74, 0.35);
}

/* Proof strip */
.ai-hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
  margin-top: 44px;
  padding: 20px 28px;
  border-radius: 20px;
  background: rgba(20, 24, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.ai-hero__stat strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--lime);
  line-height: 1.1;
}
.ai-hero__stat span {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ai-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.ai-hero__badges em {
  font-family: 'Raleway', sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 248, 74, 0.4);
  color: #e8ffb0;
  background: rgba(196, 248, 74, 0.07);
}

/* Entrance */
.ai-hero__rise {
  opacity: 0;
  transform: translateY(24px);
  animation: ai-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.ai-hero__rise--1 {
  animation-delay: 0.05s;
}
.ai-hero__rise--2 {
  animation-delay: 0.2s;
}
.ai-hero__rise--3 {
  animation-delay: 0.35s;
}
@keyframes ai-rise {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-hero * {
    animation: none !important;
  }
  .ai-hero__rise {
    opacity: 1;
    transform: none;
  }
}

/* Trusted-by strip keeps its existing marquee; just neutralise old banner offsets */
.ai-hero .banner__third-section {
  margin: 0;
  padding: 80px 0 120px;
}

@media (max-width: 1100px) {
  .ai-hero__grid {
    grid-template-columns: 1fr 1fr;
  }
  .ai-hero__stage {
    grid-column: 1 / -1;
    order: 3;
    max-width: 420px;
  }
}
@media (max-width: 768px) {
  .ai-hero {
    padding: 142px 0 32px;
  }
  .ai-hero .container {
    padding: 0 16px;
  }
  .ai-hero__grid {
    grid-template-columns: 1fr;
  }
  .ai-hero__stage {
    order: 2;
  }
  .ai-hero__form {
    order: 3;
  }
  .ai-hero__sub {
    font-size: 15px;
  }
  .ai-hero__list li {
    font-size: 15px;
  }
  .ai-hero__card {
    font-size: 11px;
    padding: 8px 10px;
  }
  .ai-hero__badges {
    margin-left: 0;
  }
  .ai-hero .banner__third-section {
    padding: 52px 0 0;
  }
  .ai-hero__proof {
    padding: 16px;
    margin-top: 32px;
  }
  .ai-hero .banner__second-section {
    padding: 20px 16px;
  }
}
