/* 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;
}

/* ===== SEO Pricing Section (Scoped: aiwens-seo-*) ===== */
#aiwens-seo-plans {
  padding: 28px 20px 64px; /* nicely tight under hero */
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --seo-blue: #3b82f6;      /* Tailwind-ish Blue 500 */
  --seo-deep-blue: #2563eb; /* Blue 600 */
  --seo-green: #22c55e;     /* Green 500 */
  --seo-orange: #ff6a00;    /* Brand accent */
  --seo-neutral-900: #0f172a;
  --seo-neutral-700: #374151;
  --seo-card-bg: #ffffff;
  --seo-chip: #f3f6fb;
  --seo-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

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

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

.aiwens-seo__title {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--seo-neutral-900);
  display: inline-block;
  position: relative;
}

/* animated underline in white/blue/orange/green */
.aiwens-seo__title::after {
  content: "";
  display: block;
  height: 4px;
  margin: 10px auto 0;
  width: 140px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffffff, #1e90ff, #ff6a00, #22c55e, #ffffff);
  background-size: 300% 100%;
  animation: aiwensSeoLine 6s linear infinite;
}
@keyframes aiwensSeoLine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.aiwens-seo__subtitle {
  font-size: 1rem;
  color: var(--seo-neutral-700);
  margin-top: 8px;
}

/* grid layout */
.aiwens-seo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .aiwens-seo__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .aiwens-seo__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* card */
.aiwens-seo__card {
  background: var(--seo-card-bg);
  border-radius: 18px;
  box-shadow: var(--seo-shadow);
  padding: 18px;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  border: 1px solid rgba(37, 99, 235, 0.15); /* subtle blue ring */
  display: flex;
}

.aiwens-seo__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
  border-color: rgba(37, 99, 235, 0.3);
}

.aiwens-seo__card-body {
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 18px 20px;
}

/* featured (middle) */
.aiwens-seo__card--featured {
  border: 2px solid var(--seo-deep-blue);
  position: relative;
}
.aiwens-seo__card--featured .aiwens-seo__card-body {
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.1);
}
.aiwens-seo__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--seo-blue), var(--seo-orange));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  white-space: nowrap;
}

/* headings & price */
.aiwens-seo__plan-name {
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  color: var(--seo-neutral-900);
}

.aiwens-seo__price {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--seo-deep-blue);
  margin-bottom: 8px;
}
.aiwens-seo__currency { font-weight: 800; margin-right: 2px; }
.aiwens-seo__term {
  font-size: 0.85rem;
  font-weight: 700;
  color: #6b7280;
  margin-left: 4px;
}

/* blurb and "includes" */
.aiwens-seo__blurb {
  text-align: center;
  color: var(--seo-neutral-700);
  margin: 6px 8px 12px;
  line-height: 1.5;
}
.aiwens-seo__includes {
  text-align: center;
  font-weight: 700;
  color: var(--seo-orange);
  margin: 4px 0 10px;
}

/* features list */
.aiwens-seo__features {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aiwens-seo__features li {
  background: var(--seo-chip);
  border-radius: 10px;
  padding: 10px 12px 10px 36px;
  position: relative;
  font-size: 0.95rem;
  color: #1f2937;
}

/* tick/cross icons via pseudo elements for clean markup */
.aiwens-seo__features li.ok::before,
.aiwens-seo__features li.no::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.05);
}

/* green tick */
.aiwens-seo__features li.ok::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(34,197,94,0.15), rgba(34,197,94,0.08) 60%, transparent 61%),
    conic-gradient(from 0deg, var(--seo-green) 0 360deg);
  -webkit-mask:
    radial-gradient(circle 10px at 50% 50%, #0000 9px, #000 10px) exclude,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.aiwens-seo__features li.ok {
  border-left: 3px solid rgba(34, 197, 94, 0.6);
}

/* red cross (in case you need it later) */
.aiwens-seo__features li.no::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(239,68,68,0.15), rgba(239,68,68,0.08) 60%, transparent 61%),
    conic-gradient(from 0deg, #ef4444 0 360deg);
  -webkit-mask:
    radial-gradient(circle 10px at 50% 50%, #0000 9px, #000 10px) exclude,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.aiwens-seo__features li.no {
  border-left: 3px solid rgba(239, 68, 68, 0.6);
}

/* ===== Section 3 CTA (Scoped: aiwens-seohelp-*) ===== */
#aiwens-seo-help-cta {
  padding: 40px 20px 72px; /* comfortable spacing under pricing */
  background: #ffffff;     /* keep page clean; card provides the accent */
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* local tokens (no :root) */
  --help-green: #22c55e;   /* light green */
  --help-green-soft: rgba(34, 197, 94, 0.15);
  --help-orange: #ff6a00;  /* hover color */
  --help-ink: #0f172a;     /* dark text */
  --help-ink-soft: #334155;
  --help-card: #f7fbf9;    /* very light greenish panel */
  --help-border: rgba(30, 64, 175, 0.25); /* subtle blue line like sample */
}

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

.aiwens-seohelp__card {
  background: linear-gradient(180deg, #f8fbff 0%, var(--help-card) 100%);
  border-radius: 28px;
  border: 1px solid var(--help-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;
}

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

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

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

/* CTA button: light green with black text; hover → orange with white text; slow bounce loop */
.aiwens-seohelp__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--help-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: aiwensCtaBounce 2.8s ease-in-out infinite;
}

.aiwens-seohelp__cta:hover,
.aiwens-seohelp__cta:focus-visible {
  background: var(--help-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-seohelp__cta-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* gentle looping bounce */
@keyframes aiwensCtaBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Responsive padding tweaks */
@media (min-width: 768px) {
  .aiwens-seohelp__card { padding: 56px 28px; }
  .aiwens-seohelp__title { font-size: 2rem; }
}
#aiwens-seo-plans { padding-bottom: 32px; }
#aiwens-seo-help-cta { padding-top: 16px; }
