/* Scoped to this hero only — mirrors your existing hero style, no globals */
#aiwens-hero-automation {
  /* tweak text colors via local vars if needed */
  --aiwens-hero-subtext: #334155;
  --aiwens-btn-bg: #0f172a;
  --aiwens-btn-text: #ffffff;
  --aiwens-btn-bg-hover: #1e293b;

  background: transparent;
  padding: 3rem 1.25rem;
  position: relative;
  overflow: hidden; /* contain rotating icons */
}

/* Main container */
#aiwens-hero-automation .aiwens-hero__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 3rem;
  background: linear-gradient(180deg, #bae6fd 0%, #ffffff 100%);
  border-radius: 1.75rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
}

/* Copy */
#aiwens-hero-automation .aiwens-hero__copy {
  max-width: 680px;
  margin: 0 auto;
}
#aiwens-hero-automation .aiwens-hero__title {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
#aiwens-hero-automation .aiwens-hero__sub {
  font-size: 1.125rem;
  color: var(--aiwens-hero-subtext);
  margin-bottom: 1.25rem;
}

/* CTAs */
#aiwens-hero-automation .aiwens-hero__cta {
  margin-bottom: 1rem;
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#aiwens-hero-automation .aiwens-hero__btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 999px; /* pill shape */
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.3s ease, color 0.3s ease;
  will-change: transform;
  animation: bounceLoop 2.6s ease-in-out infinite;
}

/* Our Services button (primary) */
#aiwens-hero-automation .aiwens-hero__btn--services {
  background: #ea580c; /* orange */
  color: #ffffff;
}
#aiwens-hero-automation .aiwens-hero__btn--services:hover,
#aiwens-hero-automation .aiwens-hero__btn--services:focus {
  background: #2563eb; /* blue */
  color: #ffffff;
}

/* See Pricing button (secondary) */
#aiwens-hero-automation .aiwens-hero__btn--pricing {
  background: #bbf7d0; /* light green */
  color: #111827;     /* near black */
}
#aiwens-hero-automation .aiwens-hero__btn--pricing:hover,
#aiwens-hero-automation .aiwens-hero__btn--pricing:focus {
  background: #2563eb; /* blue */
  color: #ffffff;
}

/* Bounce animation */
@keyframes bounceLoop {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
  60% { transform: translateY(-2px); }
}

/* Stagger so they don’t bounce together */
#aiwens-hero-automation .aiwens-hero__btn--pricing {
  animation-delay: 1.3s;
}


/* Trust chips (optional) */
#aiwens-hero-automation .aiwens-hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  list-style: none;
  padding: 0;
}
#aiwens-hero-automation .aiwens-hero__chip {
  background: #ffffff;
  border: 1px solid #7dd3fc;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: #075985;
  font-weight: 500;
}

/* Sticky CTA for mobile */
#aiwens-hero-automation .aiwens-hero__sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffffcc;
  backdrop-filter: blur(8px);
  border-top: 1px solid #e2e8f0;
  padding: 0.65rem 1.25rem;
  text-align: center;
  z-index: 100;
}
#aiwens-hero-automation .aiwens-hero__btn--sticky {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

/* Rotating corner icons */
#aiwens-hero-automation .aiwens-hero__icon {
  position: absolute;
  width: 80px;
  height: 80px;
  opacity: 0.15;
  animation: spinSlow 25s linear infinite;
  pointer-events: none;
}
#aiwens-hero-automation .aiwens-hero__icon--tl {
  top: 20px;
  left: 20px;
  animation-direction: reverse; /* website icon spins opposite */
}
#aiwens-hero-automation .aiwens-hero__icon--br {
  bottom: 20px;
  right: 20px;
}

/* slow continuous rotation */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Responsive refinements */
@media (min-width: 768px) {
  #aiwens-hero-automation .aiwens-hero__title { font-size: 2.25rem; }
  #aiwens-hero-automation .aiwens-hero__sub { font-size: 1.2rem; }
  #aiwens-hero-automation .aiwens-hero__sticky-cta { display: none !important; }
}
@media (max-width: 767px) {
  #aiwens-hero-automation .aiwens-hero__sticky-cta { display: block; }
}
@media (max-width: 480px){
  #aiwens-hero-automation .aiwens-hero__cta { gap: 18px; }
}


/* SECTION 2 — Services Overview (scoped, no globals) */
#aiwens-services-overview {
  background: #ffffff;
  padding: 3rem 1.25rem;
  position: relative;
}

#aiwens-services-overview .services__container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center; /* center title + intro */
}

#aiwens-services-overview .services__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px; /* just below the text */
  width: 100%;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    #ffffff,
    #f97316,  /* orange */
    #2563eb,  /* blue */
    #10b981,  /* green */
    #ffffff
  );
  background-size: 300% 100%;
  animation: underlineFlow 4s linear infinite;
}

/* Keyframes for animated underline */
@keyframes underlineFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#aiwens-services-overview .services__title {
  position: relative;
  display: inline-block; /* shrink underline to text width */
  margin: 0 0 0.75rem 0;
  font-size: clamp(1.5rem, 1.6vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
}

#aiwens-services-overview .services__intro {
  margin: 0 auto 1.75rem;
  max-width: 60ch;
  color: #475569;
}

#aiwens-services-overview .services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  #aiwens-services-overview .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
}
@media (min-width: 980px) {
  #aiwens-services-overview .services__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
  }
}

/* Card */
#aiwens-services-overview .service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.2s ease;
  overflow: hidden;
  text-align: center; /* center everything inside */
}

#aiwens-services-overview .service-card:hover,
#aiwens-services-overview .service-card:focus-within {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
}

/* Icon */
#aiwens-services-overview .service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  margin: 0 auto 0.8rem;
}

/* Text */
#aiwens-services-overview .service-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
}

#aiwens-services-overview .service-card__text {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 0.95rem;
}

/* Link (orange) */
#aiwens-services-overview .service-card__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  color: #ea580c; /* orange */
  transition: color 0.2s ease;
}

#aiwens-services-overview .service-card__link::after {
  content: "→";
  margin-left: 0.25rem;
  transform: translateX(0);
  transition: transform 0.2s ease;
}

#aiwens-services-overview .service-card__link:hover,
#aiwens-services-overview .service-card__link:focus {
  color: #c2410c; /* darker orange on hover */
}

#aiwens-services-overview .service-card__link:hover::after,
#aiwens-services-overview .service-card__link:focus::after {
  transform: translateX(4px);
}

/* Make entire card accessible */
#aiwens-services-overview .service-card:focus-within {
  outline: 3px solid transparent;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.25); /* orange focus ring */
}
#aiwens-services-overview {
  background: #ffffff;
  padding: 2rem 1.25rem 3rem; /* reduced top padding from 3rem → 2rem */
  position: relative;
}

/* ================= Pricing Teaser Section ================= */

#pricing-teaser {
  padding: 2.5rem 1rem; /* reduced padding so it's closer */
  background: #f9fafb; /* soft neutral background */
  text-align: center;
  font-family: 'Inter', sans-serif;
  margin-top: -1rem; /* pulls section a little closer to previous */
}

.pricing-teaser__container {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-teaser__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a8a; /* deep blue */
  margin-bottom: 0.75rem;
}

.pricing-teaser__sub {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 2.5rem; /* increase this value for more gap */
}

.pricing-teaser__grid {
  margin-top: 1rem; /* extra buffer above the cards */
}



/* Grid for cards */
.pricing-teaser__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Card styling */
.pricing-teaser__card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-teaser__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.pricing-teaser__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pricing-teaser__card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827; /* almost black */
  margin-bottom: 0.5rem;
}

.pricing-teaser__text {
  font-size: 0.95rem;
  color: #4b5563; /* muted gray */
  margin-bottom: 1rem;
  line-height: 1.5;
}

.pricing-teaser__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563eb; /* bright blue highlight */
}

/* CTA */
.pricing-teaser__cta {
  margin-top: 1rem;
}

.pricing-teaser__cta-text {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #374151;
}

.pricing-teaser__btn {
  display: inline-block;
  background: #1e3a8a;
  color: #ffffff;
  padding: 0.75rem 1.8rem;
  font-weight: 600;
  border-radius: 9999px; /* pill shape */
  text-decoration: none;
  transition: background 0.3s ease;
  animation: pricingTeaserBounce 3s infinite ease-in-out; /* slow bounce loop */
}

.pricing-teaser__btn:hover {
  background: #f97316; /* orange on hover */
  color: #ffffff; /* text stays white */
}

/* Keyframes for slow bounce */
@keyframes pricingTeaserBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Responsive spacing */
@media (max-width: 640px) {
  #pricing-teaser {
    padding: 2rem 1rem;
  }

  .pricing-teaser__title {
    font-size: 1.5rem;
  }
}
