/* =========================================================
   Product Design & Development page
   ========================================================= */

.page-product-design {
  background: #fff;
}

.page-product-design .service-detail-hero .hero-copy h1 .accent {
  color: var(--blue-400);
}

.page-product-design .service-detail-hero .hero-copy h1 .line-block {
  display: block;
}

.page-product-design .btn-submit-upper {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  padding: 16px 24px;
}

.page-product-design .panel-note a {
  color: var(--blue-400);
  text-decoration: underline;
}

.pd-form-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pd-form-badges span {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 141, 235, 0.14);
  color: #a7d8ff;
  border: 1px solid rgba(15, 141, 235, 0.24);
}

/* Problem section */
.pd-problem-section {
  padding: 80px 0 88px;
  background: #fff;
}

.pd-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.pd-problem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.pd-problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-500);
  background: var(--blue-pill-bg);
  border: 1px solid #c8e5fa;
}

.pd-problem-icon .lucide {
  width: 22px;
  height: 22px;
}

.pd-problem-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.pd-problem-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0;
}

/* Answer — dark service cards */
.pd-answer-section {
  padding: 80px 0 88px;
  background: var(--bg-grey);
}

.pd-answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.pd-answer-card {
  background: linear-gradient(180deg, #0f2454 0%, #0b1b40 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 16px 40px rgba(15, 32, 66, 0.1);
}

.pd-answer-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
  background: var(--blue-500);
}

.pd-answer-icon .lucide {
  width: 22px;
  height: 22px;
}

.pd-answer-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.pd-answer-card > p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 16px;
}

.pd-answer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-answer-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(15, 141, 235, 0.2);
  color: #7fd4ff;
  border: 1px solid rgba(63, 182, 247, 0.25);
}

/* Process */
.pd-process-section {
  padding: 80px 0 88px;
  background: #fff;
}

.pd-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
  margin-top: 44px;
}

.pd-process-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.pd-process-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  color: var(--blue-500);
  letter-spacing: -0.03em;
}

.pd-process-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.pd-process-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0;
}

/* Results */
.pd-results-section {
  padding: 80px 0 56px;
  background: #eef6fc;
}

.pd-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 44px;
}

.pd-case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.pd-case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 10px;
}

.pd-case-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.pd-case-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e85d4c;
  margin: 14px 0 8px;
}

.pd-case-label-solution {
  color: var(--blue-500);
}

.pd-case-card > p:not(.pd-case-label) {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

.pd-case-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.pd-case-metrics--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pd-case-metric {
  text-align: center;
  padding: 14px 10px;
  background: var(--bg-grey);
  border-radius: 12px;
}

.pd-case-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-500);
  line-height: 1.1;
  margin-bottom: 6px;
}

.pd-case-metric span {
  display: block;
  font-size: 11px;
  color: var(--text-body);
  line-height: 1.4;
}

.pd-case-quote {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-style: italic;
  line-height: 1.75;
  color: var(--text-body);
}

.pd-case-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.pd-case-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-pill-bg);
  color: var(--blue-500);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.pd-case-author strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
}

.pd-case-author span {
  font-size: 12px;
  color: var(--text-muted);
}

.pd-quote-banner {
  max-width: 900px;
  margin: 48px auto 0;
  text-align: center;
  padding: 40px 32px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15, 141, 235, 0.15);
  box-shadow: var(--shadow-card);
}

.pd-quote-banner p {
  font-size: 17px;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0 0 20px;
}

.pd-quote-banner cite {
  display: block;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pd-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-500);
  margin-bottom: 20px;
}

.pd-results-cta {
  text-align: center;
  margin-top: 32px;
}

/* Why */
.pd-why-section {
  padding: 80px 0 88px;
  background: #fff;
}

.pd-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.pd-why-card {
  background: linear-gradient(180deg, #0f2454 0%, #0b1b40 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
}

.pd-why-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-500);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pd-why-icon .lucide {
  width: 18px;
  height: 18px;
}

.pd-why-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.pd-why-card p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* Outcomes — premium minimalist strip */
.pd-outcomes {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.pd-outcomes__head {
  max-width: 520px;
  margin: 0 auto 40px;
  text-align: center;
}

.pd-outcomes__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}

.pd-outcomes__head h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: -0.02em;
}

.pd-outcomes__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(10, 23, 51, 0.04);
}

.pd-outcomes__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.pd-outcomes__item:last-child {
  border-right: none;
}

.pd-outcomes__metric {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-dark);
}

.pd-outcomes__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
  background: #f8fafc;
  border: 1px solid var(--line);
}

.pd-outcomes__icon .lucide {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

.pd-outcomes__label {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 11.5rem;
  margin: 0;
}

/* FAQ & CTA */
.page-product-design .pd-faq {
  padding: 80px 0 88px;
  background: #fff;
}

.page-product-design .pd-final-cta .project-copy h2 .accent {
  color: var(--blue-400);
}

.page-product-design .project-form select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 15px;
  appearance: none;
  color-scheme: light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.page-product-design .project-form select option {
  color: var(--text-dark);
  background: #fff;
}

@media (max-width: 1100px) {
  .pd-problem-grid,
  .pd-answer-grid,
  .pd-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-case-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-outcomes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-outcomes__item {
    border-bottom: 1px solid var(--line);
  }

  .pd-outcomes__item:nth-child(2n) {
    border-right: none;
  }

  .pd-outcomes__item:nth-child(n + 3) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .pd-problem-grid,
  .pd-answer-grid,
  .pd-process-grid,
  .pd-case-grid,
  .pd-why-grid {
    grid-template-columns: 1fr;
  }

  .pd-process-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .page-product-design .pd-final-cta .project-grid {
    grid-template-columns: 1fr;
  }

  .pd-outcomes {
    margin-top: 40px;
    padding-top: 40px;
  }

  .pd-outcomes__head {
    margin-bottom: 28px;
  }

  .pd-outcomes__grid {
    grid-template-columns: 1fr;
  }

  .pd-outcomes__item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 28px 24px;
  }

  .pd-outcomes__item:last-child {
    border-bottom: none;
  }
}
