/* =========================================================
   Cloudwrxs ACF Builder (minimal, theme-agnostic)
   File: your-theme/assets/css/cw-acf-builder.css
   ========================================================= */


/* =========================================================
   Base layout & typography
   ========================================================= */

.cw-page {
  background: #070A12;
  color: #EAF0FF;
}

.cw-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.cw-section {
  padding: 72px 0;
}


/* =========================================================
   Headings & text styles
   ========================================================= */

.cw-eyebrow {
  margin: 0 0 14px !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  color: #ff6600;
}

.cw-h2 {
  margin: 0 0 16px;
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 50px !important;
}

.cw-h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  color: #ff6600;
}

.cw-lede {
  max-width: 72ch;
  font-size: 1.15rem;
  opacity: 0.9;
}

.cw-p {
  max-width: 80ch;
  opacity: 0.9;
}


/* =========================================================
   Rich text / prose
   ========================================================= */

.cw-prose {
  max-width: 78ch;
  opacity: 0.95;
}

.cw-prose p {
  margin: 0 0 14px;
}

.cw-prose ul {
  margin: 10px 0 0 18px;
}


/* =========================================================
   Hero section
   ========================================================= */

.cw-hero {
  padding: 92px 0 70px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(900px 420px at 25% 10%, rgba(88,132,255,0.25), transparent 60%),
    radial-gradient(700px 380px at 80% 20%, rgba(171,96,255,0.20), transparent 60%);
}

.cw-hero__grid {
  /*display: grid;*/
  grid-template-columns: 1.3fr 0.7fr;
  gap: 44px;
  align-items: center;
}

.cw-stats__header {
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .cw-hero__grid {
    grid-template-columns: 1fr;
  }
}

.cw-hero__title {
  margin: 0 0 18px;
  font-size: 3rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .cw-hero__title {
    font-size: 2.4rem;
  }
}

.cw-hero__line {
  display: block;
}

.cw-hero__line--emph {
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.cw-hero__sub {
  max-width: 70ch;
  font-size: 1.5rem;
  line-height: 1.5;
  opacity: 0.95;
  color: #ff6600;
  margin-bottom: 30px !important;*/
}

.cw-hero__intro {
  margin-bottom: 15px !important;*/
}
  

.cw-hero__body {
  max-width: 78ch;
  opacity: 0.92;
}

.cw-hero__ctas {
  display: flex;
  justify-content: center; /* ← centers buttons */
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cw-hero__media {
  justify-self: end;
}

@media (max-width: 900px) {
  .cw-hero__media {
    justify-self: start;
  }
}

.cw-hero__img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
}

.cta-title {
  display: flex;
  font-size: 1.5rem;
  line-height: 1.6rem;
  justify-content: center; /* ← centers buttons */
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 50px;
  margin-bottom: 30px;
  color: #ff6600;
}

.cw-section--richtext .cw-btn {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* =========================================================
   Buttons & links
   ========================================================= */

.cw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease,
              background 0.15s ease,
              border-color 0.15s ease;
}


.cw-btn--primary {
  background: #5B8CFF;
  color: #071022;
}

.cw-btn--ghost {
  background: transparent;
  color: #EAF0FF;
  border: 1px solid rgba(234,240,255,0.28);
}

.cw-link {
  font-weight: 700;
  color: #9EB7FF;
  text-decoration: none;
}

.cw-link:hover {
  text-decoration: underline;
}


/* =========================================================
   Lists, grids & cards
   ========================================================= */

.cw-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

@media (max-width: 900px) {
  .cw-list {
    grid-template-columns: 1fr;
  }
}

.cw-list__item,
.cw-card,
.cw-feature,
.cw-step,
.cw-stat {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(135deg, rgba(0,255,204,0.12), rgba(9,11,18,0.98));
}

.cw-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.cw-grid--cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cw-grid--cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cw-grid--cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.cw-logos__item .cw-logo {
  display: inline-block;
  vertical-align: middle;
  width: 150px;
  margin-left: 30px;
}

.cw-feature__icon {
  margin-bottom: 15px;
}

ul.cw-bullets {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  padding-inline-start: 0 !important; /* helps Safari */
}

ul.cw-bullets > li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  line-height: 1.5;
}

ul.cw-bullets > li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #ff3b3b;
  font-weight: 900;
}

@media (max-width: 900px) {
  .cw-grid--cols-2,
  .cw-grid--cols-3,
  .cw-grid--cols-4 {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Steps & testimonials
   ========================================================= */

.cw-steps {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.cw-step {
  display: grid;
  align-items: center;
  grid-template-columns: 64px 1fr;
  gap: 14px;
}

.cw-step__num {
  font-size: 2.5rem;
  color: #00ffce; /* Green */
  font-weight: 900;
  opacity: 0.9;
}

.cw-testimonial {
  margin: 0;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

.cw-testimonial__quote {
  margin: 0 0 18px;
  font-size: 1.02rem;
  line-height: 1.6;
  opacity: 0.95;
}

.cw-testimonial__meta {
  display: flex;
  gap: 12px;
  align-items: center;
}


/* =========================================================
   Stats section (5-up layout)
   ========================================================= */

.cw-section--stats {
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.cw-stats {
  display: grid;
  /*grid-template-columns: repeat(5, minmax(0, 1fr));*/
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;

  max-width: 1120px;
  margin: 0 auto;

  justify-content: center; /* ← THIS is the key */
}

@media (max-width: 900px) {
  .cw-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .cw-stats {
    grid-template-columns: 1fr;
  }
}

.cw-stat__value {
  font-size: 1.6rem;
  font-weight: 950;
}

.cw-stat__label {
  margin-top: 8px;
  line-height: 1.35;
  opacity: 0.88;
}


/* =========================================================
   Final CTA
   ========================================================= */

.cw-section--final-cta {
  background:
    radial-gradient(900px 420px at 30% 20%, rgba(88,132,255,0.28), transparent 60%),
    rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cw-final-cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.cw-final-cta__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

