/* ============================================================
   A2Z DevCenter — About Us & Write For Us shared styles
   Extends contact-page.css variables (.cpx-* reused directly)
   ============================================================ */

/* ── Shared section wrapper ── */
.apx-sec        { padding: 64px 24px; background: #fff; }
.apx-sec-alt    { background: #f7f7fb; border-top: 1px solid #e8e8f0; border-bottom: 1px solid #e8e8f0; }
.apx-container  { max-width: 1200px; margin: 0 auto; }
.apx-sec-head   { text-align: center; margin-bottom: 48px; }
.apx-sec-head h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: #0a0a14; line-height: 1.2; margin-bottom: 12px; }
.apx-sec-head h2 em { font-style: normal; color: #7c5cff; }
.apx-intro      { font-size: 15px; color: #2e2e45; line-height: 1.7; max-width: 580px; margin: 0 auto; }
.apx-link       { color: #7c5cff; text-decoration: none; }
.apx-link:hover { text-decoration: underline; }

/* ── Stats bar ── */
.apx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #e8e8f0;
}
.apx-stat {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid #e8e8f0;
  background: #fff;
}
.apx-stat:last-child { border-right: none; }
.apx-stat-num { font-size: 36px; font-weight: 800; color: #0a0a14; line-height: 1; }
.apx-stat-num span { font-size: 22px; color: #7c5cff; }
.apx-stat-lbl { font-size: 12px; color: #6a6a88; margin-top: 6px; font-weight: 500; }

/* ── Mission/Vision/Philosophy/Strategy cards ── */
.apx-mvps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.apx-mvp-card {
  background: #f4f3ff;
  border: 1px solid #e0dcf8;
  border-radius: 14px;
  padding: 24px 20px;
}
.apx-mvp-icon  { font-size: 24px; margin-bottom: 10px; }
.apx-mvp-label { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #7c5cff; margin-bottom: 8px; }
.apx-mvp-card p { font-size: 13.5px; color: #2e2e45; line-height: 1.65; }

/* ── Why grid ── */
.apx-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.apx-why-card {
  background: #fff;
  border: 1px solid #e8e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
}
.apx-why-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ff7a1a;
  margin-bottom: 10px;
}
.apx-why-card h3 { font-size: 16px; font-weight: 700; color: #0a0a14; margin-bottom: 8px; }
.apx-why-card p  { font-size: 13.5px; color: #2e2e45; line-height: 1.65; }

/* ── Commitments list ── */
.apx-commits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apx-commit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #2e2e45;
  font-weight: 500;
  padding: 14px 18px;
  background: #f7f7fb;
  border: 1px solid #e8e8f0;
  border-radius: 10px;
}
.apx-check {
  width: 22px; height: 22px;
  background: rgba(32,180,120,0.1);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: #16a066;
  flex-shrink: 0;
}

/* ── Dark CTA strip ── */
.apx-cta {
  background: linear-gradient(135deg, #13122b 0%, #1a1040 100%);
  padding: 64px 24px;
  text-align: center;
}
.apx-cta-inner { max-width: 560px; margin: 0 auto; }
.apx-cta h2   { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.apx-cta p    { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 24px; line-height: 1.7; }
.apx-cta-btn  {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(100deg, #ff7a1a, #ff9340);
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 14px 32px; border-radius: 10px; text-decoration: none;
  box-shadow: 0 8px 24px -4px rgba(255,122,26,0.4);
  transition: transform 0.16s, box-shadow 0.16s;
}
.apx-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -4px rgba(255,122,26,0.55); }

/* ── WFU: Topics grid ── */
.wfx-topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.wfx-topic {
  display: flex; align-items: center; gap: 8px;
  background: #f4f3ff; border: 1px solid #e0dcf8;
  border-radius: 10px; padding: 12px 16px;
  font-size: 13px; font-weight: 600; color: #2a1a88;
}
.wfx-topic::before { content: '✓'; font-size: 11px; color: #7c5cff; flex-shrink: 0; }

/* ── WFU: Two column layout ── */
.wfx-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* ── WFU: Requirements list ── */
.wfx-req-list { list-style: none; padding: 0; margin-top: 20px; }
.wfx-req-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #2e2e45; line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px solid #e8e8f0;
}
.wfx-req-list li::before {
  content: '→';
  color: #ff7a1a;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── WFU: Perks ── */
.wfx-perks { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.wfx-perk { display: flex; align-items: flex-start; gap: 14px; }
.wfx-perk-icon {
  width: 40px; height: 40px;
  background: rgba(124,92,255,0.08);
  border: 1px solid rgba(124,92,255,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.wfx-perk-title { font-size: 14px; font-weight: 700; color: #0a0a14; margin-bottom: 2px; }
.wfx-perk-desc  { font-size: 12.5px; color: #6a6a88; line-height: 1.55; }

/* ── WFU: Steps ── */
.wfx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wfx-step {
  background: #fff;
  border: 1px solid #e8e8f0;
  border-radius: 14px;
  padding: 28px 24px;
}
.wfx-step-num {
  font-size: 28px; font-weight: 800;
  color: rgba(124,92,255,0.2);
  margin-bottom: 14px;
}
.wfx-step h3 { font-size: 16px; font-weight: 700; color: #0a0a14; margin-bottom: 8px; }
.wfx-step p  { font-size: 13.5px; color: #2e2e45; line-height: 1.65; }

/* ── WFU: Form wrap ── */
.wfx-form-wrap { max-width: 680px; margin: 0 auto; background: #f4f3ff; border: 1px solid #e0dcf8; border-radius: 18px; padding: 40px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .apx-mvps       { grid-template-columns: 1fr 1fr; }
  .wfx-topics     { grid-template-columns: repeat(3, 1fr); }
  .wfx-two-col    { grid-template-columns: 1fr; gap: 40px; }
  .wfx-steps      { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .apx-stats      { grid-template-columns: 1fr 1fr; }
  .apx-mvps       { grid-template-columns: 1fr; }
  .apx-why-grid   { grid-template-columns: 1fr; }
  .apx-commits    { grid-template-columns: 1fr; }
  .wfx-topics     { grid-template-columns: 1fr 1fr; }
  .wfx-form-wrap  { padding: 24px 18px; }
}
@media (max-width: 480px) {
  .wfx-topics { grid-template-columns: 1fr; }
}
