/* ============================================================
   CODEXXA — Web Development Page — Page-Specific Styles
   Only overrides and additions unique to this page live here.
   Common design system styles are in cdx-common.css.
   ============================================================ */

/* ── Hero: Grid Pattern Overlay ──────────────────────────── */
.cdx-section-hero .cdx-hero-grid-pattern {
  z-index: 0;
}

/* ── Hero: Stats Row ─────────────────────────────────────── */
.cdx-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.cdx-hero-stat {
  text-align: left;
}

.cdx-hero-stat-n {
  font-family: var(--cdx-font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--cdx-white);
  line-height: 1;
}

.cdx-hero-stat-n .cdx-hero-stat-suffix {
  color: var(--cdx-orange);
}

.cdx-hero-stat-l {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ── Hero: Platform pill icon alignment ──────────────────── */
.cdx-hero-platforms span i {
  font-size: 13px;
  vertical-align: -1px;
}

/* ── Hero Form: textarea resize ──────────────────────────── */
.cdx-hero-cta-form textarea {
  resize: vertical;
  min-height: 60px;
}

/* ── Features: gradient text accent ──────────────────────── */
.cdx-features-section .cdx-section-head h2 .cdx-grad-text {
  background: var(--cdx-grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ── Business Edge: Image card overlay text ───────────────── */
.cdx-edge-image-overlay h3 {
  font-family: var(--cdx-font-display);
  letter-spacing: -0.02em;
}

/* ── Business Edge: CTA card button alignment ────────────── */
.cdx-edge-cta-card .cdx-component-btn {
  margin-top: auto;
}

/* ── Process: Circle step icon styling ───────────────────── */
.cdx-process-step .cdx-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cdx-grad-soft);
  color: var(--cdx-orange);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 24px;
  position: relative;
  z-index: 2;
  transition: all 0.3s var(--cdx-ease-out);
}

.cdx-process-step .cdx-step-icon .material-icons-outlined {
  font-size: 26px;
}

.cdx-process-step:hover .cdx-step-icon {
  background: var(--cdx-grad-orange);
  color: var(--cdx-white);
  box-shadow: var(--cdx-shadow-accent);
  transform: scale(1.1);
}

/* ── Industries: 10-item grid, icon+title only ───────────── */
.cdx-industries-section .cdx-industries-grid {
  grid-template-columns: repeat(5, 1fr);
}

.cdx-industries-section .cdx-component-ind {
  padding: 28px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cdx-industries-section .cdx-component-ind .cdx-ind-icon {
  font-size: 36px;
  color: var(--cdx-navy);
  margin-bottom: 4px;
  transition: color 0.22s;
}

.cdx-industries-section .cdx-component-ind:hover .cdx-ind-icon {
  color: var(--cdx-orange);
}

/* ── Why section: icon pulse on hover ────────────────────── */
.cdx-why-card:hover .cdx-why-icon {
  transform: scale(1.08);
}

.cdx-why-card .cdx-why-icon {
  transition: transform 0.24s var(--cdx-ease-out), box-shadow 0.24s var(--cdx-ease-out);
}

.cdx-why-card:hover .cdx-why-icon {
  box-shadow: rgba(240,128,48,0.4) 0 16px 32px;
}

/* ── FAQ: Active question accent ─────────────────────────── */
.cdx-faq-item--active .cdx-faq-question {
  color: var(--cdx-orange);
}

/* ── CTA Section: Decorative dots pattern ────────────────── */
.cdx-section-cta::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

/* ── Responsive Tweaks ───────────────────────────────────── */

/* Tablet */
@media (max-width: 1023px) {
  .cdx-hero-stats {
    gap: 24px;
  }

  .cdx-hero-stat-n {
    font-size: 24px;
  }

  .cdx-industries-section .cdx-industries-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .cdx-edge-grid {
    grid-template-columns: 1fr;
  }

  .cdx-edge-image-card {
    grid-area: auto;
    min-height: 350px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .cdx-hero-stats {
    gap: 20px;
  }

  .cdx-hero-stat-n {
    font-size: 22px;
  }

  .cdx-hero-stat-l {
    font-size: 11px;
  }

  .cdx-industries-section .cdx-industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cdx-edge-image-card {
    min-height: 260px;
  }

  .cdx-edge-info-card {
    padding: 20px;
  }

  .cdx-edge-cta-card {
    padding: 28px 20px;
  }

  .cdx-process-step .cdx-step-icon {
    width: 48px;
    height: 48px;
  }

  .cdx-process-step .cdx-step-icon .material-icons-outlined {
    font-size: 22px;
  }
}

/* Small Mobile */
@media (max-width: 479px) {
  .cdx-hero-breadcrumb {
    font-size: 11px;
    flex-wrap: wrap;
  }

  .cdx-hero-cta-form {
    padding: 20px;
  }

  .cdx-industries-section .cdx-industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cdx-industries-section .cdx-component-ind {
    padding: 20px 12px;
  }

  .cdx-industries-section .cdx-component-ind .cdx-ind-icon {
    font-size: 28px;
  }

  .cdx-industries-section .cdx-component-ind h4 {
    font-size: 13px;
  }
}
