/* ═══════════════════════════════════════════════
   VioAgents Landing v2 — styles.css
   Solid premium dark, minimal glass, legible
   ═══════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #080d1a;
  --bg-2:      #0d1321;
  --bg-card:   #111827;
  --bg-card-h: #161f30;
  --border:    rgba(255,255,255,0.07);
  --border-h:  rgba(255,255,255,0.14);
  --text:      #f1f5f9;
  --text-2:    #94a3b8;
  --text-3:    #4b5563;
  --primary:   #6d28d9;
  --primary-2: #1d4ed8;
  --green:     #10b981;
  --blue:      #3b82f6;
  --purple:    #a855f7;
  --orange:    #f59e0b;
  --rose:      #f43f5e;
  --teal:      #0d9488;
  --teal-light:#14b8a6;
  --radius:    12px;
  --radius-sm: 8px;
  --font:      'Inter', system-ui, sans-serif;
  --tr:        0.2s ease;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

html.chat-widget-open,
body.chat-widget-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.chat-widget-open {
  touch-action: none;
}

/* ── Utilities ──────────────────────────────── */
.container    { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 2rem; }
.text-center  { text-align: center; }
.section      { padding: 6rem 0; }
.bg-darker    { background: var(--bg-2); }

/* Gradient text helpers */
.gradient-text   { background: linear-gradient(135deg,#7c3aed,#2563eb); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.gradient-green  { background: linear-gradient(135deg,#10b981,#34d399); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.gradient-blue   { background: linear-gradient(135deg,#3b82f6,#60a5fa); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.gradient-purple { background: linear-gradient(135deg,#a855f7,#c084fc); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.gradient-orange { background: linear-gradient(135deg,#f59e0b,#fbbf24); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.gradient-rose   { background: linear-gradient(135deg,#f43f5e,#fb7185); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.gradient-teal   { background: linear-gradient(135deg,#0d9488,#2dd4bf); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

/* ── Buttons ────────────────────────────────── */
.btn { display:inline-flex; align-items:center; gap:0.5rem; padding:.7rem 1.4rem; border-radius:var(--radius-sm); font-weight:600; font-size:.9rem; transition:all var(--tr); cursor:pointer; border:none; white-space:nowrap; }
.btn-primary { background:linear-gradient(135deg,var(--primary),var(--primary-2)); color:white; box-shadow:0 4px 18px rgba(109,40,217,.35); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(109,40,217,.5); }
.btn-outline { color:var(--text-2); border:1px solid var(--border-h); background:transparent; }
.btn-outline:hover { color:var(--text); border-color:rgba(255,255,255,0.25); background:rgba(255,255,255,0.04); }
.btn-whatsapp { background:#25d366; color:white; box-shadow:0 4px 18px rgba(37,211,102,.3); }
.btn-whatsapp:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(37,211,102,.45); }
.btn-lg  { padding:.8rem 1.6rem; font-size:.95rem; }
.btn-xl  { padding:.95rem 1.8rem; font-size:1rem; border-radius:var(--radius); }
.btn-full { width:100%; justify-content:center; }
.nav-cta { padding:.55rem 1.25rem; font-size:.85rem; }

/* ── Section typography ─────────────────────── */
.section-eyebrow { font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--primary); margin-bottom:.75rem; display:block; }
.section-heading { font-size:clamp(1.9rem,3.5vw,2.8rem); font-weight:800; line-height:1.2; letter-spacing:-.03em; margin-bottom:1.1rem; }
.section-sub { font-size:1rem; color:var(--text-2); line-height:1.75; margin-bottom:3rem; }

/* ── Domain badge ───────────────────────────── */
.domain-badge { display:inline-flex; align-items:center; gap:.5rem; font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:.3rem .85rem; border-radius:999px; margin-bottom:1.1rem; width:fit-content; }
.badge-green  { background:rgba(16,185,129,.12); border:1px solid rgba(16,185,129,.25); color:var(--green); }
.badge-blue   { background:rgba(59,130,246,.12);  border:1px solid rgba(59,130,246,.25);  color:var(--blue); }
.badge-purple { background:rgba(168,85,247,.12);  border:1px solid rgba(168,85,247,.25);  color:var(--purple); }
.badge-orange { background:rgba(245,158,11,.12);  border:1px solid rgba(245,158,11,.25);  color:var(--orange); }
.badge-rose   { background:rgba(244,63,94,.12);   border:1px solid rgba(244,63,94,.25);   color:var(--rose); }

.soon-chip { font-size:.65rem; font-weight:600; letter-spacing:.05em; background:rgba(245,158,11,.15); border:1px solid rgba(245,158,11,.3); color:var(--orange); padding:.15rem .55rem; border-radius:999px; margin-left:.5rem; vertical-align:middle; }

/* ══════════ NAV ══════════ */
#navbar { position:fixed; top:0; left:0; right:0; z-index:100; background:rgba(8,13,26,.92); backdrop-filter:blur(12px); border-bottom:1px solid var(--border); transition:all var(--tr); }
.nav-inner { max-width:1160px; margin:0 auto; padding:0 2rem; height:64px; display:flex; align-items:center; gap:2rem; }
.logo { display:flex; align-items:baseline; gap:1px; font-weight:900; font-size:1.15rem; letter-spacing:-.02em; }
.logo-vio    { color:var(--text); }
.logo-dot    { color:var(--purple); animation:blink 2s infinite; margin:0 1px; }
.logo-agents { color:var(--text-2); font-weight:400; font-size:.8em; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
.nav-links { display:flex; gap:1.75rem; margin-left:.5rem; flex:1; }
.nav-links a { font-size:.875rem; color:var(--text-2); transition:color var(--tr); }
.nav-links a:hover { color:var(--text); }
.hamburger { display:none; flex-direction:column; gap:5px; padding:.5rem; margin-left:auto; }
.hamburger span { display:block; width:22px; height:2px; background:var(--text); border-radius:2px; transition:all .3s; }

/* ══════════ HERO ══════════ */
#hero { min-height:100vh; display:flex; align-items:center; padding:8rem 2rem 5rem; position:relative; overflow:hidden; }
.hero-bg { position:absolute; inset:0; pointer-events:none; z-index:0; }
.orb { position:absolute; border-radius:50%; filter:blur(90px); pointer-events:none; }
.orb-1 { width:500px; height:500px; background:var(--primary); top:-120px; left:-100px; opacity:.1; animation:drift 12s ease-in-out infinite; }
.orb-2 { width:380px; height:380px; background:var(--primary-2); bottom:0; right:-60px; opacity:.08; animation:drift 15s ease-in-out infinite reverse; }
.grid-overlay { position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px); background-size:55px 55px; }
@keyframes drift { 0%,100%{transform:translate(0,0)} 50%{transform:translate(25px,-20px)} }

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
}
.hero-content,
.hero-visual {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  padding: .3rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  line-height: 1.35;
}
.badge-dot { width:7px; height:7px; border-radius:50%; background:var(--green); animation:blink 1.5s infinite; flex-shrink:0; }
.hero-title {
  font-size: clamp(2rem,4.5vw,3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.04em;
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.hero-sub { font-size:1.05rem; color:var(--text-2); line-height:1.75; margin-bottom:.6rem; overflow-wrap:break-word; }
.hero-sub-note { font-size:.875rem; color:var(--text-3); margin-bottom:2rem; overflow-wrap:break-word; }
.hero-sub-note strong { color:var(--text-2); }
.hero-ctas { display:flex; gap:1rem; flex-wrap:wrap; max-width:100%; }

/* Chat widget & Hero interactive demo */
.chat-widget { background:var(--bg-card); border:1px solid var(--border-h); border-radius:16px; overflow:hidden; box-shadow:0 40px 80px rgba(0,0,0,.5); animation:floatY 6s ease-in-out infinite; width:100%; max-width:100%; min-width:0; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.chat-widget-header { display:flex; align-items:center; gap:.6rem; padding:.85rem 1.2rem; background:rgba(255,255,255,.03); border-bottom:1px solid var(--border); font-size:.82rem; font-weight:600; min-width:0; }
.chat-status-dot { width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 6px var(--green); flex-shrink:0; }
.chat-live-badge { margin-left:auto; font-size:.7rem; background:rgba(16,185,129,.1); border:1px solid rgba(16,185,129,.2); color:var(--green); padding:.15rem .55rem; border-radius:999px; white-space:nowrap; }
.chat-widget-body { padding:1.2rem; display:flex; flex-direction:column; gap:.7rem; max-height:280px; overflow:hidden; min-width:0; }
.chat-widget-footer { display:flex; align-items:center; gap:.5rem; padding:.75rem 1rem; border-top:1px solid var(--border); min-width:0; }
.chat-input-mock { flex:1; font-size:.82rem; color:var(--text-3); background:rgba(255,255,255,.04); border:1px solid var(--border); padding:.45rem .85rem; border-radius:var(--radius-sm); min-width:0; }
.chat-send-btn { width:30px; height:30px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--primary),var(--primary-2)); color:white; border-radius:6px; font-size:.85rem; flex-shrink:0; }

/* ── Hero Demo Box (iLovePDF Style Immediate Testing) ── */
.hero-demo-box {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--bg-card);
  border: 1px solid var(--border-h);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.hero-demo-tabs {
  display: flex;
  background: rgba(255,255,255,.02);
  border-bottom: 1px solid var(--border);
  padding: 0.45rem 0.6rem 0;
  gap: 0.35rem;
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hero-demo-tabs::-webkit-scrollbar {
  display: none;
}
.hero-demo-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.68rem 1.05rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-2);
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-demo-tab .hero-demo-icon {
  width: 16px;
  height: 16px;
  stroke: var(--text-3);
  transition: stroke .2s ease, transform .2s ease;
}
.hero-demo-tab:hover {
  color: var(--text);
  background: rgba(255,255,255,.04);
}
.hero-demo-tab:hover .hero-demo-icon {
  stroke: var(--text);
  transform: translateY(-1px);
}
.hero-demo-tab.active {
  color: var(--text);
  background: var(--bg-card);
  border-color: var(--border);
}
.hero-demo-tab.active[data-accent="green"] {
  border-top: 2.5px solid var(--green);
}
.hero-demo-tab.active[data-accent="green"] .hero-demo-icon {
  stroke: var(--green);
}
.hero-demo-tab.active[data-accent="blue"] {
  border-top: 2.5px solid var(--blue);
}
.hero-demo-tab.active[data-accent="blue"] .hero-demo-icon {
  stroke: var(--blue);
}
.hero-demo-tab.active[data-accent="teal"] {
  border-top: 2.5px solid var(--teal-light);
}
.hero-demo-tab.active[data-accent="teal"] .hero-demo-icon {
  stroke: var(--teal-light);
}
.hero-demo-tab.active[data-accent="amber"] {
  border-top: 2.5px solid #f59e0b;
}
.hero-demo-tab.active[data-accent="amber"] .hero-demo-icon {
  stroke: #f59e0b;
}
.hero-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,.02);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  min-width: 0;
}
.hero-demo-header-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 auto;
}
.hero-demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
}
.hero-demo-title {
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.hero-demo-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
}
.hero-demo-badge {
  font-size: 0.68rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2);
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}
.hero-demo-link {
  font-size: 0.74rem;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color .2s;
  white-space: nowrap;
}
.hero-demo-link:hover {
  color: var(--text);
}
.hero-demo-explainer {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: all .25s ease;
}
.hero-demo-explainer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero-demo-explainer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  transition: all .25s ease;
  flex-shrink: 0;
}
.hero-demo-explainer-text {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.48;
  color: var(--text-2);
}
.hero-demo-frame-wrap {
  height: 560px;
  background: #090e1a;
  position: relative;
  width: 100%;
  min-width: 0;
}
.hero-demo-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.hero-demo-chips {
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: 0;
}
.hero-demo-chips-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  font-weight: 700;
  margin-right: 0.25rem;
  flex-shrink: 0;
}
.hero-demo-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
  flex: 1;
}
.hero-demo-chip {
  font-size: 0.76rem;
  color: var(--text-2);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-h);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
  line-height: 1.35;
  text-align: left;
}
.hero-demo-chip:hover {
  color: var(--text);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}


/* ══════════ STATS BAR ══════════ */
.stats-bar { background:var(--bg-2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:center; flex-wrap:wrap; padding:2rem; gap:0; }
.stat { text-align:center; padding:.5rem 2.5rem; display:flex; flex-direction:column; gap:.25rem; }
.stat-n { font-size:1.75rem; font-weight:800; letter-spacing:-.03em; background:linear-gradient(135deg,var(--primary),var(--primary-2)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.stat-l { font-size:.75rem; color:var(--text-2); }
.stat-sep { width:1px; height:2.5rem; background:var(--border); flex-shrink:0; }

/* ══════════ INTRO ══════════ */
.intro-section { padding:5rem 0; }
.intro-label { font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--primary); margin-bottom:.75rem; display:block; }
.intro-title { font-size:clamp(1.8rem,3vw,2.5rem); font-weight:800; letter-spacing:-.03em; line-height:1.2; margin-bottom:1.5rem; }
.intro-body { font-size:1rem; color:var(--text-2); line-height:1.8; max-width:640px; margin:0 auto; }

/* ══════════ FRICTION / WHY NOW ══════════ */
.friction-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.friction-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:1.6rem 1.4rem; transition:all var(--tr); }
.friction-card:hover { border-color:var(--border-h); background:var(--bg-card-h); transform:translateY(-3px); }
.friction-card h3 { font-size:1.02rem; font-weight:800; letter-spacing:-.02em; margin-bottom:.7rem; }
.friction-card p { font-size:.88rem; color:var(--text-2); line-height:1.7; margin-bottom:1rem; }
.friction-list { list-style:none; display:flex; flex-direction:column; gap:.6rem; }
.friction-list li { position:relative; padding-left:1.05rem; font-size:.82rem; color:var(--text-2); line-height:1.55; }
.friction-list li::before { content:''; position:absolute; left:0; top:.5rem; width:6px; height:6px; border-radius:50%; background:var(--primary-2); box-shadow:0 0 8px rgba(124,58,237,.35); }
.friction-summary { margin-top:1.5rem; background:rgba(124,58,237,.07); border:1px solid rgba(124,58,237,.16); border-radius:var(--radius); padding:1rem 1.2rem; }
.friction-summary p { font-size:.92rem; color:var(--text-2); line-height:1.7; }
.friction-summary strong { color:var(--text); }

/* ══════════ REALITY / COST COMPARISON ══════════ */
.reality-grid { display:grid; grid-template-columns:1fr auto 1fr; gap:1.25rem; align-items:stretch; margin-top:2.25rem; }
.reality-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:1.6rem 1.4rem; }
.reality-without { border-color:rgba(244,63,94,.18); }
.reality-with { border-color:rgba(59,130,246,.18); }
.reality-header { margin-bottom:1rem; }
.reality-badge { display:inline-flex; align-items:center; justify-content:center; font-size:.68rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; padding:.28rem .75rem; border-radius:999px; margin-bottom:.85rem; }
.reality-badge.bad { background:rgba(244,63,94,.12); border:1px solid rgba(244,63,94,.2); color:var(--rose); }
.reality-badge.good { background:rgba(59,130,246,.12); border:1px solid rgba(59,130,246,.2); color:var(--blue); }
.reality-cost { font-size:2.1rem; font-weight:900; letter-spacing:-.04em; line-height:1; color:var(--text); margin-bottom:.65rem; }
.reality-cost span { font-size:.95rem; font-weight:600; color:var(--text-3); margin-left:.2rem; }
.reality-header p { font-size:.86rem; color:var(--text-2); line-height:1.7; }
.reality-list { list-style:none; display:flex; flex-direction:column; gap:.65rem; }
.reality-list li { position:relative; padding-left:1.15rem; font-size:.84rem; color:var(--text-2); line-height:1.6; }
.reality-list li::before { content:''; position:absolute; left:0; top:.48rem; width:7px; height:7px; border-radius:50%; }
.reality-bad::before { background:var(--rose); box-shadow:0 0 8px rgba(244,63,94,.35); }
.reality-good::before { background:var(--blue); box-shadow:0 0 8px rgba(59,130,246,.35); }
.reality-vs { display:flex; align-items:center; justify-content:center; font-size:1rem; font-weight:900; letter-spacing:.18em; color:var(--text-3); }
.reality-summary { margin-top:1.25rem; background:rgba(59,130,246,.07); border:1px solid rgba(59,130,246,.16); border-radius:var(--radius); padding:1rem 1.2rem; }
.reality-summary p { font-size:.92rem; color:var(--text-2); line-height:1.7; }
.reality-summary strong { color:var(--text); }
.friction-mini-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1.25rem; }
.friction-mini-card { background:rgba(255,255,255,.03); border:1px solid var(--border); border-radius:var(--radius); padding:1.15rem 1.1rem; }
.friction-mini-card h3 { font-size:.95rem; font-weight:800; letter-spacing:-.02em; margin-bottom:.45rem; }
.friction-mini-card p { font-size:.82rem; color:var(--text-2); line-height:1.6; }

/* ══════════ DOMAIN SECTIONS ══════════ */
.domain-section { padding:5rem 0; }
.ds-dark  { background:var(--bg); }
.ds-light { background:var(--bg-2); }

.domain-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5rem;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.domain-inner.reverse .domain-visual { order:-1; }
.domain-visual,
.domain-info {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.domain-title { font-size:clamp(1.7rem,2.8vw,2.4rem); font-weight:800; line-height:1.2; letter-spacing:-.03em; margin-bottom:1rem; overflow-wrap:break-word; }
.domain-desc { font-size:.95rem; color:var(--text-2); line-height:1.75; margin-bottom:1.5rem; overflow-wrap:break-word; }

.domain-features { list-style:none; display:flex; flex-direction:column; gap:.55rem; margin-bottom:1.5rem; }
.domain-features li { font-size:.9rem; color:var(--text-2); display:flex; align-items:center; gap:.6rem; }
.feat-icon { width:20px; height:20px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; font-size:.7rem; font-weight:700; flex-shrink:0; }
.feat-icon.green  { background:rgba(16,185,129,.15); color:var(--green); }
.feat-icon.blue   { background:rgba(59,130,246,.15);  color:var(--blue); }
.feat-icon.purple { background:rgba(168,85,247,.15);  color:var(--purple); }
.feat-icon.orange { background:rgba(245,158,11,.15);  color:var(--orange); }
.feat-icon.rose   { background:rgba(244,63,94,.15);   color:var(--rose); }

.domain-nichos { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; margin-bottom:1.75rem; }
.nicho-label { font-size:.75rem; color:var(--text-3); font-weight:600; }
.nicho-tag { font-size:.75rem; background:rgba(255,255,255,.05); border:1px solid var(--border); color:var(--text-2); padding:.2rem .65rem; border-radius:999px; }
.domain-actions { display:flex; gap:.75rem; flex-wrap:wrap; }

/* Domain chat cards */
.domain-chat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-h);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.dcard-header {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.1rem;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
  font-size: .78rem;
  font-weight: 600;
  min-width: 0;
}
.dcard-header span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.dcard-dot { width:7px; height:7px; border-radius:50%; flex-shrink:0; }
.green-dot  { background:var(--green); box-shadow:0 0 5px var(--green); }
.blue-dot   { background:var(--blue);  box-shadow:0 0 5px var(--blue); }
.purple-dot { background:var(--purple);box-shadow:0 0 5px var(--purple); }
.orange-dot { background:var(--orange);box-shadow:0 0 5px var(--orange); }
.dcard-body { padding:1rem; display:flex; flex-direction:column; gap:.6rem; min-width:0; }
.dcard-tag { font-size:.72rem; color:var(--text-3); background:rgba(255,255,255,.04); border:1px dashed var(--border-h); padding:.4rem .75rem; border-radius:var(--radius-sm); text-align:center; margin-top:.3rem; overflow-wrap:break-word; }

/* Card color accents */
.green-card  { border-color:rgba(16,185,129,.2); }
.blue-card   { border-color:rgba(59,130,246,.2); }
.purple-card { border-color:rgba(168,85,247,.2); }
.orange-card { border-color:rgba(245,158,11,.2); }

.domain-stats-mini {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
  min-width: 0;
}
.mini-stat { display:flex; align-items:baseline; gap:1px; flex-shrink:0; }
.mini-stat strong { font-size:1.5rem; font-weight:800; color:var(--green); }
.mini-stat span { font-size:.8rem; color:var(--text-3); }
.mini-sep { width:1px; height:1.5rem; background:var(--border); flex-shrink:0; }
.mini-stat-label { font-size:.82rem; color:var(--text-2); font-weight:600; min-width:0; }


/* Domain tree (specialized section) */
.domain-tree { background:var(--bg-card); border:1px solid var(--border-h); border-radius:var(--radius); padding:1.75rem; }
.tree-root { font-size:1rem; font-weight:800; color:var(--text); margin-bottom:1.25rem; padding-bottom:1rem; border-bottom:1px solid var(--border); letter-spacing:-.02em; }
.tree-branches { display:flex; flex-direction:column; gap:.85rem; }
.tree-branch { display:flex; align-items:center; gap:.75rem; flex-wrap:wrap; }
.tree-node { font-size:.78rem; font-weight:700; padding:.3rem .8rem; border-radius:999px; flex-shrink:0; }
.green-node  { background:rgba(16,185,129,.12); color:var(--green);  border:1px solid rgba(16,185,129,.25); }
.blue-node   { background:rgba(59,130,246,.12);  color:var(--blue);   border:1px solid rgba(59,130,246,.25); }
.purple-node { background:rgba(168,85,247,.12);  color:var(--purple); border:1px solid rgba(168,85,247,.25); }
.orange-node { background:rgba(245,158,11,.12);  color:var(--orange); border:1px solid rgba(245,158,11,.25); }
.rose-node   { background:rgba(244,63,94,.12);   color:var(--rose);   border:1px solid rgba(244,63,94,.25); }
.tree-leaves { display:flex; gap:.4rem; flex-wrap:wrap; }
.tree-leaves span { font-size:.72rem; color:var(--text-3); background:rgba(255,255,255,.04); border:1px solid var(--border); padding:.15rem .55rem; border-radius:999px; }

/* ══════════ CHAT BUBBLES (shared) ══════════ */
.chat-bubble { padding:.65rem .9rem; border-radius:10px; font-size:.875rem; line-height:1.55; max-width:85%; }
.chat-bubble.sm { font-size:.8rem; padding:.55rem .8rem; }
.chat-bubble.user  { align-self:flex-end; background:linear-gradient(135deg,var(--primary),var(--primary-2)); color:white; border-bottom-right-radius:3px; margin-left:auto; }
.chat-bubble.agent { align-self:flex-start; background:rgba(255,255,255,.06); border:1px solid var(--border); color:var(--text); border-bottom-left-radius:3px; }
.chat-bubble.agent-typing { display:flex; gap:4px; padding:.65rem .9rem; }
.chat-bubble.agent-typing span { width:7px; height:7px; border-radius:50%; background:var(--text-2); animation:typingPulse 1.2s infinite; }
.chat-bubble.agent-typing span:nth-child(2) { animation-delay:.2s; }
.chat-bubble.agent-typing span:nth-child(3) { animation-delay:.4s; }
@keyframes typingPulse { 0%,80%,100%{opacity:.3;transform:scale(.85)} 40%{opacity:1;transform:scale(1)} }

/* ══════════ HOW IT WORKS ══════════ */
.steps-grid { display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:1rem; align-items:start; margin-top:3rem; }
.step-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:1.75rem 1.5rem; text-align:center; transition:all var(--tr); }
.step-card:hover { border-color:var(--border-h); background:var(--bg-card-h); transform:translateY(-3px); }
.step-num { font-size:.68rem; font-weight:800; letter-spacing:.15em; color:var(--primary); margin-bottom:1rem; }
.step-icon-wrap { width:52px; height:52px; margin:0 auto 1.1rem; background:rgba(109,40,217,.1); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; color:var(--primary-2); }
.step-card h3 { font-size:1rem; font-weight:700; margin-bottom:.6rem; }
.step-card p  { font-size:.85rem; color:var(--text-2); line-height:1.65; }
.step-arrow { font-size:1.3rem; color:var(--text-3); padding-top:3.5rem; }

/* ══════════ PRICING (redesign) ══════════ */
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; margin-bottom:1.5rem; }

.price-card { background:var(--bg-card); padding:2rem 1.75rem; display:flex; flex-direction:column; gap:1.5rem; position:relative; transition:background var(--tr); }
.price-card:hover { background:var(--bg-card-h); }
.price-featured { background:#0f1a2e; }
.price-featured:hover { background:#121f38; }

.pc-featured-badge { position:absolute; top:1.25rem; right:1.25rem; font-size:.65rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; background:linear-gradient(135deg,var(--primary),var(--primary-2)); color:white; padding:.25rem .75rem; border-radius:999px; }

.pc-top { display:flex; flex-direction:column; gap:.6rem; }
.pc-tier { font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.pc-price { font-size:2.8rem; font-weight:900; letter-spacing:-.05em; line-height:1; color:var(--text); display:flex; align-items:flex-start; gap:2px; }
.pc-price sup { font-size:1.2rem; font-weight:700; color:var(--text-2); margin-top:.4rem; }
.pc-price sub { font-size:.9rem; font-weight:500; color:var(--text-3); align-self:flex-end; margin-bottom:.3rem; }
.pc-custom { font-size:1.6rem; letter-spacing:-.02em; align-items:center; }
.pc-desc { font-size:.82rem; color:var(--text-2); line-height:1.6; border-top:1px solid var(--border); padding-top:.75rem; }

.pc-divider { height:1px; background:var(--border); }

.pc-features { list-style:none; display:flex; flex-direction:column; gap:.55rem; flex:1; }
.pc-features li { font-size:.82rem; color:var(--text-2); padding-left:1rem; position:relative; line-height:1.5; }
.pc-features li::before { content:''; position:absolute; left:0; top:.55em; width:5px; height:5px; border-radius:50%; background:var(--border-h); }

.price-footer-note { text-align:center; }
.price-footer-note p { font-size:.78rem; color:var(--text-3); line-height:1.7; }

/* ══════════ SOCIAL PROOF BAR ══════════ */
.social-proof-bar { display:flex; align-items:center; justify-content:center; gap:2.5rem; padding:1.1rem 2rem; background:rgba(109,40,217,.06); border-top:1px solid rgba(109,40,217,.15); border-bottom:1px solid rgba(109,40,217,.15); flex-wrap:wrap; }
.sp-item { display:flex; align-items:center; gap:.65rem; font-size:.82rem; color:var(--text-2); }
.sp-dot { width:6px; height:6px; border-radius:50%; background:var(--primary); }
.sp-item strong { color:var(--text); font-weight:700; }
.sp-sep { width:1px; height:1.2rem; background:rgba(255,255,255,.1); }

/* ══════════ TRAINING CALLOUT ══════════ */
.training-callout { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:2rem; margin-top:3rem; width:100%; max-width:100%; box-sizing:border-box; }
.tc-header { display:flex; align-items:center; gap:1rem; margin-bottom:1.25rem; flex-wrap:wrap; }
.tc-badge { font-size:.7rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; background:rgba(16,185,129,.1); border:1px solid rgba(16,185,129,.25); color:var(--green); padding:.3rem .85rem; border-radius:999px; white-space:nowrap; }
.tc-title { font-size:.95rem; font-weight:700; color:var(--text); min-width:0; }
.tc-items { display:grid; grid-template-columns:repeat(4,1fr); gap:.75rem; }
.tc-item { background:rgba(255,255,255,.03); border:1px solid var(--border); border-radius:var(--radius-sm); padding:.85rem 1rem; min-width:0; }
.tc-item span { font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--primary); display:block; margin-bottom:.3rem; }
.tc-item p { font-size:.78rem; color:var(--text-2); line-height:1.5; overflow-wrap:break-word; }

/* Code mockup (integration card) */
.code-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.code-mockup pre {
  margin: 0;
  font-family: monospace;
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.code-mockup code {
  white-space: pre;
  word-break: normal;
  display: block;
}


/* ══════════ AVAILABILITY ══════════ */
.availability-section { padding:3rem 0; background:var(--bg-2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.availability-card { display:grid; grid-template-columns:1fr 1fr; gap:4rem; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:2.5rem; }
.av-label { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:var(--primary); margin-bottom:.75rem; display:block; }
.av-title { font-size:1.5rem; font-weight:800; line-height:1.25; letter-spacing:-.03em; margin-bottom:1rem; }
.av-desc { font-size:.875rem; color:var(--text-2); line-height:1.75; }
.av-right { display:flex; flex-direction:column; justify-content:center; }
.av-stat { margin-bottom:1.25rem; }
.av-num { font-size:1.3rem; font-weight:800; color:var(--text); display:block; letter-spacing:-.02em; }
.av-sub { font-size:.82rem; color:var(--green); font-weight:600; }
.av-divider { height:1px; background:var(--border); margin-bottom:1.25rem; }
.av-points { display:flex; flex-direction:column; gap:.85rem; }
.av-point { display:flex; align-items:flex-start; gap:.75rem; font-size:.85rem; color:var(--text-2); line-height:1.55; }
.av-dot { width:6px; height:6px; border-radius:50%; background:var(--primary); flex-shrink:0; margin-top:.45em; }

/* ══════════ DASHBOARD ══════════ */
.dashboard-preview { margin:0 auto 2rem; max-width:900px; }
.dashboard-placeholder { background:var(--bg-card); border:1px solid var(--border-h); border-radius:var(--radius); overflow:hidden; box-shadow:0 30px 70px rgba(0,0,0,.4); }
.dp-topbar { display:flex; align-items:center; gap:1rem; padding:.75rem 1.25rem; background:rgba(255,255,255,.03); border-bottom:1px solid var(--border); }
.dp-dots { display:flex; gap:5px; }
.dp-dots span { width:10px; height:10px; border-radius:50%; background:var(--border-h); }
.dp-dots span:first-child { background:#ef4444; }
.dp-dots span:nth-child(2) { background:#f59e0b; }
.dp-dots span:last-child { background:#22c55e; }
.dp-url { font-size:.75rem; color:var(--text-3); background:rgba(255,255,255,.04); border:1px solid var(--border); padding:.2rem .85rem; border-radius:999px; }
.dp-body { display:flex; height:280px; }
.dp-sidebar { width:160px; border-right:1px solid var(--border); padding:1rem .75rem; display:flex; flex-direction:column; gap:.35rem; flex-shrink:0; }
.dp-nav-item { font-size:.78rem; color:var(--text-3); padding:.45rem .65rem; border-radius:var(--radius-sm); cursor:default; }
.dp-nav-item.active { background:rgba(109,40,217,.12); color:var(--text); font-weight:600; }
.dp-main { flex:1; display:flex; flex-direction:column; overflow:hidden; }
.dp-header { display:flex; align-items:center; justify-content:space-between; padding:.85rem 1.25rem; border-bottom:1px solid var(--border); }
.dp-title { font-size:.85rem; font-weight:600; }
.dp-badge { font-size:.72rem; background:rgba(109,40,217,.12); color:var(--primary); border:1px solid rgba(109,40,217,.2); padding:.2rem .65rem; border-radius:999px; font-weight:600; }
.dp-rows { display:flex; flex-direction:column; overflow-y:auto; }
.dp-row { display:flex; align-items:center; gap:.75rem; padding:.75rem 1.25rem; border-bottom:1px solid rgba(255,255,255,.04); font-size:.8rem; color:var(--text-2); transition:background var(--tr); }
.dp-row:hover { background:rgba(255,255,255,.02); }
.dp-row-dot { width:6px; height:6px; border-radius:50%; background:var(--border-h); flex-shrink:0; }
.dp-row-dot.green-dot { background:var(--green); }
.dp-row span { flex:1; }
.dp-row small { font-size:.7rem; color:var(--text-3); flex-shrink:0; }
.dashboard-caption { text-align:center; font-size:.75rem; color:var(--text-3); margin-top:1rem; font-style:italic; }

.dashboard-features { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-top:3rem; }
.df-item { display:flex; gap:1rem; align-items:flex-start; }
.df-icon { font-size:1.25rem; color:var(--primary); font-weight:300; flex-shrink:0; margin-top:.1rem; }
.df-item strong { font-size:.9rem; font-weight:700; display:block; margin-bottom:.3rem; }
.df-item p { font-size:.82rem; color:var(--text-2); line-height:1.6; }

/* Chat item row (no emoji) */
.cb-item { display:flex; justify-content:space-between; align-items:center; padding:.18rem 0; font-size:.85rem; }
.cb-price { color:var(--green); font-weight:700; font-size:.82rem; background:rgba(16,185,129,.1); padding:.1rem .5rem; border-radius:999px; margin-left:.5rem; }

/* ══════════ FAQ ══════════ */
.faq-list { display:flex; flex-direction:column; gap:.6rem; margin-top:2.5rem; }
.faq-item { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-sm); overflow:hidden; transition:border-color var(--tr); }
.faq-item:hover { border-color:var(--border-h); }
.faq-item.open  { border-color:rgba(109,40,217,.3); }
.faq-q { width:100%; display:flex; justify-content:space-between; align-items:center; padding:1.1rem 1.4rem; font-size:.9rem; font-weight:600; color:var(--text); text-align:left; gap:1rem; }
.fq-icon { font-size:1.25rem; color:var(--text-3); flex-shrink:0; transition:transform .3s; }
.faq-item.open .fq-icon { transform:rotate(45deg); color:var(--primary); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .35s ease, padding .25s; }
.faq-item.open .faq-a { max-height:180px; padding:0 1.4rem 1.1rem; }
.faq-a p { font-size:.875rem; color:var(--text-2); line-height:1.7; }

/* ══════════ CTA SECTION ══════════ */
.cta-section { position:relative; overflow:hidden; background:var(--bg); }
.cta-orb-1 { position:absolute; width:400px; height:400px; border-radius:50%; background:var(--primary); top:-80px; left:-60px; filter:blur(110px); opacity:.08; pointer-events:none; }
.cta-orb-2 { position:absolute; width:350px; height:350px; border-radius:50%; background:var(--primary-2); bottom:-60px; right:-40px; filter:blur(110px); opacity:.07; pointer-events:none; }
.cta-title { font-size:clamp(2rem,3.5vw,3rem); font-weight:900; line-height:1.15; letter-spacing:-.04em; margin-bottom:1.1rem; }
.cta-sub { font-size:1rem; color:var(--text-2); line-height:1.75; margin-bottom:2.5rem; }
.cta-btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-bottom:1.5rem; }
.cta-note { font-size:.8rem; color:var(--text-3); }
.cta-note strong { color:var(--text-2); }

/* ══════════ FLOATING CHAT WIDGET ══════════ */
.floating-chat-widget {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 160;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  width: auto;
  max-width: none;
  overflow: visible;
  isolation: isolate;
}

.fcw-launcher,
.fcw-panel,
.fcw-backdrop,
.fcw-teaser,
.fcw-teaser-close,
.fcw-teaser-body {
  pointer-events: auto;
}

.fcw-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 64px;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(8,13,26,.94);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
  color: var(--text);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.fcw-launcher:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 24px 55px rgba(0,0,0,.5);
}

.fcw-launcher[aria-expanded="true"] {
  transform: translateY(-2px);
}

.fcw-trigger-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  width: fit-content;
  max-width: min(260px, calc(var(--site-vw, 100vw) - 1.5rem));
}

.fcw-teaser {
  max-width: 260px;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem;
  border-radius: 16px 16px 4px 16px;
  background: rgba(8,13,26,.94);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 35px rgba(0,0,0,.32);
  transition: transform var(--tr), border-color var(--tr), opacity var(--tr);
}

.fcw-teaser:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.2);
}

.fcw-teaser-body {
  flex: 1;
  text-align: left;
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.45;
  padding: 0.18rem 0.15rem 0.18rem 0.35rem;
}

.fcw-teaser-body strong {
  display: block;
  margin-bottom: 0.12rem;
}

.fcw-teaser-close {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  transition: all var(--tr);
}

.fcw-teaser-close:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
}

.floating-chat-widget.is-open .fcw-teaser {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.floating-chat-widget.is-teaser-hidden .fcw-teaser {
  display: none;
}

.fcw-launcher-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--primary),var(--primary-2));
  color: white;
  flex-shrink: 0;
  position: relative;
}

.fcw-launcher-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
  min-width: 0;
}

.fcw-launcher-copy strong {
  font-size: 0.88rem;
  line-height: 1.1;
}

.fcw-launcher-copy span {
  font-size: 0.72rem;
  color: var(--text-2);
}

.fcw-launcher-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  right: 1rem;
  top: 0.95rem;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(16,185,129,.45);
  animation: fcwPulse 2s infinite;
}

@keyframes fcwPulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.fcw-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.52);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr), visibility var(--tr);
}

.fcw-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  width: min(440px, calc(var(--site-vw, 100vw) - 2rem));
  height: min(680px, calc(var(--site-vh, 100dvh) - 6rem));
  background: rgba(8,13,26,.98);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0,0,0,.58);
  transform: translateY(14px) scale(.97);
  opacity: 0;
  visibility: hidden;
  transition: transform .24s ease, opacity .24s ease, visibility .24s ease;
  display: grid;
  grid-template-rows: auto 1fr;
  pointer-events: none;
}

.floating-chat-widget:not(.is-open) .fcw-panel,
.floating-chat-widget:not(.is-open) .fcw-backdrop {
  display: none;
}

.floating-chat-widget.is-open .fcw-panel,
.floating-chat-widget.is-open .fcw-backdrop {
  display: block;
  opacity: 1;
  visibility: visible;
}

.floating-chat-widget.is-open .fcw-panel {
  display: grid;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-chat-widget.is-open .fcw-backdrop {
  pointer-events: auto;
}

.fcw-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
}

.fcw-header-copy {
  flex: 1;
  min-width: 0;
}

.fcw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.fcw-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.fcw-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.22rem;
}

.fcw-subtitle {
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.45;
}

.fcw-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: all var(--tr);
}

.fcw-close:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.16);
}

.fcw-body {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.fcw-note {
  padding: 0.75rem 1rem;
  font-size: 0.74rem;
  color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}

.fcw-note strong {
  color: var(--text);
}

.fcw-iframe-wrap {
  flex: 1;
  min-height: 0;
  background: rgba(15,23,42,.96);
}

.fcw-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
}

.floating-chat-widget[data-accent="green"] .fcw-launcher-icon,
.floating-chat-widget[data-accent="green"] .fcw-eyebrow {
  color: var(--green);
}

.floating-chat-widget[data-accent="green"] .fcw-launcher-icon {
  background: linear-gradient(135deg,#10b981,#059669);
}

.floating-chat-widget[data-accent="orange"] .fcw-launcher-icon,
.floating-chat-widget[data-accent="orange"] .fcw-eyebrow {
  color: var(--orange);
}

.floating-chat-widget[data-accent="orange"] .fcw-launcher-icon {
  background: linear-gradient(135deg,#f59e0b,#ea580c);
}

.floating-chat-widget[data-accent="blue"] .fcw-launcher-icon,
.floating-chat-widget[data-accent="blue"] .fcw-eyebrow {
  color: var(--blue);
}

.floating-chat-widget[data-accent="blue"] .fcw-launcher-icon {
  background: linear-gradient(135deg,#3b82f6,#2563eb);
}

.floating-chat-widget[data-accent="purple"] .fcw-launcher-icon,
.floating-chat-widget[data-accent="purple"] .fcw-eyebrow,
.floating-chat-widget[data-accent="purple"] .fcw-teaser strong {
  color: var(--purple);
}

.floating-chat-widget[data-accent="purple"] .fcw-launcher-icon {
  background: linear-gradient(135deg,#7c3aed,#2563eb);
}

.fcw-compact .fcw-launcher {
  width: 60px;
  height: 60px;
  min-height: 60px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  gap: 0;
}

.fcw-compact .fcw-launcher-copy {
  display: none;
}

.fcw-compact .fcw-launcher-icon {
  width: 60px;
  height: 60px;
}

.fcw-compact .fcw-launcher-pulse {
  display: none;
}

/* ══════════ FOOTER ══════════ */
#footer { border-top:1px solid var(--border); padding:3.5rem 2rem 2rem; background:var(--bg-2); }
.footer-inner { max-width:1160px; margin:0 auto; display:flex; gap:4rem; flex-wrap:wrap; }
.footer-brand p { font-size:.82rem; color:var(--text-3); margin-top:.45rem; }
.footer-copy { margin-top:1.5rem !important; font-size:.75rem !important; }
.footer-cols { display:flex; gap:3.5rem; flex-wrap:wrap; }
.footer-col { display:flex; flex-direction:column; gap:.6rem; }
.footer-col h4 { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--text-3); margin-bottom:.25rem; }
.footer-col a { font-size:.85rem; color:var(--text-2); transition:color var(--tr); }
.footer-col a:hover { color:var(--text); }

/* ══════════ SCROLL REVEAL ══════════ */
.reveal, .reveal-right, .reveal-left {
  opacity:0; transition:opacity .65s ease, transform .65s ease;
}
.reveal       { transform:translateY(24px); }
.reveal-right { transform:translateX(30px); }
.reveal-left  { transform:translateX(-30px); }
.revealed     { opacity:1 !important; transform:none !important; }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width:1024px) {
  .hero-inner      { grid-template-columns: minmax(0, 1fr); max-width: 680px; text-align: center; width: 100%; }
  .hero-ctas       { justify-content: center; }
  .hero-visual     { display: block; width: 100%; min-width: 0; margin-top: 2rem; text-align: left; }
  .hero-demo-frame-wrap { height: 490px; }
  .domain-inner    { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; width: 100%; }
  .domain-visual   { width: 100%; min-width: 0; }
  .domain-inner.reverse .domain-visual { order: 0; }
  .domain-actions  { flex-wrap: wrap; }
  .friction-grid   { grid-template-columns: minmax(0, 1fr); }
  .reality-grid    { grid-template-columns: minmax(0, 1fr); }
  .reality-vs      { min-height: 24px; }
  .friction-mini-grid { grid-template-columns: minmax(0, 1fr); }
  .pricing-grid    { grid-template-columns: 1fr 1fr; background: none; border: none; gap: 1rem; }
  .price-card      { border: 1px solid var(--border); border-radius: var(--radius); }
  .steps-grid      { grid-template-columns: minmax(0, 1fr); }
  .step-arrow      { transform: rotate(90deg); margin: .5rem auto; }
}

@media (max-width:768px) {
  #hero {
    min-height: auto;
    padding: 6.5rem 1.25rem 3.5rem;
    overflow: hidden;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    width: 100%;
    min-width: 0;
  }
  .hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.35rem);
    letter-spacing: -.03em;
    line-height: 1.15;
  }
  .hero-sub {
    font-size: 0.96rem;
    line-height: 1.65;
  }
  .hero-badge {
    font-size: 0.74rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1.25rem;
  }
  .hero-demo-frame-wrap {
    height: 440px;
  }
  .hero-demo-tab {
    padding: 0.5rem 0.8rem;
    font-size: 0.76rem;
  }
  .hero-demo-header {
    padding: 0.6rem 0.85rem;
  }
  .hero-demo-chips {
    padding: 0.65rem 0.85rem;
  }
  .reveal-right, .reveal-left {
    transform: translateY(20px);
  }
  .nav-links { display:none; flex-direction:column; position:absolute; top:64px; left:0; right:0; background:rgba(8,13,26,.98); border-bottom:1px solid var(--border); padding:1.5rem 2rem; gap:1.1rem; }
  .nav-links.open { display:flex; }
  .nav-cta { display:none; }
  .hamburger { display:flex; }
  .pricing-grid { grid-template-columns:1fr; background:none; border:none; gap:1rem; }
  .price-card { border:1px solid var(--border); border-radius:var(--radius); }
  .stat-sep { display:none; }
  .stats-bar { gap:1rem; }
  .stat { padding:.5rem 1.5rem; }
  .reality-cost { font-size:1.8rem; }
  .footer-inner { flex-direction:column; gap:2rem; }
  .cta-btns { flex-direction:column; align-items:stretch; }
  .cta-btns .btn { justify-content:center; }
  .availability-card { grid-template-columns:1fr; gap:2rem; }
  .dashboard-features { grid-template-columns:1fr; }
  .dp-sidebar { display:none; }
  .social-proof-bar { gap:1.5rem; flex-direction:column; text-align:center; }
  .sp-sep { display:none; }
  .tc-items { grid-template-columns: 1fr 1fr; }

  .floating-chat-widget {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    left: auto;
    align-items: flex-end;
    width: auto;
    max-width: none;
  }

  .fcw-launcher {
    margin: 0;
    border-radius: 20px;
  }

  .fcw-trigger-stack {
    margin: 0;
  }

  .fcw-teaser {
    max-width: min(240px, calc(var(--site-vw, 100vw) - 1.25rem));
  }

  .fcw-launcher-copy strong {
    font-size: 0.84rem;
  }

  .fcw-compact .fcw-launcher {
    margin: 0;
    width: 58px;
    height: 58px;
    min-height: 58px;
  }

  .fcw-panel {
    position: fixed;
    inset: 0;
    width: auto;
    height: var(--site-vh, 100dvh);
    bottom: auto;
    right: auto;
    left: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    transform: translateY(100%);
  }

  .floating-chat-widget.is-open .fcw-panel {
    transform: translateY(0);
  }

  .fcw-header {
    padding-top: calc(0.9rem + env(safe-area-inset-top));
  }

  .fcw-note {
    padding: 0.7rem 0.85rem;
  }
}

@media (max-width:480px) {
  #hero {
    padding: 5rem 0.85rem 2.25rem;
  }
  .hero-inner {
    gap: 1.5rem;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.22rem 0.65rem;
    margin-bottom: 0.9rem;
    gap: 0.35rem;
    line-height: 1.3;
  }
  .hero-title {
    font-size: clamp(1.48rem, 6.5vw, 1.95rem);
    line-height: 1.16;
    margin-bottom: 0.95rem;
  }
  .hero-sub {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
  }
  .hero-sub-note {
    font-size: 0.8rem;
    margin-bottom: 1.4rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    font-size: 0.92rem;
    text-align: center;
  }
  .hero-visual {
    margin-top: 0.75rem;
    width: 100%;
    min-width: 0;
  }
  .hero-demo-box {
    border-radius: 12px;
  }
  .hero-demo-tabs {
    padding: 0.35rem 0.45rem 0;
    gap: 0.25rem;
  }
  .hero-demo-tab {
    padding: 0.42rem 0.6rem;
    font-size: 0.72rem;
    gap: 0.3rem;
  }
  .hero-demo-header {
    padding: 0.5rem 0.7rem;
  }
  .hero-demo-title {
    font-size: 0.72rem;
  }
  .hero-demo-badge {
    font-size: 0.62rem;
    padding: 0.1rem 0.45rem;
  }
  .hero-demo-link {
    font-size: 0.68rem;
  }
  .hero-demo-explainer {
    padding: 0.55rem 0.75rem;
    gap: 0.25rem;
  }
  .hero-demo-explainer-badge {
    font-size: 0.6rem;
  }
  .hero-demo-explainer-text {
    font-size: 0.74rem;
    line-height: 1.4;
  }
  .hero-demo-frame-wrap {
    height: 380px;
  }
  .hero-demo-chips {
    padding: 0.55rem 0.7rem;
    gap: 0.35rem;
  }
  .hero-demo-chips-label {
    font-size: 0.65rem;
    width: 100%;
    margin-bottom: 0.1rem;
    display: block;
  }
  .hero-demo-chips-container {
    gap: 0.3rem;
    width: 100%;
  }
  .hero-demo-chip {
    font-size: 0.7rem;
    padding: 0.3rem 0.55rem;
    border-radius: 8px;
  }
  .section { padding: 3.25rem 0; }
  .intro-section { padding: 2.75rem 0; }
  .domain-section { padding: 2.75rem 0; }
  .container, .container-sm { padding: 0 0.85rem; }
  .pricing-grid { gap: 0.75rem; }
  .price-card { padding: 1.4rem 1.15rem; }
  .training-callout { padding: 1.25rem 0.95rem; }
  .tc-items { grid-template-columns: 1fr; }
  .code-mockup { padding: 14px 12px !important; }
  .code-mockup pre { font-size: 11px !important; }
  .dcard-header { padding: 0.6rem 0.85rem; }
  .dcard-body { padding: 0.85rem; }
  .chat-bubble { font-size: 0.82rem; padding: 0.55rem 0.75rem; max-width: 90%; }
}

@media (max-width:350px) {
  .hero-title {
    font-size: 1.35rem;
  }
  .hero-demo-frame-wrap {
    height: 320px;
  }
  .hero-demo-tab {
    font-size: 0.68rem;
    padding: 0.35rem 0.48rem;
  }
  .container, .container-sm {
    padding: 0 0.65rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   VioAgents 3.0 — Linear / Sierra Product-Led Studio Design System
   Mobile-First · Deep Obsidian Dark · Unified Interactive Agent Studio
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --studio-bg: #05070e;
  --studio-surface: #090e1c;
  --studio-card: #0c1222;
  --studio-card-solid: #0f1629;
  --studio-device-chassis: #080c16;
  --studio-border: rgba(255, 255, 255, 0.08);
  --studio-border-strong: #1d273f;
  --studio-border-highlight: rgba(255, 255, 255, 0.16);
  --studio-accent: #10b981;
  --studio-accent-soft: rgba(16, 185, 129, 0.14);
  --studio-accent-border: rgba(16, 185, 129, 0.38);
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html {
  container-type: scroll-state;
}

body.studio-body {
  background: var(--studio-bg);
  color: #f8fafc;
}

:target {
  scroll-margin-top: 4.5rem;
}

/* ── Compact Smart Header (content-first-noise-reduction) ── */
#navbar.top-bar,
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 58px;
  background: rgba(5, 8, 17, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--studio-border);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}

@container scroll-state((scrolled: bottom) and (scrollable: top)) {
  #navbar.top-bar,
  .top-bar {
    transform: translateY(-100%);
  }
}

#navbar.top-bar:focus-within,
.top-bar:focus-within {
  transform: none;
}

#navbar.top-bar.is-hidden:not(:focus-within),
.top-bar.is-hidden:not(:focus-within) {
  transform: translateY(-100%);
}

.top-bar .nav-inner {
  height: 58px;
  max-width: 1240px;
  padding: 0 1.5rem;
  gap: 1.5rem;
}

.nav-channels-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--studio-border);
  font-size: 0.72rem;
  color: var(--text-2);
  font-weight: 500;
  white-space: nowrap;
}

.nav-channels-pill span {
  color: #e2e8f0;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

/* ── Below-the-fold performance (defer-rendering-heavy-content) ── */
.deferred-section {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 640px;
}

/* ── Studio Hero Section ── */
.studio-hero {
  position: relative;
  padding: 2.25rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--studio-border);
}

.studio-hero-aura {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 100vw);
  height: 520px;
  background: radial-gradient(ellipse at 50% 0%, var(--studio-accent-soft) 0%, rgba(109, 40, 217, 0.08) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.4s ease;
}

.studio-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Compact Centered Header above the Interactive Studio */
.studio-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 1.65rem;
}

.studio-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--studio-border-strong);
  font-size: 0.76rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 0.95rem;
}

.studio-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--studio-accent);
  box-shadow: 0 0 8px var(--studio-accent);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.studio-title {
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #f8fafc;
  margin-bottom: 0.75rem;
}

.studio-subtitle {
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

.studio-subtitle strong {
  color: #f1f5f9;
  font-weight: 600;
}

/* ── Hierarchical Filter Selector (Domain Tabs -> Niche Branch) ── */
.studio-hierarchy-wrap {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* Level 1: Core Domain Selector (3 Domains) */
.domain-filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.38rem;
  background: rgba(10, 15, 29, 0.9);
  border: 1px solid var(--studio-border-strong);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.domain-filter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.domain-filter-tab:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.04);
}

.domain-filter-tab svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  opacity: 0.75;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.domain-filter-price {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.12rem 0.46rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  transition: all 0.18s ease;
}

.domain-filter-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: var(--studio-accent-border);
  box-shadow: 0 4px 18px -4px var(--studio-accent-soft);
}

.domain-filter-tab.active svg {
  stroke: var(--studio-accent);
  opacity: 1;
}

.domain-filter-tab.active .domain-filter-price {
  background: var(--studio-accent-soft);
  color: var(--studio-accent);
}

/* Level 2: Sub-Niche Branch (Dynamic active sub-items) */
.niche-filter-branch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 0.15rem 0.4rem;
  animation: nicheFadeIn 0.22s ease-out both;
}

@keyframes nicheFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.niche-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--studio-border-strong);
  background: rgba(11, 16, 29, 0.75);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.niche-pill-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.niche-pill-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  opacity: 0.8;
  flex-shrink: 0;
}

.niche-pill-btn.active {
  background: var(--studio-accent-soft);
  color: #ffffff;
  border-color: var(--studio-accent);
  box-shadow: 0 2px 14px var(--studio-accent-soft);
}

.niche-pill-btn.active svg {
  stroke: var(--studio-accent);
  opacity: 1;
}

/* Legacy support for direct links */
.agent-selector-wrap {
  margin-bottom: 1rem;
}

.agent-selector-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.38rem;
  background: rgba(10, 15, 29, 0.88);
  border: 1px solid var(--studio-border-strong);
  border-radius: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}

.agent-selector-bar::-webkit-scrollbar {
  display: none;
}

.agent-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 0.45rem;
  padding: 0.52rem 0.72rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.agent-pill:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.04);
}

.agent-pill svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
   opacity: 0.8;
  flex-shrink: 0;
}

.agent-pill-domain {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  transition: all 0.18s ease;
}

.agent-pill.active {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border-color: var(--studio-accent-border);
  box-shadow: 0 4px 20px -4px var(--studio-accent-soft);
}

.agent-pill.active svg {
  stroke: var(--studio-accent);
  opacity: 1;
}

.agent-pill.active .agent-pill-domain {
  background: var(--studio-accent-soft);
  color: var(--studio-accent);
}

/* ── Studio Split Workspace (Desktop: Inspector + Live Chat | Mobile: Chat First) ── */
.studio-workspace {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.25rem;
  align-items: stretch;
  min-width: 0;
}

/* ── Column for Studio Stage with Switcher Above ── */
.studio-stage-column {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

/* ── Segmented Switcher above the Stage Window ── */
.stage-view-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.stage-switcher-inner {
  display: inline-flex;
  align-items: center;
  background: #090e1a;
  border: 1px solid #1c273e;
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.stage-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  padding: 0.38rem 0.85rem;
  border-radius: 7px;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.stage-switcher-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.stage-switcher-btn.active {
  background: var(--studio-accent);
  color: #05070e;
  font-weight: 700;
  box-shadow: 0 2px 10px var(--studio-accent-soft);
}

.stage-switcher-btn.active svg {
  color: #05070e;
}

.stage-switcher-note {
  font-size: 0.72rem;
  color: var(--text-2);
  letter-spacing: 0.01em;
}

/* ── Live Chat Stage (Right on Desktop, First on Mobile) ── */
.studio-chat-stage {
  background: var(--studio-device-chassis);
  border: 1px solid var(--studio-border-strong);
  border-top: 2px solid var(--studio-accent);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  min-width: 0;
  transition: border-color 0.25s ease;
}

.studio-chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--studio-border);
  flex-wrap: wrap;
}

.studio-chat-id {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.studio-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--studio-accent);
  box-shadow: 0 0 8px var(--studio-accent);
  flex-shrink: 0;
}

.studio-chat-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-status-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--studio-accent-soft);
  border: 1px solid var(--studio-accent-border);
  color: var(--studio-accent);
  white-space: nowrap;
}

.studio-iframe-wrap {
  width: 100%;
  height: 500px;
  min-height: 500px;
  background: #080c16;
  position: relative;
}

.studio-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Hero Trust Badge Row ── */
.hero-trust-badge-row {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #34d399;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-trust-badge svg {
  color: var(--studio-accent);
  flex-shrink: 0;
}

/* ── Inspector Case Study Inline Link (SEO & Deep Dive) ── */
.inspector-casestudy-row {
  margin-top: 0.45rem;
}

.inspector-inline-caselink {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--studio-accent);
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.16s ease;
}

.inspector-inline-caselink:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ── Integrations Horizontal Strip ── */
.integrations-strip-section {
  padding: 2.25rem 0 2rem;
  border-bottom: 1px solid var(--studio-border);
  background: rgba(5, 7, 14, 0.75);
}

.integrations-strip-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.integrations-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--studio-border);
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
}

.integrations-title-badge svg {
  color: #10b981;
}

.integrations-chips-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.int-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 10px;
  background: #090e1c;
  border: 1px solid #1a243a;
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 600;
  transition: all 0.18s ease;
}

.int-chip:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

.int-chip svg {
  width: 15px;
  height: 15px;
  color: #38bdf8;
  flex-shrink: 0;
}

/* ── Dashboard (Panel de Control) Interactive Section ── */
.dashboard-interactive-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.dashboard-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.dashboard-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  background: #090e1c;
  border: 1px solid #1c273e;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.dashboard-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.dashboard-tab-btn.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(37, 99, 235, 0.18));
  color: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

.dashboard-tab-btn.active svg {
  color: #818cf8;
}

.dashboard-window-frame {
  background: #090d19;
  border: 1px solid #1d273f;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.dash-window-topbar {
  padding: 0.75rem 1.15rem;
  background: #060912;
  border-bottom: 1px solid #182236;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dash-window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.dash-window-url {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.dash-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #10b981;
}

.dash-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.dash-window-body {
  padding: 1.25rem 1.5rem;
  min-height: 250px;
}

.dash-view-pane {
  display: none;
  animation: detailsFadeIn 0.22s ease-out both;
}

.dash-view-pane.active {
  display: block;
}

.dash-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.dash-pane-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
}

.dash-pane-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}

.dash-table th {
  padding: 0.55rem 0.85rem;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #1a253c;
  white-space: nowrap;
}

.dash-table td {
  padding: 0.75rem 0.85rem;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.dash-channel-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.16rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.dash-channel-tag.is-wa { background: rgba(37, 211, 102, 0.14); color: #25d366; }
.dash-channel-tag.is-ig { background: rgba(225, 48, 108, 0.14); color: #e1306c; }
.dash-channel-tag.is-web { background: rgba(56, 189, 248, 0.14); color: #38bdf8; }

.dash-status-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dash-status-pill.is-success { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.dash-status-pill.is-calendar { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.dash-status-pill.is-info { background: rgba(6, 182, 212, 0.12); color: #06b6d4; }

.dash-folio {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #10b981;
}

.dash-pdf-download {
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.dash-pdf-download:hover {
  text-decoration: underline;
}

.dashboard-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dash-prop-card {
  background: #090e1c;
  border: 1px solid #1c273e;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dash-prop-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.dash-prop-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
}

.dash-prop-card p {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .dashboard-props-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Minimalist Inspector Stage (Left on Desktop, Second on Mobile) ── */
.studio-inspector-stage {
  background: var(--studio-card);
  border: 1px solid var(--studio-border-strong);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
}

.inspector-top {
  padding: 1.35rem 1.35rem 1rem;
  border-bottom: 1px solid var(--studio-border);
}

.inspector-domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.inspector-domain-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--studio-accent);
  background: var(--studio-accent-soft);
  border: 1px solid var(--studio-accent-border);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.inspector-price-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--studio-border-strong);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.inspector-agent-headline {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f8fafc;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.inspector-agent-summary {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.55;
}

.inspector-panel-body {
  padding: 1.15rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.inspector-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.inspector-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.45;
}

.inspector-check {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--studio-accent-soft);
  border: 1px solid var(--studio-accent-border);
  color: var(--studio-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.inspector-nichos-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--studio-border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}

.inspector-nichos-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-2);
  margin-bottom: 0.4rem;
  display: block;
}

.inspector-nichos-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.inspector-nicho-chip {
  font-size: 0.72rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--studio-border);
  padding: 0.16rem 0.52rem;
  border-radius: 6px;
}

/* ── Secondary Engine Details Disclosure (Reduces Initial Text Clutter) ── */
details.inspector-more-details {
  background: rgba(5, 8, 17, 0.45);
  border: 1px solid var(--studio-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

details.inspector-more-details[open] {
  border-color: var(--studio-accent-border);
  background: rgba(5, 8, 17, 0.65);
}

details.inspector-more-details summary.inspector-more-summary {
  list-style: none;
  padding: 0.72rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  user-select: none;
  transition: all 0.16s ease;
}

details.inspector-more-details summary.inspector-more-summary::-webkit-details-marker {
  display: none;
}

details.inspector-more-details summary.inspector-more-summary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.inspector-more-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.inspector-more-label svg {
  color: var(--studio-accent);
}

details.inspector-more-details[open] .faq-summary-icon {
  transform: rotate(45deg);
  color: var(--studio-accent);
}

.inspector-more-content {
  padding: 0.85rem 0.95rem;
  border-top: 1px solid var(--studio-border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  animation: detailsFadeIn 0.22s ease-out both;
}

@keyframes detailsFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* On-Demand Data Disclosure inside Inspector (Minimalist) */
details.inspector-data-disclosure {
  background: rgba(5, 8, 17, 0.55);
  border: 1px solid var(--studio-border);
  border-radius: 10px;
  overflow: hidden;
}

details.inspector-data-disclosure summary {
  list-style: none;
  padding: 0.6rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  user-select: none;
}

details.inspector-data-disclosure summary::-webkit-details-marker {
  display: none;
}

details.inspector-data-disclosure summary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.inspector-data-box {
  border-top: 1px solid var(--studio-border);
  background: #060a14;
}

.inspector-data-table-wrap {
  overflow-x: auto;
}

.inspector-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
  text-align: left;
}

.inspector-data-table th {
  padding: 0.42rem 0.6rem;
  color: var(--text-2);
  font-weight: 600;
  border-bottom: 1px solid var(--studio-border);
  white-space: nowrap;
}

.inspector-data-table td {
  padding: 0.42rem 0.6rem;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

/* Inspector Footer Actions */
.inspector-footer {
  padding: 0.9rem 1.35rem;
  background: rgba(5, 8, 17, 0.6);
  border-top: 1px solid var(--studio-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inspector-cta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

/* ── Omni-Channel Badges Row (SVG Icons Only, Zero Emojis) ── */
.hero-channels-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.channel-svg-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--studio-border-strong);
}

.channel-svg-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--studio-accent);
}

/* ── Bento Domains Grid (Section 2) ── */
.bento-domains-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.bento-domain-card {
  background: var(--studio-card);
  border: 1px solid var(--studio-border-strong);
  border-radius: 16px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bento-domain-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.24);
}

.bento-domain-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.bento-domain-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
}

.bento-domain-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: #f8fafc;
}

.bento-domain-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.bento-domain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: #cbd5e1;
}

.bento-domain-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bento-domain-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--studio-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* ── Native Accessible FAQ Disclosures (search-hidden-content) ── */
.faq-native-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

details.faq-disclosure {
  background: var(--studio-card);
  border: 1px solid var(--studio-border-strong);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

details.faq-disclosure[open] {
  border-color: rgba(168, 85, 247, 0.4);
}

details.faq-disclosure summary {
  list-style: none;
  padding: 1.05rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

details.faq-disclosure summary::-webkit-details-marker {
  display: none;
}

.faq-summary-icon {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-2);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

details.faq-disclosure[open] .faq-summary-icon {
  transform: rotate(45deg);
  color: var(--purple);
}

.faq-disclosure-body {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}


/* ── Showcase / Remotion Stage Inside .studio-iframe-wrap ── */
.studio-showcase-panel {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: #070b14;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.studio-showcase-panel.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.showcase-video-slot {
  position: absolute;
  inset: 0;
  bottom: 62px;
  z-index: 2;
  background: #070b14;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-video-slot.is-hidden {
  display: none;
}

.showcase-video-el {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* High-Craft Animated Conversation Card (Matches Remotion Capture Style) */
.showcase-thread-stage {
  flex: 1;
  overflow-y: auto;
  padding: 0.95rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: radial-gradient(circle at 50% 0%, var(--studio-accent-soft), transparent 68%), #070b14;
}

.showcase-agent-minihead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.showcase-agent-id {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.showcase-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--studio-accent);
  color: #04070f;
  font-weight: 800;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.showcase-agent-meta {
  display: flex;
  flex-direction: column;
}

.showcase-agent-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
}

.showcase-agent-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  color: var(--text-2);
}

.showcase-agent-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.showcase-remotion-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--studio-border);
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
}

.showcase-messages {
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
}

@keyframes showcaseSlideUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.showcase-msg {
  max-width: 84%;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.42;
  animation: showcaseSlideUp 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.showcase-msg.is-user {
  align-self: flex-end;
  background: var(--studio-accent);
  color: #04100c;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.showcase-msg.is-agent {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #f1f5f9;
  border-bottom-left-radius: 4px;
}

/* Result Artifact Card inside Showcase (Reserva Confirmada / Cotización PDF) */
.showcase-result-card {
  margin-top: 0.15rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--studio-accent-border);
  border-radius: 12px;
  overflow: hidden;
  animation: showcaseSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.showcase-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  background: var(--studio-accent-soft);
  border-bottom: 1px solid var(--studio-accent-border);
}

.showcase-result-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: #ffffff;
}

.showcase-result-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--studio-accent);
  color: #04100c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 900;
}

.showcase-result-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--studio-accent);
}

.showcase-result-rows {
  padding: 0.55rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.showcase-result-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.74rem;
  padding-bottom: 0.26rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-result-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.showcase-result-label {
  color: var(--text-2);
  font-weight: 500;
}

.showcase-result-val {
  color: #f8fafc;
  font-weight: 700;
  text-align: right;
}

.showcase-bottom-bar {
  padding: 0.65rem 1rem;
  background: #050811;
  border-top: 1px solid var(--studio-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.showcase-bottom-hint {
  font-size: 0.75rem;
  color: var(--text-2);
}

.showcase-try-live-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #04100c;
  background: var(--studio-accent);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.16s ease, filter 0.16s ease;
  white-space: nowrap;
}

.showcase-try-live-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* ── Compact ROI Cost Anchor Strip (Section 2) ── */
.roi-anchor-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: rgba(11, 16, 29, 0.85);
  border: 1px solid var(--studio-border-strong);
  border-radius: 14px;
  padding: 1rem 1.35rem;
  margin-bottom: 1.75rem;
}

.roi-side {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.roi-side-head {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.roi-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
}

.roi-tag.is-manual {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
}

.roi-tag.is-agent {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.roi-price {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 800;
  color: #f8fafc;
}

.roi-desc {
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.45;
}

.roi-vs-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--studio-border-strong);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Responsive Mobile-First Layout for Studio ── */
@media (max-width: 980px) {
  .roi-anchor-strip {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.95rem 1.05rem;
  }
  .roi-vs-pill {
    display: none;
  }
  .studio-workspace {
    grid-template-columns: 1fr;
  }
  /* Mobile-First Priority: Live Playable Chat FIRST, Inspector Card SECOND */
  .studio-stage-column {
    order: 1;
  }
  .studio-inspector-stage {
    order: 2;
  }
  .stage-view-switcher {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .stage-switcher-inner {
    width: 100%;
    display: flex;
  }
  .stage-switcher-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.72rem;
    padding: 0.38rem 0.5rem;
  }
  .stage-switcher-note {
    text-align: center;
    font-size: 0.68rem;
  }
  .bento-domains-grid {
    grid-template-columns: 1fr;
  }
  .nav-channels-pill {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Clean 2-level hierarchy on mobile: 3 domains on row 1, 2-3 clean niches on row 2 */
  .domain-filter-bar {
    gap: 0.25rem;
    padding: 0.28rem;
  }
  .domain-filter-tab {
    padding: 0.48rem 0.35rem;
    font-size: 0.74rem;
    gap: 0.35rem;
  }
  .domain-filter-price {
    font-size: 0.58rem;
    padding: 0.08rem 0.32rem;
  }
  .niche-filter-branch {
    gap: 0.32rem;
  }
  .niche-pill-btn {
    padding: 0.36rem 0.65rem;
    font-size: 0.73rem;
    gap: 0.32rem;
  }
}

@media (max-width: 480px) {
  .domain-filter-tab svg {
    display: none;
  }
}

@media (max-width: 640px) {
  .studio-hero {
    padding: 1.15rem 0 2.25rem;
  }
  .studio-container {
    padding: 0 0.85rem;
  }
  .studio-header {
    margin-bottom: 1rem;
  }
  .studio-title {
    font-size: clamp(1.5rem, 6.2vw, 1.95rem);
  }
  .studio-subtitle {
    font-size: 0.86rem;
  }
  .studio-chat-topbar {
    padding: 0.6rem 0.85rem;
  }
  .studio-iframe-wrap {
    height: 480px;
    min-height: 480px;
  }
  .in-chat-starters {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 4.1rem;
    padding: 0.6rem;
  }
  .in-chat-chip {
    font-size: 0.74rem;
    padding: 0.45rem 0.65rem;
  }
  .inspector-cta-row {
    grid-template-columns: 1fr;
  }
  .showcase-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 0.75rem;
    gap: 0.45rem;
  }
  .showcase-bottom-hint {
    display: none;
  }
  .showcase-try-live-btn {
    width: 100%;
    padding: 0.56rem 0.85rem;
  }
  .showcase-thread-stage {
    padding: 0.65rem 0.75rem;
    gap: 0.45rem;
  }
  .showcase-msg {
    font-size: 0.73rem;
    padding: 0.45rem 0.68rem;
  }
  .showcase-result-rows {
    padding: 0.45rem 0.68rem;
    gap: 0.24rem;
  }
  .showcase-result-row {
    font-size: 0.7rem;
    padding-bottom: 0.2rem;
  }
  .studio-iframe-wrap {
    height: 515px;
    min-height: 515px;
  }
}


