/* ===========================
   AIWENS — Hero Section Styles
   =========================== */
/* ===========================
   AIWENS — Hero (Centered Banner, Blue Box)
   =========================== */

#aiwens-hero {
  background: transparent; /* keep page background */
  padding: 3rem 1.25rem; /* reduced overall height */
  position: relative;
}

.aiwens-hero__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 2rem; /* reduced padding inside banner */
  background: linear-gradient(180deg, #bae6fd 0%, #ffffff 100%); /* deeper blue */
  border-radius: 1.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.aiwens-hero__copy {
  max-width: 680px;
  margin: 0 auto;
}

.aiwens-hero__title {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 0.75rem; /* reduced spacing */
}

.aiwens-hero__sub {
  font-size: 1.125rem;
  color: var(--aiwens-hero-subtext, #334155);
  margin-bottom: 1.25rem; /* reduced spacing */
}

.aiwens-hero__cta {
  margin-bottom: 1rem;
}

.aiwens-hero__btn {
  display: inline-block;
  background: var(--aiwens-btn-bg, #0f172a);
  color: var(--aiwens-btn-text, #ffffff);
  padding: 0.65rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.aiwens-hero__btn:hover,
.aiwens-hero__btn:focus {
  background: var(--aiwens-btn-bg-hover, #1e293b);
}

/* Trust chips */
.aiwens-hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem; /* reduced spacing */
  list-style: none;
  padding: 0;
}

.aiwens-hero__chip {
  background: #ffffff;
  border: 1px solid #7dd3fc; /* stronger blue border */
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: #075985; /* darker blue text */
  font-weight: 500;
}

/* Sticky CTA for mobile */
.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__btn--sticky {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

/* Responsive refinements */
@media (min-width: 768px) {
  .aiwens-hero__title {
    font-size: 2.25rem;
  }
  .aiwens-hero__sub {
    font-size: 1.2rem;
  }
  .aiwens-hero__sticky-cta {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .aiwens-hero__sticky-cta {
    display: block;
  }
}

/* ===========================
   AIWENS — Section 2: Static vs Dynamic (Tweaked)
   =========================== */

/* ===========================
   AIWENS — Section 2: Static vs Dynamic
   =========================== */

#aiwens-build-modes {
  background: var(--aiwens-build-bg, #ffffff);
  color: var(--aiwens-build-text, #0f172a);
  padding: 3rem 1.5rem;
  position: relative;
}

.build-modes__container {
  max-width: 1100px;
  margin: 0 auto;
}

.build-modes__header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.build-modes__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: inline-block;
  position: relative;
}

/* Animated underline */
.build-modes__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #22c55e, #3b82f6);
  background-size: 200% 100%;
  animation: underline-move 3s linear infinite;
  border-radius: 2px;
}

@keyframes underline-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.build-modes__intro {
  font-size: 1.125rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
}

.build-modes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.build-modes__card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.build-modes__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.build-modes__card-head {
  text-align: center; /* centralised */
}

.build-modes__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.build-modes__card-sub {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.build-modes__desc {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 1.25rem;
}

/* Tech stack list with icons */
.build-modes__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.build-modes__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 0.5rem;
}

.build-modes__list li::before {
  content: none; /* remove computer emoji */
}

.build-modes__list li i {
  font-size: 1rem;
  color: #0369a1; /* blue tone */
  width: 1.25rem;
  text-align: center;
}

/* Great for tags */
.build-modes__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.build-modes__tag {
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.build-modes__note {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.build-modes__ownership {
  text-align: center;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 0.95rem;
  color: #075985;
}

.build-modes__ownership-title {
  font-weight: 600;
  margin-right: 0.25rem;
}

/* Card Variants */
.build-modes__card--static {
  border-left: 4px solid #22c55e; /* green accent */
}

.build-modes__card--dynamic {
  border-left: 4px solid #3b82f6; /* blue accent */
}

/* Responsive */
@media (min-width: 768px) {
  .build-modes__grid {
    grid-template-columns: 1fr 1fr;
  }
  .build-modes__title {
    font-size: 2rem;
  }
}

/* ===========================
   AIWENS — Section 3: SEO Ready
   =========================== */

#aiwens-seo-ready {
  background: var(--aiwens-seo-bg, #ffffff);
  color: var(--aiwens-seo-text, #0f172a);
  padding: 3rem 1.5rem;
  position: relative;
}

.seo-ready__container {
  max-width: 1100px;
  margin: 0 auto;
}

.seo-ready__header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.seo-ready__title {
  font-size: 1.875rem;
  font-weight: 700;
  display: inline-block;
  position: relative;
  margin-bottom: 0.5rem;
}

/* subtle underline accent */
.seo-ready__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  border-radius: 2px;
  opacity: 0.25;
}

.seo-ready__intro {
  font-size: 1.075rem;
  color: #475569;
  max-width: 680px;
  margin: 0.25rem auto 0;
}

.seo-ready__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* cards */
.seo-ready__card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.seo-ready__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.06);
}

.seo-ready__card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-align: center;
  color: #0f172a;
}

/* check-list with accessible bullets */
.seo-ready__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-ready__list li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0.4rem 0;
  color: #475569;
  font-size: 0.95rem;
}

.seo-ready__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #22c55e 55%, transparent 56%) no-repeat,
    conic-gradient(#22c55e 0 25%, #e2e8f0 0 100%);
  /* green dot with subtle ring */
}

/* Proof block */
.seo-ready__proof {
  margin-top: 1.75rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  display: grid;
  gap: 1rem;
}

.proof__badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.proof__badge--gt {
  border-left: 4px solid #3b82f6;
}
.proof__badge:not(.proof__badge--gt) {
  border-left: 4px solid #22c55e;
}

.proof__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  min-width: 92px;
}

.proof__scores {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.proof__score {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.proof__score--perf { outline: 3px solid #22c55e33; }
.proof__score--seo  { outline: 3px solid #16a34a33; }
.proof__score--a11y { outline: 3px solid #0ea5e933; }
.proof__score--best { outline: 3px solid #3b82f633; }

.proof__bars {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.proof__bar span {
  display: inline-block;
  font-size: 0.85rem;
  color: #0f172a;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.proof__bar .bar {
  position: relative;
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.proof__bar .bar i {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  border-radius: 999px;
}

.proof__bar .bar em {
  position: absolute;
  right: 8px;
  top: -22px;
  font-style: normal;
  font-size: 0.8rem;
  color: #075985;
}

.proof__note {
  font-size: 0.85rem;
  color: #0c4a6e;
  text-align: center;
}

/* Responsive */
@media (min-width: 768px) {
  .seo-ready__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .seo-ready__title {
    font-size: 2rem;
  }
  .seo-ready__proof {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.proof__note {
  font-size: 0.85rem;
  color: #0c4a6e;
  text-align: center;
  margin-top: 0.75rem;
  grid-column: 1 / -1; /* span across full grid */
  justify-self: center; /* center within grid cell */
}

/* ===========================
   AIWENS — Section 4: Process
   =========================== */

#aiwens-process {
  background: var(--aiwens-process-bg, #ffffff);
  color: var(--aiwens-process-text, #0f172a);
  padding: 3rem 1.5rem;
}

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

.process__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.process__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: inline-block;
  position: relative;
}

.process__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  border-radius: 2px;
  opacity: 0.4;
}

.process__intro {
  font-size: 1.125rem;
  color: #475569;
  max-width: 640px;
  margin: 0.5rem auto 0;
}

.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.process__step {
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process__step:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.process__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.process__step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process__desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
}

/* Responsive */
@media (min-width: 768px) {
  .process__steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .process__title {
    font-size: 2rem;
  }
}

/* ===========================
   AIWENS — FAQ
   =========================== */

#aiwens-faq {
  background: var(--aiwens-faq-bg, #ffffff);
  color: var(--aiwens-faq-text, #0f172a);
  padding: 3rem 1.5rem;
}

.faq__container {
  max-width: 900px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: 2rem;
}

.faq__title {
  font-size: 1.875rem;
  font-weight: 700;
  display: inline-block;
  position: relative;
  margin-bottom: 0.5rem;
}

.faq__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  border-radius: 2px;
  opacity: 0.35;
}

.faq__intro {
  font-size: 1.05rem;
  color: #475569;
  max-width: 620px;
  margin: 0.5rem auto 0;
}

/* List / Items */
.faq__list {
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  border-radius: 1rem;
  overflow: hidden; /* keeps the curved panel edges clean */
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

/* Trigger */
.faq__trigger {
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  text-align: left;
  background: #f8fafc;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.faq__trigger:hover {
  background: #f1f5f9;
}

.faq__question {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
}

/* Plus icon */
.faq__icon {
  width: 24px;
  height: 24px;
  position: relative;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 16px;
  height: 2px;
  background: #0f172a;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
  border-radius: 2px;
}
.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg); /* vertical bar for + */
}

/* Panel (curved rectangle) */
.faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease;
  opacity: 0;
  background: #ffffff;
}

.faq__panel-inner {
  padding: 1rem 1.25rem 1.25rem;
  background: #f8ffff;
  border-top: 1px solid #e2e8f0;
  border-radius: 0 0 1rem 1rem; /* curved rectangle feel */
  color: #334155;
  line-height: 1.6;
}

/* Open state */
.faq__item.is-open .faq__panel {
  opacity: 1;
}
.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0; /* turn + into – by hiding vertical bar */
}

/* Accessibility focus */
.faq__trigger:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

/* Responsive niceties */
@media (min-width: 768px) {
  .faq__title { font-size: 2rem; }
}

/* ===========================
   AIWENS — Compact CTA to Pricing
   =========================== */

#aiwens-price-cta {
  padding: 2rem 1.25rem;                /* compact vertical rhythm */
  background: var(--aiwens-cta-bg, #ffffff);
}

.price-cta__container {
  max-width: 1000px;
  margin: 0 auto;
}

.price-cta__inner {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(1200px 300px at 50% -80%, rgba(59,130,246,0.08), transparent 60%),
    radial-gradient(800px 240px  at 80% 120%, rgba(34,197,94,0.08), transparent 60%),
    #f8fafc; /* soft card bg */
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.06);

  /* gradient ring border effect */
  --ring: linear-gradient(90deg, #3b82f6, #22c55e, #3b82f6);
}
.price-cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px; /* ring thickness */
  background: var(--ring);
  -webkit-mask: 
    linear-gradient(#000 0 0) content-box, 
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: .7;
}

.price-cta__title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 .25rem 0;
}

.price-cta__sub {
  text-align: center;
  color: #475569;
  font-size: .98rem;
  margin: 0 0 1rem 0;
}

.price-cta__btn {
  display: block;                /* full block element */
  width: fit-content;             /* shrink to button content */
  margin: 0 auto;                 /* center horizontally */
  padding: .7rem 1.25rem;
  border-radius: .8rem;
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(90deg, #0f172a, #1f2937);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.price-cta__btn:hover,
.price-cta__btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

/* Responsive */
@media (min-width: 768px) {
  .price-cta__inner { padding: 2rem 2rem; }
  .price-cta__title { font-size: 1.5rem; }
  .price-cta__sub   { font-size: 1rem; }
}



/* ===========================
   Global: tighten vertical rhythm between sections
   (affects sections 1–5 we've built)
   =========================== */

/* Reduce outer padding on sections */
#aiwens-hero,
#aiwens-build-modes,
#aiwens-seo-ready,
#aiwens-process,
#aiwens-faq {
  padding-top: 2.25rem;   /* was ~3–4rem */
  padding-bottom: 2.25rem;
}

/* If you want it even tighter on desktop: */
@media (min-width: 1024px) {
  #aiwens-hero,
  #aiwens-build-modes,
  #aiwens-seo-ready,
  #aiwens-process,
  #aiwens-faq {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* Inside the hero, the blue banner box padding stays compact */
.aiwens-hero__container {
  padding-top: 2rem;  /* was 2.5–3rem */
  padding-bottom: 2rem;
}

/* Tighten section headings → content spacing */
.build-modes__header,
.seo-ready__header,
.process__header,
.faq__header {
  margin-bottom: 1.5rem; /* was ~2–2.5rem */
}

/* Cards/grids spacing */
.build-modes__grid,
.seo-ready__grid,
.process__steps,
.faq__list {
  gap: 1rem; /* was ~1.25–2rem */
  margin-bottom: 1.25rem; /* lighter tail space */
}

/* Proof block spacing: keep compact */
.seo-ready__proof {
  margin-top: 1.25rem; /* was 1.75rem */
}

/* ===========================
   Hero: disable floating CTA on mobile
   =========================== */

/* Remove the sticky/floating CTA entirely */
.aiwens-hero__sticky-cta {
  display: none !important;
  position: static !important;
  inset: auto !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Ensure no media query re-enables it */
@media (max-width: 767px) {
  .aiwens-hero__sticky-cta { display: none !important; }
}
