/*
  DA Smarketing AI demo — public presentation layer.
  Design source: the actual DA Smarketing website code supplied by the owner.
  Scope: marketing shell + Patient View only. /dashboard renders in its own iframe.
*/

:root {
  --brand-blue: #0f172a;
  --brand-blue-2: #1e293b;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --brand-yellow: #fbbf24;
  --bg-canvas: #fcfcfd;
  --card-white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --whatsapp-green: #25d366;
  --success: #10b981;
  --danger: #ef4444;
  --shadow-soft: 0 20px 40px -12px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 30px 80px -24px rgba(15, 23, 42, 0.2);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background-color: var(--bg-canvas);
  background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  color: var(--brand-blue-2);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.hidden { display: none !important; }
.page-shell { min-height: 100vh; overflow: clip; }

/* Main-site glass navigation */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 80px;
  background: rgba(252, 252, 253, 0.76);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.topbar-inner {
  width: min(1400px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.da-brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.da-brand img { display: block; width: 250px; max-width: 31vw; height: 52px; object-fit: contain; object-position: left center; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 40px; }
.site-nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--slate-500);
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--accent-blue); }
.header-audit-button {
  flex: 0 0 auto;
  padding: 13px 29px;
  border-radius: 999px;
  background: var(--accent-blue);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, .24);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.header-audit-button:hover { transform: translateY(-2px); background: var(--accent-blue-hover); box-shadow: 0 16px 30px -8px rgba(37, 99, 235, .3); }

main { width: 100%; }

/* Hero — same rhythm and proportions as main site */
.homepage-hero {
  width: min(1280px, calc(100% - 64px));
  min-height: 840px;
  margin: 0 auto;
  padding: 168px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(390px, 5fr);
  gap: 78px;
  align-items: center;
  position: relative;
}
.hero-enter { opacity: 0; transform: translateY(28px); animation: heroFadeIn 900ms cubic-bezier(.2,1,.3,1) forwards; }
.hero-enter-delay { animation-delay: 160ms; }
@keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }
.scaling-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 30px;
  padding: 9px 15px;
  border: 1px solid var(--slate-100);
  border-radius: 999px;
  background: rgba(255,255,255,.64);
  backdrop-filter: blur(10px);
  color: var(--slate-500);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(16,185,129,.4);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.55; transform:scale(1.18); } }
.hero-eyebrow,
.section-eyebrow {
  margin: 0 0 16px;
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.hero-main h1 {
  margin: 0;
  max-width: 780px;
  color: var(--brand-blue);
  font-size: clamp(54px, 5.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 850;
}
.text-gradient {
  display: inline-block;
  background: linear-gradient(135deg, #0f172a 0%, #7c3aed 50%, #0f172a 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift { 0%,100% { background-position:0 50%; } 50% { background-position:100% 50%; } }
.hero-copy {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--slate-500);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.72;
  font-weight: 400;
}
.hero-actions { margin-top: 42px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero-primary-action {
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 30px;
  border-radius: 16px;
  background: var(--brand-blue);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 16px 30px -18px rgba(15,23,42,.55);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.hero-primary-action:hover { transform: translateY(-3px); background: var(--accent-blue); box-shadow: 0 20px 32px -16px rgba(37,99,235,.4); }
.hero-primary-action span { font-size: 21px; line-height: 1; }
.hero-whatsapp-action { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.hero-whatsapp-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15,23,42,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-whatsapp-action:hover .hero-whatsapp-icon { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.hero-whatsapp-icon img { width: 28px; height: 28px; }
.hero-whatsapp-action small,
.hero-whatsapp-action strong { display: block; }
.hero-whatsapp-action small { margin-bottom: 4px; color: var(--slate-400); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.hero-whatsapp-action strong { color: var(--brand-blue); font-size: 14px; }
.hero-footnote { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: var(--slate-400); font-size: 11px; font-weight: 700; }
.hero-footnote span { display: inline-flex; align-items: center; gap: 7px; }
.hero-footnote span + span::before { content: "•"; margin-right: 12px; color: var(--slate-300); }
.hero-footnote i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }

/* Purpose-built product visual using the same 4:5 hero-card language */
.hero-showcase { position: relative; padding: 20px 28px 12px 0; }
.hero-showcase-ring {
  padding: 2px;
  border-radius: 42px;
  background: conic-gradient(from 200deg, #4f5bd5, #962fbf, #d62976, #fa7e1e, #feda75, #4f5bd5);
  box-shadow: 0 40px 80px -20px rgba(150,47,191,.28), 0 20px 45px -18px rgba(79,91,213,.18);
}
.hero-product-card {
  min-height: 610px;
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 15% 0%, rgba(214,41,118,.07), transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(79,91,213,.07), transparent 45%),
    #fdfcff;
  color: var(--brand-blue);
}
.hero-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(15,23,42,.06) .8px, transparent .8px);
  background-size: 22px 22px;
  opacity: .5;
}
.hero-product-topbar,
.hero-chat-flow,
.hero-lead-card,
.hero-product-caption { position: relative; z-index: 1; }
.hero-product-topbar { display: flex; align-items: center; gap: 13px; }
.hero-product-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  position: relative;
}
.hero-product-avatar::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 2.5px;
  background: conic-gradient(from 220deg, #4f5bd5, #962fbf, #d62976, #fa7e1e, #feda75, #4f5bd5);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.hero-product-topbar strong,
.hero-product-topbar span { display: block; }
.hero-product-topbar strong { font-size: 14px; color: var(--brand-blue); }
.hero-product-topbar span { margin-top: 4px; color: var(--slate-500); font-size: 10px; font-weight: 700; }
.hero-product-topbar span i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.18); }
.hero-product-topbar em { margin-left: auto; padding: 7px 10px; border: 1px solid #f0d9ec; border-radius: 999px; color: #a3268f; background: #fdf2fa; font-size: 10px; font-weight: 800; font-style: normal; letter-spacing: .12em; }
.hero-chat-flow { margin-top: 54px; display: grid; gap: 8px; }
.hero-message { max-width: 78%; padding: 12px 16px; border-radius: 20px; font-size: 13px; line-height: 1.5; }
.hero-message.patient { justify-self: end; border-bottom-right-radius: 6px; background: linear-gradient(135deg, #4f5bd5 0%, #962fbf 45%, #d62976 75%, #fa7e1e 100%); color: #fff; box-shadow: 0 10px 22px -8px rgba(150,47,191,.4); }
.hero-message.ai { justify-self: start; border-bottom-left-radius: 6px; background: var(--slate-100); border: 1px solid #e7ecf3; color: var(--slate-700); }
.hero-seen { justify-self: end; margin: -1px 3px 0 0; color: var(--slate-400); font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.hero-typing { justify-self: start; display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 13px 16px; margin-top: 4px; border-radius: 20px; border-bottom-left-radius: 6px; background: var(--slate-100); border: 1px solid #e7ecf3; }
.hero-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-400); animation: typingBounce 1.1s infinite ease-in-out; }
.hero-typing span:nth-child(2) { animation-delay: .15s; }
.hero-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.hero-lead-card { margin-top: 20px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px; padding: 14px 16px 14px 18px; border: 1px solid #efe4f5; border-radius: 20px; background: #faf7fc; position: relative; overflow: hidden; }
.hero-lead-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #4f5bd5, #962fbf, #d62976, #fa7e1e); }
.hero-lead-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, #4f5bd5, #962fbf, #d62976); font-size: 18px; font-weight: 900; color: #fff; }
.hero-lead-card span,
.hero-lead-card strong { display: block; }
.hero-lead-card span { color: #a3268f; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.hero-lead-card strong { margin-top: 4px; color: var(--brand-blue); font-size: 12px; }
.hero-lead-card b { padding: 7px 9px; border-radius: 9px; background: linear-gradient(135deg, #34d399, #10b981); color: #052e1c; font-size: 9px; letter-spacing: .08em; }
.hero-product-caption { position: absolute; left: 30px; right: 30px; bottom: 28px; }
.hero-product-caption span { display: block; color: #962fbf; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.hero-product-caption strong { display: block; margin-top: 8px; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.05; letter-spacing: -.035em; }
.hero-metric-card {
  position: absolute;
  z-index: 3;
  top: -18px;
  right: -10px;
  width: 174px;
  padding: 24px 23px;
  border: 1px solid var(--slate-100);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 38px rgba(15,23,42,.12);
}
.hero-metric-card strong,
.hero-metric-card span { display: block; }
.hero-metric-card strong { color: var(--accent-blue); font-size: 31px; line-height: 1; letter-spacing: -.04em; }
.hero-metric-card span { margin-top: 7px; color: var(--slate-400); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.hero-context-card {
  position: absolute;
  z-index: 3;
  left: -42px;
  bottom: 50px;
  width: 190px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(15,23,42,.12);
}
.hero-context-card span { display: block; color: var(--accent-blue); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.hero-context-card strong { display: block; margin-top: 7px; color: var(--brand-blue); font-size: 13px; line-height: 1.45; }

/* Journey strip */
.journey-strip {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto 118px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--slate-100);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(15,23,42,.03);
}
.journey-strip article { min-height: 126px; display: flex; align-items: center; gap: 16px; padding: 25px; }
.journey-strip article + article { border-left: 1px solid var(--slate-100); }
.journey-strip article > span { color: var(--accent-blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.journey-strip strong,
.journey-strip small { display: block; }
.journey-strip strong { color: var(--brand-blue); font-size: 14px; }
.journey-strip small { margin-top: 6px; color: var(--slate-400); font-size: 10px; line-height: 1.45; }

/* Section framing */
.demo-section,
.capabilities-section,
.sales-cta { width: min(1280px, calc(100% - 64px)); margin-left: auto; margin-right: auto; }
.demo-section { margin-bottom: 126px; }
.section-heading { margin-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: 56px; align-items: end; }
.section-heading h2 { margin: 0; max-width: 760px; color: var(--brand-blue); font-size: clamp(38px, 4vw, 58px); line-height: 1.06; letter-spacing: -.045em; font-weight: 850; }
.section-heading > p { margin: 0 0 5px; color: var(--slate-500); font-size: 15px; line-height: 1.75; }
.section-heading.centered { display: block; max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.centered > p { max-width: 650px; margin: 18px auto 0; }

.bento-card {
  background: var(--card-white);
  border: 1px solid rgba(15,23,42,.05);
  border-radius: 24px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.01);
  transition: transform .4s var(--ease-premium), border-color .4s var(--ease-premium), box-shadow .4s var(--ease-premium);
}

/* Live demo */
.experience-card {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 28px 75px -40px rgba(15,23,42,.28);
}
.experience-toolbar { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 26px; border-bottom: 1px solid var(--slate-100); background: #fff; }
.experience-status { display: flex; align-items: center; gap: 12px; }
.experience-status small,
.experience-status strong { display: block; }
.experience-status small { color: var(--slate-400); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.experience-status strong { margin-top: 4px; color: var(--brand-blue); font-size: 14px; }
.demo-reset-button { padding: 10px 14px; border: 1px solid var(--slate-200); border-radius: 12px; background: #fff; color: var(--slate-600); font-size: 11px; font-weight: 800; transition: background .2s, border-color .2s; }
.demo-reset-button:hover { background: var(--slate-50); border-color: var(--slate-300); }
.experience-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--slate-100); background: var(--slate-50); }
.experience-tab {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 12px;
  padding: 19px 28px;
  border: 0;
  background: transparent;
  color: var(--slate-500);
  text-align: left;
}
.experience-tab:first-child { border-right: 1px solid var(--slate-100); }
.experience-tab > span:first-child { grid-row: 1 / 3; align-self: center; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--slate-200); color: var(--slate-500); font-size: 10px; font-weight: 900; }
.experience-tab strong { color: var(--slate-600); font-size: 13px; }
.experience-tab small { margin-top: 3px; color: var(--slate-400); font-size: 10px; }
.experience-tab.active { background: #fff; }
.experience-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent-blue); }
.experience-tab.active > span:first-child { background: #dbeafe; color: var(--accent-blue); }
.experience-tab.active strong { color: var(--brand-blue); }
.experience-tab.guide-highlight { box-shadow: inset 0 0 0 2px rgba(37,99,235,.32); }
.attention-tab-dot { position: absolute; top: 18px; right: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 4px #fee2e2; }
.view-panel { display: none; }
.view-panel.active { display: block; }

.patient-layout { min-height: 760px; display: grid; grid-template-columns: 390px minmax(0, 1fr); background: #fff; }
.patient-guide { padding: 34px; border-right: 1px solid var(--slate-100); background: #fff; }
.guide-section + .tour-card,
.tour-card + .try-box { margin-top: 30px; }
.guide-label { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.guide-label > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: #dbeafe; color: var(--accent-blue); font-size: 9px; font-weight: 900; }
.guide-label strong { color: var(--brand-blue); font-size: 11px; letter-spacing: .02em; }
.channel-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.channel-button {
  min-width: 0;
  padding: 12px 8px;
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  color: var(--brand-blue);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.channel-button:hover { transform: translateY(-2px); border-color: #bfdbfe; box-shadow: 0 10px 22px rgba(37,99,235,.06); }
.channel-button.active { border-color: #93c5fd; background: #eff6ff; box-shadow: inset 0 0 0 1px #bfdbfe; }
.channel-icon { width: 34px; height: 34px; display: grid; place-items: center; margin: 0 auto 7px; border-radius: 10px; background: transparent !important; }
.channel-icon img { width: 30px; height: 30px; display: block; }
.channel-button strong,
.channel-button small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.channel-button strong { font-size: 10px; }
.channel-button small { margin-top: 3px; color: var(--slate-400); font-size: 8px; }
.channel-preview-note { margin: 10px 2px 0; color: var(--slate-400); font-size: 9px; line-height: 1.55; }

.tour-card { padding: 22px; border-radius: 22px; background: var(--brand-blue); color: #fff; box-shadow: 0 20px 38px -24px rgba(15,23,42,.55); }
.tour-heading { display: flex; justify-content: space-between; gap: 16px; }
.tour-heading div > span,
.tour-heading div > strong { display: block; }
.tour-heading div > span { color: #93c5fd; font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.tour-heading div > strong { margin-top: 6px; font-size: 12px; line-height: 1.45; }
#tourProgress { height: fit-content; padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.08); color: #cbd5e1; font-size: 8px; font-weight: 900; }
.tour-steps { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.tour-steps li { display: grid; grid-template-columns: 27px 1fr; gap: 10px; align-items: center; opacity: .5; transition: opacity .2s; }
.tour-steps li > span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: #cbd5e1; font-size: 9px; font-weight: 900; }
.tour-steps li strong,
.tour-steps li small { display: block; }
.tour-steps li strong { font-size: 10px; }
.tour-steps li small { margin-top: 2px; color: #94a3b8; font-size: 8px; }
.tour-steps li.current { opacity: 1; }
.tour-steps li.current > span { border-color: #60a5fa; background: #2563eb; color: #fff; }
.tour-steps li.complete { opacity: .86; }
.tour-steps li.complete > span { border-color: rgba(52,211,153,.4); background: rgba(16,185,129,.16); color: #6ee7b7; }

.try-box { margin-top: 30px; }
.suggestion-list { display: grid; gap: 8px; }
.suggestion-chip {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--slate-100);
  border-radius: 14px;
  background: var(--slate-50);
  color: var(--brand-blue);
  text-align: left;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.suggestion-chip:hover { transform: translateX(3px); background: #fff; border-color: #bfdbfe; box-shadow: 0 8px 20px rgba(37,99,235,.06); }
.suggestion-chip > span { color: var(--accent-blue); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.suggestion-chip > strong { min-width: 0; font-size: 10px; line-height: 1.35; }
.suggestion-chip > b { color: var(--slate-300); font-size: 14px; }

.device-stage {
  min-width: 0;
  padding: 31px 42px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(37,99,235,.08), transparent 38%),
    var(--slate-50);
}
.device-stage-heading { width: min(430px, 100%); margin: 0 auto 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--slate-400); font-size: 9px; font-weight: 800; }
.device-stage-heading div { display: inline-flex; align-items: center; gap: 8px; }
.device-stage-heading strong { color: var(--slate-600); font-size: 10px; }
.phone {
  width: min(430px, 100%);
  height: 690px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 9px solid #111827;
  border-radius: 42px;
  background: #efeae2;
  box-shadow: 0 38px 72px -26px rgba(15,23,42,.4);
}
.phone-statusbar { height: 30px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 5px 18px 0; background: #f8f8f8; color: #111827; font-size: 9px; font-weight: 700; }
.chat-header { min-height: 60px; display: flex; align-items: center; gap: 9px; padding: 8px 12px; color: #fff; }
.back-glyph,
.header-glyph { border: 0; background: transparent; color: inherit; }
.back-glyph { padding: 0; font-size: 30px; line-height: 1; }
.header-glyph { margin-left: auto; font-size: 13px; font-weight: 900; }
.clinic-avatar { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--accent-blue); font-size: 13px; font-weight: 900; }
.chat-title { min-width: 0; }
.chat-title strong,
.chat-title small { display: block; }
.chat-title strong { max-width: 255px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.chat-title small { margin-top: 2px; font-size: 9px; opacity: .84; }
.messages { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 13px 13px; display: flex; flex-direction: column; gap: 8px; }
.empty-chat { max-width: 270px; margin: auto; padding: 24px 20px; border-radius: 20px; background: rgba(255,255,255,.9); text-align: center; box-shadow: 0 10px 30px rgba(15,23,42,.08); }
.empty-logo { width: 55px; height: 55px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: #dbeafe; color: var(--accent-blue); font-size: 20px; font-weight: 900; }
.empty-chat strong { display: block; color: var(--brand-blue); font-size: 12px; }
.empty-chat p { margin: 8px 0 10px; color: var(--slate-500); font-size: 10px; line-height: 1.55; }
.empty-chat > span { color: var(--slate-400); font-size: 8px; }
.message-row { display: flex; }
.message-row.user { justify-content: flex-end; }
.message-row.assistant { justify-content: flex-start; }
.message-bubble { max-width: 82%; padding: 9px 11px 7px; border-radius: 13px; font-size: 11px; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,.06); white-space: pre-wrap; }
.message-bubble small { display: block; margin-top: 4px; text-align: right; font-size: 7px; opacity: .55; }
.message-source { margin-top: 3px; font-size: 7px; opacity: .55; }
.promo-card { max-width: 82%; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.promo-card img { display: block; width: 100%; }
.promo-card p { margin: 0; padding: 9px 10px 11px; font-size: 9px; line-height: 1.45; }
.typing-row { padding: 0 12px 8px; }
.typing-bubble { width: 52px; display: flex; justify-content: center; gap: 4px; padding: 10px; border-radius: 13px; background: #fff; }
.typing-bubble span { width: 5px; height: 5px; border-radius: 50%; background: #94a3b8; animation: bounce 1s infinite ease-in-out; }
.typing-bubble span:nth-child(2) { animation-delay: .12s; }
.typing-bubble span:nth-child(3) { animation-delay: .24s; }
@keyframes bounce { 0%,60%,100% { transform:translateY(0); } 30% { transform:translateY(-4px); } }
.composer { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; padding: 8px 9px 10px; background: rgba(245,245,245,.96); }
.composer input { min-width: 0; flex: 1; padding: 10px 12px; border: 0; outline: 0; border-radius: 19px; background: #fff; color: #111827; font-size: 11px; }
.composer-glyph { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--slate-500); font-size: 19px; }
.send-button { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: #fff; font-size: 12px; }
.privacy-note { width: min(430px, 100%); margin: 16px auto 0; color: var(--slate-400); text-align: center; font-size: 9px; line-height: 1.55; }
.whatsapp-theme .chat-header { background: #0c746b; }
.whatsapp-theme .message-bubble.user { background: #d9fdd3; border-top-right-radius: 4px; }
.whatsapp-theme .message-bubble.assistant { background: #fff; border-top-left-radius: 4px; }
.whatsapp-theme .send-button { background: #0c746b; }
.instagram-theme { background: #fff; }
.instagram-theme .phone-statusbar,
.instagram-theme .chat-header,
.instagram-theme .composer { background: #fff; color: #111827; }
.instagram-theme .chat-header { border-bottom: 1px solid #eef2f7; }
.instagram-theme .message-bubble.user { border-radius: 18px; background: #7c3aed; color: #fff; }
.instagram-theme .message-bubble.assistant { border-radius: 18px; background: #f1f1f4; color: #111827; }
.instagram-theme .send-button { background: #7c3aed; }
.facebook-theme { background: #fff; }
.facebook-theme .phone-statusbar,
.facebook-theme .chat-header,
.facebook-theme .composer { background: #fff; color: #111827; }
.facebook-theme .chat-header { border-bottom: 1px solid #eef2f7; }
.facebook-theme .message-bubble.user { border-radius: 18px; background: #1687f8; color: #fff; }
.facebook-theme .message-bubble.assistant { border-radius: 18px; background: #eef0f3; color: #111827; }
.facebook-theme .send-button { background: #1687f8; }

/* React dashboard mount: intentionally no styling inside the iframe */
#dashboardView { background: #f8fafc; }
.react-dashboard-frame { display: block; width: 100%; min-height: 760px; height: min(88vh, 920px); border: 0; background: #faf9f6; }
.legacy-dashboard-hooks { display: none !important; }

/* Capabilities: modeled after the main site's specialty bento cards */
.capabilities-section { margin-bottom: 118px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.capability-card { min-height: 480px; padding: 40px; }
.capability-card:hover { transform: translateY(-5px); border-color: rgba(37,99,235,.16); box-shadow: 0 20px 40px -12px rgba(15,23,42,.08); }
.capability-card.dark { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; box-shadow: 0 30px 60px -34px rgba(15,23,42,.62); }
.capability-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 34px; border-radius: 17px; font-size: 22px; font-weight: 900; }
.capability-icon.blue { background: #eff6ff; color: var(--accent-blue); }
.capability-icon.green { background: #ecfdf5; color: #059669; }
.capability-icon.dark-icon { background: rgba(255,255,255,.1); color: #60a5fa; }
.capability-card > span { display: block; color: var(--accent-blue); font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.capability-card.dark > span { color: #60a5fa; }
.capability-card h3 { margin: 15px 0 0; color: var(--brand-blue); font-size: 25px; line-height: 1.15; letter-spacing: -.035em; }
.capability-card.dark h3 { color: #fff; }
.capability-card p { margin: 18px 0 0; color: var(--slate-500); font-size: 13px; line-height: 1.75; }
.capability-card.dark p { color: var(--slate-400); }
.capability-card ul { margin: 30px 0 0; padding: 25px 0 0; border-top: 1px solid var(--slate-100); list-style: none; display: grid; gap: 13px; }
.capability-card.dark ul { border-color: rgba(255,255,255,.1); }
.capability-card li { position: relative; padding-left: 22px; color: var(--slate-700); font-size: 11px; font-weight: 800; }
.capability-card.dark li { color: var(--slate-300); }
.capability-card li::before { content: "✓"; position: absolute; left: 0; color: #10b981; font-weight: 900; }
.capability-card.dark li::before { color: #60a5fa; }

/* Final CTA matches the main site's dark rounded conversion panel */
.sales-cta {
  min-height: 440px;
  margin-bottom: 110px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
  gap: 70px;
  align-items: center;
  padding: 72px 76px;
  border-radius: 50px;
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 34px 68px -28px rgba(15,23,42,.55);
}
.sales-cta-glow { position: absolute; width: 560px; height: 560px; right: -140px; top: -250px; border-radius: 50%; background: rgba(37,99,235,.18); filter: blur(90px); }
.sales-cta-copy,
.sales-cta-actions { position: relative; z-index: 1; }
.sales-kicker { margin: 0 0 20px; display: inline-flex; align-items: center; gap: 9px; color: #93c5fd; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.sales-cta h2 { margin: 0; max-width: 720px; color: #fff; font-size: clamp(40px, 4.5vw, 62px); line-height: 1.03; letter-spacing: -.05em; }
.sales-cta-copy > p:not(.sales-kicker) { max-width: 690px; margin: 24px 0 0; color: #94a3b8; font-size: 15px; line-height: 1.75; }
.sales-cta-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 9px; }
.sales-cta-trust span { padding: 9px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.05); color: #cbd5e1; font-size: 9px; font-weight: 800; }
.sales-cta-actions { padding: 30px; border: 1px solid rgba(255,255,255,.08); border-radius: 26px; background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.sales-response-label { display: inline-flex; align-items: center; gap: 8px; color: #93c5fd; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.sales-response-label i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,.5); }
.sales-cta-button { min-height: 61px; margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; border-radius: 15px; background: var(--accent-blue); color: #fff; text-decoration: none; font-size: 13px; font-weight: 900; box-shadow: 0 14px 26px -14px rgba(37,99,235,.8); transition: transform .2s, background .2s; }
.sales-cta-button:hover { transform: translateY(-2px); background: #3b82f6; }
.sales-cta-button span { font-size: 18px; }
.sales-cta-actions small { display: block; margin-top: 13px; color: #64748b; font-size: 9px; line-height: 1.5; }
.guide-highlight-soft { animation: softGuide 1.2s ease 2; }
@keyframes softGuide { 50% { box-shadow: 0 0 0 5px rgba(37,99,235,.13), 0 34px 68px -28px rgba(15,23,42,.55); } }

.floating-enquiry {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 0 13px;
  border-radius: 999px;
  background: var(--whatsapp-green);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 18px 34px -14px rgba(37,211,102,.55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.floating-enquiry:hover { transform: scale(1.04); box-shadow: 0 20px 38px -12px rgba(37,211,102,.6); }
.floating-enquiry img { width: 31px; height: 31px; }

.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; transform: translateX(-50%); max-width: min(480px, calc(100vw - 36px)); padding: 13px 17px; border-radius: 13px; background: var(--brand-blue); color: #fff; box-shadow: 0 18px 40px rgba(15,23,42,.3); font-size: 11px; line-height: 1.5; }

button:focus-visible,
a:focus-visible,
input:focus-visible { outline: 3px solid rgba(37,99,235,.28); outline-offset: 3px; }

@media (max-width: 1120px) {
  .topbar-inner { width: min(100% - 40px, 1280px); }
  .site-nav { gap: 24px; }
  .homepage-hero { width: min(100% - 48px, 1180px); grid-template-columns: 1.08fr .92fr; gap: 48px; }
  .hero-main h1 { font-size: clamp(52px, 6.4vw, 74px); }
  .hero-showcase { padding-right: 10px; }
  .hero-context-card { left: -18px; }
  .journey-strip,
  .demo-section,
  .capabilities-section,
  .sales-cta { width: min(100% - 48px, 1180px); }
  .patient-layout { grid-template-columns: 350px minmax(0,1fr); }
  .patient-guide { padding: 28px; }
  .capability-card { padding: 32px; }
  .sales-cta { padding: 60px; gap: 44px; }
}

@media (max-width: 900px) {
  .topbar { height: 72px; }
  .topbar-inner { width: calc(100% - 32px); }
  .da-brand img { width: 210px; max-width: 48vw; height: 46px; }
  .site-nav { display: none; }
  .header-audit-button { padding: 11px 19px; font-size: 11px; }
  .homepage-hero { width: min(100% - 36px, 760px); min-height: auto; padding: 132px 0 70px; grid-template-columns: 1fr; gap: 64px; }
  .hero-main { max-width: 720px; }
  .hero-main h1 { max-width: 720px; font-size: clamp(50px, 9vw, 74px); }
  .hero-copy { max-width: 640px; }
  .hero-showcase { width: min(560px, 90%); justify-self: center; padding: 0; }
  .hero-product-card { min-height: 600px; }
  .hero-metric-card { right: -34px; }
  .hero-context-card { left: -34px; }
  .journey-strip { width: min(100% - 36px, 760px); grid-template-columns: 1fr 1fr; margin-bottom: 94px; }
  .journey-strip article:nth-child(3) { border-left: 0; border-top: 1px solid var(--slate-100); }
  .journey-strip article:nth-child(4) { border-top: 1px solid var(--slate-100); }
  .demo-section,
  .capabilities-section,
  .sales-cta { width: min(100% - 36px, 760px); }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .section-heading > p { max-width: 650px; }
  .patient-layout { grid-template-columns: 1fr; }
  .patient-guide { border-right: 0; border-bottom: 1px solid var(--slate-100); }
  .channel-buttons { max-width: 500px; }
  .device-stage { padding: 42px 24px 48px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: auto; }
  .sales-cta { grid-template-columns: 1fr; min-height: auto; padding: 54px; }
  .sales-cta-actions { max-width: 440px; }
  .react-dashboard-frame { min-height: 720px; height: 82vh; }
}

@media (max-width: 600px) {
  body { background-size: 28px 28px; }
  .topbar-inner { width: calc(100% - 24px); }
  .da-brand img { width: 175px; max-width: 54vw; }
  .header-audit-button { padding: 10px 15px; }
  .homepage-hero { width: calc(100% - 28px); padding: 116px 0 56px; gap: 46px; }
  .scaling-pill { margin-bottom: 23px; font-size: 8px; letter-spacing: .1em; }
  .hero-eyebrow,
  .section-eyebrow { font-size: 9px; letter-spacing: .22em; }
  .hero-main h1 { font-size: clamp(43px, 13vw, 60px); line-height: 1.02; }
  .hero-copy { margin-top: 24px; font-size: 15px; line-height: 1.65; }
  .hero-actions { margin-top: 30px; align-items: stretch; flex-direction: column; }
  .hero-primary-action { min-height: 58px; width: 100%; justify-content: space-between; }
  .hero-whatsapp-action { width: fit-content; }
  .hero-footnote { font-size: 9px; gap: 8px 12px; }
  .hero-footnote span + span::before { margin-right: 6px; }
  .hero-showcase { width: 100%; }
  .hero-product-card { min-height: 540px; padding: 24px; border-radius: 30px; }
  .hero-chat-flow { margin-top: 42px; }
  .hero-message { max-width: 90%; font-size: 11px; }
  .hero-lead-card { grid-template-columns: 36px 1fr; }
  .hero-lead-icon { width: 36px; height: 36px; }
  .hero-lead-card b { display: none; }
  .hero-product-caption { left: 24px; right: 24px; bottom: 24px; }
  .hero-metric-card { width: 142px; top: -22px; right: -7px; padding: 18px; border-radius: 22px; }
  .hero-metric-card strong { font-size: 26px; }
  .hero-context-card { display: none; }
  .journey-strip { width: calc(100% - 28px); margin-bottom: 78px; grid-template-columns: 1fr; border-radius: 22px; }
  .journey-strip article { min-height: 94px; padding: 20px; }
  .journey-strip article + article { border-left: 0; border-top: 1px solid var(--slate-100); }
  .demo-section,
  .capabilities-section,
  .sales-cta { width: calc(100% - 28px); }
  .demo-section { margin-bottom: 86px; }
  .section-heading h2 { font-size: 38px; }
  .section-heading > p { font-size: 13px; }
  .experience-card { border-radius: 24px; }
  .experience-toolbar { min-height: 74px; padding: 16px 17px; }
  .experience-status strong { font-size: 11px; }
  .demo-reset-button { padding: 8px 10px; font-size: 9px; }
  .experience-tab { min-height: 78px; grid-template-columns: 29px 1fr; padding: 14px 12px; column-gap: 8px; }
  .experience-tab > span:first-child { width: 29px; height: 29px; }
  .experience-tab strong { font-size: 10px; }
  .experience-tab small { font-size: 8px; line-height: 1.25; }
  .patient-guide { padding: 22px 18px 26px; }
  .channel-buttons { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
  .channel-button { padding: 10px 4px; border-radius: 13px; }
  .channel-button strong { font-size: 9px; }
  .channel-button small { display: none; }
  .tour-card { padding: 18px; border-radius: 18px; }
  .suggestion-chip { grid-template-columns: 54px 1fr auto; }
  .device-stage { padding: 28px 10px 34px; }
  .device-stage-heading { width: calc(100% - 12px); }
  .phone { width: min(100%, 410px); height: 640px; border-width: 7px; border-radius: 34px; }
  .privacy-note { width: calc(100% - 18px); }
  .capabilities-section { margin-bottom: 82px; }
  .capability-grid { gap: 16px; }
  .capability-card { padding: 28px; border-radius: 22px; }
  .capability-card h3 { font-size: 22px; }
  .sales-cta { margin-bottom: 80px; padding: 38px 25px; border-radius: 32px; gap: 34px; }
  .sales-cta h2 { font-size: 40px; }
  .sales-cta-copy > p:not(.sales-kicker) { font-size: 13px; }
  .sales-cta-actions { padding: 22px; }
  .floating-enquiry { right: 14px; bottom: 14px; min-height: 50px; padding-right: 13px; }
  .floating-enquiry span { display: none; }
  .react-dashboard-frame { min-height: 650px; height: 82dvh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
