/* Prospect-facing demo: clean, light, branded via --brand (set per demo). */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a202c;
  background: #fff;
  line-height: 1.6;
}
.hiddenx { display: none !important; }
u { text-decoration-color: rgba(255,255,255,.7); }

.demo-banner {
  background: #111827; color: #e5e7eb; font-size: .85rem;
  padding: 8px 18px; text-align: center;
}
.demo-banner a { color: #93c5fd; margin-left: 10px; }

/* hero */
.hero {
  background: linear-gradient(160deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #0b1220));
  color: #fff; padding: 72px 24px 84px; text-align: center;
}
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.16); border-radius: 20px;
  padding: 4px 14px; font-size: .85rem; margin-bottom: 14px;
}
.hero h1 { font-size: 2.6rem; margin: 0 0 10px; }
.hero-sub { opacity: .9; font-size: 1.1rem; margin: 0 0 26px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; }

/* buttons */
.btn {
  display: inline-block; border-radius: 10px; padding: 12px 22px; font-size: 1rem;
  cursor: pointer; text-decoration: none; border: 2px solid transparent; font-weight: 600;
}
.btn.solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn.solid:hover { filter: brightness(1.1); }
.hero .btn.solid { background: #fff; color: var(--brand); border-color: #fff; }
.btn.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.wide { width: 100%; margin-top: 14px; }
.btn.big { font-size: 1.15rem; padding: 16px 30px; }
.btn:disabled { opacity: .6; cursor: default; }

/* feature sections */
.sections { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  padding: 64px 0; border-bottom: 1px solid #edf0f4;
}
.feature.alt { direction: rtl; }
.feature.alt > * { direction: ltr; }
.feature-tag {
  display: inline-block; background: color-mix(in srgb, var(--brand) 12%, #fff);
  color: var(--brand); font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  padding: 4px 12px; border-radius: 16px; margin-bottom: 12px; text-transform: uppercase;
}
.feature h2 { font-size: 1.8rem; margin: 0 0 12px; }
.feature p { color: #4a5568; }
.hint { font-size: .9rem; color: var(--brand) !important; font-weight: 600; }

.stat-card {
  background: #f7f9fc; border: 1px solid #e3e8f0; border-radius: 16px;
  padding: 28px; text-align: center;
}
.stat { font-size: 3.2rem; font-weight: 800; color: var(--brand); }

/* phone mockup */
.phone {
  width: 240px; margin: 0 auto; background: #0b0f17; border-radius: 30px;
  padding: 14px 10px 18px; box-shadow: 0 18px 40px rgba(15,23,42,.25);
}
.phone-top { display: flex; justify-content: center; padding-bottom: 8px; }
.phone-top span { width: 70px; height: 6px; border-radius: 4px; background: #1f2937; }
.phone-screen {
  background: #f1f5f9; border-radius: 18px; min-height: 320px; padding: 14px 10px;
  font-size: .8rem; display: flex; flex-direction: column; justify-content: center;
}
.mc-idle, .mc-call, .mc-missed { text-align: center; color: #475569; font-weight: 600; }
.mc-call .mc-pulse { font-size: 2rem; animation: ring .5s ease infinite alternate; }
@keyframes ring { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
.mc-num { color: #0f172a; font-size: .95rem; }
.mc-missed { color: #dc2626; }
.mc-sms-thread { display: flex; flex-direction: column; gap: 8px; justify-content: flex-start; height: 100%; }
.mc-sms-label { text-align: center; color: #94a3b8; font-size: .7rem; margin-bottom: 4px; }
.mc-sms { max-width: 85%; padding: 8px 11px; border-radius: 14px; line-height: 1.45; }
.mc-sms.out { background: var(--brand); color: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.mc-sms.in { background: #e2e8f0; color: #0f172a; align-self: flex-end; border-bottom-right-radius: 4px; }
.typing-dots span {
  display: inline-block; width: 6px; height: 6px; margin: 0 1.5px; border-radius: 50%;
  background: rgba(255,255,255,.8); animation: blink 1s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: .2s; }
.typing-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.mc-rescued { text-align: center; color: #16a34a; font-weight: 700; margin-top: 6px; }

/* booking */
.booking-card, .review-card, .booking-done {
  background: #fff; border: 1px solid #e3e8f0; border-radius: 16px; padding: 24px;
  box-shadow: 0 10px 30px rgba(15,23,42,.07);
}
.booking-card label, .review-card label, .rv-reply label {
  display: block; font-size: .75rem; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: .04em; margin: 14px 0 6px;
}
.booking-card h3, .booking-done h3 { margin: 0; }
.booking-card input, .booking-card select, .review-card textarea, .review-card select {
  width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 12px;
  font-size: .95rem; font-family: inherit;
}
.booking-card input:focus, .review-card textarea:focus { outline: none; border-color: var(--brand); }
.slots { display: flex; gap: 10px; }
.slot-day { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.slot-day-label { font-size: .75rem; font-weight: 700; color: #334155; text-align: center; }
.slot {
  border: 1px solid #cbd5e1; background: #fff; border-radius: 8px; padding: 7px 4px;
  font-size: .8rem; cursor: pointer;
}
.slot:hover { border-color: var(--brand); }
.slot.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.booking-done { text-align: center; }
.big-tick {
  width: 54px; height: 54px; border-radius: 50%; background: #16a34a; color: #fff;
  font-size: 1.8rem; line-height: 54px; margin: 0 auto 10px;
}
.timeline { text-align: left; margin: 18px 0 8px; }
.t-step {
  padding: 8px 12px 8px 30px; position: relative; color: #475569; font-size: .9rem;
}
.t-step::before {
  content: ""; position: absolute; left: 10px; top: 14px; width: 9px; height: 9px;
  border-radius: 50%; background: #cbd5e1;
}
.t-step.done::before { background: #16a34a; }

/* review engine */
.rv-reply { margin-top: 16px; background: color-mix(in srgb, var(--brand) 7%, #fff);
  border-radius: 10px; padding: 4px 14px 12px; }
.rv-reply p { margin: 6px 0 0; color: #1f2937; }

/* closer */
.closer { text-align: center; padding: 70px 0 90px; }
.closer h2 { font-size: 1.9rem; }
.closer p { color: #4a5568; margin-bottom: 24px; }

/* chat widget */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px;
  background: var(--brand); color: #fff; font-size: 1.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 10px 26px rgba(15,23,42,.3); z-index: 50;
}
.chat-panel {
  position: fixed; right: 22px; bottom: 92px; width: 340px; max-height: 480px;
  background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(15,23,42,.3);
  display: flex; flex-direction: column; overflow: hidden; z-index: 50;
}
.chat-head {
  background: var(--brand); color: #fff; padding: 12px 14px;
  display: flex; flex-direction: column; position: relative;
}
.chat-status { font-size: .75rem; opacity: .85; }
.chat-close {
  position: absolute; right: 8px; top: 8px; background: none; border: none;
  color: #fff; font-size: 1.3rem; cursor: pointer; line-height: 1;
}
.chat-msgs {
  flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column;
  gap: 8px; min-height: 220px; max-height: 320px; background: #f8fafc;
}
.msg { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: .9rem; line-height: 1.45; white-space: pre-wrap; }
.msg.bot { background: #e8edf5; color: #0f172a; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.typing { color: #94a3b8; }
.chat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #e8edf5; }
.chat-input input {
  flex: 1; border: 1px solid #cbd5e1; border-radius: 8px; padding: 9px 12px; font-size: .9rem;
}
.chat-input .btn { padding: 8px 14px; font-size: .9rem; }

/* inbox */
.inbox-body { background: #f4f6fa; }
.inbox-main { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
.inbox-main h1 { margin-bottom: 4px; }
.inbox-sub { color: #4a5568; margin-bottom: 28px; }
.inbox-empty { background: #fff; border: 1px solid #e3e8f0; border-radius: 14px; padding: 36px; text-align: center; }
.inbox-list { display: flex; flex-direction: column; gap: 10px; }
.inbox-item {
  background: #fff; border: 1px solid #e3e8f0; border-radius: 12px; padding: 14px 18px;
  display: flex; gap: 14px; align-items: center;
}
.inbox-icon { font-size: 1.4rem; }
.inbox-body-text { flex: 1; }
.inbox-detail { color: #4a5568; font-size: .9rem; display: flex; gap: 6px; flex-wrap: wrap; }
.inbox-time { color: #94a3b8; font-size: .78rem; white-space: nowrap; }
.inbox-close { text-align: center; margin-top: 36px; }

@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .hero h1 { font-size: 2rem; }
  .chat-panel { width: calc(100vw - 32px); right: 16px; }
}
