/* ============================================
    Problaq Creators - Homepage Specific Styles
    Split Hero, Testimonials, Case Study, Escrow, Direct Hire
    ============================================ */

/* ---- Split Hero ---- */
.split-hero { padding: 0; background: #fff; }
.split-hero-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }

.split-client {
  background: linear-gradient(135deg, #14a800 0%, #0d8a00 100%);
  padding: 72px 56px; display: flex; flex-direction: column;
  justify-content: center; position: relative; overflow: hidden;
}
.split-client::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.split-client::before {
  content: ''; position: absolute; right: 40px; bottom: -80px;
  width: 320px; height: 320px; background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.split-client-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.2); color: #fff;
  padding: 5px 12px; border-radius: 20px; font-size: 0.78rem;
  font-weight: 600; margin-bottom: 20px; width: fit-content;
}
.split-client h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  color: #fff; line-height: 1.2; margin-bottom: 14px;
}
.split-client p { color: rgba(255,255,255,0.88); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; max-width: 380px; }
.split-promise {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px;
}
.split-promise-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.9); font-size: 0.88rem;
}
.split-promise-item svg { width: 16px; height: 16px; color: #fff; flex-shrink: 0; }
.btn-white-solid {
  background: #fff; color: #14a800; border: 2px solid #fff;
  font-weight: 800; font-size: 1rem; padding: 14px 28px;
  border-radius: 10px; display: inline-flex; align-items: center;
  gap: 8px; transition: all 0.2s; width: fit-content;
}
.btn-white-solid:hover { background: #f0fdf4; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.split-freelancer {
  background: #fff; padding: 72px 56px;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid #e2e8f0;
}
.split-freelancer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eff6ff; color: #1f57c3;
  padding: 5px 12px; border-radius: 20px; font-size: 0.78rem;
  font-weight: 600; margin-bottom: 20px; width: fit-content;
}
.split-freelancer h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  color: #1e293b; line-height: 1.2; margin-bottom: 14px;
}
.split-freelancer p { color: #64748b; font-size: 1rem; line-height: 1.7; margin-bottom: 28px; max-width: 380px; }
.freelancer-preview { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.fp-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 10px;
  transition: all 0.2s;
}
.fp-card:hover { border-color: #14a800; background: #f0fdf4; }
.fp-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem; color: #fff; flex-shrink: 0;
}
.fp-name { font-weight: 600; font-size: 0.88rem; color: #1e293b; }
.fp-role { font-size: 0.75rem; color: #64748b; }
.fp-avail {
  margin-left: auto; font-size: 0.72rem; font-weight: 600;
  padding: 3px 8px; border-radius: 20px; white-space: nowrap;
}
.fp-avail.available { background: #f0fdf4; color: #14a800; }
.fp-avail.busy { background: #fef9c3; color: #854d0e; }
.btn-blue-solid {
  background: #1f57c3; color: #fff; border: 2px solid #1f57c3;
  font-weight: 700; font-size: 1rem; padding: 14px 28px;
  border-radius: 10px; display: inline-flex; align-items: center;
  gap: 8px; transition: all 0.2s; width: fit-content;
}
.btn-blue-solid:hover { background: #1848a8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,87,195,0.25); }

/* ---- Testimonials ---- */
.testimonials-section { background: #f8fafc; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 28px; transition: all 0.3s;
}
.testimonial-card:hover { border-color: #14a800; box-shadow: 0 8px 32px rgba(20,168,0,0.08); }
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 14px; }
.testimonial-text { color: #374151; font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 0.9rem; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: #1e293b; }
.testimonial-role { font-size: 0.78rem; color: #64748b; }
.testimonial-company { font-size: 0.75rem; color: #14a800; font-weight: 600; margin-top: 2px; }

/* ---- Case Study ---- */
.case-study {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 20px; padding: 48px; margin: 0 0 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.case-study-label { color: #14a800; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.case-study h3 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; line-height: 1.3; }
.case-study p { color: #94a3b8; font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }
.case-study-stats { display: flex; gap: 32px; }
.cs-stat-val { font-size: 1.8rem; font-weight: 800; color: #14a800; line-height: 1; }
.cs-stat-lbl { font-size: 0.78rem; color: #64748b; margin-top: 4px; }
.case-study-quote {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 24px;
}
.case-study-quote p { color: #e2e8f0; font-size: 1rem; line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.case-study-quote-author { color: #94a3b8; font-size: 0.85rem; }

/* ---- Escrow Banner ---- */
.escrow-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
  border: 1px solid #bbf7d0; border-radius: 16px; padding: 36px 40px;
  display: flex; align-items: center; gap: 32px; margin: 0 0 48px;
}
.escrow-icon { font-size: 3rem; flex-shrink: 0; }
.escrow-title { font-size: 1.2rem; font-weight: 800; color: #1e293b; margin-bottom: 6px; }
.escrow-desc { color: #374151; font-size: 0.92rem; line-height: 1.6; }
.escrow-steps { display: flex; gap: 0; margin-left: auto; flex-shrink: 0; }
.escrow-step {
  text-align: center; padding: 0 20px; border-right: 1px solid #bbf7d0;
}
.escrow-step:last-child { border-right: none; }
.escrow-step-num { font-size: 1.4rem; font-weight: 800; color: #14a800; line-height: 1; }
.escrow-step-lbl { font-size: 0.72rem; color: #64748b; margin-top: 4px; max-width: 70px; }

/* ---- Direct Hire ---- */
.direct-hire-section { background: #fff; }
.direct-hire-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.direct-hire-cards { display: flex; flex-direction: column; gap: 12px; }
.dh-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border: 1px solid #e2e8f0; border-radius: 12px;
  transition: all 0.2s; cursor: pointer;
}
.dh-card:hover { border-color: #14a800; background: #f0fdf4; transform: translateX(4px); }
.dh-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1rem; flex-shrink: 0;
}
.dh-info { flex: 1; }
.dh-name { font-weight: 700; font-size: 0.95rem; color: #1e293b; }
.dh-role { font-size: 0.8rem; color: #64748b; }
.dh-rate { font-weight: 700; color: #14a800; font-size: 0.9rem; }
.dh-avail {
  font-size: 0.72rem; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; white-space: nowrap;
}
.dh-avail.on { background: #f0fdf4; color: #14a800; }
.dh-avail.off { background: #fef9c3; color: #854d0e; }
.dh-heart {
  width: 32px; height: 32px; border: 1px solid #e2e8f0; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; color: #94a3b8; font-size: 1rem;
}
.dh-heart:hover, .dh-heart.saved { background: #fef2f2; border-color: #fecaca; color: #ef4444; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .split-hero-inner { grid-template-columns: 1fr; }
  .split-client, .split-freelancer { padding: 48px 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .case-study { grid-template-columns: 1fr; gap: 28px; }
  .escrow-banner { flex-direction: column; text-align: center; }
  .escrow-steps { margin-left: 0; }
  .direct-hire-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .split-hero-inner { min-height: auto; }
  .split-client, .split-freelancer { padding: 32px 20px; }
  .split-promise-item { font-size: 0.82rem; }
  .fp-card { padding: 10px 12px; }
  .fp-name { font-size: 0.82rem; }
  .fp-role { font-size: 0.72rem; }
  .btn-white-solid, .btn-blue-solid {
    font-size: 0.88rem; padding: 12px 20px; width: 100%;
    justify-content: center;
  }
  .freelancer-preview { gap: 8px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 20px 16px; }
  .case-study { padding: 32px 20px; gap: 24px; }
  .case-study-stats { flex-direction: column; gap: 16px; }
  .escrow-banner { padding: 24px 20px; gap: 20px; }
  .escrow-steps { flex-wrap: wrap; gap: 8px; }
  .dh-card { padding: 12px 14px; }
  .dh-avatar { width: 40px; height: 40px; font-size: 0.85rem; }
}