.pd-bg {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pd-wrap { margin-top: 3rem; }

/* ---- Tabs ---- */
.pd-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 5px;
  width: fit-content;
  margin-bottom: 2.5rem;
  position: relative;
}
.pd-pill {
  position: absolute;
  top: 5px; left: 5px;
  height: calc(100% - 10px);
  background: var(--teal);
  border-radius: 10px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
  pointer-events: none;
}
.pd-tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s;
  color: var(--ink-50);
  font-family: var(--font);
}
.pd-tab.active { color: var(--white); }
.pd-tab-label { font-size: 0.8125rem; font-weight: 600; }

/* Ring timer */
.pd-ring-wrap { position: relative; width: 24px; height: 24px; }
.pd-ring { width: 24px; height: 24px; transform: rotate(-90deg); }
.pd-ring-track { fill: none; stroke: rgba(255,255,255,0.15); stroke-width: 3; }
.pd-ring-fill {
  fill: none;
  stroke: #F59A1E;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 94.25;
  stroke-dashoffset: 94.25;
  transition: stroke-dashoffset 0.1s linear;
}
.pd-tab:not(.active) .pd-ring-track { stroke: var(--border); }
.pd-tab:not(.active) .pd-ring-fill  { stroke: var(--teal); }
.pd-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0;
}

/* ---- Two-column layout ---- */
.pd-content-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* ---- Phone ---- */
.pd-phone-outer { position: relative; display: flex; justify-content: center; }
.pd-phone {
  width: 260px; height: 520px;
  background: #0d0d0d;
  border-radius: 36px;
  border: 6px solid #1a1a1a;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 24px 60px rgba(225,108,0,0.15), 0 8px 20px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.pd-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 20px;
  background: #0d0d0d;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}
.pd-ambient {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 50% 50%, rgba(225,108,0,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ---- Screens ---- */
.pd-screen {
  position: absolute;
  inset: 0;
  padding-top: 38px;
  display: none;
  flex-direction: column;
  background: #111;
}
.pd-screen.active { display: flex; }

.pd-sh {
  padding: 0.5rem 1rem 0.375rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pd-sh-logo { font-size: 0.625rem; font-weight: 700; color: rgba(255,255,255,0.9); letter-spacing: -0.01em; }
.pd-sh-badge { font-size: 0.5rem; font-weight: 600; color: rgba(255,255,255,0.35); }
.pd-sh-pct { font-size: 0.5625rem; font-weight: 700; color: #F59A1E; }
.pd-sh-live { display: flex; align-items: center; gap: 0.375rem; }
.pd-live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-green 1.5s infinite;
  flex-shrink: 0;
}

.pd-sb { flex: 1; padding: 0.75rem; overflow: hidden; display: flex; flex-direction: column; gap: 0.5rem; }

/* Screen 0 */
.pd-prompt { font-size: 0.625rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 0.25rem; }
.pd-crisis-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem; }
.pd-crisis-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  font-size: 0.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.15s;
}
.pd-crisis-active {
  background: rgba(225,108,0,0.15);
  border-color: rgba(225,108,0,0.35);
  color: #FFCAA7;
}
.pd-input-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 0.5rem;
  color: rgba(255,255,255,0.65);
  min-height: 42px;
  line-height: 1.5;
}
.pd-caret {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: #FFCAA7;
  margin-left: 1px;
}
.pd-online {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.5rem;
  color: rgba(255,255,255,0.3);
  margin-top: auto;
}
.pd-online-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse-green 1.5s infinite;
}

/* Screen 1 - match */
.pd-mentor-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
}
.pd-mentor-active {
  border-color: rgba(225,108,0,0.3);
  background: rgba(225,108,0,0.07);
}
.pd-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.pd-av img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}
.pd-av-2 { background: #0d9488; }
.pd-mname { font-size: 0.5625rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.pd-mrole { font-size: 0.4375rem; color: rgba(255,255,255,0.4); margin-top: 1px; }
.pd-online-pip {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22c55e;
  margin-left: auto;
  flex-shrink: 0;
}
.pd-been { background: rgba(255,255,255,0.03); border-radius: 8px; padding: 0.4rem 0.5rem; }
.pd-been-label { font-size: 0.4375rem; color: rgba(255,255,255,0.35); margin-bottom: 0.25rem; font-weight: 600; }
.pd-been-tags { display: flex; flex-wrap: wrap; gap: 0.2rem; }
.pd-been-tags span {
  font-size: 0.4rem;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 1px 5px;
}
.pd-sessions-done { font-size: 0.5rem; color: #FFCAA7; font-weight: 700; margin-top: auto; }

/* Screen 2 - book */
.pd-slot-label { font-size: 0.5rem; font-weight: 600; color: rgba(255,255,255,0.4); margin-bottom: 0.25rem; }
.pd-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
.pd-slot {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  padding: 0.375rem;
  font-size: 0.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
.pd-slot-active {
  background: rgba(225,108,0,0.15);
  border-color: rgba(225,108,0,0.4);
  color: #FFCAA7;
}
.pd-pay-row { display: flex; align-items: baseline; gap: 0.375rem; }
.pd-price { font-size: 1rem; font-weight: 800; color: rgba(255,255,255,0.95); }
.pd-price-note { font-size: 0.4375rem; color: rgba(255,255,255,0.3); line-height: 1.4; }
.pd-book-btn {
  width: 100%;
  background: #F59A1E;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem;
  font-size: 0.5625rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
}
.pd-whatsapp-note {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.4375rem;
  color: rgba(255,255,255,0.25);
  margin-top: auto;
}

/* Screen 3 - session */
.pd-chat { display: flex; flex-direction: column; gap: 0.375rem; flex: 1; }
.pd-bubble {
  max-width: 85%;
  padding: 0.4rem 0.5rem;
  border-radius: 10px;
  font-size: 0.4375rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  position: relative;
}
.pd-bubble-you {
  background: rgba(225,108,0,0.15);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
/* blue kept here intentionally as the contrast splash */
.pd-bubble-mentor {
  background: rgba(135,197,234,0.08);
  border: 1px solid rgba(135,197,234,0.15);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.pd-btime { display: block; font-size: 0.375rem; color: rgba(255,255,255,0.25); margin-top: 2px; }
.pd-timer-track {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: auto;
}
.pd-timer-fill {
  height: 100%;
  background: #E16C00;
  border-radius: 2px;
  width: 100%;
}
.pd-timer-lbl { font-size: 0.4375rem; color: rgba(255,255,255,0.2); margin-top: 2px; }

/* ---- Step description ---- */
.pd-desc { display: flex; flex-direction: column; }
.pd-step { display: none; }
.pd-step.active { display: flex; flex-direction: column; gap: 0.75rem; }
.pd-step-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
}
.pd-step h3 {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
}
.pd-step p {
  font-size: 0.9375rem;
  color: var(--ink-50);
  line-height: 1.7;
  max-width: 400px;
}
.pd-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border-mid);
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  width: fit-content;
  margin-top: 0.25rem;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.pd-next-btn:hover { border-color: var(--teal); background: var(--teal-light); color: var(--teal); }

@media (max-width: 820px) {
  .pd-content-2col { grid-template-columns: 1fr; gap: 2.5rem; }
  .pd-phone-outer { order: -1; }
  .pd-phone { width: 220px; height: 440px; }
  .pd-tabs { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .pd-tabs { width: 100%; }
  .pd-tab { flex: 1; justify-content: center; }
  .pd-tab-label { display: none; }
}