*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { background: #080d1c; -webkit-font-smoothing: antialiased; }
a { color: #93b4ff; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #c8d4f0; }
input, select, button { font-family: inherit; }
input::placeholder { color: #2e3b5a; }
select option { background: #0f1833; color: #eaf0ff; }

@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ringpulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes ctaWiggle {
  0%, 62%, 100% { transform: rotate(0deg) scale(1); }
  66% { transform: rotate(-1.1deg) scale(1.018); }
  72% { transform: rotate(1.1deg) scale(1.018); }
  78% { transform: rotate(-.8deg) scale(1.012); }
  84% { transform: rotate(.8deg) scale(1.012); }
  90% { transform: rotate(0deg) scale(1); }
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 8px 30px rgba(20,184,166,.38), 0 0 0 0 rgba(45,212,191,.34); }
  50% { box-shadow: 0 12px 44px rgba(20,184,166,.62), 0 0 0 10px rgba(45,212,191,0); }
}

.page {
  min-height: 100vh;
  background: radial-gradient(120% 80% at 50% -8%, #15203b 0%, #0c1326 46%, #080d1c 100%);
  font-family: 'Manrope', system-ui, sans-serif;
  color: #eaf0ff;
  padding: 28px 20px 44px;
  display: flex;
  justify-content: center;
}
.shell { width: 100%; max-width: 940px; display: flex; flex-direction: column; gap: 18px; }

.sr-only { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* Header */
.header { display: flex; align-items: flex-start; gap: 14px; }
.logo-badge {
  flex: none; width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(150deg, #6b8bff, #8a6bff);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(108,128,255,.45);
  animation: floaty 5s ease-in-out infinite;
}
.logo-dot { width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.22); }
.header-text { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.eyebrow { font-size: 11px; letter-spacing: .18em; font-weight: 700; color: #6b769c; text-transform: uppercase; }
.header-text h1 { font-size: 24px; font-weight: 800; letter-spacing: -.025em; color: #f4f7ff; line-height: 1.24; max-width: 720px; text-wrap: pretty; }
.subhead { font-size: 13.5px; color: #8a96bd; font-weight: 500; line-height: 1.55; max-width: 560px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px; border-radius: 999px;
  font-size: 12px; font-weight: 700; border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03); color: #6b769c; transition: all .2s;
}
.chip.done { border-color: rgba(120,150,255,.35); background: rgba(91,124,255,.1); color: #c8d4f0; }
.chip-num {
  display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px;
  border-radius: 50%; font-size: 11px; font-weight: 800; background: rgba(255,255,255,.06); color: #6b769c;
}
.chip.done .chip-num { background: linear-gradient(135deg, #5b7cff, #7b5bff); color: #fff; }

/* Layout columns */
.columns { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.col-main { flex: 1 1 520px; min-width: 300px; display: flex; flex-direction: column; gap: 14px; }
.col-side { flex: 1 1 320px; min-width: 290px; max-width: 380px; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; }

/* Card sections */
.card-section {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.09); border-radius: 20px;
  padding: 20px 22px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.side-card, .start-card { padding: 17px 18px; }
.section-head { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-bottom: 4px; }
.step-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7e93d6; white-space: nowrap; flex: none; }
.section-head h2 { font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: #f4f7ff; }
.side-h2 { font-size: 13.5px !important; line-height: 1.35; }
.section-hint { font-size: 12.5px; color: #8a96bd; font-weight: 500; line-height: 1.5; margin-bottom: 14px; }
.hint-strong { color: #6b769c; font-weight: 700; }

/* Option cards (role) */
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.option-card, .level-card {
  position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px; border-radius: 13px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.option-card.selected, .level-card.selected {
  border-color: rgba(91,124,255,.55); background: rgba(91,124,255,.09); box-shadow: 0 0 0 3px rgba(91,124,255,.12);
}
.option-text { display: flex; flex-direction: column; gap: 3px; }
.option-title { font-size: 14.5px; font-weight: 700; color: #f4f7ff; }
.option-desc { font-size: 12px; color: #8a96bd; font-weight: 500; line-height: 1.45; }

.dot {
  flex: none; margin-top: 2px; width: 17px; height: 17px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; border: 1.5px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.04); transition: border-color .2s;
}
.selected .dot { border-color: #5b7cff; }
.dot-fill {
  width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, #5b7cff, #7b5bff);
  transform: scale(0); transition: transform .18s cubic-bezier(.2,.9,.3,1.4);
}
.selected .dot-fill { transform: scale(1); }

/* Level list */
.level-list { display: flex; flex-direction: column; gap: 8px; }
.level-card { align-items: flex-start; }
.level-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.level-title { font-size: 13.5px; font-weight: 700; color: #f4f7ff; line-height: 1.35; }
.level-units { font-size: 12px; color: #8a96bd; font-weight: 500; line-height: 1.45; }
.level-tone { font-size: 11.5px; font-weight: 600; line-height: 1.4; color: #56618a; transition: color .2s; }
.level-card.selected .level-tone { color: #93b4ff; }

/* Persona panels */
.persona-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.panel {
  border-radius: 15px; padding: 15px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.015);
  opacity: .6; pointer-events: none; transition: opacity .25s, border-color .25s, background .25s;
}
.panel.active { border-color: rgba(120,150,255,.35); background: rgba(91,124,255,.06); pointer-events: auto; }
.panel.active.chosen { opacity: 1; animation: fadein .3s ease both; }
.panel.dimmed { opacity: .32; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.panel-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a96bd; }
.tag {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px;
  border-radius: 6px; white-space: nowrap; color: #6b769c; background: rgba(255,255,255,.05);
}
.tag.active { color: #fff; background: linear-gradient(135deg, #5b7cff, #7b5bff); }

.panel-body { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11.5px; font-weight: 600; color: #8a96bd; letter-spacing: .02em; }
.field input {
  width: 100%; padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: #eaf0ff;
  outline: none; -webkit-appearance: none; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: border-color .2s, background .2s;
}
.field input:disabled { background: rgba(255,255,255,.02); }
.field.error input { background: rgba(248,113,113,.07); border-color: rgba(248,113,113,.5); }
.field-error { font-size: 11px; font-weight: 600; color: #f87171; height: 0; overflow: hidden; opacity: 0; }
.field.error .field-error { height: auto; opacity: 1; }

/* DISC */
.disc-wrap { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 6px; }
.disc-wrap label { font-size: 11.5px; font-weight: 600; color: #8a96bd; letter-spacing: .02em; }
.disc-optional { color: #4d5a80; font-weight: 500; }
.select-wrap { position: relative; }
.select-wrap select {
  width: 100%; padding: 11px 36px 11px 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; color: #eaf0ff; font-size: 13.5px; font-weight: 500; outline: none; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.select-caret { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: #4d5a80; font-size: 12px; pointer-events: none; }

/* Audio row */
.audio-row {
  position: relative; display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 13px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); transition: all .22s;
}
.audio-row.on { border-color: rgba(52,211,153,.32); background: rgba(52,211,153,.09); }
.audio-indicator { position: relative; display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; flex: none; }
.audio-dot { width: 10px; height: 10px; border-radius: 50%; position: relative; z-index: 1; background: #3d4666; transition: background .22s; }
.audio-row.on .audio-dot { background: #34d399; }
.audio-pulse { position: absolute; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(52,211,153,.6); opacity: 0; }
.audio-row.on .audio-pulse { animation: ringpulse 2s ease-out infinite; }
.audio-text { display: flex; flex-direction: column; gap: 2px; }
.audio-label { font-size: 13px; font-weight: 700; color: #eaf0ff; transition: color .2s; }
.audio-row.on .audio-label { color: #5be8b0; }
.audio-sub { font-size: 11.5px; color: #8a96bd; font-weight: 500; line-height: 1.4; }

/* Summary + CTA */
.summary {
  display: flex; flex-direction: column; gap: 8px; padding: 13px 0 15px;
  border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 15px;
}
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.summary-row > span:first-child { color: #6b769c; font-weight: 600; }
.summary-val { font-weight: 700; text-align: right; max-width: 62%; color: #4d5a80; }
.summary-val.set { color: #eaf0ff; }

.cta-btn {
  width: 100%; padding: 15px; border: none; border-radius: 14px; font-size: 16px; font-weight: 700;
  letter-spacing: -.01em; cursor: pointer; background: rgba(255,255,255,.06); color: #56618a;
  transition: background .2s, color .2s;
}
.cta-btn.ready { background: linear-gradient(135deg, #2dd4bf, #14b8a6); color: #03211d; box-shadow: 0 8px 30px rgba(20,184,166,.4); }
.cta-btn.ready.pulsing { animation: ctaGlow 2.4s ease-in-out infinite, ctaWiggle 3.6s ease-in-out infinite; }
.cta-note { margin-top: 10px; font-size: 11.5px; line-height: 1.5; font-weight: 500; color: #6b769c; }
.cta-note.started { color: #93b4ff; }
.cta-note.error { color: #f87171; }

/* Voice panel */
.voice-panel { background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 15px 17px; }
.voice-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #6b769c; margin-bottom: 11px; }
.voice-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; margin-bottom: 7px; }
.voice-row > span:first-child { color: #6b769c; font-weight: 600; }
.voice-row > span:last-child { color: #c8d4f0; font-weight: 700; }
.voice-note { margin-top: 11px; font-size: 11.5px; line-height: 1.5; color: #6b769c; font-weight: 500; }

.disclaimer {
  padding: 12px 14px; font-size: 11px; line-height: 1.55; color: #6b769c; font-weight: 500;
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); border-radius: 12px;
}

/* Call screen */
@keyframes bubblePulse {
  0%, 100% { transform: scale(1); opacity: .55; }
  50% { transform: scale(1.35); opacity: 0; }
}
@keyframes bubbleGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,212,191,.5), 0 12px 34px rgba(20,184,166,.35); }
  50% { box-shadow: 0 0 0 14px rgba(45,212,191,0), 0 16px 44px rgba(20,184,166,.55); }
}

.call-shell {
  width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 16px;
  min-height: calc(100vh - 72px);
}

.call-top { display: flex; align-items: center; justify-content: center; gap: 10px; }
.call-status-pill {
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; color: #8a96bd; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); transition: all .2s;
}
.call-status-pill.connecting { color: #c8a24d; background: rgba(234,179,8,.1); border-color: rgba(234,179,8,.3); }
.call-status-pill.live { color: #5be8b0; background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.32); }
.call-status-pill.ended { color: #8a96bd; }
.call-status-pill.error { color: #f87171; background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.32); }
.call-timer { font-size: 12.5px; font-weight: 700; color: #6b769c; font-variant-numeric: tabular-nums; }

.call-bubbles { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; padding: 18px 0 4px; }
.call-bubble {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 132px; padding: 6px;
}
.bubble-ring {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 88px; height: 88px;
  border-radius: 50%; border: 1.5px solid rgba(52,211,153,.6); opacity: 0;
}
.call-bubble.speaking .bubble-ring { animation: bubblePulse 1.6s ease-out infinite; }
.bubble-avatar {
  width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800; color: #fff; background: linear-gradient(150deg, #3a4470, #262e52);
  border: 2px solid rgba(255,255,255,.1); transition: all .25s;
}
.call-bubble.speaking .bubble-avatar {
  background: linear-gradient(150deg, #2dd4bf, #14b8a6); border-color: rgba(45,212,191,.7);
  animation: bubbleGlow 1.6s ease-in-out infinite;
}
.bubble-name { font-size: 13.5px; font-weight: 700; color: #f4f7ff; text-align: center; }
.bubble-role { font-size: 11px; font-weight: 600; color: #6b769c; text-align: center; }
.call-bubble.speaking .bubble-role { color: #5be8b0; }

.call-error-note {
  font-size: 12.5px; font-weight: 600; color: #f87171; text-align: center; line-height: 1.5;
  padding: 10px 14px; background: rgba(248,113,113,.07); border: 1px solid rgba(248,113,113,.28); border-radius: 12px;
}

.transcript {
  flex: 1; min-height: 220px; max-height: 48vh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
  padding: 16px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
}
.transcript-empty { font-size: 12.5px; color: #56618a; font-weight: 500; text-align: center; margin: auto; }
.transcript-line { display: flex; flex-direction: column; gap: 3px; max-width: 82%; animation: fadein .25s ease both; }
.transcript-line.role-user { align-self: flex-end; align-items: flex-end; }
.transcript-line.role-agent { align-self: flex-start; align-items: flex-start; }
.transcript-line-label { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: #6b769c; }
.transcript-line-text {
  font-size: 13.5px; line-height: 1.45; font-weight: 500; color: #eaf0ff; padding: 9px 13px; border-radius: 13px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
}
.transcript-line.role-user .transcript-line-text { background: rgba(91,124,255,.14); border-color: rgba(91,124,255,.3); }

.call-controls { display: flex; gap: 10px; }
.call-main-btn {
  flex: 1; padding: 14px; border: none; border-radius: 14px; font-size: 15px; font-weight: 700;
  letter-spacing: -.01em; cursor: pointer; transition: background .2s, color .2s;
  background: rgba(248,113,113,.14); color: #f87171; border: 1px solid rgba(248,113,113,.3);
}
.call-main-btn:disabled { opacity: .6; cursor: default; }

.post-call-actions { display: flex; gap: 10px; animation: fadein .3s ease both; }
.call-redo-btn, .call-new-btn {
  flex: 1; padding: 13px; border: none; border-radius: 14px; font-size: 14px; font-weight: 700;
  letter-spacing: -.01em; cursor: pointer;
}
.call-redo-btn { background: rgba(255,255,255,.07); color: #eaf0ff; border: 1px solid rgba(255,255,255,.12); }
.call-new-btn { background: linear-gradient(135deg, #5b7cff, #7b5bff); color: #fff; }

.coaching-section { display: flex; flex-direction: column; gap: 12px; }
.coaching-reveal-btn, .claim-cert-btn {
  width: 100%; padding: 14px; border: none; border-radius: 14px; font-size: 15px; font-weight: 700;
  letter-spacing: -.01em; cursor: pointer; background: linear-gradient(135deg, #2dd4bf, #14b8a6); color: #03211d;
}
.coaching-loading-note { font-size: 12.5px; font-weight: 600; color: #6b769c; text-align: center; }

.coaching-panel {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
  padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 12px; animation: fadein .3s ease both;
}
.coaching-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #5be8b0; }
.coaching-head h3 { margin: 4px 0 0; font-size: 17px; font-weight: 800; color: #eaf0ff; }
.coaching-scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.coaching-score-item {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 12px;
  padding: 9px 11px; display: flex; flex-direction: column; gap: 3px;
}
.coaching-score-label { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b769c; }
.coaching-score-value { font-size: 15px; font-weight: 800; color: #eaf0ff; }
.coaching-score-value .of-five { font-size: 11px; font-weight: 600; color: #6b769c; }
.coaching-score-total { grid-column: 1 / -1; background: rgba(45,212,191,.08); border-color: rgba(45,212,191,.3); }
.coaching-score-total .coaching-score-value { color: #5be8b0; }
.coaching-body { font-size: 13.5px; line-height: 1.6; font-weight: 500; color: #d3daf5; white-space: pre-wrap; }
.coaching-error-note { font-size: 12.5px; font-weight: 600; color: #f87171; text-align: center; }

.certificate-cta {
  margin-top: 4px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 10px; text-align: center;
}
.certificate-cta-text { font-size: 12.5px; font-weight: 600; color: #5be8b0; }

/* Confetti */
.confetti-layer {
  position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 999;
}
.confetti-piece {
  position: absolute; top: -20px; width: 9px; height: 14px; opacity: .9;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(105vh) rotate(540deg); opacity: .6; }
}

/* Certificate page */
.cert-shell {
  width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 20px; align-items: center;
  min-height: calc(100vh - 72px); padding-top: 12px;
}
.cert-congrats { text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.cert-badge-icon { font-size: 42px; }
.cert-congrats h1 { margin: 0; font-size: 26px; font-weight: 800; color: #eaf0ff; }
.cert-congrats p { margin: 0; font-size: 14px; color: #93b4ff; font-weight: 600; }

.cert-name-field { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 6px; }
.cert-name-field label { font-size: 11.5px; font-weight: 700; color: #6b769c; text-transform: uppercase; letter-spacing: .06em; }
.cert-name-field input {
  padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  color: #eaf0ff; font-size: 15px; font-family: inherit;
}

.certificate-wrap { width: 100%; display: flex; justify-content: center; }
.certificate-card {
  width: 100%; max-width: 560px; aspect-ratio: 1.414 / 1; box-sizing: border-box;
  padding: 36px 40px; border-radius: 18px; text-align: center; position: relative;
  background: linear-gradient(160deg, #10142b 0%, #161b3a 55%, #1c1440 100%);
  border: 2px solid rgba(45,212,191,.4); box-shadow: 0 20px 60px rgba(0,0,0,.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.certificate-card::before {
  content: ''; position: absolute; inset: 10px; border: 1px solid rgba(91,124,255,.35); border-radius: 12px; pointer-events: none;
}
.cert-badge {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #03211d; background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  box-shadow: 0 8px 24px rgba(20,184,166,.4); margin-bottom: 4px;
}
.cert-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #93b4ff; }
.cert-title { margin: 2px 0 0; font-size: 26px; font-weight: 800; color: #eaf0ff; letter-spacing: -.01em; }
.cert-sub { margin: 6px 0 0; font-size: 12px; color: #6b769c; font-weight: 600; }
.cert-name { margin: 2px 0; font-size: 28px; font-weight: 800; color: #5be8b0; font-family: Georgia, 'Times New Roman', serif; }
.cert-desc { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: #b7c1e6; max-width: 400px; font-weight: 500; }
.cert-coach { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: #eaf0ff; }
.cert-footer { margin-top: 14px; width: 100%; display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
.cert-date, .cert-signature { font-size: 11px; font-weight: 700; color: #6b769c; }

.cert-actions { width: 100%; max-width: 420px; }
.cert-download-btn {
  width: 100%; padding: 15px; border: none; border-radius: 14px; font-size: 15px; font-weight: 700;
  cursor: pointer; background: linear-gradient(135deg, #2dd4bf, #14b8a6); color: #03211d;
}

.cert-share { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.cert-share-label { margin: 0; font-size: 12px; font-weight: 700; color: #6b769c; }
.cert-share-buttons { display: flex; gap: 10px; width: 100%; }
.share-btn {
  flex: 1; padding: 12px; border: none; border-radius: 12px; font-size: 13.5px; font-weight: 700; cursor: pointer; color: #fff;
}
.share-facebook { background: #1877f2; }
.share-linkedin { background: #0a66c2; }
.share-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.cert-share-copied { font-size: 11.5px; font-weight: 600; color: #5be8b0; }

.cert-done-btn {
  padding: 13px 22px; border: none; border-radius: 14px; font-size: 13.5px; font-weight: 700; cursor: pointer;
  background: rgba(255,255,255,.07); color: #eaf0ff; border: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 480px) {
  .call-bubble { width: 42vw; max-width: 132px; }
  .bubble-avatar, .bubble-ring { width: 78px; height: 78px; }
  .transcript { max-height: 42vh; }
  .certificate-card { padding: 26px 20px; aspect-ratio: auto; }
  .cert-title { font-size: 21px; }
  .cert-name { font-size: 22px; }
}
