:root {
  --bg: #080809;
  --surface: rgba(255,255,255,.045);
  --surface-strong: rgba(255,255,255,.075);
  --gold: #D4AF37;
  --muted: #A1A1AA;
  --text: #FAFAF9;
  --line: rgba(255,255,255,.1);
}
* { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at 50% 0%, rgba(212,175,55,.12), transparent 34rem), linear-gradient(180deg, #080809, #0c0c0e 45%, #070708);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.header {
    animation: slideInUp 0.8s ease-out forwards;
}

/* =========================================
   REAL DEMO FRAME COMPONENT
   ========================================= */

.real-demo-frame {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    aspect-ratio: 16/9;
    font-family: inherit;
    position: relative;
    background-color: #f8fafc; /* Default light */
}

.real-demo-frame.dark-theme {
    background-color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Demo Strip */
.demo-strip {
    height: 40px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #94a3b8;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-strip-buttons {
    display: flex;
    gap: 8px;
}

.demo-strip-btn {
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.demo-strip-btn.primary {
    background: #10b981;
}

/* Inner Layout */
.demo-app-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar Rail */
.demo-sidebar-rail {
    width: 72px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 20px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-sidebar-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.demo-nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}
.demo-nav-icon.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Main Area */
.demo-app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* App Header */
.demo-app-header {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}
.dark-theme .demo-app-header {
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-header-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
}
.dark-theme .demo-header-title { color: #f8fafc; }

.demo-header-subtitle {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}
.dark-theme .demo-header-subtitle { color: #94a3b8; }

.demo-header-actions {
    display: flex;
    gap: 12px;
}

.demo-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}
.demo-btn-secondary {
    background: #1e293b;
}
.demo-btn-primary {
    background: var(--brand-primary);
}

/* App Content */
.demo-app-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Stat Grid */
.demo-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.demo-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dark-theme .demo-stat-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 4px;
}
.demo-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}
.dark-theme .demo-stat-value { color: #fff; }

.demo-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard Layout Grid */
.demo-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.demo-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}
.dark-theme .demo-panel {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.demo-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.demo-panel-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}
.dark-theme .demo-panel-title { color: #fff; }

/* Fake Elements */
.demo-fake-chart {
    height: 180px;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 19px,
      rgba(0,0,0,0.03) 19px,
      rgba(0,0,0,0.03) 20px
    );
    position: relative;
}
.dark-theme .demo-fake-chart {
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 19px,
      rgba(255,255,255,0.03) 19px,
      rgba(255,255,255,0.03) 20px
    );
}
.demo-fake-bar {
    position: absolute;
    bottom: 0;
    width: 12%;
    background: var(--brand-primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}

/* Quick Actions */
.demo-quick-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Script Box */
.demo-script-card {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    z-index: 10;
}
.demo-script-title {
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.demo-script-text {
    color: #94a3b8;
    font-size: 0.75rem;
    line-height: 1.5;
}

/* Specific product variants */
.assistencia-frame .demo-sidebar-logo {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.barber-frame .demo-sidebar-logo {
    background: linear-gradient(135deg, #fbbf24, #d97706);
}
.barber-frame .demo-stat-grid {
    grid-template-columns: repeat(3, 1fr);
}

.beauty-frame .demo-sidebar-logo {
    background: linear-gradient(135deg, #fb7185, #e11d48);
}

/* Promo phrase enhancement */
.promo-phrase {
    background: linear-gradient(90deg, rgba(var(--brand-primary-rgb, 37, 99, 235), 0.1), rgba(var(--brand-primary-rgb, 37, 99, 235), 0.05));
    border: 1px solid rgba(var(--brand-primary-rgb, 37, 99, 235), 0.2);
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 100px;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-primary);
}
.dark-theme .promo-phrase {
    background: linear-gradient(90deg, rgba(var(--brand-primary-rgb, 37, 99, 235), 0.2), rgba(var(--brand-primary-rgb, 37, 99, 235), 0.1));
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,8,9,.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  height: 76px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { height: 34px; width: auto; object-fit: contain; }
.brand-logo { width: 190px; height: 54px; object-fit: cover; object-position: center; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-weight: 700; font-size: 14px; }
.nav-links a:hover { color: white; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.hero { min-height: 74vh; display: grid; align-items: center; padding: 72px 0 58px; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(300px,.95fr); gap: 42px; align-items: center; }
.hero-grid > *, .grid > * { min-width: 0; }
.eyebrow { color: var(--gold); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 900; }
h1 { font-size: clamp(44px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; margin: 18px 0 22px; }
.lead { color: #c9c9d2; font-size: clamp(17px, 2vw, 21px); line-height: 1.65; max-width: 700px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 900; cursor: pointer; transition: .22s ease; }
.btn.primary { background: var(--gold); color: #080809; border-color: var(--gold); }
.btn.light { background: white; color: #080809; border-color: white; }
.btn:hover { transform: translateY(-2px); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: 0 28px 80px -46px rgba(0,0,0,.9); }
.mock { min-height: 420px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); position: relative; overflow: hidden; }
.mock::before { content: ''; position: absolute; inset: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; }
.mock-row { height: 14px; border-radius: 999px; background: rgba(255,255,255,.18); margin: 22px 0; position: relative; z-index: 1; }
.mock-card { position: relative; z-index: 1; margin-top: 42px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mock-card span { min-height: 88px; border-radius: 18px; background: rgba(212,175,55,.16); border: 1px solid rgba(212,175,55,.24); }
.product-screen { min-height: 440px; display: grid; gap: 18px; align-content: start; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025)); position: relative; overflow: hidden; }
.product-screen::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 82% 8%, rgba(212,175,55,.24), transparent 18rem); pointer-events: none; }
.product-screen > * { position: relative; z-index: 1; }
.screen-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.screen-top strong { display: block; margin-top: 6px; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.035em; line-height: 1.05; }
.screen-kicker { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.status-pill { flex: 0 0 auto; border: 1px solid rgba(212,175,55,.36); color: #f1d77a; background: rgba(212,175,55,.12); border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 900; }
.screen-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.screen-metrics article { background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.screen-metrics span, .screen-list span { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; }
.screen-metrics strong { display: block; margin-top: 8px; font-size: clamp(20px, 2.5vw, 28px); letter-spacing: -.035em; }
.screen-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.screen-flow span { border: 1px solid var(--line); border-radius: 999px; padding: 10px 8px; color: var(--muted); text-align: center; font-size: 12px; font-weight: 900; }
.screen-flow .done { color: #f5e3a4; background: rgba(212,175,55,.12); border-color: rgba(212,175,55,.26); }
.screen-flow .active { color: #080809; background: var(--gold); border-color: var(--gold); }
.screen-list { display: grid; gap: 10px; }
.screen-list article { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: rgba(255,255,255,.055); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.screen-list strong { display: block; margin-bottom: 4px; }
.screen-list b { color: var(--gold); white-space: nowrap; }
.section { padding: 78px 0; border-top: 1px solid rgba(255,255,255,.06); }
.section h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; margin: 10px 0 18px; letter-spacing: -.035em; }
.section p { color: var(--muted); line-height: 1.7; }
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; min-width: 0; }
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { margin: 0; }
.price { color: var(--gold); font-weight: 900; font-size: 18px; }
ul.clean { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
ul.clean li { color: #d8d8df; padding-left: 28px; position: relative; line-height: 1.55; }
ul.clean li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.faq summary { cursor: pointer; font-weight: 900; }
.faq details + details { margin-top: 12px; }
.footer { border-top: 1px solid var(--line); padding: 34px 22px; color: var(--muted); text-align: center; }
@media (max-width: 820px) {
  .container { width: 100%; padding: 0 18px; }
  .nav { padding: 0 14px; }
  .brand-logo { width: 160px; height: 48px; }
  .nav-links .btn { min-height: 44px; padding: 11px 14px; font-size: 13px; }
  .nav-links button.btn { display: none; }
  .nav-links a:not(.btn) { display: none; }
  .hero-grid, .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .hero-grid > * { width: 100%; max-width: 100%; }
  .hero { padding-top: 46px; }
  .mock { min-height: 300px; }
  .product-screen { width: 100%; max-width: 100%; min-height: auto; padding: 20px; }
  .screen-top, .screen-list article { align-items: flex-start; flex-direction: column; }
  .screen-metrics { grid-template-columns: 1fr; }
  .screen-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actions, .actions .btn { width: 100%; }
  .hero h1, .hero .lead { max-width: 21rem; }
  h1 { font-size: clamp(34px, 10vw, 40px); letter-spacing: -.035em; }
}

/* Assistência Pro product page mirrors the real demo interface. */
.assistencia-product-page {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-strong: #F1F5F9;
  --gold: #2563EB;
  --muted: #64748B;
  --text: #0F172A;
  --line: #E2E8F0;
  --brand-primary: #2563EB;
  --brand-dark: #1D4ED8;
  --brand-black: #0F172A;
  --brand-green: #10B981;
  --brand-yellow: #F59E0B;
  --brand-purple: #8B5CF6;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, .12), transparent 32rem),
    radial-gradient(circle at 100% 100%, rgba(37, 99, 235, .08), transparent 32rem);
  color: var(--text);
}
.assistencia-product-page * { min-width: 0; }
.assistencia-product-page .container { max-width: 1280px; }
.assistencia-product-page .header {
  background: rgba(248, 250, 252, .88);
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.assistencia-product-page .nav-links { color: #475569; }
.assistencia-product-page .nav-links a:hover { color: var(--brand-primary); }
.assistencia-product-page .btn {
  border-radius: 12px;
  min-height: 46px;
  box-shadow: 0 12px 24px -18px rgba(37, 99, 235, .7);
}
.assistencia-product-page .btn svg { width: 18px; height: 18px; }
.assistencia-product-page .btn.primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
}
.assistencia-product-page .btn.light {
  background: white;
  border-color: #E2E8F0;
  color: #0F172A;
}
.assistencia-product-page .eyebrow {
  color: var(--brand-primary);
  letter-spacing: .16em;
}
.assistencia-product-page h1,
.assistencia-product-page .section h2 {
  color: #0F172A;
}
.assistencia-product-page .lead,
.assistencia-product-page .section p {
  color: #475569;
}
.assistencia-hero {
  min-height: auto;
  padding: 72px 0 72px;
}
.assistencia-product-page .hero-grid {
  grid-template-columns: minmax(0, .72fr) minmax(680px, 1.28fr);
}
.assistencia-product-page h1 { font-size: clamp(42px, 5vw, 76px); }
.assistencia-app-preview {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 600px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  border-radius: 28px;
  background: #F8FAFC;
  box-shadow: 0 28px 80px -42px rgba(15, 23, 42, .35);
}
.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(160deg, #0F172A, #1E293B);
  color: white;
  padding: 20px 14px;
}
.preview-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.preview-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #3B82F6, #1D4ED8);
  box-shadow: 0 12px 24px -16px rgba(59, 130, 246, .9);
}
.preview-icon svg { width: 21px; height: 21px; }
.preview-brand strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: -.01em; }
.preview-brand small { color: rgba(147, 197, 253, .82); font-size: 11px; font-weight: 700; }
.preview-sidebar nav {
  display: grid;
  gap: 6px;
}
.preview-sidebar nav span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 700;
}
.preview-sidebar nav svg { width: 17px; height: 17px; color: rgba(255, 255, 255, .62); }
.preview-sidebar nav .active {
  color: white;
  background: rgba(255, 255, 255, .1);
  border-left: 3px solid var(--brand-primary);
  box-shadow: inset 0 0 24px rgba(37, 99, 235, .12);
}
.preview-license {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #F59E0B;
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(245, 158, 11, .22);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.preview-license svg { width: 14px; height: 14px; }
.preview-main {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
  min-width: 0;
}
.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}
.preview-topbar strong,
.preview-section-title strong { display: block; color: #1E293B; }
.preview-topbar small,
.preview-section-title small { color: #64748B; font-size: 12px; font-weight: 700; }
.preview-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
}
.preview-actions span,
.preview-actions b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  padding: 10px 12px;
  white-space: nowrap;
}
.preview-actions span { background: #111827; color: white; }
.preview-actions b { background: var(--brand-primary); color: white; }
.preview-actions svg { width: 15px; height: 15px; }
.preview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.preview-stats article,
.preview-chart,
.preview-os {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 12px 24px -20px rgba(15, 23, 42, .2);
}
.preview-stats article { padding: 16px; }
.preview-stats span {
  display: block;
  color: #94A3B8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.preview-stats strong {
  display: block;
  margin-top: 8px;
  color: #0F172A;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -.04em;
}
.preview-stats article:nth-child(1) strong { color: var(--brand-primary); }
.preview-stats article:nth-child(2) strong { color: var(--brand-green); }
.preview-stats article:nth-child(3) strong { color: var(--brand-purple); }
.preview-stats small { color: #64748B; font-size: 11px; font-weight: 700; }
.preview-workspace {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(300px, 1.1fr);
  gap: 14px;
}
.system-app-preview .preview-workspace {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.preview-chart,
.preview-os { padding: 18px; }
.preview-section-title { margin-bottom: 18px; }
.status-bars {
  height: 190px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
}
.status-bars span {
  position: relative;
  flex: 1;
  min-height: 22px;
  border-radius: 10px 10px 4px 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}
.status-bars b {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  color: #64748B;
  font-size: 10px;
  white-space: nowrap;
}
.assistencia-app-preview .status-bars b { display: none; }
.preview-os {
  display: grid;
  align-content: start;
  gap: 10px;
}
.os-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px;
}
.os-row > svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 999px;
  color: var(--brand-primary);
  background: rgba(37, 99, 235, .1);
}
.os-row strong { display: block; color: #1E293B; font-size: 13px; }
.os-row span { color: #64748B; font-size: 11px; font-weight: 700; }
.tag {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 10px;
  line-height: 1;
}
.tag.blue { color: #1D4ED8; background: #DBEAFE; }
.tag.amber { color: #B45309; background: #FEF3C7; }
.tag.green { color: #047857; background: #D1FAE5; }
.assistencia-section,
.assistencia-plan {
  background: rgba(255, 255, 255, .54);
}
.assistencia-product-page .card {
  background: white;
  border-color: #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 12px 26px -24px rgba(15, 23, 42, .26);
}
.assistencia-product-page .card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1E293B;
}
.assistencia-product-page .card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
}
.assistencia-product-page .price { color: var(--brand-primary); }
.assistencia-product-page ul.clean li { color: #475569; }
.assistencia-product-page ul.clean li::before { color: var(--brand-primary); }
.assistencia-product-page .faq details {
  background: white;
  border-color: #E2E8F0;
}
.assistencia-product-page .footer {
  background: white;
  border-color: #E2E8F0;
  color: #64748B;
}
@media (max-width: 1100px) {
  .assistencia-product-page .hero-grid { grid-template-columns: 1fr; }
  .assistencia-app-preview { grid-template-columns: 200px minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .assistencia-product-page .container { width: 100%; max-width: 100%; padding: 0 24px; }
  .assistencia-product-page .nav-links { display: none; }
  .assistencia-product-page h1 { font-size: clamp(30px, 8.8vw, 34px); line-height: 1.08; }
  .assistencia-product-page .hero-grid {
    display: block;
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    overflow: hidden;
  }
  .assistencia-product-page .hero-grid > div:first-child {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .assistencia-product-page .hero h1,
  .assistencia-product-page .hero .lead { max-width: 100%; overflow-wrap: normal; }
  .assistencia-product-page .hero .lead { font-size: 16px; line-height: 1.6; }
  .assistencia-product-page .actions { width: calc(100% - 12px); }
  .assistencia-app-preview {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 22px;
  }
  .preview-sidebar {
    display: none;
  }
  .preview-main {
    padding: 14px;
  }
  .preview-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .preview-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .preview-actions span,
  .preview-actions b { justify-content: center; padding-left: 6px; padding-right: 6px; font-size: 11px; }
  .preview-stats,
  .preview-workspace {
    grid-template-columns: 1fr;
  }
  .status-bars {
    height: 150px;
    gap: 7px;
    margin-bottom: 20px;
  }
  .status-bars b { font-size: 9px; }
  .os-row {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .os-row .tag {
    grid-column: 2;
    justify-self: start;
  }
}

/* Shared real-system product pages: Barbearia Premium and Beleza & Spa. */
.real-system-page {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-strong: #F1F5F9;
  --muted: #64748B;
  --text: #0F172A;
  --line: #E2E8F0;
  --brand-primary: #2563EB;
  --brand-dark: #0F172A;
  --brand-accent: #D4AF37;
  --brand-soft: rgba(37, 99, 235, .1);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 0% 0%, var(--brand-soft), transparent 32rem),
    linear-gradient(180deg, #F8FAFC, #FFFFFF 46%, #F8FAFC);
  color: var(--text);
}
.barber-product-page {
  --brand-primary: #2563EB;
  --brand-accent: #D4AF37;
  --brand-soft: rgba(212, 175, 55, .13);
}
.beauty-product-page {
  --brand-primary: #E11D48;
  --brand-accent: #FB7185;
  --brand-soft: rgba(225, 29, 72, .11);
}
.real-system-page * { min-width: 0; }
.real-system-page .container { max-width: 1280px; }
.real-system-page .header {
  background: rgba(248, 250, 252, .9);
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.real-system-page .nav-links { color: #475569; }
.real-system-page .nav-links a:hover { color: var(--brand-primary); }
.real-system-page .btn {
  border-radius: 12px;
  min-height: 46px;
  box-shadow: 0 12px 24px -18px color-mix(in srgb, var(--brand-primary) 70%, transparent);
}
.real-system-page .btn svg { width: 18px; height: 18px; }
.real-system-page .btn.primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
}
.real-system-page .btn.light {
  background: white;
  border-color: #E2E8F0;
  color: #0F172A;
}
.real-system-page .eyebrow {
  color: var(--brand-primary);
  letter-spacing: .16em;
}
.real-system-page h1,
.real-system-page .section h2 { color: #0F172A; }
.real-system-page h1 { font-size: clamp(42px, 4.7vw, 72px); }
.real-system-page .lead,
.real-system-page .section p { color: #475569; }
.real-hero {
  min-height: auto;
  padding: 72px 0;
}
.real-system-page .hero-grid {
  grid-template-columns: minmax(0, .76fr) minmax(680px, 1.24fr);
}
.system-app-preview {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 600px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  border-radius: 28px;
  background: #F8FAFC;
  box-shadow: 0 28px 80px -42px rgba(15, 23, 42, .35);
}
.system-app-preview .preview-icon {
  background: linear-gradient(145deg, var(--brand-accent), var(--brand-primary));
}
.barber-preview .preview-icon { color: #0F172A; }
.beauty-preview .preview-icon { color: white; }
.barber-preview .preview-sidebar nav .active,
.beauty-preview .preview-sidebar nav .active {
  border-left-color: var(--brand-accent);
  box-shadow: inset 0 0 24px color-mix(in srgb, var(--brand-primary) 14%, transparent);
}
.system-app-preview .preview-actions b { background: var(--brand-primary); }
.barber-preview .preview-stats article:nth-child(1) strong { color: #10B981; }
.barber-preview .preview-stats article:nth-child(2) strong { color: #0F172A; }
.barber-preview .preview-stats article:nth-child(3) strong { color: #2563EB; }
.barber-preview .preview-stats article:nth-child(4) strong { color: #D97706; }
.beauty-preview .preview-stats article:nth-child(1) strong { color: #E11D48; }
.beauty-preview .preview-stats article:nth-child(2) strong { color: #10B981; }
.beauty-preview .preview-stats article:nth-child(3) strong { color: #F59E0B; }
.beauty-preview .preview-stats article:nth-child(4) strong { color: #8B5CF6; }
.agenda-card {
  min-height: 314px;
}
.agenda-list {
  display: grid;
  gap: 10px;
}
.agenda-list div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #F8FAFC;
}
.agenda-list b {
  color: var(--brand-primary);
  font-size: 13px;
}
.agenda-list span {
  color: #1E293B;
  font-size: 13px;
  font-weight: 800;
}
.agenda-list em {
  grid-column: 2;
  justify-self: start;
  color: #64748B;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 5px 8px;
}
.tag.rose { color: #BE123C; background: #FFE4E6; }
.real-section,
.real-plan { background: rgba(255, 255, 255, .62); }
.real-system-page .card {
  background: white;
  border-color: #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 12px 26px -24px rgba(15, 23, 42, .26);
}
.real-system-page .card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1E293B;
}
.real-system-page .card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
}
.real-system-page .price { color: var(--brand-primary); }
.real-system-page ul.clean li { color: #475569; }
.real-system-page ul.clean li::before { color: var(--brand-primary); }
.real-system-page .footer {
  background: white;
  border-color: #E2E8F0;
  color: #64748B;
}
@media (max-width: 1100px) {
  .real-system-page .hero-grid { grid-template-columns: 1fr; }
  .system-app-preview { grid-template-columns: 200px minmax(0, 1fr); }
}

/* Routine Flow Section */
.routine-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.routine-step {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 26px -24px rgba(15, 23, 42, .26);
  position: relative;
}
.routine-step::after {
  content: '';
  position: absolute;
  top: 42px;
  right: -20px;
  width: 20px;
  height: 2px;
  background: #E2E8F0;
  z-index: 1;
}
.routine-step:last-child::after { display: none; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-primary);
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 16px;
}
.routine-step h3 {
  color: #1E293B;
  font-size: 18px;
  margin: 0 0 8px;
}
.routine-step p {
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 820px) {
  .routine-flow { grid-template-columns: 1fr; gap: 16px; }
  .routine-step::after { display: none; }
}

/* Promo Phrase */
.promo-phrase {
  display: inline-block;
  margin-top: 18px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid #E2E8F0;
}
.promo-phrase strong { color: var(--brand-primary); }

/* Desktop fidelity pass: real demo frames on product pages. */
@media (min-width: 1110px) {
  .assistencia-product-page .container,
  .real-system-page .container {
    max-width: 1360px;
  }

  .assistencia-product-page .hero-grid,
  .real-system-page .hero-grid {
    grid-template-columns: minmax(300px, .56fr) minmax(760px, 1.44fr);
    gap: 48px;
    align-items: center;
  }

  .assistencia-product-page .hero,
  .real-system-page .hero {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.real-demo-frame {
  max-width: none;
  min-height: 650px;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  box-shadow: 0 34px 86px -42px rgba(15, 23, 42, .72);
}

@media (min-width: 1110px) {
  .assistencia-frame,
  .beauty-frame {
    min-height: 720px;
  }

  .real-demo-frame .demo-app-content {
    overflow: hidden;
  }
}

.demo-strip {
  height: 42px;
  padding: 0 18px;
  gap: 16px;
}

.demo-strip > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-strip-buttons {
  flex-shrink: 0;
}

.demo-strip-btn {
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10px;
  white-space: nowrap;
}

.demo-sidebar-rail {
  width: 68px;
  padding: 14px 0;
  gap: 14px;
}

.demo-app-header {
  height: 80px;
  padding: 0 28px;
}

.demo-header-title {
  font-size: 20px;
  letter-spacing: 0;
}

.demo-header-subtitle {
  margin-top: 4px;
  font-size: 12px;
}

.demo-header-actions {
  align-items: center;
}

.demo-notification {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #CBD5E1;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .07);
}

.demo-btn {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 12px;
}

.demo-btn svg,
.demo-notification svg,
.demo-nav-icon svg,
.demo-stat-icon svg,
.demo-quick-action svg,
.demo-empty-state svg {
  width: 17px;
  height: 17px;
}

.demo-app-content {
  padding: 28px;
  gap: 24px;
}

.assistencia-frame .demo-app-content {
  background: #F1F5F9;
}

.barber-frame .demo-app-content {
  background:
    radial-gradient(circle at 90% 10%, rgba(37, 99, 235, .12), transparent 26rem),
    #070B14;
}

.beauty-frame .demo-app-content {
  background:
    radial-gradient(circle at 90% 6%, rgba(225, 29, 72, .14), transparent 25rem),
    #0B0F19;
}

.demo-stat-grid {
  gap: 14px;
}

.demo-stat-card {
  min-height: 94px;
  padding: 18px;
  border-radius: 14px;
}

.demo-stat-label {
  font-size: 10px;
  letter-spacing: .06em;
}

.demo-stat-value {
  font-size: 26px;
  line-height: 1.1;
}

.demo-dashboard-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr);
  gap: 18px;
}

.assistencia-dashboard {
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr);
}

.barber-dashboard {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr);
}

.beauty-dashboard {
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.45fr);
}

.demo-panel {
  min-height: 206px;
  padding: 20px;
  border-radius: 14px;
}

.demo-panel-large {
  min-height: 260px;
}

.assistencia-dashboard .demo-panel-large {
  min-height: 238px;
}

.assistencia-dashboard .demo-panel-empty {
  min-height: 150px;
}

.demo-panel-wide {
  grid-column: 1 / -1;
  min-height: 132px;
}

.demo-panel-title {
  font-size: 15px;
}

.demo-status-chart {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
  min-height: 190px;
  padding: 10px 10px 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 27px,
    rgba(15, 23, 42, .05) 27px,
    rgba(15, 23, 42, .05) 28px
  );
}

.assistencia-dashboard .demo-status-chart {
  min-height: 158px;
}

.demo-status-chart span {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.demo-status-chart span::before {
  content: "";
  display: block;
  width: 52%;
  height: var(--h);
  min-height: 28px;
  border-radius: 7px 7px 0 0;
  background: var(--c);
  opacity: .9;
}

.demo-status-chart b {
  position: absolute;
  bottom: -18px;
  color: #64748B;
  font-size: 10px;
  font-weight: 800;
}

.demo-empty-state {
  min-height: 148px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  color: #64748B;
}

.assistencia-dashboard .demo-empty-state {
  min-height: 84px;
}

.demo-empty-state i,
.demo-empty-state svg {
  color: #94A3B8;
}

.demo-empty-state strong {
  color: #1E293B;
  font-size: 15px;
}

.dark-theme .demo-empty-state,
.dark-theme .demo-empty-state span {
  color: #94A3B8;
}

.dark-theme .demo-empty-state strong {
  color: #F8FAFC;
}

.demo-empty-state span {
  max-width: 380px;
  font-size: 12px;
  line-height: 1.45;
}

.demo-empty-state-inline {
  min-height: 72px;
  grid-template-columns: auto auto minmax(0, 1fr);
  justify-content: start;
  text-align: left;
}

.demo-empty-state-inline span {
  max-width: none;
}

.demo-script-card {
  right: 22px;
  bottom: 22px;
  width: 300px;
  border-radius: 14px;
}

.assistencia-frame .demo-script-card {
  background: rgba(15, 23, 42, .96);
}

.barber-frame .demo-script-card,
.beauty-frame .demo-script-card {
  background: rgba(2, 6, 23, .94);
}

@media (max-width: 1109px) {
  .real-demo-frame {
    min-height: 560px;
  }

  .demo-dashboard-grid,
  .assistencia-dashboard,
  .barber-dashboard,
  .beauty-dashboard {
    grid-template-columns: 1fr;
  }

  .demo-panel-wide {
    grid-column: auto;
  }
}
