/* 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;
}
/* ===== AI Automation Packages (Scoped: aiwens-automation-*) ===== */
#aiwens-automation-plans {
  padding: 28px 20px 72px;
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
  font-family: 'Inter', system-ui, sans-serif;

  --auto-blue: #3b82f6;
  --auto-blue-dark: #2563eb;
  --auto-green: #22c55e;
  --auto-orange: #ff6a00;
  --auto-ink: #0f172a;
  --auto-ink-soft: #374151;
  --auto-chip: #f3f6fb;
  --auto-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
}

.aiwens-automation__container { max-width: 1200px; margin: 0 auto; }

.aiwens-automation__header { text-align: center; margin-bottom: 28px; }

.aiwens-automation__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--auto-ink);
  display: inline-block;
  position: relative;
}
.aiwens-automation__title::after {
  content: "";
  display: block;
  height: 4px;
  margin: 10px auto 0;
  width: 260px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffffff, #1e90ff, #ff6a00, #22c55e, #ffffff);
  background-size: 300% 100%;
  animation: aiwensAutomationLine 6s linear infinite;
}
@keyframes aiwensAutomationLine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.aiwens-automation__subtitle {
  font-size: 1rem;
  color: var(--auto-ink-soft);
  margin-top: 8px;
}

.aiwens-automation__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .aiwens-automation__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .aiwens-automation__grid { grid-template-columns: repeat(4, 1fr); }
}

/* card base */
.aiwens-automation__card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: var(--auto-shadow);
  padding: 20px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.aiwens-automation__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
  border-color: rgba(37, 99, 235, 0.3);
}

/* featured card */
.aiwens-automation__card--featured {
  border: 2px solid var(--auto-blue-dark);
}
.aiwens-automation__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--auto-blue), var(--auto-orange));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* plan headings */
.aiwens-automation__plan-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-align: center;
  color: var(--auto-ink);
}

.aiwens-automation__price {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--auto-blue-dark);
  margin-bottom: 8px;
}
.aiwens-automation__price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
}

.aiwens-automation__blurb {
  text-align: center;
  color: var(--auto-ink-soft);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* subhead */
.aiwens-automation__subhead {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--auto-blue-dark);
  margin: 12px 0 6px;
  text-align: center;
}

/* feature lists */
.aiwens-automation__features {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  gap: 6px;
}
.aiwens-automation__features li {
  background: var(--auto-chip);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.aiwens-automation__features.includes li::before {
  content: "✔ ";
  color: var(--auto-green);
  font-weight: 700;
}
.aiwens-automation__features.excludes li::before {
  content: "✘ ";
  color: #ef4444;
  font-weight: 700;
}

/* note / setup fee */
.aiwens-automation__note {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

/* add-ons */
.aiwens-automation__addons {
  margin-top: 36px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.aiwens-automation__addons-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
  color: var(--auto-ink);
}
.aiwens-automation__addons-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  text-align: center;
}
.aiwens-automation__addons-list li {
  font-size: 0.95rem;
  background: var(--auto-chip);
  border-radius: 10px;
  padding: 10px;
}
/* smaller single-column cards for Add-ons and Custom */
.aiwens-automation__card--extra {
  max-width: 900px;
  margin: 28px auto 0;
  text-align: center;
}

.aiwens-automation__addons-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.aiwens-automation__addons-list li {
  font-size: 0.95rem;
  background: var(--auto-chip);
  border-radius: 10px;
  padding: 10px;
}
.aiwens-automation__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-content: center;   /* center on wider screens */
}

@media (min-width: 768px) {
  .aiwens-automation__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;   /* keeps 2 cols nicely centered */
    margin: 0 auto;
  }
}

@media (min-width: 1200px) {
  .aiwens-automation__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1080px;   /* keeps 3 cols centered */
    margin: 0 auto;
  }
}
/* smaller single-column cards for Add-ons and Custom */
.aiwens-automation__card--extra {
  max-width: 680px;   /* was full width, now neat */
  margin: 28px auto 0;
  text-align: center;
  padding: 24px 20px; /* a bit more breathing space inside */
}
/* Center the 3 main cards on wider screens */
.aiwens-automation__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-content: center; /* center when not full width */
}

@media (min-width: 768px) {
  .aiwens-automation__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;      /* keeps two columns centered */
    margin: 0 auto;
  }
}
@media (min-width: 1200px) {
  .aiwens-automation__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1080px;     /* centers three columns */
    margin: 0 auto;
  }
}

/* Extras row (Add-ons + Custom) */
.aiwens-automation__extras {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 28px;
}
@media (min-width: 992px) {
  .aiwens-automation__extras {
    grid-template-columns: repeat(2, 1fr);  /* 2 cards side by side */
    max-width: 1080px;
    margin: 28px auto 0;                    /* centered row */
  }
}

/* Make the extras look like neat, smaller boxes */
.aiwens-automation__card--extra {
  text-align: center;
  padding: 22px 18px;
}

/* Optional: slightly lighter border for extras to feel “supporting” */
.aiwens-automation__card--extra {
  border-color: rgba(0,0,0,0.08);
}

/* Add-ons list style (kept tidy) */
.aiwens-automation__addons-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  text-align: center;
}
.aiwens-automation__addons-list li {
  font-size: 0.95rem;
  background: var(--auto-chip);
  border-radius: 10px;
  padding: 10px;
}
.includes-label {
  color: #16a34a; /* green */
}
.excludes-label {
  color: #dc2626; /* red */
}



/* ===== Section 3 CTA: Fix & Upgrade (Scoped: aiwens-fixhelp-*) ===== */
#aiwens-fix-help-cta {
  padding: 24px 20px 56px; /* tighter spacing */
  background: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* local tokens */
  --fixhelp-green: #22c55e;
  --fixhelp-orange: #ff6a00;
  --fixhelp-ink: #0f172a;
  --fixhelp-ink-soft: #334155;
  --fixhelp-card: #f7fbf9;
  --fixhelp-border: rgba(30, 64, 175, 0.25);
}

.aiwens-fixhelp__container {
  max-width: 1100px;
  margin: 0 auto;
}

.aiwens-fixhelp__card {
  background: linear-gradient(180deg, #f8fbff 0%, var(--fixhelp-card) 100%);
  border-radius: 28px;
  border: 1px solid var(--fixhelp-border);
  box-shadow:
    0 12px 40px rgba(2, 8, 23, 0.06),
    0 1px 0 rgba(2, 8, 23, 0.02) inset;
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* animated gradient border */
.aiwens-fixhelp__card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(90deg, #ffffff, #1e90ff, #ff6a00, #22c55e, #ffffff);
  background-size: 300% 100%;
  animation: aiwensFixHelpBorder 8s linear infinite;
  z-index: -1;
}
@keyframes aiwensFixHelpBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.aiwens-fixhelp__title {
  font-size: 1.8rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--fixhelp-ink);
  margin: 0 0 12px 0;
}

.aiwens-fixhelp__sub {
  max-width: 760px;
  margin: 0 auto 24px;
  color: var(--fixhelp-ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* CTA button */
.aiwens-fixhelp__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--fixhelp-green);
  color: #0b0b0b;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  box-shadow:
    0 12px 28px rgba(34, 197, 94, 0.25),
    0 2px 0 rgba(0, 0, 0, 0.05) inset;
  transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
  animation: aiwensFixHelpBounce 2.8s ease-in-out infinite;
}

.aiwens-fixhelp__cta:hover,
.aiwens-fixhelp__cta:focus-visible {
  background: var(--fixhelp-orange);
  color: #ffffff;
  box-shadow:
    0 16px 36px rgba(255, 106, 0, 0.35),
    0 2px 0 rgba(255,255,255,0.15) inset;
  transform: translateY(-2px);
  outline: none;
}

.aiwens-fixhelp__cta-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* slow bounce animation */
@keyframes aiwensFixHelpBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* responsive tweaks */
@media (min-width: 768px) {
  .aiwens-fixhelp__card { padding: 56px 28px; }
  .aiwens-fixhelp__title { font-size: 2rem; }
}
/* Section 2 (Fix & Upgrade Plans) spacing */
#aiwens-fix-plans {
  padding: 16px 20px 40px;  /* was 28px 20px 72px */
}

/* Section 3 (Fix & Upgrade CTA) spacing */
#aiwens-fix-help-cta {
  padding: 12px 16px 36px;  /* was 24px 20px 56px */
}
