@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap);
:host {
  --bg: #ffffff;
  --bg-soft: #f7f7fb;
  --panel-soft: #f9f9fc;

  --text: #12141c;
  --text-secondary: #4b5163;
  --muted: #6b7280;

  --border: rgba(18, 20, 28, 0.09);
  --border-strong: rgba(18, 20, 28, 0.16);

  --teal: #4f46e5;
  --teal-bright: #6d5ff0;
  --teal-deep: #3730a3;

  --red: #dc2626;
  --amber: #d97706;
  --amber-bright: #f59e0b;
}

* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; }

.sdr-app {
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  background:
    radial-gradient(circle at 50% -25%, rgba(79, 70, 229, 0.07) 0, transparent 42%),
    var(--bg);

  color: var(--text);

  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.background { position: absolute; inset: 0; pointer-events: none; }

.background-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 20, 28, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 28, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.65;
  mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.16;
}

.glow-one { width: 520px; height: 520px; right: -170px; top: -120px; background: var(--teal); }
.glow-two { width: 460px; height: 460px; left: -190px; bottom: -200px; background: #3985ff; }

.sdr-page {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 80px;
}

.eyebrow {
  display: block;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.primary-button, .secondary-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 22px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.primary-button {
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #ffffff;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--teal-bright);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.28);
}

.secondary-button {
  border: 1px solid var(--border-strong);
  background: rgba(18, 20, 28, 0.03);
  color: var(--text);
}

.secondary-button:hover { background: rgba(18, 20, 28, 0.06); }

.full-width { width: 100%; }

/* INTRO */

.intro-page { min-height: 100vh; display: flex; align-items: center; }

.intro-content { max-width: 620px; margin: 0 auto; text-align: left; }

.intro-content h1 {
  margin: 16px 0 18px;
  color: var(--text);
  font-size: clamp(38px, 5.5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.intro-content h1 span { color: var(--teal); }

.intro-description {
  margin: 0 0 26px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
  max-width: 520px;
}

.prospect-card {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel-soft);
}

.prospect-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

.prospect-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.prospect-avatar.small { width: 36px; height: 36px; font-size: 13px; }

.prospect-card-top strong { display: block; color: var(--text); font-size: 16px; font-weight: 600; }
.prospect-card-top span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }

.prospect-signals { display: flex; flex-wrap: wrap; gap: 8px; }
.prospect-signals.inline { margin-left: auto; justify-content: flex-end; }

.signal-chip {
  padding: 6px 11px;
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.06);
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 600;
}

.tiny-copy { margin-top: 4px; color: var(--muted); font-size: 10px; }

/* ROUND HEADER */

.round-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.round-header h2 {
  margin: 10px 0 8px;
  color: var(--text);
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1.1;
}

.round-header p { margin: 0; color: var(--text-secondary); font-size: 14px; font-weight: 300; max-width: 460px; }

.timer-badge {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--panel-soft);
  text-align: center;
}

.timer-badge span { display: block; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.timer-badge strong { display: block; margin-top: 4px; color: var(--text); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }

.timer-badge.urgent { border-color: rgba(220, 38, 38, 0.35); background: rgba(220, 38, 38, 0.05); }
.timer-badge.urgent strong { color: var(--red); }

/* PROSPECT STRIP */

.prospect-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-soft);
}

.prospect-strip-copy strong { display: block; color: var(--text); font-size: 13px; font-weight: 600; }
.prospect-strip-copy span { display: block; margin-top: 1px; color: var(--muted); font-size: 11px; }

/* OPENERS */

.opener-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.opener-card {
  text-align: left;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.opener-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 10px 24px rgba(18, 20, 28, 0.07);
}

.opener-card.selected {
  border-color: rgba(79, 70, 229, 0.7);
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.08), transparent 62%), #fbfaff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.14);
}

.opener-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.opener-card p { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.55; font-weight: 400; }

/* ROUND 2 */

.sent-recap {
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-soft);
}

.sent-recap span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sent-recap p { margin: 0; color: var(--text); font-size: 13px; line-height: 1.55; font-weight: 400; }

.move-list { display: flex; flex-direction: column; gap: 10px; }

.move-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.move-card:hover {
  transform: translateX(2px);
  border-color: var(--border-strong);
  box-shadow: 0 8px 20px rgba(18, 20, 28, 0.06);
}

.move-card.selected {
  border-color: rgba(79, 70, 229, 0.7);
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.07), transparent 70%), #fbfaff;
}

.move-copy strong { display: block; color: var(--text); font-size: 14px; font-weight: 600; }
.move-copy span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 300; }

.move-arrow { color: var(--teal); font-size: 16px; }

/* RESULTS */

.results-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
  align-items: start;
}

.results-main h2 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.results-main h2 span { color: var(--teal); }

.score-bars { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }

.score-bar-labels { display: flex; justify-content: space-between; margin-bottom: 6px; }
.score-bar-labels span { color: var(--text-secondary); font-size: 12px; font-weight: 500; }
.score-bar-labels strong { color: var(--text); font-size: 12px; font-weight: 700; }

.score-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(18, 20, 28, 0.08);
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 400ms ease;
}

.reveal-card {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-radius: 16px;
  background: rgba(217, 119, 6, 0.05);
}

.reveal-row { margin-top: 14px; }
.reveal-row:first-of-type { margin-top: 14px; }
.reveal-row strong { display: block; margin-bottom: 4px; color: #92450a; font-size: 12px; font-weight: 700; }
.reveal-row p { margin: 0; color: #6b5a35; font-size: 12px; line-height: 1.55; font-weight: 400; }

/* BOOTH PANEL — the one bold, dark accent card */

.booth-panel {
  position: sticky;
  top: 24px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(109, 95, 240, 0.5);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(109, 95, 240, 0.55), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(217, 119, 6, 0.18), transparent 35%),
    #181135;
  color: #f2f0ff;
  box-shadow: 0 35px 90px rgba(30, 20, 70, 0.28), 0 0 55px rgba(79, 70, 229, 0.12);
}

.reward-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(245, 158, 11, 0.48);
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.06));
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.12);
}

.reward-banner-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #241300;
  background: linear-gradient(135deg, #ffe393, var(--amber-bright));
  box-shadow: 0 5px 20px rgba(245, 158, 11, 0.28);
  font-size: 18px;
}

.reward-banner span { display: block; color: var(--amber-bright); font-size: 8px; font-weight: 700; letter-spacing: 0.15em; }
.reward-banner strong { display: block; margin-top: 3px; color: #ffffff; font-size: 11px; font-weight: 600; letter-spacing: 0.03em; }

.booth-copy { margin: 26px 4px 20px; }

.booth-eyebrow { color: #a99bff; font-size: 9px; font-weight: 700; letter-spacing: 0.16em; }

.booth-copy h3 {
  margin: 12px 0 12px;
  color: #ffffff;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.booth-copy h3 span { color: #a99bff; }

.booth-copy p { margin: 0; color: #cdc7f4; font-size: 12px; line-height: 1.7; font-weight: 300; }

.claim-card {
  position: relative;
  overflow: hidden;
  margin: 20px 0 15px;
  padding: 18px;
  border: 1px solid rgba(109, 95, 240, 0.58);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(109, 95, 240, 0.28), rgba(109, 95, 240, 0.08));
  box-shadow: inset 0 0 35px rgba(109, 95, 240, 0.06), 0 14px 35px rgba(10, 6, 30, 0.25);
}

.claim-card-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  right: -65px;
  top: -70px;
  border-radius: 50%;
  background: var(--teal-bright);
  filter: blur(75px);
  opacity: 0.35;
}

.claim-card-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  color: #d8d2ff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.claim-live-dot { display: inline-flex; align-items: center; gap: 5px; color: #a99bff; }
.claim-live-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 9px var(--teal-bright); }

.claim-card-main { position: relative; padding: 20px 0 18px; text-align: center; }
.claim-card-main > span { display: block; color: #d8d2ff; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; }
.claim-card-main strong { display: block; margin: 5px 0 8px; color: #ffffff; font-size: 27px; font-weight: 600; letter-spacing: -0.03em; }
.claim-card-main p { max-width: 260px; margin: 0 auto; color: #cdc7f4; font-size: 10px; line-height: 1.55; font-weight: 300; }

.claim-card-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  color: #b6adf0;
  font-size: 9px;
}

.booth-panel .secondary-button {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.booth-panel .secondary-button:hover { background: rgba(255, 255, 255, 0.12); }

/* TABLET / MOBILE */

@media (max-width: 900px) {
  .opener-grid { grid-template-columns: 1fr; }
  .results-page { grid-template-columns: 1fr; }
  .booth-panel { position: static; }
  .round-header { flex-direction: column; }
  .timer-badge { align-self: flex-start; }
}

@media (max-width: 640px) {
  .sdr-page { width: calc(100% - 28px); padding: 44px 0 55px; }
  .intro-content h1 { font-size: 34px; }
  .prospect-card-top { flex-wrap: wrap; }
  .prospect-strip { flex-wrap: wrap; }
  .prospect-signals.inline { margin-left: 0; justify-content: flex-start; }
  .move-card { flex-wrap: wrap; }
}
