/* ================================================= */
/* =============== PIXCLAD FEATURES ================= */
/* ================================================= */

.pixclad-features {
  padding: 0.8rem 1rem;   /* reduced top/bottom & side space */
  max-width: 1000px;      /* slightly tighter container */
  margin: 0 auto;
}

/* Constrain feature section width */
.pixclad-features {
  max-width: 1100px;
  margin: 0 auto;
}


/* Base feature row */
.pixclad-features .split {
  display: grid;
  grid-template-columns: 1fr 300px;  /* BIGGER image column */
  gap: 2.5rem;                       /* more breathing room */
  margin-bottom: 2.5rem;               /* taller sections */
  align-items: center;
}

/* Reverse layout */
.pixclad-features .split.reverse {
  grid-template-columns: 300px 1fr;
  align-items: center;
}

/* Force proper placement */
.pixclad-features .split.reverse img {
  grid-column: 1;
  justify-self: center;
}

.pixclad-features .split.reverse .feature-text {
  grid-column: 2;
  text-align: left;
}

.pixclad-features .split {
  justify-content: center;
}

.pixclad-features .split:last-child {
  margin-bottom: 0;
}


/* ================= IMAGES ================= */

.pixclad-features img {
  max-width: 300px;      /* larger visuals */
  width: 100%;
}

/* AI icon slightly smaller than illustrations */
.pixclad-features .split:first-child img {
  max-width: 220px;
}

/* ================= TEXT BLOCK ================= */

.pixclad-features .feature-text {
  max-width: 620px;      /* wider text area */
}

/* Headings */
.pixclad-features h3 {
  font-size: 1.6rem;     /* ⬆ bigger heading */
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Paragraphs */
.pixclad-features p {
  font-size: 1.05rem;    /* ⬆ more readable */
  line-height: 1.7;
  margin-top: 0;
  color: #334155;
}

/* ================= FEATURE-SPECIFIC POLISH ================= */

/* Feature 3 (Multi-Source Integration) */
.pixclad-features .split:last-child img {
  max-width: 280px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .pixclad-features .split,
  .pixclad-features .split.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pixclad-features img {
    margin: 0 auto 1.5rem;
  }

  .pixclad-features .feature-text {
    margin: 0 auto;
  }
}

.book-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  background: #ffffff;          /* white button */
  color: #2563eb;               /* blue text */
  padding: 10px 22px;

  border-radius: 999px;         /* pill shape */
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  border: 1px solid #2563eb;    /* optional blue outline */
  transition: all 0.2s ease;
}

/* Hover effect */
.book-demo-btn:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ================= PIXCLAD CTA OVERRIDE ================= */

.pixclad-cta {
  background: #ffffff;
  padding: 3rem 0;
  border-top: 1px solid #e5e7eb;
}

.pixclad-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.pixclad-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #0f172a;
  margin: 0;
}

/* Smaller button like reference */
.pixclad-cta .cta-primary {
  background: #243652;
  color: #ffffff;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  
  /* 1. Switch Grid to Flexbox for perfect mobile stacking */
  .pixclad-features .split {
    display: flex !important;
    flex-direction: column-reverse; /* Pulls Image to the top for standard rows */
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 60px;
  }

  /* 2. Reverse rows already have the Image first in HTML */
  .pixclad-features .split.reverse {
    flex-direction: column !important; 
  }

  /* 3. Delete the desktop grid locks that were breaking mobile */
  .pixclad-features .split.reverse img,
  .pixclad-features .split.reverse .feature-text {
    grid-column: auto;
    justify-self: auto;
  }

  /* 4. Make images big and beautiful like OpsClad */
  .pixclad-features img {
    width: 280px !important;
    max-width: 90%;
    height: auto;
    margin: 0 auto 12px !important;
  }

  /* 5. Center and scale typography */
  .pixclad-features .feature-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }

  .pixclad-features h3 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .pixclad-features p {
    font-size: 15px;
    max-width: 320px;
    margin: 0 auto;
  }

  /* 6. Fix the bottom CTA layout for mobile */
  .pixclad-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 0 20px;
  }

  .pixclad-cta h2 {
    font-size: 24px;
    line-height: 1.3;
  }
}