/* 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;
}

/*===============================================================
SECTION 2 Start
=================================================*/
/* ===== Automation Packages (Scoped: aiwens-automation-*) ===== */
#aiwens-automation-plans {
  padding: 28px 20px 60px;
  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.1);
}

.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: 300px;
  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__selector { margin-top: 16px; }
.aiwens-automation__selector label {
  font-weight: 600;
  margin-right: 8px;
}
.aiwens-automation__selector select {
  padding: 8px 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
}

/* grid */
.aiwens-automation__grid {
  display: none; /* hidden until active */
  grid-template-columns: 1fr;
  gap: 24px;
  justify-content: center;
}
.aiwens-automation__grid.active { display: grid; }

@media (min-width: 768px) {
  .aiwens-automation__grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
}
@media (min-width: 1200px) {
  .aiwens-automation__grid { grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin: 0 auto; }
}

/* cards */
.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, border-color .25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.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);
  white-space: nowrap;
}

/* plan text */
.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;
}

/* features */
.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;
  color: var(--auto-ink);
  position: relative;
}

.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;
}

/* Highlight "Everything in ..." lines */
.aiwens-automation__features li.everything {
  color: var(--auto-orange);
  font-weight: 700;
}
.aiwens-automation__features li.everything::before {
  content: "+ ";
  color: var(--auto-orange);
  font-weight: 900;
}

/* footnotes and notes */
.aiwens-automation__note {
  margin-top: auto; /* push to bottom of card */
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

.aiwens-automation__footnote {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #6b7280;
  font-style: italic;
  text-align: center;
}


/*===============================================================
SECTION 2 end
=================================================*/



/* ===== 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 */
}
