@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #060E18;
  --surface: rgba(10, 26, 38, 0.95);
  --surface2: rgba(11, 61, 92, 0.22);
  --border: rgba(42, 175, 207, 0.18);
  --border2: rgba(42, 175, 207, 0.07);
  --cyan: #2AAFCF;
  --cyan2: rgba(42, 175, 207, 0.5);
  --navy: #0B3D5C;
  --text: #EEF3F8;
  --muted: rgba(238, 243, 248, 0.5);
  --dim: rgba(238, 243, 248, 0.22);
  --radius: 14px;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

body.embed-mode { border-radius: 16px; overflow: hidden; }

.screen { display: none; height: 100%; flex-direction: column; }
.screen.active { display: flex; }

/* ===== MODE SELECT ===== */
.mode-select {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(42,175,207,0.12) 0%, transparent 60%), var(--bg);
}
.medvia-brand { margin-bottom: 32px; display: flex; flex-direction: column; align-items: center; }
.medvia-brand .brand-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text);
}
.subtext {
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.mode-cards { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  min-width: 220px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.mode-card:hover { border-color: var(--cyan); background: var(--surface2); transform: translateY(-2px); }
.mode-card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.mode-card p { color: var(--muted); font-size: 14px; }
.footer { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: var(--dim); font-size: 13px; }

/* ===== BACK BUTTON ===== */
.back-btn {
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-family: var(--sans); font-size: 15px; padding: 12px 16px;
  display: flex; align-items: center; gap: 6px; min-height: 44px;
}
.back-btn:hover { color: var(--text); }

/* ===== CU SELECT ===== */
.cu-select { padding: 0 24px 24px; overflow-y: auto; }
.cu-select h2 { font-family: var(--serif); font-size: 26px; margin: 16px 0 8px; text-align: center; }
.cu-select .subtext { text-align: center; margin-bottom: 24px; font-size: 14px; }
.search-wrap { position: relative; max-width: 480px; margin: 0 auto 16px; }
.search-wrap input {
  width: 100%; padding: 14px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-family: var(--sans); font-size: 16px; outline: none;
}
.search-wrap input:focus { border-color: var(--cyan); }
.search-wrap input::placeholder { color: var(--dim); }
.search-results {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  max-height: 300px; overflow-y: auto; z-index: 10; display: none;
}
.search-results.visible { display: block; }
.search-result-item { padding: 12px 16px; cursor: pointer; border-bottom: 1px solid var(--border2); transition: background 0.15s; }
.search-result-item:hover { background: var(--surface2); }
.search-result-item .cu-name { font-weight: 600; font-size: 15px; }
.search-result-item .cu-meta { color: var(--muted); font-size: 13px; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 480px; margin: 0 auto 24px; }
.chip {
  padding: 8px 16px; border-radius: 20px; background: var(--surface2);
  border: 1px solid var(--border); color: var(--text); font-size: 14px;
  cursor: pointer; transition: all 0.15s; min-height: 44px; display: flex; align-items: center;
}
.chip:hover { border-color: var(--cyan); background: var(--surface); }
.skip-link { display: block; text-align: center; color: var(--muted); font-size: 14px; cursor: pointer; padding: 12px; min-height: 44px; }
.skip-link:hover { color: var(--text); }

/* ===== CHAT SCREEN ===== */
.chat-screen { background: var(--bg); }
.chat-header {
  padding: 12px 16px; background: var(--surface);
  border-bottom: 1px solid var(--border2);
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.chat-header .avatar {
  width: 40px; height: 40px; background: var(--navy); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-header-info { flex: 1; min-width: 0; }
.chat-header-info .cu-label { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-header-info .via-label { font-weight: 600; font-size: 15px; }
.chat-header-info .status { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.chat-header-info .status .dot { width: 6px; height: 6px; background: #34D399; border-radius: 50%; }
.book-review-btn {
  padding: 8px 16px; background: var(--cyan); color: #060E18; border: none;
  border-radius: 8px; font-family: var(--sans); font-weight: 600; font-size: 13px;
  cursor: pointer; white-space: nowrap; min-height: 36px; text-decoration: none;
  display: flex; align-items: center; gap: 4px; flex-shrink: 0;
}
.book-review-btn:hover { background: #35c4e6; }
.messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 85%; display: flex; gap: 8px; align-items: flex-end; }
.msg.via { align-self: flex-start; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg .avatar-sm {
  width: 28px; height: 28px; background: var(--navy); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.via-mark {
  font-family: var(--serif); font-size: 11px; color: var(--cyan);
  font-weight: 400; line-height: 1; letter-spacing: -0.3px; user-select: none;
}
.via-mark-lg {
  font-size: 15px;
}
.msg .bubble { padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.msg.via .bubble { background: var(--surface); border: 1px solid var(--border2); border-bottom-left-radius: 4px; }
.msg.via .bubble a { color: var(--cyan); }
.msg.user .bubble { background: var(--cyan); color: #060E18; border-bottom-right-radius: 4px; }
.starters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; flex-shrink: 0; }
.starter-pill {
  padding: 10px 16px; border-radius: 20px; background: var(--surface);
  border: 1px solid var(--border); color: var(--text); font-size: 14px;
  cursor: pointer; transition: all 0.15s; min-height: 44px;
}
.starter-pill:hover { border-color: var(--cyan); }
.lead-nudge {
  padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.lead-nudge p { flex: 1; font-size: 14px; color: var(--muted); }
.lead-nudge button {
  padding: 10px 20px; background: var(--cyan); color: #060E18; border: none;
  border-radius: 10px; font-family: var(--sans); font-weight: 600; font-size: 14px;
  cursor: pointer; min-height: 44px; white-space: nowrap;
}
/* Persona buttons */
.persona-buttons {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 16px; flex-shrink: 0;
  transition: opacity 0.3s ease;
}
.persona-btn {
  padding: 8px 14px; border-radius: 20px; background: var(--bg);
  border: 1px solid var(--cyan); color: var(--text); font-family: var(--sans);
  font-size: 13px; cursor: pointer; transition: background 0.15s; min-height: 36px;
}
.persona-btn:hover { background: rgba(84,181,223,0.15); }
@media (max-width: 700px) {
  .persona-buttons { display: grid; grid-template-columns: 1fr 1fr; }
}

.chat-input-row {
  padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--border2);
  display: flex; gap: 8px; flex-shrink: 0;
}
.chat-input-row input {
  flex: 1; padding: 12px 16px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 24px;
  color: var(--text); font-family: var(--sans); font-size: 16px; outline: none;
}
.chat-input-row input:focus { border-color: var(--cyan); }
.chat-input-row input::placeholder { color: var(--dim); }
.chat-input-row button {
  width: 44px; height: 44px; border-radius: 50%; background: var(--cyan);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.typing-indicator .bubble { display: flex; gap: 4px; align-items: center; }
.typing-dot {
  width: 6px; height: 6px; background: var(--muted); border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(6,14,24,0.85);
  backdrop-filter: blur(8px); display: flex; align-items: center;
  justify-content: center; z-index: 100; padding: 24px;
}
.modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; max-width: 420px; width: 100%;
}
.modal h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 4px; }
.modal .modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.modal label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; margin-top: 12px; }
.modal input {
  width: 100%; padding: 12px 14px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: var(--sans); font-size: 15px; outline: none;
}
.modal input:focus { border-color: var(--cyan); }
.modal input::placeholder { color: var(--dim); }
.modal .submit-btn {
  width: 100%; padding: 14px; background: var(--cyan); color: #060E18;
  border: none; border-radius: 12px; font-family: var(--sans);
  font-weight: 600; font-size: 16px; cursor: pointer; margin-top: 20px; min-height: 48px;
}
.modal .dismiss { display: block; text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; cursor: pointer; }
.modal .dismiss:hover { color: var(--text); }

/* ===== APPOINTMENT ===== */
.appointment { align-items: center; justify-content: center; padding: 40px 24px; text-align: center; overflow-y: auto; }
.appointment .celebrate { font-size: 48px; margin-bottom: 16px; }
.appointment h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 8px; }
.appointment .appt-sub { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.time-slots { display: flex; flex-direction: column; gap: 12px; max-width: 360px; width: 100%; margin: 0 auto 24px; }
.time-slot {
  padding: 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); cursor: pointer; transition: all 0.15s; text-align: left; min-height: 44px;
}
.time-slot:hover { border-color: var(--cyan); }
.time-slot.selected { border-color: var(--cyan); background: var(--surface2); }
.time-slot .slot-day { font-weight: 600; font-size: 15px; }
.time-slot .slot-type { color: var(--muted); font-size: 13px; }
.confirmation-text { color: var(--cyan); font-size: 15px; margin-bottom: 24px; max-width: 360px; }
.start-over {
  padding: 12px 28px; background: transparent; border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-family: var(--sans);
  font-size: 15px; cursor: pointer; min-height: 44px;
}
.start-over:hover { border-color: var(--cyan); }

/* ===== PARTNER DEMO ===== */
.partner-demo { flex-direction: row; overflow: hidden; }
.partner-left {
  flex: 1; padding: 32px; overflow-y: auto; display: flex; flex-direction: column;
}
.partner-right {
  width: 440px; background: var(--surface); border-left: 1px solid var(--border2);
  display: flex; flex-direction: column; flex-shrink: 0; overflow: hidden;
}

/* Partner left - tabs */
.partner-tabs {
  display: flex; gap: 4px; margin-bottom: 24px; background: var(--bg);
  border-radius: 10px; padding: 4px; border: 1px solid var(--border2);
}
.partner-tab {
  flex: 1; padding: 10px 12px; border: none; background: transparent;
  color: var(--muted); font-family: var(--sans); font-size: 13px; font-weight: 600;
  cursor: pointer; border-radius: 8px; transition: all 0.15s; min-height: 40px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.partner-tab.active { background: var(--surface); color: var(--text); }
.partner-tab:hover:not(.active) { color: var(--text); }
.partner-panel { display: none; flex-direction: column; flex: 1; }
.partner-panel.active { display: flex; }

/* Overview panel */
/* Conversation counter */
.conv-counter {
  font-size: 11px; color: rgba(84,181,223,0.7); font-family: var(--sans);
  margin-bottom: 8px; transition: opacity 0.3s;
}

.partner-left .medvia-logo { margin-bottom: 20px; }
.partner-brand-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 8px;
}
.partner-left .medvia-logo .plat-label { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); }
.partner-left h2.partner-headline { font-family: var(--serif); font-size: 24px; line-height: 1.3; margin-bottom: 12px; }
.partner-left .partner-sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; line-height: 1.6; }

/* CU confirmation card */
.cu-confirm-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--cyan); border-radius: var(--radius);
  margin-bottom: 16px; position: relative; flex-wrap: wrap;
}
.cu-confirm-card strong { color: var(--text); font-size: 15px; }
.cu-confirm-card span { color: var(--muted); font-size: 13px; }
.cu-confirm-card .confirm-clear {
  position: absolute; top: 8px; right: 12px; background: none; border: none;
  color: var(--muted); font-size: 18px; cursor: pointer; padding: 4px;
}
.cu-confirm-card .confirm-clear:hover { color: var(--text); }

/* Manual entry fallback */
.manual-entry { margin-bottom: 16px; }
.manual-entry > p { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.manual-inputs { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.manual-field { display: flex; flex-direction: column; gap: 4px; }
.manual-field label { font-size: 12px; color: var(--muted); }
.manual-field input {
  width: 140px; padding: 10px 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: var(--sans); font-size: 14px; outline: none;
}
.manual-field input:focus { border-color: var(--cyan); }
.manual-go-btn {
  padding: 10px 20px; background: var(--cyan); color: #060E18; border: none;
  border-radius: 8px; font-family: var(--sans); font-weight: 600; font-size: 14px;
  cursor: pointer; min-height: 42px;
}

/* Preview banner */
.preview-banner {
  padding: 12px 16px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); text-align: center; font-size: 14px;
  color: var(--cyan); margin-bottom: 16px; font-weight: 500;
}

/* Revenue share section */
.revenue-share-section { margin-bottom: 20px; }
.rev-share-explainer { margin-bottom: 14px; }
.rev-share-explainer strong { color: var(--cyan); font-size: 15px; }
.rev-share-explainer p { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 6px; }
.slider-wrap { padding: 0 4px; }
.slider-wrap > label { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.slider-wrap input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none; height: 6px;
  background: linear-gradient(to right, var(--navy), var(--cyan)); border-radius: 3px; outline: none;
}
.slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cyan); border: 2px solid var(--bg); cursor: pointer;
}
.slider-wrap input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cyan); border: 2px solid var(--bg); cursor: pointer;
}
.slider-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--dim); }
.slider-labels .slider-current { color: var(--cyan); font-weight: 600; font-size: 14px; }

/* Proof tile */
.proof-tile {
  background: var(--bg); border: 1px solid var(--cyan); border-radius: 8px;
  padding: 20px; margin-bottom: 20px; position: relative; cursor: pointer;
  transition: border-color 0.2s;
}
.proof-tile:hover { border-color: #35c4e6; }
.proof-tile-badge {
  position: absolute; top: 12px; right: 16px; display: flex; align-items: center;
  gap: 6px; font-size: 11px; color: #34D399; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}
.pulse-dot {
  width: 8px; height: 8px; background: #34D399; border-radius: 50%;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.proof-tile-title { font-family: var(--serif); font-size: 22px; color: var(--text); margin-bottom: 10px; padding-right: 60px; }
.proof-tile-body { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.proof-tile-caption { font-size: 12px; color: var(--cyan); font-style: italic; margin-bottom: 8px; opacity: 0.7; }
.proof-tile-action { font-size: 13px; color: var(--cyan); font-weight: 600; }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.stat-card { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); padding: 16px; }
.stat-card .stat-value { font-family: var(--serif); font-size: 24px; color: var(--cyan); }
.stat-card .stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Revenue bar chart */
.revenue-chart { margin-bottom: 20px; }
.revenue-chart h4 { font-size: 14px; color: var(--muted); margin-bottom: 12px; font-weight: 500; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; padding: 0 4px; }
.chart-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.chart-bar {
  width: 100%; background: linear-gradient(to top, var(--navy), var(--cyan));
  border-radius: 4px 4px 0 0; transition: height 0.6s ease; flex-shrink: 0;
}
.chart-bar-label { font-size: 11px; color: var(--dim); }
.chart-bar-value { font-size: 11px; color: var(--cyan); font-weight: 600; }
.chart-caption { font-size: 12px; color: var(--dim); margin-top: 10px; line-height: 1.4; font-style: italic; }
/* Compare toggle */
.compare-toggle-wrap { margin-bottom: 12px; }
.compare-toggle {
  background: transparent; border: 1px solid var(--border); border-radius: 8px;
  color: var(--cyan); font-family: var(--sans); font-size: 13px; padding: 8px 16px;
  cursor: pointer; transition: all 0.15s;
}
.compare-toggle:hover { border-color: var(--cyan); background: var(--surface2); }
.compare-search-wrap { margin-bottom: 12px; }
.compare-column { margin-bottom: 20px; }
.compare-divider { height: 1px; background: var(--border); margin: 16px 0; }
.compare-right .stats-grid { margin-bottom: 12px; }

/* Email analysis */
.email-analysis-btn {
  width: 100%; padding: 14px; background: var(--cyan); color: #060E18; border: none;
  border-radius: 8px; font-family: var(--sans); font-weight: 600; font-size: 15px;
  cursor: pointer; min-height: 48px; margin-bottom: 16px;
}
.email-analysis-btn:hover { background: #35c4e6; }
.email-form {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end;
  margin-bottom: 16px; padding: 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.email-form select {
  width: 140px; padding: 10px 12px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: var(--sans); font-size: 14px; outline: none;
}
.email-form select:focus { border-color: var(--cyan); }
.email-success { color: #34D399; font-size: 14px; font-weight: 600; margin-top: 8px; width: 100%; }

.compound-callout {
  background: rgba(42,175,207,0.08); border: 1px solid var(--border);
  border-left: 3px solid var(--cyan); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px; margin-bottom: 20px; font-size: 14px; line-height: 1.6;
  color: var(--cyan);
}
.stat-card-ltv { border-color: var(--cyan); }

/* Proof point */
.proof-point {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; margin-bottom: 20px;
  font-size: 14px; line-height: 1.5;
}
.proof-point strong { color: var(--cyan); }

/* QR section */
.qr-section { text-align: center; margin-bottom: 24px; padding: 20px; background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); }
.qr-title { font-family: var(--serif); font-size: 16px; margin-bottom: 6px; }
.qr-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.qr-code { display: inline-block; }
.qr-code svg { width: 120px; height: 120px; }
.qr-label { display: block; font-family: var(--serif); font-size: 13px; color: var(--cyan); margin-top: 8px; }

/* Compliance expander */
.compliance-expander { margin-bottom: 20px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compliance-header {
  padding: 16px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text);
  background: var(--surface); transition: background 0.15s;
}
.compliance-header:hover { background: var(--surface2); }
.compliance-chevron { font-size: 10px; color: var(--muted); transition: transform 0.3s; }
.compliance-expander.open .compliance-chevron { transform: rotate(180deg); }
.compliance-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.compliance-expander.open .compliance-body { max-height: 800px; }
.compliance-item { padding: 12px 16px; transition: background 0.15s; }
.compliance-item:hover { background: rgba(84,181,223,0.05); }
.compliance-item-title { color: var(--cyan); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.compliance-item p { color: var(--text); font-size: 13px; line-height: 1.5; margin: 0; opacity: 0.8; }

.cta-btn {
  padding: 16px 32px; background: var(--cyan); color: #060E18; border: none;
  border-radius: 12px; font-family: var(--sans); font-weight: 600;
  font-size: 16px; cursor: pointer; min-height: 48px; align-self: flex-start;
}
.cta-btn:hover { background: #35c4e6; }

/* Platform dashboard panel */
.dash-section { margin-bottom: 24px; }
.dash-section h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 12px; }
.dash-section h4 { font-size: 14px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }

/* T65 countdown */
.countdown-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.countdown-card {
  background: var(--surface); border: 1px solid var(--border2); border-radius: 10px;
  padding: 14px; text-align: center;
}
.countdown-card .cd-value { font-family: var(--serif); font-size: 22px; color: var(--cyan); }
.countdown-card .cd-label { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* AI outreach timeline */
.timeline { position: relative; padding-left: 20px; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 4px; bottom: 4px;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding: 0 0 16px 16px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -17px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan); border: 2px solid var(--bg);
}
.timeline-item.future::before { background: var(--navy); border-color: var(--border); }
.timeline-item .tl-date { font-size: 12px; color: var(--cyan); font-weight: 600; }
.timeline-item .tl-action { font-size: 14px; margin-top: 2px; }
.timeline-item .tl-channel { font-size: 12px; color: var(--dim); margin-top: 1px; }

/* Sample convo */
.sample-convo {
  background: var(--bg); border: 1px solid var(--border2); border-radius: var(--radius);
  padding: 16px; max-height: 200px; overflow-y: auto;
}
.sample-convo .msg { margin-bottom: 8px; max-width: 90%; }
.sample-convo .msg:last-child { margin-bottom: 0; }

/* KPI row */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi-card {
  background: var(--surface); border: 1px solid var(--border2); border-radius: 10px;
  padding: 14px; text-align: center;
}
.kpi-card .kpi-value { font-family: var(--serif); font-size: 26px; color: var(--cyan); }
.kpi-card .kpi-label { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Partner right panel - chat */
.partner-right-header {
  padding: 16px; border-bottom: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: space-between;
}
.partner-right-header .demo-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.demo-tag { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #34D399; }
.demo-tag .pulse { width: 8px; height: 8px; background: #34D399; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.partner-chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.partner-starters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; flex-shrink: 0; }
.partner-starter-pill {
  padding: 8px 14px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--border); color: var(--text); font-size: 13px;
  cursor: pointer; transition: all 0.15s; min-height: 38px;
}
.partner-starter-pill:hover { border-color: var(--cyan); }
.partner-chat-input {
  padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--border2);
  display: flex; gap: 8px; flex-shrink: 0;
}
.partner-chat-input input {
  flex: 1; padding: 10px 14px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 20px;
  color: var(--text); font-family: var(--sans); font-size: 14px; outline: none;
}
.partner-chat-input input:focus { border-color: var(--cyan); }
.partner-chat-input input::placeholder { color: var(--dim); }
.partner-chat-input button {
  width: 38px; height: 38px; border-radius: 50%; background: var(--cyan);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ===== BOOTH RESET ===== */
#resetBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(6, 15, 24, 0.95);
  border: 1.5px solid #54B5DF;
  color: #54B5DF;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  transition: all 0.15s ease;
}
#resetBtn:hover {
  background: #54B5DF;
  color: #060F18;
}
.reset-modal-overlay { z-index: 200; }
.reset-modal {
  text-align: center; max-width: 300px; padding: 28px;
  animation: fadeIn 0.15s ease;
}
.reset-modal p { font-family: var(--serif); font-size: 20px; margin-bottom: 20px; }
.reset-modal-actions { display: flex; gap: 12px; justify-content: center; }
.reset-cancel {
  padding: 10px 24px; background: transparent; border: 1px solid var(--border);
  border-radius: 8px; color: var(--muted); font-family: var(--sans); font-size: 14px;
  cursor: pointer; min-height: 40px;
}
.reset-cancel:hover { border-color: var(--text); color: var(--text); }
.reset-confirm {
  padding: 10px 24px; background: var(--cyan); border: none;
  border-radius: 8px; color: #060E18; font-family: var(--sans); font-weight: 600;
  font-size: 14px; cursor: pointer; min-height: 40px;
}
.countdown-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,14,24,0.92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; animation: fadeIn 0.2s ease;
}
.countdown-overlay p {
  font-family: var(--serif); font-size: 22px; color: var(--text);
  text-align: center; max-width: 480px; line-height: 1.5;
}
.countdown-overlay span { color: var(--cyan); font-weight: 700; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .partner-demo { flex-direction: column; }
  .partner-right { display: none; }
  .partner-left { padding: 24px 16px; }
  .mode-cards { flex-direction: column; align-items: center; }
  .mode-card { width: 100%; max-width: 320px; }
  .stats-grid { grid-template-columns: 1fr; }
  .countdown-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
}
