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


/* ===== Fix & Upgrade One-Time Services (Scoped: aiwens-fix-*) ===== */
#aiwens-fix-plans{
  padding: clamp(16px, 2.5vw, 28px) 16px 48px;
  background: linear-gradient(180deg,#f7faff 0%,#ffffff 100%);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --fix-blue:#3b82f6;
  --fix-blue-600:#2563eb;
  --fix-green:#22c55e;
  --fix-orange:#ff6a00;
  --fix-ink:#0f172a;
  --fix-ink-soft:#374151;
  --fix-chip:#f8fafc;
  --fix-card:#ffffff;
  --fix-shadow:0 10px 28px rgba(15,23,42,.08);
}

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

.aiwens-fix__header{
  text-align: center;
  margin-bottom: 16px;
}

.aiwens-fix__title{
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--fix-ink);
  display: inline-block;
  position: relative;
}
.aiwens-fix__title::after{
  content:"";
  display:block;
  height:4px;
  margin:10px auto 0;
  width:min(220px,60%);
  border-radius:2px;
  background: linear-gradient(90deg,#ffffff,#1e90ff,#ff6a00,#22c55e,#ffffff);
  background-size:300% 100%;
  animation: aiwensFixLine 6s linear infinite;
}
@keyframes aiwensFixLine{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

.aiwens-fix__subtitle{
  font-size:.98rem;
  color: var(--fix-ink-soft);
  margin-top:6px;
}

.aiwens-fix__card{
  background: var(--fix-card);
  border-radius: 16px;
  border: 1px solid rgba(37,99,235,.14);
  box-shadow: var(--fix-shadow);
  padding: clamp(12px, 2vw, 20px);
  width: 100%;
  max-width: 760px;          /* keeps the block visually tight */
  margin: 0 auto;
}

/* Rows container constrained so tiles never look stretched */
.aiwens-fix__rows{
  display: grid;
  gap: 10px;
  margin-inline: auto;
}

/* Row: two columns (service | price) at all sizes */
.aiwens-fix__row{
  background: var(--fix-chip);
  border-radius: 12px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  column-gap: 16px;
  text-align: left;                     /* fix: no more centered wobble */
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(15,23,42,.04);
}

.aiwens-fix__row:hover{
  background:#eef3ff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15,23,42,.06);
}

/* Service text */
.aiwens-fix__service{
  font-size: 1rem;
  color: var(--fix-ink);
  font-weight: 600;
  line-height: 1.35;
}

/* Muted helpers */
.aiwens-fix__muted{
  color:#6b7280;
  font-weight:500;
  font-size:.95em;
  margin-left:6px;
}

/* Badges */
.aiwens-fix__badge{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  border-radius:999px;
  background: rgba(34,197,94,.12);
  color: var(--fix-green);
  font-weight:700;
  font-size:.72rem;
  vertical-align:middle;
}
.aiwens-fix__badge--quote{
  background: rgba(255,106,0,.12);
  color: var(--fix-orange);
}

/* Price column: right-aligned with tabular numerals for clean vertical alignment */
.aiwens-fix__price{
  font-weight: 800;
  color: var(--fix-blue-600);
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;   /* key: aligns digits */
  letter-spacing: .2px;
}

/* Unit text next to service on the left (keeps price clean) */
.aiwens-fix__unit{
  color:#6b7280;
  font-weight:600;
  margin-left:6px;
}

/* Footnote */
.aiwens-fix__note{
  margin: 18px auto 0;
  max-width: 680px;
  text-align: center;
  color:#6b7280;
  font-size:.92rem;
  font-style: italic;
}

/* Slightly denser grid and tighter card on wide screens */
@media (min-width: 1024px){
  .aiwens-fix__card{ max-width: 720px; }
  .aiwens-fix__rows{ gap: 12px; }
}

/* Extra-small devices: maintain touchable targets and spacing */
@media (max-width: 360px){
  .aiwens-fix__row{ padding: 12px 14px; }
  .aiwens-fix__price{ font-size: .98rem; }
}


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

  /* local tokens */
  --fixhelp-green: #22c55e;   /* light green */
  --fixhelp-orange: #ff6a00;  /* hover accent */
  --fixhelp-ink: #0f172a;     /* dark text */
  --fixhelp-ink-soft: #334155;
  --fixhelp-card: #f7fbf9;    /* very light green card bg */
  --fixhelp-border: rgba(30, 64, 175, 0.25); /* subtle blue border */
}

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