:root {
  --bg: #fafaf7;
  --panel: #ffffff;
  --panel-2: #fafaf7;
  --border: rgba(15, 15, 20, 0.08);
  --border-strong: rgba(15, 15, 20, 0.16);
  --text: #0d0d0f;
  --muted: rgba(15, 15, 20, 0.55);
  --muted-2: rgba(15, 15, 20, 0.4);
  --primary: #0d0d0f;
  --primary-hover: #2a2a2e;
  --primary-soft: rgba(15, 15, 20, 0.06);
  --accent: #ffcd5c;
  --accent-soft: rgba(255, 205, 92, 0.18);
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 24px -14px rgba(15,15,20,0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #fafaf7;
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* Cards & surfaces */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}
.card-hover { transition: border-color 120ms ease, transform 120ms ease; }
.card-hover:hover { border-color: var(--border-strong); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 500; line-height: 1;
  border: 1px solid var(--border); background: transparent; color: var(--text);
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn:hover { background: rgba(15,15,20,0.04); border-color: var(--border-strong); }
.btn-primary {
  background: var(--primary); border-color: transparent; color: #fafaf7;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(15,15,20,0.04); }
.btn-danger { color: var(--danger); border-color: transparent; }
.btn-danger:hover { background: rgba(220,38,38,0.08); }
.btn-sm { padding: 6px 10px; font-size: 12px; border-radius: 8px; }
.btn-lg { padding: 12px 18px; font-size: 14px; border-radius: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Inputs */
.field {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  transition: border-color 120ms ease, background 120ms ease;
  font-family: inherit;
}
.field::placeholder { color: var(--muted-2); }
.field:focus { border-color: var(--primary); background: #fff; }
.field-invalid { border-color: #ef4444 !important; background: #fff5f5 !important; }
.field-error {
  font-size: 11.5px;
  color: #ef4444;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.field-error::before {
  content: '⚠';
  font-size: 11px;
}
textarea.field { resize: vertical; min-height: 80px; }
.label { font-size: 12px; color: var(--muted); margin-bottom: 6px; display: block; font-weight: 500; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 500;
}
.badge-success { background: rgba(22,163,74,0.12); color: #15803d; }
.badge-warning { background: rgba(217,119,6,0.12); color: #b45309; }
.badge-danger  { background: rgba(220,38,38,0.12); color: #b91c1c; }
.badge-muted   { background: rgba(15,15,20,0.06); color: var(--muted); }
.badge-primary { background: var(--accent-soft); color: #92580f; }

/* Pulse dot */
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-success { background: var(--success); box-shadow: 0 0 0 0 rgba(16,185,129,0.6); animation: pulse 2s infinite; }
.dot-muted { background: var(--muted-2); }
.dot-danger { background: var(--danger); box-shadow: 0 0 0 0 rgba(239,68,68,0.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* Layout */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 240px; flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  padding: 18px 12px;
}
.sidebar .brand {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 10px 18px; margin-bottom: 6px;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, #ffd97a, #ffcd5c);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fafaf7;
}
.sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 9px;
  color: var(--muted); font-size: 13.5px; font-weight: 500;
  background: transparent; border: none; text-align: left; width: 100%;
  transition: background 120ms ease, color 120ms ease;
}
.nav-item:hover { background: rgba(15,15,20,0.04); color: var(--text); }
.nav-item.active { background: var(--accent-soft); color: #4a3300; }
.nav-item .icon { width: 16px; height: 16px; }
.sidebar .footer { margin-top: auto; padding: 8px 4px; border-top: 1px solid var(--border); }
.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: 9px;
}
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #ffd97a, #ffcd5c);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--text);
}

.main {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  overflow-y: auto;
  height: 100vh;
}
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 5;
}
.topbar h1 { margin: 0; font-size: 18px; font-weight: 600; }
.topbar .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.page { padding: 28px; }

.grid { display: grid; gap: 16px; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) {
  .grid-cols-4, .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-2 { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .mobile-tabs { display: flex !important; }
}

/* Stat card */
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.stat-value { font-size: 28px; font-weight: 700; margin-top: 8px; letter-spacing: -0.02em; }
.stat-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Lists */
.list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  background: transparent; border: none; width: 100%; text-align: left;
  color: var(--text);
  transition: background 120ms ease;
}
.list-item:hover { background: rgba(15,15,20,0.03); cursor: pointer; }
.list-item + .list-item { border-top: 1px solid var(--border); }

/* Login split */
.auth-split {
  display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh;
}
@media (max-width: 900px) { .auth-split { grid-template-columns: 1fr; } .auth-side { display: none; } }
.auth-side {
  background: linear-gradient(160deg, #fafaf7 0%, #f0e9d6 60%);
  padding: 60px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-side::before {
  content: ""; position: absolute; inset: -20% -10% auto auto;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,205,92,0.35), transparent 60%);
  filter: blur(40px);
}
.auth-form-wrap {
  display: flex; flex-direction: column; align-items: stretch; justify-content: center;
  padding: 60px;
}
.auth-card { max-width: 420px; width: 100%; margin: 0 auto; }

.tabs { display: flex; gap: 6px; padding: 4px; background: rgba(15,15,20,0.04); border-radius: 10px; }
.tab {
  flex: 1; padding: 8px 12px; border-radius: 7px; border: none;
  background: transparent; color: var(--muted); font-size: 13px; font-weight: 500;
}
.tab.active { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(15,15,20,0.06); }

/* Side panel for call detail */
.side-panel-overlay {
  position: fixed; inset: 0; background: rgba(15,15,20,0.35);
  backdrop-filter: blur(2px);
  z-index: 30;
  animation: fade-in 200ms ease;
}
.side-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(640px, 100%);
  background: var(--panel);
  border-left: 1px solid var(--border);
  z-index: 31; overflow-y: auto;
  animation: slide-in 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Chat bubbles */
.bubble-row { display: flex; gap: 10px; margin-bottom: 10px; }
.bubble-row.assistant { flex-direction: row-reverse; }
.bubble {
  max-width: 75%; padding: 10px 14px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.45;
}
.bubble.user { background: rgba(15,15,20,0.06); }
.bubble.assistant { background: var(--accent-soft); color: #4a3300; }
.bubble-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
}
.bubble-avatar.user { background: rgba(15,15,20,0.06); color: var(--muted); }
.bubble-avatar.assistant { background: var(--primary); color: #fafaf7; }

/* Toast */
.toast-wrap { position: fixed; top: 18px; right: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 100; }
.toast {
  padding: 10px 14px; border-radius: 10px; font-size: 13px;
  background: var(--panel); border: 1px solid var(--border-strong);
  box-shadow: 0 12px 32px -12px rgba(15,15,20,0.18);
  animation: toast-in 240ms ease;
  display: flex; gap: 10px; align-items: flex-start; min-width: 260px;
}
.toast.success { border-color: rgba(22,163,74,0.4); }
.toast.error   { border-color: rgba(220,38,38,0.4); }
.toast.warn    { border-color: rgba(234,179,8,0.4); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Skeleton */
.skel { background: linear-gradient(90deg, rgba(15,15,20,0.04), rgba(15,15,20,0.08), rgba(15,15,20,0.04)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Mobile bottom tabs */
.mobile-tabs {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--border);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  z-index: 200;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mobile-tabs button {
  flex: 1; background: transparent; color: var(--muted);
  border: none; padding: 7px 4px 4px;
  font-size: 10px; font-weight: 500; font-family: inherit;
  cursor: pointer; display: flex; flex-direction: column;
  align-items: center; gap: 3px; transition: color 120ms;
}
.mobile-tabs button .icon { width: 20px; height: 20px; }
.mobile-tabs button.active { color: var(--primary); }
.mobile-tabs button.active .icon { color: var(--primary); }

/* Utilities */
.flex { display: flex; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.p-3 { padding: 12px; } .p-4 { padding: 16px; } .p-5 { padding: 20px; } .p-6 { padding: 24px; }
.text-xs { font-size: 11px; }
.text-sm { font-size: 13px; }
.text-md { font-size: 15px; }
.text-lg { font-size: 17px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-muted { color: var(--muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.divider { height: 1px; background: var(--border); margin: 16px 0; }
.hidden { display: none !important; }
.scroll-thin::-webkit-scrollbar { width: 6px; height: 6px; }
.scroll-thin::-webkit-scrollbar-thumb { background: rgba(15,15,20,0.08); border-radius: 4px; }

/* Flow builder */
.flow-shell {
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  gap: 0;
  height: calc(100vh - 60px);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
}
.flow-palette {
  border-right: 1px solid var(--border);
  padding: 16px;
  overflow-y: auto;
  background: rgba(15,15,20,0.025);
}
.flow-palette h3 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); margin: 0 0 10px;
}
.palette-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: grab;
  background: rgba(15,15,20,0.02);
  font-size: 13px; color: var(--text);
  transition: border-color 120ms, background 120ms, transform 120ms;
  user-select: none;
}
.palette-item:hover { border-color: var(--primary); background: rgba(255,205,92,0.12); }
.palette-item:active { cursor: grabbing; transform: scale(0.98); }
.palette-item .pi-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: #4a3300;
}

.flow-canvas-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(255,205,92,0.12) 1px, transparent 1px) 0 0/24px 24px,
    var(--bg);
}
.flow-canvas {
  position: absolute; inset: 0;
  cursor: grab;
}
.flow-canvas.panning { cursor: grabbing; }
.flow-canvas-inner {
  position: absolute; top: 0; left: 0;
  width: 4000px; height: 3000px;
  transform-origin: 0 0;
}
.flow-svg { position: absolute; inset: 0; pointer-events: none; }
.flow-svg path.edge {
  fill: none; stroke: rgba(99,102,241,0.55); stroke-width: 2;
  stroke-dasharray: 7 5;
  stroke-linecap: round;
  pointer-events: stroke; cursor: pointer;
  transition: stroke 0.15s;
}
.flow-svg path.edge:hover { stroke: var(--primary); stroke-width: 2.5; stroke-dasharray: 7 5; }
.flow-svg path.edge.dragging {
  stroke: var(--primary); stroke-dasharray: 6 4; stroke-width: 2; opacity: 0.7;
}
.edge-label {
  fill: #0d0d0f; font-size: 11px; font-family: 'Poppins', sans-serif;
  pointer-events: none;
}

.flow-node {
  position: absolute;
  min-width: 180px; max-width: 220px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 12px 32px -16px rgba(15,15,20,0.18);
  user-select: none;
  font-size: 13px;
  transition: border-color 120ms, box-shadow 120ms;
}
.flow-node:hover { border-color: rgba(15,15,20,0.4); }
.flow-node.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,15,20,0.08), 0 12px 32px -16px rgba(15,15,20,0.18);
}
.flow-node .fn-head {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; margin-bottom: 4px;
}
.flow-node .fn-head .icon { width: 14px; height: 14px; }
.flow-node .fn-text {
  font-size: 12px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.flow-node .fn-handle {
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--primary);
  cursor: crosshair;
  transition: transform 120ms, background 120ms;
}
.flow-node .fn-handle:hover { transform: scale(1.3); background: var(--primary); }
.flow-node .fn-handle.in {
  left: -8px; top: 50%; margin-top: -7px;
  border-color: var(--muted-2);
}
.flow-node .fn-handle.out {
  right: -8px; top: 50%; margin-top: -7px;
}

/* Per-type colors */
.flow-node.t-greeting { border-left: 3px solid #6366f1; }
.flow-node.t-greeting .fn-head .icon { color: #818cf8; }
.flow-node.t-ask { border-left: 3px solid #06b6d4; }
.flow-node.t-ask .fn-head .icon { color: #67e8f9; }
.flow-node.t-branch { border-left: 3px solid #f59e0b; }
.flow-node.t-branch .fn-head .icon { color: #fbbf24; }
.flow-node.t-book { border-left: 3px solid #10b981; }
.flow-node.t-book .fn-head .icon { color: #6ee7b7; }
.flow-node.t-escalate { border-left: 3px solid #ef4444; }
.flow-node.t-escalate .fn-head .icon { color: #fca5a5; }
.flow-node.t-whatsapp { border-left: 3px solid #25d366; }
.flow-node.t-whatsapp .fn-head .icon { color: #6ee7b7; }
.flow-node.t-info { border-left: 3px solid #94a3b8; }
.flow-node.t-info .fn-head .icon { color: #cbd5e1; }
.flow-node.t-end { border-left: 3px solid #6b7280; }
.flow-node.t-end .fn-head .icon { color: var(--muted); }

.flow-inspector {
  border-left: 1px solid var(--border);
  background: rgba(15,15,20,0.025);
  padding: 16px;
  overflow-y: auto;
}
.flow-inspector .ip-empty {
  text-align: center; color: var(--muted); padding: 40px 10px; font-size: 13px;
}
.flow-toolbar {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px; z-index: 5;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}
.flow-toolbar .btn-sm { padding: 6px 9px; }
.flow-zoom-display {
  position: absolute; bottom: 12px; right: 12px;
  background: var(--panel); border: 1px solid var(--border);
  padding: 6px 10px; border-radius: 8px;
  font-size: 11px; color: var(--muted);
  z-index: 5;
}
.flow-help {
  position: absolute; bottom: 12px; left: 12px;
  font-size: 11px; color: var(--muted);
  background: var(--panel); border: 1px solid var(--border);
  padding: 6px 10px; border-radius: 8px;
  z-index: 5;
}

/* Test-chat panel */
.test-chat {
  display: flex; flex-direction: column;
  height: 100%; gap: 10px;
}
.test-chat .messages {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px;
  padding-right: 4px;
}
.test-chat .msg {
  max-width: 85%; padding: 8px 12px; border-radius: 12px;
  font-size: 13px; line-height: 1.4;
}
.test-chat .msg.user { align-self: flex-end; background: rgba(15,15,20,0.06); }
.test-chat .msg.assistant { align-self: flex-start; background: var(--accent-soft); color: #4a3300; }
.test-chat .test-chat-input { display: flex; gap: 6px; }
.test-chat .test-chat-input .field { flex: 1; }

/* Connect step cards */
.connect-step {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: flex-start;
  padding: 16px; border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15,15,20,0.02);
  margin-bottom: 12px;
}
.connect-step.done { border-color: rgba(22,163,74,0.4); background: rgba(22,163,74,0.05); }
.connect-step .step-num {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--accent-soft); color: #4a3300;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 13px;
}
.connect-step.done .step-num { background: rgba(22,163,74,0.15); color: #15803d; }
.connect-step h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.connect-step p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* Tabs (sub-nav inside agent edit) */
.subtabs {
  display: flex; gap: 4px; margin-bottom: 18px;
  background: rgba(15,15,20,0.04); padding: 4px; border-radius: 10px;
  width: fit-content;
}
.subtab {
  padding: 7px 14px; border-radius: 7px; border: none;
  background: transparent; color: var(--muted); font-size: 13px; font-weight: 500;
  display: inline-flex; gap: 6px; align-items: center;
}
.subtab.active { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(15,15,20,0.06); }
.subtab .icon { width: 14px; height: 14px; }

/* Code chip */
.code-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,205,92,0.18);
  border: 1px solid rgba(255,205,92,0.45);
  padding: 8px 12px; border-radius: 10px;
  font-family: 'Poppins', ui-monospace, monospace;
  font-size: 14px; color: #0d0d0f;
}

/* Mobile: stack flow shell */
@media (max-width: 1100px) {
  .flow-shell { grid-template-columns: 1fr; grid-template-rows: auto 60vh auto; }
  .flow-palette, .flow-inspector { border: none; border-bottom: 1px solid var(--border); }
}


/* ============================================================
   LANDING PAGE — autonomous voice agent (white paper + 3D)
   Single font: Poppins everywhere.
   ============================================================ */

.landing {
  position: relative;
  width: 100%;
  background: #fafaf7;
  color: #0d0d0f;
  font-family: 'Poppins', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.landing * { font-family: 'Poppins', system-ui, sans-serif; }

/* ---------- HERO ---------- */
.lp-hero {
  position: relative;
  min-height: auto;
  width: 100%;
  overflow: hidden;
  background: #fafaf7;
  padding-bottom: 40px;
}

/* Animated SQUARE GRID moving upwards — fast + faded on ALL FOUR sides */
.lp-mesh {
  position: absolute; inset: -2px 0 0 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15,15,20,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,15,20,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: 0 0;
  animation: lpGridUp 2.4s linear infinite;
  /* Four-edge fade — radial gives top+bottom+left+right soft fade */
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at center, #000 35%, transparent 95%);
          mask-image: radial-gradient(ellipse 75% 75% at center, #000 35%, transparent 95%);
}
@keyframes lpGridUp {
  0%   { background-position: 0 0; }
  100% { background-position: 0 -48px; }
}

/* WHITE triangular perspective light, top -> bottom */
.lp-light-cone {
  position: absolute; left: 50%; top: 0;
  width: 0; height: 0;
  transform: translateX(-50%);
  border-left: 30vw solid transparent;
  border-right: 30vw solid transparent;
  border-top: 100vh solid rgba(255,255,255,0.85);
  z-index: 2; pointer-events: none;
  filter: blur(28px);
  opacity: 0.95;
}
.lp-light-edge-l, .lp-light-edge-r {
  position: absolute; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), transparent 80%);
  z-index: 3; pointer-events: none;
  box-shadow: 0 0 22px 4px rgba(255,255,255,0.5);
}
.lp-light-edge-l { left: 50%; transform: translateX(-30vw) skewX(0deg); transform-origin: top; }
.lp-light-edge-r { left: 50%; transform: translateX(30vw); }
/* Use clip-path approach for cleaner triangular highlight */
.lp-light-bright {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0) 70%);
  clip-path: polygon(50% 0%, 78% 100%, 22% 100%);
  z-index: 2; pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(2px);
}
.lp-floor-shadow {
  position: absolute; left: 50%; bottom: -8%;
  transform: translateX(-50%);
  width: 65vw; height: 22vh;
  background: radial-gradient(ellipse at center, rgba(15,15,20,0.18) 0%, transparent 65%);
  z-index: 2; pointer-events: none;
}

/* ---------- NAV (glass pill) ---------- */
.lp-nav {
  position: fixed; top: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 14px 10px 22px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(15,15,20,0.08);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 12px 40px -16px rgba(15,15,20,0.18),
    0 1px 2px rgba(15,15,20,0.05);
}
.lp-nav .lp-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #0d0d0f;
}
.lp-nav .lp-brand .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #ffd97a, #ffcd5c);
  box-shadow: 0 0 0 2px rgba(255,205,92,0.18);
}
.lp-nav .lp-links {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 500;
}
.lp-nav .lp-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(15,15,20,0.7);
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}
.lp-nav .lp-getstarted, .lp-nav .lp-signin { white-space: nowrap; }
.lp-nav .lp-links a:hover { background: rgba(15,15,20,0.06); color: #0d0d0f; }
.lp-nav .lp-cta { display: flex; align-items: center; gap: 6px; }
.lp-nav .lp-signin {
  padding: 8px 14px; border-radius: 999px;
  background: transparent; border: none;
  color: rgba(15,15,20,0.75);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
}
.lp-nav .lp-signin:hover { color: #0d0d0f; background: rgba(15,15,20,0.06); }
.lp-nav .lp-getstarted {
  padding: 9px 16px; border-radius: 999px;
  background: #0d0d0f;
  color: #fafaf7;
  border: 1px solid #0d0d0f;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 6px 18px -8px rgba(15,15,20,0.5);
  transition: transform 160ms ease;
}
.lp-nav .lp-getstarted:hover { transform: translateY(-1px); }
.lp-nav .lp-getstarted .arr { transition: transform 160ms ease; }
.lp-nav .lp-getstarted:hover .arr { transform: translateX(2px); }

/* ---------- HERO CONTENT ---------- */
.lp-hero-inner {
  position: relative; z-index: 6;
  min-height: auto;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  padding: 110px 24px 24px;
  text-align: center;
}
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(15,15,20,0.08);
  color: rgba(15,15,20,0.7);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 4px 12px -6px rgba(15,15,20,0.1);
}
.lp-eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ff8a3d;
  animation: lpPulse 2.4s ease-in-out infinite;
}
@keyframes lpPulse { 0%,100% { opacity:1; transform:scale(1) } 50% { opacity:0.45; transform:scale(0.85) } }

/* Title — Nunito for curved, branded feel */
.lp-title {
  position: relative;
  font-family: 'Nunito', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0d0d0f;
  margin: 0 auto 26px;
  max-width: 980px;
  text-align: center;
}
/* No glow behind title — clean background */
.lp-title::before {
  display: none;
}
.lp-title em {
  font-style: italic; font-weight: 600; color: #c2410c;
}
/* Each title line forced to its own row, no wrapping */
.lp-title .lp-tline {
  display: block;
  white-space: nowrap;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.16;
}
.lp-title .lp-tline em { white-space: nowrap; }
@media (max-width: 760px) {
  .lp-title .lp-tline { white-space: normal; font-size: clamp(24px, 6.4vw, 36px); }
}
.lp-title .lp-thin { font-weight: 300; color: rgba(15,15,20,0.55); }
.lp-title .lp-italic { font-style: italic; font-weight: 400; }
.lp-title .lp-brick {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  letter-spacing: -0.05em;
  transform: scaleY(1.3) scaleX(0.94);
  transform-origin: center 60%;
  margin: 0 0.08em 0 0.06em;
  padding: 0 0.04em;
  color: #0d0d0f;
  filter: url(#lp-pencil);
  position: relative;
  text-transform: uppercase;
  vertical-align: middle;
}
.lp-title .lp-brick::after {
  content: '';
  position: absolute; left: 4%; right: 4%; bottom: -6%;
  height: 12%;
  background: rgba(15,15,20,0.18);
  filter: blur(8px);
  z-index: -1;
  border-radius: 50%;
}

.lp-sub {
  font-family: 'Nunito', 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(17px, 1.6vw, 22px);
  color: rgba(15,15,20,0.65);
  max-width: 620px;
  min-height: 36px;
  line-height: 1.5;
  margin: 0 auto 38px;
}
.lp-sub .caret {
  display: inline-block; width: 2px; height: 18px;
  background: #0d0d0f; margin-left: 3px; vertical-align: text-bottom;
  animation: lpCaret 1s steps(1) infinite;
}
@keyframes lpCaret { 50% { opacity: 0 } }

.lp-cta-row {
  display: flex; gap: 12px; align-items: center;
}
.lp-cta-primary {
  padding: 14px 26px;
  border-radius: 14px;
  background: #0d0d0f;
  color: #fafaf7;
  border: 1px solid #0d0d0f;
  font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 18px 44px -16px rgba(15,15,20,0.55), 0 2px 0 rgba(255,255,255,0.4) inset;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.lp-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -16px rgba(15,15,20,0.7);
}
.lp-cta-primary .arr { transition: transform 160ms ease; }
.lp-cta-primary:hover .arr { transform: translateX(3px); }
.lp-cta-secondary {
  padding: 14px 22px;
  border-radius: 14px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(15,15,20,0.12);
  color: #0d0d0f;
  font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.lp-cta-secondary:hover { background: #fff; transform: translateY(-1px); }

/* ---------- STICKY NOTES (yellow lined paper, realistic) ---------- */
.lp-notes {
  position: absolute; inset: 0; z-index: 5;
  pointer-events: none;
}
.lp-note {
  position: absolute;
  width: 220px;
  min-height: 200px;
  padding: 22px 20px 18px;
  background:
    /* paper grain */
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 27px,
      rgba(120, 90, 0, 0.10) 27px,
      rgba(120, 90, 0, 0.10) 28px
    ),
    /* subtle paper noise */
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.5), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(180,140,40,0.08), transparent 60%),
    /* base color */
    linear-gradient(180deg, #fff2a0 0%, #ffe773 100%);
  background-color: #fff2a0;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: #2a2410;
  line-height: 1.45;
  display: flex; align-items: flex-start;
  border-radius: 2px;
  box-shadow:
    0 1px 0 rgba(120,90,0,0.12) inset,
    0 18px 36px -14px rgba(15,15,20,0.4),
    0 4px 10px -4px rgba(15,15,20,0.2);
  /* Thin lines on the LEFT and RIGHT sides */
  border-left: 1.5px solid rgba(220,160,40,0.35);
  border-right: 1.5px solid rgba(220,160,40,0.18);
  pointer-events: auto;
  user-select: none;
}
.lp-note::before {
  /* tape strip */
  content: '';
  position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 70px; height: 18px;
  background: rgba(245,235,180,0.85);
  border-left: 1px dashed rgba(120,90,0,0.18);
  border-right: 1px dashed rgba(120,90,0,0.18);
  box-shadow: 0 2px 6px rgba(15,15,20,0.18);
}
.lp-note .lp-note-title {
  font-weight: 700;
  font-size: 16px;
  color: #1d1808;
  margin-bottom: 4px;
  display: block;
  width: 100%;
}
.lp-note .lp-note-body {
  font-size: 13.5px;
  font-weight: 400;
  color: #3a3320;
  display: block;
  width: 100%;
}

/* ---------- USE-CASE CAROUSEL (smaller, forward-facing, infinite, no arrows) ---------- */
.lp-cases {
  position: relative;
  background: #060608;
  color: #f3f3ee;
  padding: 60px 24px 70px;
  overflow: hidden;
}
.lp-cases-glow {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 240px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 196, 92, 0.18) 30%,
    rgba(255, 215, 130, 0.32) 50%,
    rgba(255, 196, 92, 0.18) 70%,
    transparent 100%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}
.lp-cases-head {
  position: relative; z-index: 3;
  text-align: center; max-width: 760px; margin: 0 auto 56px;
}
.lp-cases-head .eb {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,205,92,0.85);
  margin-bottom: 14px;
}
.lp-cases-head h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: #f6f6f1;
}
.lp-cases-head h2 em {
  font-style: italic; font-weight: 400;
  color: #ffcd5c;
}
.lp-cases-head p {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  color: rgba(243,243,238,0.6);
  max-width: 480px; margin: 0 auto;
}

/* Forward-facing flat slider */
.lp-slider {
  position: relative; z-index: 4;
  max-width: 1100px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  overflow: hidden;
}
.lp-slider-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: lpSlide 38s linear infinite;
}
/* No hover pause — slideshow keeps moving so the page always feels alive. */
@keyframes lpSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.lp-frame {
  flex-shrink: 0;
  width: 280px;
  border-radius: 14px;
  background: #14141a;
  border: 1px solid rgba(255,205,92,0.15);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 24px 50px -20px rgba(0,0,0,0.6);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.lp-frame .lp-frame-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: #fafaf7;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid rgba(15,15,20,0.06);
}
.lp-frame .lp-frame-caption {
  padding: 14px 16px 16px;
  background: #14141a;
  font-family: 'Poppins', sans-serif;
}
.lp-frame .lp-frame-caption h4 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.lp-frame .lp-frame-caption p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(243,243,238,0.62);
}

/* ---------- REVIEWS ---------- */
.lp-reviews {
  position: relative;
  background: #fafaf7;
  padding: 70px 0 80px;
  overflow: hidden;
}
/* dots moving downward */
.lp-reviews::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(15,15,20,0.16) 1.1px, transparent 1.6px);
  background-size: 32px 32px;
  background-position: 0 0;
  animation: lpDotsDown 14s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
@keyframes lpDotsDown {
  0%   { background-position: 0 0; }
  100% { background-position: 0 32px; }
}
.lp-reviews-head {
  position: relative; z-index: 2;
  text-align: center; max-width: 720px; margin: 0 auto 64px;
  padding: 0 24px;
}
.lp-reviews-head .eb {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(15,15,20,0.5);
  margin-bottom: 14px;
}
.lp-reviews-head h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  color: #0d0d0f;
}
.lp-reviews-head h2 em {
  font-style: italic; font-weight: 400;
  color: rgba(15,15,20,0.5);
}

/* Two-row infinite review tracks */
.lp-track-wrap {
  position: relative; z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.lp-track {
  display: flex; gap: 28px;
  width: max-content;
  padding: 30px 0 14px;
  animation: lpScroll 64s linear infinite;
}
.lp-track.reverse { animation: lpScrollR 72s linear infinite; }
/* Track keeps scrolling — no hover pause for the auto slideshow. */
@keyframes lpScroll  { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes lpScrollR { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.lp-review {
  flex-shrink: 0;
  width: 340px;
  padding: 24px 22px 18px;
  font-family: 'Poppins', sans-serif;
  color: #2a2410;
  position: relative;
  border-radius: 2px;
  box-shadow:
    0 1px 0 rgba(120,90,0,0.12) inset,
    0 18px 36px -16px rgba(15,15,20,0.32),
    0 4px 10px -4px rgba(15,15,20,0.14);
  background:
    repeating-linear-gradient(
      0deg, transparent 0, transparent 27px,
      rgba(120,90,0,0.08) 27px, rgba(120,90,0,0.08) 28px
    ),
    radial-gradient(circle at 25% 15%, rgba(255,255,255,0.5), transparent 55%),
    linear-gradient(180deg, #fff2a0 0%, #ffe773 100%);
  background-color: #fff2a0;
  border-left: 1.5px solid rgba(220,160,40,0.35);
  border-right: 1.5px solid rgba(220,160,40,0.18);
}
.lp-review::before {
  content: '';
  position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
  width: 76px; height: 18px;
  background: rgba(245,235,180,0.85);
  border-left: 1px dashed rgba(120,90,0,0.18);
  border-right: 1px dashed rgba(120,90,0,0.18);
  box-shadow: 0 2px 6px rgba(15,15,20,0.16);
}
.lp-review .quote {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
  margin: 6px 0 16px;
  color: #1d1808;
}
.lp-review .who {
  display: flex; align-items: center; gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(120,90,0,0.25);
  font-family: 'Poppins', sans-serif;
}
.lp-review .who img {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(15,15,20,0.18);
  background: #f0e9d6;
}
.lp-review .who .name {
  font-size: 13px; font-weight: 600; color: #1d1808;
}
.lp-review .who .place {
  font-size: 11.5px; font-weight: 400;
  color: rgba(60,40,0,0.68);
  margin-top: 1px;
}

/* ---------- FOOTER (black, parabola) ---------- */
.lp-footer {
  position: relative;
  background: #060608;
  color: #f6f6f1;
  padding: 120px 24px 60px;
  overflow: hidden;
}
.lp-footer * { font-family: 'Poppins', sans-serif; }

.lp-footer-links {
  position: relative; z-index: 3;
  max-width: 1100px; margin: 0 auto 70px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.lp-footer-col h4 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(243,243,238,0.45);
  margin: 0 0 16px;
}
.lp-footer-col a {
  display: block;
  color: rgba(243,243,238,0.78);
  font-size: 14px;
  padding: 6px 0;
  cursor: pointer;
  transition: color 160ms ease;
}
.lp-footer-col a:hover { color: #ffcd5c; }
.lp-footer-col p {
  font-size: 14px;
  color: rgba(243,243,238,0.6);
  line-height: 1.55;
  max-width: 320px;
}

.lp-bigword {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: flex-end;
  height: clamp(140px, 25vw, 400px);
  margin: 0 auto 40px;
  pointer-events: none;
  user-select: none;
  gap: 0;
  overflow: visible;
  width: 100%;
}
.lp-bigword .ltr {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(70px, 19vw, 360px);
  line-height: 1;
  letter-spacing: 3px;
  color: #f6f6f1;
  transform-origin: center bottom;
  will-change: transform;
}
.lp-bigword .ltr-space {
  width: 0.25em;
  display: inline-block;
}

.lp-footer-bottom {
  position: relative; z-index: 3;
  border-top: 1px solid rgba(243,243,238,0.1);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: rgba(243,243,238,0.5);
  max-width: 1100px; margin: 0 auto;
}

/* Auth modal (white themed) */
.auth-modal-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(15,15,20,0.55);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn 200ms ease;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.auth-modal {
  position: relative;
  width: 100%; max-width: 440px;
  background: #fff;
  border: 1px solid rgba(15,15,20,0.08);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 30px 80px -20px rgba(15,15,20,0.4);
  font-family: 'Poppins', sans-serif;
  color: #0d0d0f;
}
.auth-modal .x-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid rgba(15,15,20,0.08);
  background: transparent; color: rgba(15,15,20,0.6);
  cursor: pointer;
}
.auth-modal .x-close:hover { background: rgba(15,15,20,0.06); color: #0d0d0f; }
.auth-modal h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.auth-modal .modal-sub {
  color: rgba(15,15,20,0.55);
  font-size: 13.5px;
  margin-bottom: 22px;
}
.auth-modal .auth-tabs {
  display: flex;
  background: rgba(15,15,20,0.04);
  border: 1px solid rgba(15,15,20,0.06);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
}
.auth-modal .auth-tabs button {
  flex: 1;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: rgba(15,15,20,0.55);
  font-size: 13px;
  font-weight: 500;
  border-radius: 7px;
  cursor: pointer;
}
.auth-modal .auth-tabs button.active {
  background: #fff;
  color: #0d0d0f;
  box-shadow: 0 1px 2px rgba(15,15,20,0.08);
}

/* Mobile */
@media (max-width: 880px) {
  .lp-nav .lp-links { display: none; }
  .lp-hero-inner { padding: 130px 16px 80px; }
  .lp-notes { display: none; }
  .lp-footer-links { grid-template-columns: 1fr 1fr; }
  .lp-frame { width: 240px; }
}
@media (max-width: 540px) {
  .lp-footer-links { grid-template-columns: 1fr; }
}

/* =========================================================================
   ============ LANDING REDESIGN — arrows, comic notes, billing,
   ============ gradient transitions, bigger straight footer ================
   ========================================================================= */

/* SVG of curved dotted arrows over the hero */
.lp-note-arrows {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 4;
  opacity: 0.85;
}

/* Comic-style realistic notes with paper texture, tape, and shadow.
   The .lp-note element is the wrapper; we layer paper, tape, content. */
.lp-note {
  position: absolute;
  width: 248px;
  padding: 0;
  z-index: 5;
  filter: drop-shadow(0 14px 28px rgba(15,15,20,0.22));
  transition: transform 280ms cubic-bezier(0.2,0.7,0.2,1);
}
.lp-note:hover {
  transform: translateY(-3px) rotate(0deg) scale(1.02) !important;
  z-index: 6;
}

.lp-note-paper {
  position: absolute; inset: 0;
  background:
    /* paper grain */
    repeating-linear-gradient(0deg,
      rgba(120,90,0,0.04) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg,
      rgba(120,90,0,0.04) 0 1px, transparent 1px 4px),
    /* gentle ruled lines */
    repeating-linear-gradient(0deg,
      transparent 0 22px,
      rgba(120,90,0,0.10) 22px 23px),
    /* warm yellow → cream gradient (sticky-note look) */
    linear-gradient(160deg, #fff5b1 0%, #ffeb78 55%, #ffe04a 100%);
  border-radius: 3px;
  /* irregular shadowed edges so it looks torn / hand-stuck */
  clip-path: polygon(
    1% 2%, 12% 0%, 28% 1.5%, 44% 0.5%, 60% 1.2%, 78% 0%, 92% 1.6%, 99% 3%,
    100% 18%, 99.2% 36%, 100% 54%, 98.8% 72%, 99.6% 88%,
    98% 99%, 84% 100%, 66% 98.8%, 48% 100%, 30% 98.6%, 14% 100%, 2% 99%,
    0% 84%, 0.8% 64%, 0% 44%, 0.6% 26%, 0% 10%);
  box-shadow:
    inset 0 -8px 18px rgba(120,90,0,0.10),
    inset 1px 1px 0 rgba(255,255,255,0.5);
}

/* Strip of "tape" at the top */
.lp-note-tape {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 96px; height: 22px;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.5) 0 4px, rgba(255,255,255,0.7) 4px 8px),
    rgba(245,235,180,0.7);
  border-left: 1px dashed rgba(120,90,0,0.22);
  border-right: 1px dashed rgba(120,90,0,0.22);
  box-shadow: 0 3px 8px rgba(15,15,20,0.18);
  opacity: 0.92;
}

.lp-note-content {
  position: relative;
  padding: 26px 22px 22px;
  display: flex; flex-direction: column; gap: 8px;
  font-family: 'Caveat', 'Patrick Hand', 'Comic Sans MS', cursive;
  color: #1d1808;
}
.lp-note-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  font-family: 'Caveat', 'Patrick Hand', cursive;
}
.lp-note-body {
  font-size: 15.5px;
  line-height: 1.35;
  color: rgba(29,24,8,0.85);
  font-family: 'Caveat', 'Patrick Hand', cursive;
  font-weight: 500;
}

/* Reviews — visible dot background, smaller cards */
.lp-reviews::before {
  /* Make the dots clearly visible (denser + darker) */
  background-image: radial-gradient(circle, rgba(15,15,20,0.32) 1.4px, transparent 2px);
  background-size: 26px 26px;
  opacity: 1;
}
.lp-review {
  width: 280px;             /* smaller cards */
  padding: 18px 18px 14px;
  font-size: 13px;
}
.lp-review .quote {
  font-size: 13px;
  margin: 4px 0 12px;
  line-height: 1.5;
}
.lp-review .who img { width: 32px; height: 32px; }
.lp-review .who .name { font-size: 12px; }
.lp-review .who .place { font-size: 10.5px; }
.lp-track { gap: 22px; }

/* Gradient transitions between sections */
.lp-grad-cream {
  height: 110px;
  background: linear-gradient(180deg, #fafaf7 0%, #fff7e3 60%, #fff1c5 100%);
}
.lp-grad-tofoot {
  height: 130px;
  background: linear-gradient(180deg, #fff1c5 0%, #d4b76a 35%, #5a4520 75%, #060608 100%);
}

/* Billing / pricing section */
.lp-billing {
  background: linear-gradient(170deg, #0a0a12 0%, #0d0820 45%, #0f0a1a 100%);
  padding: 80px 24px 90px;
  position: relative;
  overflow: hidden;
}
.lp-billing::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(99,102,241,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 80% 50%, rgba(168,85,247,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 90%, rgba(255,205,92,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.lp-billing-head {
  text-align: center; max-width: 720px; margin: 0 auto 64px;
  position: relative; z-index: 1;
}
.lp-billing-head .eb {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,205,92,0.7);
  margin-bottom: 14px;
}
.lp-billing-head h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: #f6f6f1;
}
.lp-billing-head h2 em {
  font-style: italic; font-weight: 400;
  color: rgba(246,246,241,0.45);
}
.lp-billing-head p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: rgba(246,246,241,0.6);
  margin: 0;
}
.lp-billing-head p strong { color: rgba(255,205,92,0.9); font-weight: 600; }
.lp-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
  align-items: end;
}
/* Glass card base */
.lp-plan {
  position: relative;
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 28px 22px 24px;
  font-family: 'Poppins', sans-serif;
  color: #f0f0ec;
  display: flex; flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 32px 64px -24px rgba(0,0,0,0.55);
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms ease, border-color 240ms ease;
}
.lp-plan:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.22);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 40px 80px -24px rgba(0,0,0,0.65);
}

/* ── Featured (Growth) card ─────────────────────────────── */
.lp-plan.featured {
  background: rgba(99,102,241,0.12);
  border: 1.5px solid transparent;
  background-clip: padding-box;
  position: relative;
  transform: translateY(-18px);
  padding-top: 36px;
  box-shadow:
    0 0 0 1.5px transparent,
    0 0 60px -10px rgba(99,102,241,0.5),
    0 40px 80px -24px rgba(0,0,0,0.7);
  z-index: 2;
}
/* Rainbow animated border for featured card */
.lp-plan.featured::before {
  content: "";
  position: absolute; inset: -1.5px;
  border-radius: 21px;
  background: linear-gradient(var(--featured-angle, 135deg),
    #6366f1, #a855f7, #ec4899, #f97316, #eab308, #22c55e, #3b82f6, #6366f1);
  background-size: 300% 300%;
  animation: featuredBorderSpin 4s linear infinite;
  z-index: -1;
}
.lp-plan.featured::after {
  content: "";
  position: absolute; inset: 1px;
  border-radius: 19px;
  background: linear-gradient(170deg, rgba(99,102,241,0.18) 0%, rgba(10,8,20,0.92) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: -1;
}
@keyframes featuredBorderSpin {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.lp-plan.featured:hover { transform: translateY(-24px); }

/* Popular badge on featured card */
.lp-plan-popular-wrap {
  display: flex; justify-content: center;
  margin-bottom: 16px;
}
.lp-plan-popular-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  color: #fff;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(99,102,241,0.5);
  animation: popularPulse 2.5s ease-in-out infinite;
}
@keyframes popularPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(99,102,241,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(168,85,247,0.65); }
}
.lp-popular-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
  animation: liveDot 1.4s ease infinite;
}
@keyframes liveDot {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  70%  { box-shadow: 0 0 0 5px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Enterprise badge (Talk to us) */
.lp-plan-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: rgba(255,205,92,0.15);
  border: 1px solid rgba(255,205,92,0.4);
  color: #ffcd5c;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.lp-plan-name {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: #f6f6f1;
}
.lp-plan-sub {
  font-size: 12.5px;
  color: rgba(246,246,241,0.48);
  margin-bottom: 20px;
  min-height: 34px;
  line-height: 1.45;
}
.lp-plan.featured .lp-plan-name { font-size: 22px; }
.lp-plan.featured .lp-plan-sub  { color: rgba(246,246,241,0.55); }
.lp-plan-price {
  display: flex; align-items: baseline; gap: 5px;
  margin-bottom: 20px;
}
.lp-plan-price .amt {
  font-size: 42px; font-weight: 800; letter-spacing: -0.04em;
  color: #f6f6f1;
}
.lp-plan.featured .lp-plan-price .amt {
  font-size: 48px;
  background: linear-gradient(90deg, #a5b4fc, #e879f9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-plan-price .amt-talk {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
}
.lp-plan-price .per {
  font-size: 13px; color: rgba(246,246,241,0.4);
}
.lp-plan-divider {
  height: 1px;
  background: rgba(255,255,255,0.09);
  margin: 0 0 18px;
}
.lp-plan.featured .lp-plan-divider { background: rgba(255,255,255,0.15); }
.lp-plan-feats {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.lp-plan-feats li {
  font-size: 13px;
  display: flex; gap: 9px; align-items: flex-start;
  color: rgba(246,246,241,0.75);
}
.lp-plan-feats .tick {
  color: #6ee7b7; font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.lp-plan.featured .lp-plan-feats li { color: rgba(246,246,241,0.88); }
.lp-plan.featured .lp-plan-feats .tick { color: #a78bfa; }
.lp-plan-cta {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: #f6f6f1;
  font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  font-family: inherit;
  backdrop-filter: blur(8px);
}
.lp-plan-cta:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.4);
}
.lp-plan.featured .lp-plan-cta {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(99,102,241,0.5);
}
.lp-plan.featured .lp-plan-cta:hover {
  background: linear-gradient(135deg, #818cf8, #c084fc);
  box-shadow: 0 12px 32px -6px rgba(99,102,241,0.65);
  transform: translateY(-3px);
}
@media (max-width: 1080px) { .lp-plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .lp-plan-grid { grid-template-columns: 1fr; } }
@media (max-width: 1080px) { .lp-plan.featured { transform: none; } .lp-plan.featured:hover { transform: translateY(-6px); } }

/* Footer HARKLY AI letters — full-screen spanning parabola animation */
.lp-bigword {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: flex-end;
  height: clamp(100px, 20vw, 300px);
  margin: 0 0 36px;
  pointer-events: none;
  user-select: none;
  overflow: visible;
  width: 100%;
}
.lp-bigword .ltr {
  display: inline-block;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 900;
  /* Scale so text nearly fills viewport width */
  font-size: clamp(64px, 17.5vw, 340px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #f6f6f1;
  transform-origin: center bottom;
  will-change: transform;
  /* subtle opacity gradient left→right so ends fade into dark bg */
  opacity: 0.92;
}
.lp-bigword .ltr-space {
  display: inline-block;
  width: 0.2em;
}
/* Compact footer bottom */
.lp-footer {
  padding: 52px 24px 24px;
}
.lp-footer-bottom {
  padding-top: 16px;
  font-size: 12px;
}

/* =========================================================================
   ============================ ONBOARDING ==================================
   ========================================================================= */

.ob-wrap {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow-y: auto;
  padding: 28px 22px 60px;
  font-family: 'Poppins', sans-serif;
}
.ob-bg {
  position: fixed; inset: 0;
  background:
    radial-gradient(1100px 700px at 12% 8%, rgba(255, 217, 122, 0.95), transparent 60%),
    radial-gradient(900px 700px at 88% 12%, rgba(255, 168, 196, 0.85), transparent 60%),
    radial-gradient(1000px 800px at 50% 95%, rgba(184, 212, 255, 0.95), transparent 60%),
    radial-gradient(700px 500px at 80% 65%, rgba(196, 180, 255, 0.55), transparent 65%),
    linear-gradient(160deg, #ffe7a8 0%, #fff5e0 38%, #e7e1ff 70%, #cfe1ff 100%);
  z-index: -2;
}
.ob-grain {
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, rgba(15,15,20,0.06) 1px, transparent 1.6px);
  background-size: 4px 4px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

.ob-shell {
  max-width: 720px;
  margin: 24px auto 0;
  display: flex; flex-direction: column; gap: 22px;
}

.ob-brand {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 16px;
  box-shadow: 0 12px 28px -12px rgba(15,15,20,0.18);
}
.ob-brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, #ffd97a, #ffcd5c);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; color: #1d1808;
}
.ob-brand-name { font-weight: 700; font-size: 16px; }
.ob-brand-sub { font-size: 12.5px; color: rgba(15,15,20,0.6); }
.ob-skip-all {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(15,15,20,0.15);
  color: rgba(15,15,20,0.7);
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 12.5px;
  cursor: pointer;
  font-family: inherit;
}
.ob-skip-all:hover { background: rgba(255,255,255,0.4); color: #0d0d0f; }

.ob-progress {
  display: flex; align-items: center; gap: 12px;
  padding: 0 6px;
}
.ob-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.5);
}
.ob-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffd97a, #ffcd5c, #f59e0b);
  border-radius: 999px;
  transition: width 320ms cubic-bezier(0.2,0.7,0.2,1);
}
.ob-progress-text {
  font-size: 12px; color: rgba(15,15,20,0.65);
  white-space: nowrap;
  font-weight: 500;
}

.ob-card-stack { position: relative; }
.ob-card {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 22px;
  padding: 36px 36px 28px;
  box-shadow:
    0 30px 70px -20px rgba(15,15,20,0.22),
    inset 0 1px 0 rgba(255,255,255,0.7);
  animation: obCardIn 360ms cubic-bezier(0.2,0.7,0.2,1);
}
@keyframes obCardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ob-q-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.ob-q-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(15,15,20,0.55);
}
.ob-q-req, .ob-q-opt {
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ob-q-req { background: rgba(220,38,38,0.12); color: #b91c1c; }
.ob-q-opt { background: rgba(15,15,20,0.06); color: rgba(15,15,20,0.55); }

.ob-q-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: #0d0d0f;
  margin: 0 0 8px;
}
.ob-q-sub {
  font-size: 14px;
  color: rgba(15,15,20,0.6);
  margin: 0 0 22px;
  line-height: 1.5;
}

.ob-q-input { margin-bottom: 22px; }
.ob-text-input {
  width: 100%;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(15,15,20,0.12);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: #0d0d0f;
  outline: none;
  font-family: inherit;
  transition: border-color 160ms ease, background 160ms ease;
}
.ob-text-input:focus {
  background: #fff;
  border-color: #0d0d0f;
}
.ob-text-input::placeholder { color: rgba(15,15,20,0.4); }
textarea.ob-text-input { resize: vertical; min-height: 90px; }

.ob-choices { display: grid; gap: 10px; }
.ob-choice {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(15,15,20,0.1);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  color: #0d0d0f;
  font-family: inherit;
  cursor: pointer;
  transition: all 160ms ease;
}
.ob-choice:hover {
  background: rgba(255,255,255,0.85);
  border-color: rgba(15,15,20,0.25);
  transform: translateX(2px);
}
.ob-choice.selected {
  background: #0d0d0f;
  color: #fafaf7;
  border-color: #0d0d0f;
}
.ob-choice-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(15,15,20,0.25);
  flex-shrink: 0;
  transition: all 160ms ease;
}
.ob-choice.selected .ob-choice-dot {
  background: #ffcd5c;
  border-color: #ffcd5c;
  box-shadow: inset 0 0 0 3px #0d0d0f;
}

.ob-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.ob-actions-right { display: flex; gap: 8px; align-items: center; }
.ob-back {
  background: transparent;
  border: none;
  color: rgba(15,15,20,0.6);
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
  padding: 10px 6px;
}
.ob-back:hover { color: #0d0d0f; }
.ob-skip {
  background: transparent;
  border: 1px solid rgba(15,15,20,0.18);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13.5px;
  color: rgba(15,15,20,0.7);
  cursor: pointer;
  font-family: inherit;
}
.ob-skip:hover { background: rgba(255,255,255,0.5); color: #0d0d0f; }
.ob-next {
  background: #0d0d0f;
  color: #fafaf7;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 160ms ease, transform 160ms ease;
}
.ob-next:hover { background: #2a2a2e; transform: translateY(-1px); }
.ob-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* =========================================================================
   =========== AGENTS BUILDER PAGE — drag-drop boxes + curves ===============
   ========================================================================= */

.agb-empty {
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh;
}
.agb-empty-card {
  text-align: center;
  background: var(--panel);
  border: 1px dashed var(--border-strong);
  border-radius: 18px;
  padding: 56px 48px;
  max-width: 460px;
}
.agb-empty-icon {
  width: 48px !important; height: 48px !important;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.agb-empty-card h2 { margin: 0 0 8px; font-size: 22px; font-weight: 700; }
.agb-empty-card p { color: var(--muted); margin: 0 0 22px; }

.agb-tabs {
  display: flex; gap: 6px; align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.agb-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: all 140ms ease;
}
.agb-tab:hover { color: var(--text); border-color: var(--border-strong); }
.agb-tab.active {
  background: var(--accent-soft);
  color: #4a3300;
  border-color: rgba(255,205,92,0.5);
}
.agb-tab-new {
  background: transparent;
  border-style: dashed;
}

.agb-stage {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.agb-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(15,15,20,0.02);
  flex-wrap: wrap; gap: 10px;
}
.agb-toolbar-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.agb-toolbar-right { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.agb-meta { font-size: 12.5px; color: var(--muted); }

.agb-builder {
  display: grid;
  grid-template-columns: 220px 1fr;
  height: calc(100vh - 180px);
  min-height: 600px;
}
.agb-palette {
  border-right: 1px solid var(--border);
  background: rgba(15,15,20,0.025);
  padding: 14px;
  overflow-y: auto;
}
.agb-palette-head {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
}
.agb-pal-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: grab;
  font-size: 13px;
  transition: all 120ms ease;
  user-select: none;
}
.agb-pal-item:hover { border-color: var(--ax, var(--primary)); background: rgba(255,205,92,0.08); }
.agb-pal-item:active { cursor: grabbing; transform: scale(0.97); }
.agb-pal-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: #4a3300;
  display: flex; align-items: center; justify-content: center;
}
.agb-tip {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(255,205,92,0.08);
  border: 1px solid rgba(255,205,92,0.25);
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(15,15,20,0.7);
}

.agb-canvas-wrap {
  position: relative;
  overflow: auto;
  background-color: #f7f6f3;
  background-image:
    linear-gradient(to right, rgba(15,15,20,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,15,20,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.agb-canvas {
  position: relative;
  width: 1600px; height: 1100px;
}
.agb-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.agb-edge {
  fill: none;
  stroke: rgba(15,15,20,0.45);
  stroke-width: 1.8;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
  marker-end: url(#agb-arrow);
}
.agb-edge-ghost {
  stroke: var(--primary);
  stroke-width: 2;
  stroke-dasharray: 6 5;
  marker-end: none;
}

/* The boxes themselves */
.agb-box {
  position: absolute;
  background: var(--panel);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 14px 32px -16px rgba(15,15,20,0.22);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.agb-box-head {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: rgba(15,15,20,0.04);
  border-bottom: 1px solid var(--border);
  cursor: grab;
  border-left: 3px solid var(--ax, var(--primary));
}
.agb-box-head:active { cursor: grabbing; }
.agb-box-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--ax, var(--primary));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.agb-box-icon .icon { width: 13px; height: 13px; }
.agb-box-title {
  flex: 1;
  font-size: 12.5px; font-weight: 600;
  color: var(--text);
}
.agb-box-x {
  width: 22px; height: 22px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--muted);
  font-size: 18px; line-height: 1;
  cursor: pointer;
}
.agb-box-x:hover { background: rgba(220,38,38,0.1); color: var(--danger); }

.agb-box-body {
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
.agb-inline {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 12px;
  color: var(--text);
  outline: none;
  font-family: inherit;
}
.agb-inline:focus { border-color: var(--primary); }
.agb-inline-sm { font-size: 11px; padding: 6px 9px; }
.agb-textarea { resize: none; height: 60px; font-size: 11.5px; line-height: 1.4; }
.agb-cal-status {
  font-size: 11px; color: var(--muted); padding: 4px 0 0;
}

.agb-upload-label {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px;
  border: 1.5px dashed var(--border-strong);
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--muted);
  cursor: pointer;
  transition: all 120ms ease;
}
.agb-upload-label:hover { border-color: var(--primary); color: var(--text); background: rgba(255,205,92,0.06); }
.agb-upload-input { display: none; }
.agb-upload-label .icon { width: 14px; height: 14px; }

/* Connection handles */
.agb-handle {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--primary);
  cursor: crosshair;
  transition: transform 120ms, background 120ms;
  z-index: 2;
}
.agb-handle:hover { transform: scale(1.4); background: var(--primary); }
.agb-handle-in { left: -7px; top: 50%; margin-top: -6px; border-color: var(--muted-2); }
.agb-handle-out { right: -7px; top: 50%; margin-top: -6px; }

/* Sticky-note labels on each connection */
.agb-edge-note {
  position: absolute;
  display: flex; align-items: center; gap: 4px;
  background:
    repeating-linear-gradient(0deg,
      rgba(120,90,0,0.05) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #fff5b1, #ffe773);
  border: 1px solid rgba(220,160,40,0.3);
  border-radius: 4px;
  padding: 4px 6px;
  font-family: 'Caveat', 'Patrick Hand', cursive;
  box-shadow: 0 4px 10px -4px rgba(15,15,20,0.25);
  width: 140px;
  z-index: 3;
}
.agb-edge-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  color: #1d1808;
  padding: 0;
  font-weight: 600;
}
.agb-edge-input::placeholder { color: rgba(60,40,0,0.45); font-weight: 500; }
.agb-edge-x {
  width: 16px; height: 16px;
  background: transparent;
  border: none;
  font-size: 14px; line-height: 1;
  cursor: pointer;
  color: rgba(60,40,0,0.4);
}
.agb-edge-x:hover { color: #b91c1c; }

/* =========================================================================
   ============ CALLS PAGE — three-column + paper-textured popup ============
   ========================================================================= */

.cl-layout {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 16px;
  min-height: calc(100vh - 110px);
}

.cl-left, .cl-right {
  background: linear-gradient(160deg,
    rgba(255,255,255,0.78) 0%,
    rgba(235,238,255,0.65) 40%,
    rgba(210,216,255,0.55) 100%
  );
  border: 1px solid rgba(180,185,230,0.38);
  border-radius: 18px;
  padding: 18px 15px;
  height: fit-content;
  position: sticky; top: 90px;
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  box-shadow:
    0 8px 32px rgba(99,102,241,0.10),
    0 2px 8px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.80),
    inset 0 -1px 0 rgba(0,0,0,0.04);
  transform-style: preserve-3d;
  perspective: 800px;
}
.cl-side-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.cl-side-head .icon { width: 13px; height: 13px; }
.cl-side-empty {
  font-size: 12.5px;
  color: var(--muted);
  padding: 14px 4px;
  text-align: center;
  line-height: 1.5;
}

.cl-agent-row {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.82) 0%,
    rgba(235,238,255,0.72) 50%,
    rgba(220,225,255,0.65) 100%
  );
  border: 1px solid rgba(180,185,230,0.32);
  border-radius: 12px;
  padding: 11px 12px;
  text-align: left;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2,0.7,0.2,1);
  font-family: inherit;
  margin-bottom: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 2px 10px rgba(99,102,241,0.07),
    0 1px 3px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,0.75);
  transform-style: preserve-3d;
}
.cl-agent-row:hover {
  background: linear-gradient(135deg,
    rgba(255,255,255,0.95) 0%,
    rgba(240,242,255,0.90) 50%,
    rgba(228,232,255,0.85) 100%
  );
  border-color: rgba(99,102,241,0.28);
  box-shadow:
    0 6px 20px rgba(99,102,241,0.13),
    0 2px 6px rgba(0,0,0,0.07),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transform: translateY(-1px) translateZ(2px);
}
.cl-agent-row.selected {
  background: linear-gradient(135deg,
    rgba(255,248,220,0.90) 0%,
    rgba(255,235,160,0.80) 50%,
    rgba(255,220,100,0.70) 100%
  );
  border-color: rgba(255,205,92,0.55);
  box-shadow:
    0 6px 22px rgba(240,185,40,0.18),
    0 2px 8px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.85);
}
.cl-agent-info { flex: 1; min-width: 0; }
.cl-agent-name {
  font-size: 13px; font-weight: 600;
  color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cl-agent-meta { font-size: 11px; color: var(--muted); }
.cl-agent-row .icon { color: var(--muted-2); width: 14px; height: 14px; }

/* Center column */
.cl-center {
  display: flex; flex-direction: column; gap: 14px;
}
.cl-toolbar {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
}
.cl-search {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  background: rgba(15,15,20,0.04);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 7px 12px;
  transition: border-color 120ms ease, background 120ms ease;
}
.cl-search:focus-within {
  background: #fff;
  border-color: var(--border-strong);
}
.cl-search .icon { color: var(--muted); width: 14px; height: 14px; }
.cl-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
}
.cl-filters { display: flex; gap: 4px; }
.cl-filter {
  padding: 7px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: all 120ms ease;
}
.cl-filter:hover { color: var(--text); border-color: var(--border-strong); }
.cl-filter.active {
  background: var(--primary);
  color: #fafaf7;
  border-color: var(--primary);
}

.cl-list { display: flex; flex-direction: column; gap: 10px; }
.cl-card {
  display: flex; align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all 140ms ease;
}
.cl-card:hover {
  border-color: var(--border-strong);
  border-left-color: var(--primary);
  transform: translateX(2px);
  box-shadow: 0 8px 22px -12px rgba(15,15,20,0.18);
}
.cl-card-urgent { border-left-color: var(--danger); }
.cl-card-booked { border-left-color: var(--success); }
.cl-card-handled { border-left-color: var(--accent); }
.cl-card-left { flex: 1; min-width: 0; }
.cl-card-status { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.cl-card-status-label {
  font-size: 10.5px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.cl-card-num { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cl-card-summary {
  font-size: 12.5px; color: var(--muted);
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.cl-card-right {
  text-align: right;
  display: flex; flex-direction: column; justify-content: space-between;
  align-items: flex-end;
  margin-left: 14px;
  flex-shrink: 0;
}
.cl-card-time { font-size: 11.5px; color: var(--muted); }
.cl-card-dur {
  font-size: 11px;
  background: rgba(15,15,20,0.05);
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 500;
}

.cl-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--panel);
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  color: var(--muted);
}
.cl-empty .icon {
  width: 36px !important; height: 36px !important;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.cl-empty-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cl-empty-sub { font-size: 12.5px; }

/* Right column — calendar */
.cl-cal-head {
  font-size: 13px; font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text);
}
.cl-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cl-cal-dow {
  font-size: 10px; font-weight: 600;
  color: var(--muted-2);
  text-align: center;
  padding: 4px 0;
}
.cl-cal-day {
  font-size: 11.5px;
  text-align: center;
  padding: 6px 0;
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  transition: background 100ms ease;
}
.cl-cal-day:hover { background: rgba(15,15,20,0.04); }
.cl-cal-empty { background: transparent; cursor: default; }
.cl-cal-today {
  background: var(--accent);
  color: #1d1808;
  font-weight: 700;
}

/* Right column — comic notes */
.cl-notes {
  display: flex; flex-direction: column;
  gap: 16px;
  padding: 6px 8px;
}
.cl-comic-note {
  position: relative;
  padding: 14px 14px 12px;
  border-radius: 3px;
  font-family: 'Caveat', 'Patrick Hand', cursive;
  box-shadow:
    inset 0 -6px 14px rgba(120,90,0,0.06),
    0 12px 22px -12px rgba(15,15,20,0.22);
  background:
    repeating-linear-gradient(0deg,
      rgba(120,90,0,0.05) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #fff5b1, #ffe773);
}
.cl-comic-yellow {
  background:
    repeating-linear-gradient(0deg, rgba(120,90,0,0.05) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #fff5b1, #ffe773);
}
.cl-comic-pink {
  background:
    repeating-linear-gradient(0deg, rgba(120,40,80,0.05) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #ffd9e0, #ffb3c0);
}
.cl-comic-blue {
  background:
    repeating-linear-gradient(0deg, rgba(40,80,120,0.05) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #d6ecff, #a8d4ff);
}
.cl-comic-when {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15,15,20,0.55);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
}
.cl-comic-who {
  font-size: 18px;
  font-weight: 700;
  color: #1d1808;
  line-height: 1.1;
  margin-bottom: 2px;
}
.cl-comic-what {
  font-size: 16px;
  color: rgba(29,24,8,0.85);
  line-height: 1.2;
}

/* Paper-textured detail popup */
.cl-pop-overlay {
  position: fixed; inset: 0;
  background: rgba(15,15,20,0.55);
  backdrop-filter: blur(6px);
  z-index: 100;
  animation: fadeIn 200ms ease;
}
.cl-pop-paper {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, 92vw);
  max-height: 88vh;
  z-index: 115;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 50px 100px -20px rgba(15,15,20,0.55),
    0 20px 40px -10px rgba(15,15,20,0.4);
  animation: cl-pop-in 280ms cubic-bezier(0.2,0.7,0.2,1);
  display: flex; flex-direction: column;
}
@keyframes cl-pop-in {
  from { opacity: 0; transform: translate(-50%, -45%) scale(0.96); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cl-pop-paper-bg {
  position: absolute; inset: 0;
  background:
    /* fine paper grain */
    repeating-linear-gradient(0deg,
      rgba(120,90,0,0.025) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg,
      rgba(120,90,0,0.02) 0 1px, transparent 1px 3px),
    /* horizontal ruled lines like notebook paper */
    repeating-linear-gradient(0deg,
      transparent 0 28px,
      rgba(60,90,160,0.12) 28px 29px),
    /* warm cream paper */
    linear-gradient(180deg, #fffdf3 0%, #fcf6df 100%);
  z-index: 0;
}
.cl-pop-close {
  position: absolute; top: 14px; right: 14px;
  z-index: 3;
  width: 30px; height: 30px;
  background: rgba(15,15,20,0.06);
  border: none;
  border-radius: 8px;
  font-size: 20px; line-height: 1;
  color: rgba(15,15,20,0.6);
  cursor: pointer;
}
.cl-pop-close:hover { background: rgba(15,15,20,0.12); color: var(--text); }
.cl-pop-body {
  position: relative; z-index: 1;
  padding: 36px 40px 32px;
  overflow-y: auto;
  font-family: 'Poppins', sans-serif;
}
.cl-pop-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(60,40,0,0.2);
}
.cl-pop-eyebrow {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(15,15,20,0.5);
  font-weight: 600;
  margin-bottom: 4px;
}
.cl-pop-num {
  font-size: 22px; font-weight: 700;
  color: #0d0d0f;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.cl-pop-when { font-size: 12.5px; color: rgba(15,15,20,0.55); }
.cl-pop-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.cl-pop-tag {
  font-size: 10.5px; font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.cl-pop-tag-urgent { background: #fee2e2; color: #b91c1c; }
.cl-pop-tag-booked { background: #dcfce7; color: #15803d; }
.cl-pop-tag-muted  { background: rgba(15,15,20,0.06); color: rgba(15,15,20,0.65); }

.cl-pop-section { margin-bottom: 22px; }
.cl-pop-section-title {
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(15,15,20,0.55);
  margin-bottom: 8px;
}
.cl-pop-summary {
  font-size: 14px;
  line-height: 1.6;
  color: #1d1808;
}
.cl-pop-pre {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  background: rgba(15,15,20,0.04);
  border: 1px solid rgba(15,15,20,0.08);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 11.5px;
  white-space: pre-wrap;
  margin: 0;
  color: #1d1808;
}
.cl-pop-booking { padding: 14px 16px; background: rgba(22,163,74,0.06); border-radius: 10px; border: 1px solid rgba(22,163,74,0.2); }
.cl-pop-booking .cl-pop-section-title { color: #15803d; margin-bottom: 6px; }

.cl-pop-transcript { display: flex; flex-direction: column; gap: 10px; }
.cl-pop-line {
  display: flex; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.cl-pop-line-user {
  background: rgba(15,15,20,0.04);
  align-self: flex-start;
  max-width: 80%;
}
.cl-pop-line-assistant {
  background: rgba(255,205,92,0.18);
  align-self: flex-end;
  max-width: 80%;
}
.cl-pop-role {
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15,15,20,0.5);
  flex-shrink: 0;
  padding-top: 1px;
}
.cl-pop-text { color: #1d1808; }

@media (max-width: 1100px) {
  .cl-layout { grid-template-columns: 1fr; }
  .cl-left, .cl-right { position: static; }
  .agb-builder { grid-template-columns: 1fr; }
  .agb-palette { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ============================================================================
   v12 — calls page: enlarged 2-col layout with big calendar + day note popups
   ============================================================================ */
.cl-layout-2 {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
}
.cl-left-tall {
  position: sticky; top: 14px;
  display: flex; flex-direction: column; gap: 10px;
  max-height: calc(100vh - 30px); overflow-y: auto;
  padding: 4px 2px 6px;
}
.cl-recent-callers {
  display: flex; flex-direction: column; gap: 8px;
}
.cl-recent-caller {
  text-align: left; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 12px; cursor: pointer;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.cl-recent-caller:hover {
  transform: translateY(-1px); border-color: #c8c8d0;
  box-shadow: 0 4px 14px -8px rgba(15,15,20,0.18);
}
.cl-recent-num { font-weight: 600; font-size: 13px; color: #0f0f14; }
.cl-recent-name { font-size: 12px; color: #4b4b55; margin-top: 2px; }
.cl-recent-co { color: #6c6c75; }
.cl-recent-when { font-size: 11px; color: #8a8a93; margin-top: 4px; }

.cl-agent-meta-2 { font-size: 11px; color: #8a8a93; margin-top: 2px; font-variant-numeric: tabular-nums; }

.cl-center-cal { display: flex; flex-direction: column; gap: 12px; }

/* The big visible calendar */
.cl-bigcal {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 14px 16px 18px; box-shadow: 0 6px 22px -16px rgba(15,15,20,0.18);
}
.cl-bigcal-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.cl-bigcal-title {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 22px;
  color: #0f0f14; flex: 1;
}
.cl-cal-nav {
  background: #f6f6f3; border: 1px solid var(--border); border-radius: 10px;
  padding: 6px 10px; font-size: 13px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  transition: background .15s, border-color .15s;
}
.cl-cal-nav:hover { background: #ecece8; border-color: #c8c8d0; }

.cl-bigcal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.cl-bigcal-dow {
  text-align: center; font-size: 11px; font-weight: 600; color: #8a8a93;
  text-transform: uppercase; letter-spacing: .8px; padding: 4px 0 6px;
}
.cl-bigcal-cell {
  position: relative;
  min-height: 88px; background: #fafaf7; border: 1px solid #ececea;
  border-radius: 10px; padding: 6px 6px 8px; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
  display: flex; flex-direction: column; gap: 4px;
}
.cl-bigcal-cell:hover { background: #f1f1ed; border-color: #d8d8d4; transform: translateY(-1px); }
.cl-bigcal-empty { background: transparent; border: 1px dashed #ececea; cursor: default; }
.cl-bigcal-empty:hover { transform: none; background: transparent; }
.cl-bigcal-today { background: #fff7d6; border-color: #f0c850; }
.cl-bigcal-today:hover { background: #fff0b8; }
.cl-bigcal-num {
  font-weight: 700; font-size: 13px; color: #0f0f14;
}
.cl-bigcal-blocks { display: flex; flex-direction: column; gap: 3px; }
.cl-bigcal-block {
  font-size: 10.5px; padding: 3px 6px; border-radius: 6px;
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 500;
}
.cl-bigcal-block-booking { background: #d6f0e1; color: #14523a; }
.cl-bigcal-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.cl-bigcal-more { font-size: 10px; color: #6c6c75; padding-left: 4px; }
.cl-bigcal-usernote { font-weight: 600; }
.cl-bigcal-c-amber  { background: #fff0bf; color: #6b4a00; }
.cl-bigcal-c-pink   { background: #ffd6e3; color: #7a1a44; }
.cl-bigcal-c-blue   { background: #cfe1ff; color: #133a76; }
.cl-bigcal-c-green  { background: #cdebd0; color: #16432a; }
.cl-bigcal-c-violet { background: #e2d6ff; color: #3a1c79; }

/* Day popup — also paper-like */
.cl-day-pop {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(540px, 92vw); max-height: 85vh; overflow-y: auto;
  background: #fffbe9; border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(15,15,20,0.45);
  padding: 22px 26px 26px; z-index: 10001;
  font-family: 'Poppins', sans-serif;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(15,15,20,0.04) 1px, transparent 1px),
    radial-gradient(1px 1px at 70% 60%, rgba(15,15,20,0.04) 1px, transparent 1px);
}
.cl-day-pop-head { margin-bottom: 14px; }
.cl-day-section { margin-top: 16px; }
.cl-day-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
  color: #6c6c75; text-transform: uppercase; margin-bottom: 8px;
}
.cl-day-bookings { display: flex; flex-direction: column; gap: 8px; }
.cl-day-booking {
  background: #fff; border: 1px solid #ececea; border-radius: 12px;
  padding: 10px 12px;
}
.cl-day-booking-time { font-size: 11px; color: #8a8a93; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; }
.cl-day-booking-who { font-weight: 600; font-size: 14px; color: #0f0f14; margin-top: 2px; }
.cl-day-booking-what { font-size: 12px; color: #4b4b55; margin-top: 1px; }
.cl-day-booking-open {
  background: none; border: none; color: #0066ff; font-size: 12px;
  font-weight: 600; cursor: pointer; padding: 4px 0 0; margin-top: 4px;
}
.cl-day-note {
  width: 100%; min-height: 88px; resize: vertical;
  background: #fff; border: 1px solid #ececea; border-radius: 10px;
  padding: 10px 12px; font-family: 'Poppins', sans-serif; font-size: 13px;
  color: #0f0f14; line-height: 1.5;
}
.cl-day-note-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; gap: 10px;
}
.cl-day-colors { display: flex; gap: 6px; }
.cl-day-color {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, border-color .15s;
}
.cl-day-color:hover { transform: scale(1.1); }
.cl-day-color.sel { border-color: #0f0f14; }
.cl-day-c-amber  { background: #ffcf4a; }
.cl-day-c-pink   { background: #ff8fb1; }
.cl-day-c-blue   { background: #6ea6ff; }
.cl-day-c-green  { background: #78c98c; }
.cl-day-c-violet { background: #a08aff; }
.cl-day-note-actions { display: flex; gap: 8px; }
.cl-day-note-save, .cl-day-note-del {
  background: #0f0f14; color: #fff; border: none; border-radius: 10px;
  padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.cl-day-note-del { background: #fff; color: #b00020; border: 1px solid #f0c8d0; }

/* 5-line summary in the call popup */
.cl-pop-five {
  margin: 0; padding-left: 20px;
  font-family: 'Poppins', sans-serif; font-size: 13.5px; line-height: 1.55;
  color: #1d1808;
}
.cl-pop-five li { margin: 3px 0; }

.cl-card-co { font-size: 11px; color: #6c6c75; margin-left: 4px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.cl-card-phone { font-weight: 700; }
.cl-card-name { font-weight: 500; color: #4b4b55; margin-left: 8px; font-size: 13px; }

/* ============================================================================
   v12 — agent builder: Harkly AI glassmorphic 3D orb + "+" integration popup
   ============================================================================ */
.agb-orb-wrap {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  z-index: 30; pointer-events: none;
}
.agb-orb-wrap > * { pointer-events: auto; }

.agb-orb {
  position: relative;
  width: 76px; height: 76px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.85), rgba(255,255,255,0.15) 40%, rgba(255,255,255,0) 65%),
    linear-gradient(150deg, rgba(180,200,255,0.5), rgba(255,180,220,0.45) 50%, rgba(255,220,140,0.45));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 18px 32px -14px rgba(15,15,20,0.35),
    inset 0 -8px 18px rgba(15,15,20,0.18),
    inset 0 8px 18px rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
}
.agb-orb-glass {
  position: absolute; inset: 6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.6), transparent 55%);
  pointer-events: none;
}
.agb-orb-mark {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 22px;
  color: #0f0f14; letter-spacing: -0.5px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.7);
  z-index: 2;
}
.agb-orb-ring {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 1px dashed rgba(15,15,20,0.18);
  animation: agbOrbSpin 18s linear infinite;
}
@keyframes agbOrbSpin { to { transform: rotate(360deg); } }

.agb-orb-plus {
  width: 44px; height: 44px; border-radius: 50%;
  background: #0f0f14; color: #fff; border: 3px solid #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px -10px rgba(15,15,20,0.5);
  transition: transform .15s, background .15s;
}
.agb-orb-plus:hover { transform: scale(1.08); background: #2a2a35; }
.agb-orb-plus .icon { width: 20px; height: 20px; }

.agb-orb-menu {
  position: absolute; top: 90px; left: 50%; transform: translateX(-50%);
  width: 320px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 18px 40px -14px rgba(15,15,20,0.35);
  padding: 12px; display: flex; flex-direction: column; gap: 4px;
  z-index: 35;
}
.agb-orb-menu[hidden] { display: none; }
.agb-orb-menu-head {
  font-size: 11px; font-weight: 700; letter-spacing: 1.3px;
  color: #6c6c75; text-transform: uppercase; padding: 6px 8px 8px;
}
.agb-orb-menu-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 10px; border: 1px solid transparent; border-radius: 10px;
  background: transparent; cursor: pointer; text-align: left;
  font-family: 'Poppins', sans-serif;
  transition: background .15s, border-color .15s;
}
.agb-orb-menu-item:hover { background: #f6f6f3; border-color: var(--border); }
.agb-orb-menu-ic {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--ax, #0f0f14); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.agb-orb-menu-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.agb-orb-menu-label { font-size: 13px; font-weight: 600; color: #0f0f14; }
.agb-orb-menu-note { font-size: 11px; color: #6c6c75; line-height: 1.4; }


/* ============================================================================
   v12 — landing-page redesign: side fades, sticky-notes-row with arrows,
   3D comic notes, glassmorphic integrations plate, gradient strips,
   voice tester, gradient Q&A, footer triangular glow.
   ============================================================================ */

/* Soft side fades on the hero — leaves top + bottom of mesh untouched */
.lp-side-fade {
  position: absolute; top: 0; bottom: 0; width: 14vw;
  z-index: 4; pointer-events: none;
}
.lp-side-fade-l { left: 0;  background: linear-gradient(to right, #fafaf7 0%, rgba(250,250,247,0.85) 30%, transparent 100%); }
.lp-side-fade-r { right: 0; background: linear-gradient(to left,  #fafaf7 0%, rgba(250,250,247,0.85) 30%, transparent 100%); }

/* Hero notes row — 4 sticky notes side-by-side with SVG arrows between.
   Pulled tight to the title (small top margin) and trimmed bottom space. */
.lp-notes-row {
  position: relative; z-index: 6;
  max-width: 1180px; margin: 8px auto 18px;
  padding: 0 28px;
  display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr 60px 1fr;
  align-items: center; gap: 8px;
}
.lp-notes-row .lp-note { width: 100%; max-width: 240px; margin: 0 auto; }

.lp-note-arr {
  width: 60px; height: 80px; opacity: 0.8;
  align-self: center;
}
.lp-arr-loop       { transform: rotate(-2deg); }
.lp-arr-zigzag     { transform: rotate(1deg); }
.lp-arr-doublecurl { transform: rotate(-1deg); }
.lp-arr-hook       { transform: rotate(2deg); }

/* Big note text — Nunito, curved and readable */
.lp-note .lp-note-title {
  font-family: 'Nunito', 'Poppins', sans-serif; font-weight: 800;
  font-size: 17px; line-height: 1.25; margin-bottom: 8px;
}
.lp-note .lp-note-body {
  font-family: 'Nunito', 'Poppins', sans-serif; font-weight: 500;
  font-size: 15px; line-height: 1.55; color: rgba(15,15,20,0.72);
}
.lp-note .lp-note-num {
  font-family: 'Nunito', 'Poppins', sans-serif; font-weight: 800;
  font-size: 11px; letter-spacing: 1.6px; color: rgba(15,15,20,0.45);
  margin-bottom: 6px;
}

/* 3D comic sticky notes — aurora gradient backgrounds */
.lp-note-3d {
  position: relative;
  overflow: hidden;           /* clips the blurred aurora blobs cleanly */
  border: 2px solid #0f0f14;
  border-radius: 4px;
  padding: 18px 16px 20px;
  box-shadow:
    4px 4px 0 0 #0f0f14,
    8px 8px 18px -6px rgba(15,15,20,0.35);
  transform-style: preserve-3d;
  transition: transform .18s ease, box-shadow .18s ease;
}
.lp-note-3d:hover {
  transform: translate(-2px, -2px);
  box-shadow:
    6px 6px 0 0 #0f0f14,
    12px 12px 22px -6px rgba(15,15,20,0.4);
}
/* Base colours — visible only at the very edge where no blob reaches */
.lp-note-3d[data-i="0"] { background: #FDE8F5; transform: rotate(-2deg); }
.lp-note-3d[data-i="1"] { background: #C4D2FF; transform: rotate(1.5deg); }
.lp-note-3d[data-i="2"] { background: #C8DCFF; transform: rotate(-1deg); }
.lp-note-3d[data-i="3"] { background: #D4BEFF; transform: rotate(2deg); }
.lp-note-3d:hover[data-i="0"] { transform: rotate(-2deg) translate(-2px, -2px); }
.lp-note-3d:hover[data-i="1"] { transform: rotate(1.5deg) translate(-2px, -2px); }
.lp-note-3d:hover[data-i="2"] { transform: rotate(-1deg) translate(-2px, -2px); }
.lp-note-3d:hover[data-i="3"] { transform: rotate(2deg) translate(-2px, -2px); }

/*
  Aurora mesh layer — the element extends 90px beyond every card edge so the
  gaussian blur fully develops before reaching the clipping boundary. This
  prevents the dark-fringe artefact that appears when blur hits the element edge.
  Blob radii (250-280 px) are LARGER than the card (≈220 px wide) so they
  overlap completely and fill every corner, matching the OpenAI mesh-gradient look.
*/
.lp-note-paper {
  position: absolute;
  inset: -90px;
  pointer-events: none;
  z-index: 0;
}

/* ── Card 0 — soft blush-pink + warm peach  (gentle pastel palette) ─── */
.lp-note-3d[data-i="0"] .lp-note-paper {
  background:
    radial-gradient(circle 270px at 12% 90%, #F5A0D8 0%, #F5A0D8 15%, transparent 60%),
    radial-gradient(circle 250px at 85% 55%, #FFD0A0 0%, #FFD0A0 15%, transparent 60%),
    radial-gradient(circle 220px at 78% 8%,  #E8A0F0 0%, #E8A0F0 15%, transparent 58%),
    radial-gradient(circle 200px at 20% 22%, #FFB8EC 0%, #FFB8EC 15%, transparent 58%);
  filter: blur(62px);
}

/* ── Card 1 — warm peach + periwinkle blue  (OpenAI GPT-5.4 palette) ───── */
.lp-note-3d[data-i="1"] .lp-note-paper {
  background:
    radial-gradient(circle 260px at 52% 90%, #FFB060 0%, #FFB060 15%, transparent 60%),
    radial-gradient(circle 260px at 88% 8%,  #80A8FF 0%, #80A8FF 15%, transparent 60%),
    radial-gradient(circle 200px at 10% 8%,  #B0BEFF 0%, #B0BEFF 15%, transparent 58%),
    radial-gradient(circle 180px at 28% 60%, #FFCCA0 0%, #FFCCA0 12%, transparent 55%);
  filter: blur(56px);
}

/* ── Card 2 — soft peach + sky blue  (OpenAI GPT-5.4 mini palette) ─────── */
.lp-note-3d[data-i="2"] .lp-note-paper {
  background:
    radial-gradient(circle 250px at 62% 78%, #FFC080 0%, #FFC080 15%, transparent 60%),
    radial-gradient(circle 250px at 12% 12%, #78B8FF 0%, #78B8FF 15%, transparent 60%),
    radial-gradient(circle 200px at 85% 8%,  #A4D0FF 0%, #A4D0FF 12%, transparent 58%),
    radial-gradient(circle 180px at 80% 75%, #FFD8B0 0%, #FFD8B0 10%, transparent 55%);
  filter: blur(56px);
}

/* ── Card 3 — rich lavender + golden amber ───────────────────────────────── */
.lp-note-3d[data-i="3"] .lp-note-paper {
  background:
    radial-gradient(circle 260px at 10% 12%, #C040FF 0%, #C040FF 15%, transparent 60%),
    radial-gradient(circle 250px at 85% 85%, #FFB838 0%, #FFB838 15%, transparent 60%),
    radial-gradient(circle 200px at 12% 85%, #9060FF 0%, #9060FF 12%, transparent 58%),
    radial-gradient(circle 180px at 78% 10%, #8898FF 0%, #8898FF 12%, transparent 55%);
  filter: blur(56px);
}
.lp-note-tape {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 56px; height: 16px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(15,15,20,0.18);
}
.lp-note-fold {
  position: absolute; bottom: 0; right: 0;
  width: 20px; height: 20px;
  background: linear-gradient(135deg, transparent 50%, rgba(15,15,20,0.18) 50%);
}
.lp-note-content { position: relative; z-index: 2; }

/* Glassmorphic integrations plate — Phone/WhatsApp/IG/GCal/Gmail */
.lp-glass-plate {
  position: relative;
  margin: 38px auto 0; max-width: 720px;
  height: 220px;
}
.lp-glass-plate-inner {
  position: relative;
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.6), rgba(255,255,255,0.18) 40%, rgba(255,255,255,0.02) 70%),
    linear-gradient(160deg, rgba(180,200,255,0.45), rgba(255,180,220,0.4) 50%, rgba(255,220,140,0.4));
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 28px;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 24px 50px -22px rgba(15,15,20,0.35),
    inset 0 -10px 22px rgba(15,15,20,0.12),
    inset 0 10px 22px rgba(255,255,255,0.85);
  overflow: hidden;
}
.lp-int {
  position: absolute;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 14px;
  padding: 8px 12px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 22px -10px rgba(15,15,20,0.45);
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600;
  color: #0f0f14;
  white-space: nowrap;
}
.lp-int-ic {
  width: 26px; height: 26px; border-radius: 8px;
  background: #0f0f14; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.lp-int-ic .icon { width: 14px; height: 14px; }
.lp-glass-shine {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.45) 50%, transparent 65%);
  animation: lpGlassShine 6s linear infinite;
}
@keyframes lpGlassShine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* Section dividers — hidden */
.lp-grad-soft,
.lp-grad-soft-dark,
.lp-grad-cream,
.lp-grad-tofoot {
  display: none !important;
}

/* Auto slideshow — keep moving, no hover pause */
.lp-slider-auto .lp-slider-track { animation-play-state: running !important; }

/* TRY-IT-LIVE voice agent test */
.lp-try {
  background: #0d0d0f;
  color: #fff;
  padding: 60px 28px;
  position: relative;
}
.lp-try-head {
  text-align: center; max-width: 760px; margin: 0 auto 40px;
  font-family: 'Poppins', sans-serif;
}
.lp-try-head .eb {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
  margin-bottom: 14px;
}
.lp-try-head h2 {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.1;
  color: #fff; margin: 0 0 12px;
}
.lp-try-head h2 em { font-style: italic; color: #ffd97a; font-weight: 600; }
.lp-try-head p { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.55; }

.lp-try-card {
  max-width: 880px; margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(8px);
}
.lp-try-controls {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-bottom: 22px;
}
.lp-try-field {
  display: flex; flex-direction: column; gap: 6px;
  font-family: 'Poppins', sans-serif;
}
.lp-try-field span {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 1.2px;
}
.lp-try-field select {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 14px;
  padding: 10px 12px; border-radius: 10px;
  appearance: none;
}
.lp-try-stage {
  position: relative;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  height: 180px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.lp-try-wave {
  width: 100%; height: 90px;
}
.lp-try-status {
  margin-top: 12px;
  font-family: 'Poppins', sans-serif; font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-align: center;
}
.lp-try-status strong { color: #ffd97a; }
.lp-try-actions {
  display: flex; gap: 12px; justify-content: center; margin-top: 22px;
}
.lp-try-talk {
  background: #ffd97a; color: #0f0f14;
  border: none; padding: 14px 28px; border-radius: 999px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; box-shadow: 0 12px 28px -10px rgba(255,217,122,0.55);
  transition: transform .15s, box-shadow .15s;
}
.lp-try-talk:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(255,217,122,0.7); }
.lp-try-talk.live { background: #ff5868; color: #fff; box-shadow: 0 12px 28px -10px rgba(255,88,104,0.55); }
.lp-try-talk-dot {
  width: 10px; height: 10px; border-radius: 50%; background: currentColor;
  animation: lpTryPulse 1.2s ease-in-out infinite;
}
@keyframes lpTryPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.7); } }
.lp-try-secondary {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 14px 22px; border-radius: 999px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.lp-try-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* Anime-style review track tip */
.lp-track-tip {
  position: absolute; top: 8px; right: 12px;
  font-family: 'Poppins', sans-serif; font-size: 11px;
  color: #6c6c75; background: #fff; border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 999px;
  z-index: 5;
}
.lp-review.paused { animation-play-state: paused; }

/* Q&A — gradient (no image) */
.lp-qna {
  position: relative;
  padding: 60px 28px;
  overflow: hidden;
}
.lp-qna-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 600px at 20% 20%, rgba(255,217,122,0.65), transparent 60%),
    radial-gradient(800px 600px at 80% 70%, rgba(207,225,255,0.7), transparent 60%),
    radial-gradient(700px 500px at 50% 90%, rgba(255,168,196,0.55), transparent 65%),
    linear-gradient(160deg, #fff8e4 0%, #fff 50%, #f0f4ff 100%);
}
.lp-qna-head {
  text-align: center; max-width: 760px; margin: 0 auto 40px;
  font-family: 'Poppins', sans-serif;
}
.lp-qna-head .eb {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: rgba(15,15,20,0.55); text-transform: uppercase;
  margin-bottom: 14px;
}
.lp-qna-head h2 {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.1;
  color: #0f0f14; margin: 0;
}
.lp-qna-head h2 em { font-style: italic; color: #c2410c; font-weight: 600; }

.lp-qna-list {
  max-width: 780px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.lp-qna-item {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(15,15,20,0.08);
  border-radius: 14px;
  padding: 18px 22px;
  backdrop-filter: blur(6px);
  font-family: 'Poppins', sans-serif;
  transition: border-color .15s, background .15s;
}
.lp-qna-item[open] { background: #fff; border-color: rgba(15,15,20,0.18); }
.lp-qna-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-size: 16px; font-weight: 600; color: #0f0f14;
  gap: 12px;
}
.lp-qna-item summary::-webkit-details-marker { display: none; }
.lp-qna-chev {
  font-size: 22px; font-weight: 400; color: rgba(15,15,20,0.5);
  transition: transform .2s;
  flex-shrink: 0;
}
.lp-qna-item[open] .lp-qna-chev { transform: rotate(45deg); }
.lp-qna-a {
  margin-top: 12px;
  font-size: 14.5px; line-height: 1.6; color: rgba(15,15,20,0.7);
}

/* Footer triangular white glow toward the Harkly AI wordmark + section shadows */
.lp-footer { position: relative; }
.lp-footer-light {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 35vw solid transparent;
  border-right: 35vw solid transparent;
  border-bottom: 70vh solid rgba(255,255,255,0.07);
  pointer-events: none;
  filter: blur(40px);
  z-index: 1;
}
.lp-footer-links, .lp-footer-bottom, .lp-bigword { position: relative; z-index: 2; }
.lp-footer { box-shadow: 0 -40px 60px -30px rgba(15,15,20,0.65) inset; }

/* Make calls 2-col responsive */
@media (max-width: 1100px) {
  .cl-layout-2 { grid-template-columns: 1fr; }
  .cl-left-tall { position: static; max-height: none; }
  .lp-notes-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    overflow-x: visible;
    padding: 0 10px 12px;
  }
  .lp-notes-row .lp-note { max-width: 100%; }
  .lp-note .lp-note-title { font-size: 14px; }
  .lp-note .lp-note-body  { font-size: 12.5px; }
  .lp-note-3d { padding: 14px 12px 16px; }
  .lp-note-arr { display: none; }
  .lp-try-controls { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .lp-notes-row .lp-note-title { font-size: 12px; }
  .lp-notes-row .lp-note-body  { font-size: 11px; }
  .lp-note-3d { padding: 10px 9px 12px; }
}
@media (max-width: 560px) {
  .lp-notes-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .lp-notes-row .lp-note-title { font-size: 14px; }
  .lp-notes-row .lp-note-body  { font-size: 12px; }
  .lp-note-3d { padding: 14px 12px 14px; }
}

/* ============================================================ */
/* v13 — call-popup notes, cleaner agent builder, floating 3D    */
/* glassmorphic integration cards on the landing page            */
/* ============================================================ */

/* --- Per-call note textarea inside the call popup --- */
.cl-pop-callnote {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  border: 1px solid rgba(15,15,20,0.14);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  color: #0f0f14;
  background: #fffef9;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 0 rgba(15,15,20,0.04);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.cl-pop-callnote:focus {
  border-color: rgba(15,15,20,0.32);
  box-shadow: 0 0 0 3px rgba(255,205,92,0.25);
}
.cl-pop-callnote-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; gap: 10px;
}
.cl-pop-callnote-status {
  font-family: 'Poppins', sans-serif; font-size: 12px;
  color: #16a34a; font-weight: 600;
}
.cl-pop-callnote-save {
  font-family: 'Poppins', sans-serif; font-size: 12.5px; font-weight: 600;
  background: #0f0f14; color: #fff; border: none;
  padding: 8px 14px; border-radius: 8px; cursor: pointer;
  box-shadow: 0 6px 14px -8px rgba(15,15,20,0.5);
  transition: transform .14s ease;
}
.cl-pop-callnote-save:hover { transform: translateY(-1px); }

/* --- Cleaner agent builder (no side palette, no tip text) --- */
.agb-toolbar-clean {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid rgba(15,15,20,0.08);
  border-radius: 14px;
  box-shadow: 0 6px 18px -10px rgba(15,15,20,0.18);
  margin-bottom: 14px;
}
.agb-toolbar-clean .agb-toolbar-left {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 600; color: #0f0f14;
}
.agb-toolbar-clean .agb-toolbar-right {
  display: flex; align-items: center; gap: 8px;
}
.agb-builder-clean {
  display: block;
}
.agb-builder-clean .agb-canvas-wrap {
  position: relative;
  width: 100%;
  height: calc(100vh - 220px);
  min-height: 520px;
  background:
    radial-gradient(circle at 25% 18%, rgba(120,140,255,0.06), transparent 55%),
    radial-gradient(circle at 78% 82%, rgba(255,180,80,0.05), transparent 60%),
    #fafaf7;
  border: 1px solid rgba(15,15,20,0.06);
  border-radius: 18px;
  overflow: auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 12px 30px -16px rgba(15,15,20,0.18);
  /* dotted grid background like Make.com */
  background-image:
    radial-gradient(circle, rgba(15,15,20,0.10) 1px, transparent 1px),
    radial-gradient(circle at 25% 18%, rgba(120,140,255,0.06), transparent 55%),
    radial-gradient(circle at 78% 82%, rgba(255,180,80,0.05), transparent 60%);
  background-size: 22px 22px, auto, auto;
  background-position: 0 0, 0 0, 0 0;
}
/* Mini orb menu — icon grid, no descriptive notes */
.agb-orb-menu-mini {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px;
  width: 240px;
}
.agb-orb-menu-item-mini {
  display: flex !important; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 6px;
  border: 1px solid rgba(15,15,20,0.08);
  border-radius: 10px;
  background: #fff;
  color: #0f0f14;
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600;
  cursor: pointer;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
.agb-orb-menu-item-mini:hover {
  transform: translateY(-2px);
  border-color: var(--ax, #0f0f14);
  background: rgba(255,255,255,1);
}
.agb-orb-menu-item-mini .agb-orb-menu-ic {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--ax, #0f0f14); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.agb-orb-menu-item-mini .agb-orb-menu-ic .icon { width: 16px; height: 16px; }
.agb-orb-menu-item-mini .agb-orb-menu-label {
  text-align: center; line-height: 1.2;
}

/* --- Floating 3D brand logos — hidden globally, shown only where explicitly needed --- */
.lp-floats { display: none !important; }

/* --- Floating 3D glassmorphic integration squares on landing (legacy) --- */
.lp-floats-legacy {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 4;
}
.lp-floats .lp-float {
  position: absolute;
  width: 110px; height: 110px;
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.85), rgba(255,255,255,0.25) 45%, rgba(255,255,255,0.05) 75%),
    linear-gradient(160deg, rgba(180,200,255,0.45), rgba(255,180,220,0.4) 60%, rgba(255,220,140,0.45));
  border: 1px solid rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 18px 36px -14px rgba(15,15,20,0.32),
    inset 0 -8px 18px rgba(15,15,20,0.10),
    inset 0 8px 18px rgba(255,255,255,0.85);
  pointer-events: auto;
  animation: lpFloatBob 6s ease-in-out infinite;
}
.lp-floats .lp-float::after {
  /* glossy highlight strip */
  content: '';
  position: absolute; left: 8%; right: 8%; top: 6%; height: 22%;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent);
  border-radius: 16px 16px 40% 40%;
  pointer-events: none;
}
.lp-floats .lp-float .lp-float-ic {
  position: relative; z-index: 2;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  font-size: 28px;
  filter: drop-shadow(0 4px 8px rgba(15,15,20,0.25));
}
.lp-floats .lp-float .lp-float-ic .icon { width: 34px; height: 34px; }

/* Per-card brand colors (for the inner ic chip) */
.lp-float[data-k="whatsapp"] .lp-float-ic { background: linear-gradient(160deg, #25d366, #128c7e); color:#fff; }
.lp-float[data-k="gcal"]     .lp-float-ic { background: linear-gradient(160deg, #fff, #eef2ff); color:#1a73e8; border:1px solid rgba(0,0,0,0.05); }
.lp-float[data-k="gmail"]    .lp-float-ic { background: linear-gradient(160deg, #fff, #ffeae6); color:#ea4335; border:1px solid rgba(0,0,0,0.05); }
.lp-float[data-k="phone"]    .lp-float-ic { background: linear-gradient(160deg, #0f0f14, #2a2a35); color:#ffd97a; }

/* Random positions/timings — unique per card */
.lp-floats .lp-float[data-k="whatsapp"] {
  top: 14%; left: 4%; transform: rotate(-8deg);
  animation-delay: -0.8s;
}
.lp-floats .lp-float[data-k="gcal"] {
  top: 9%; right: 5%; transform: rotate(6deg);
  animation-delay: -2.4s;
}
.lp-floats .lp-float[data-k="gmail"] {
  bottom: 10%; left: 7%; transform: rotate(4deg);
  animation-delay: -1.6s;
}
.lp-floats .lp-float[data-k="phone"] {
  bottom: 14%; right: 6%; transform: rotate(-6deg);
  animation-delay: -3.2s;
  perspective: 600px;
}
/* Phone backside flip — runs forever */
.lp-floats .lp-float[data-k="phone"] .lp-float-ic {
  transform-style: preserve-3d;
  animation: lpPhoneFlip 5.6s ease-in-out infinite;
}
@keyframes lpPhoneFlip {
  0%, 35%   { transform: rotateY(0deg); }
  50%, 85%  { transform: rotateY(180deg); }
  100%      { transform: rotateY(360deg); }
}
@keyframes lpFloatBob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* Hide floating cards on small screens to keep things tidy */
@media (max-width: 900px) {
  .lp-floats { display: none; }
}



/* ============================================================ */
/* v14 — single-line catchy title, REAL brand-logo floats,      */
/* animated auth-modal, drag-anywhere builder, ringing phone,   */
/* rapid page transitions                                       */
/* ============================================================ */

/* --- EXACTLY two horizontal lines, auto-fits the viewport --- */
.lp-title.lp-title-one {
  display: block;
  font-family: 'Nunito', 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3.2vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 10px auto 20px;
  max-width: 1280px;
  padding: 0 12px;
  text-align: center;
  position: relative;
}
.lp-title.lp-title-one::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 105%;
  height: 160%;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,
    rgba(56,189,248,0.28) 0%,
    rgba(99,210,255,0.16) 38%,
    rgba(147,219,253,0.06) 65%,
    transparent 100%);
  pointer-events: none;
  z-index: -1;
  filter: blur(20px);
}
.lp-title.lp-title-one .lp-title-line {
  display: block;
  white-space: nowrap;
}
.lp-title.lp-title-one em {
  font-style: italic; font-weight: 800;
  background: linear-gradient(120deg, #f59e0b 0%, #c2410c 50%, #9a3412 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.8;
}
.lp-title.lp-title-one .lp-title-line:last-child em {
  opacity: 0.85;
}
@media (max-width: 900px) {
  .lp-title.lp-title-one { font-size: clamp(18px, 4.2vw, 38px); }
}
@media (max-width: 600px) {
  .lp-title.lp-title-one .lp-title-line { white-space: normal; }
  .lp-title.lp-title-one { font-size: clamp(18px, 6.2vw, 30px); line-height: 1.18; }
}

/* Spacious hero — notes sit comfortably below the CTA */
.lp-hero-inner { padding: 96px 24px 28px; }
.lp-notes-row { margin: 56px auto 28px; }

/* Animated gradient halo behind the notes row */
@keyframes lpNotesHalo {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.lp-notes-row::before {
  content: '';
  position: absolute;
  inset: -50px -50px;
  border-radius: 60px;
  background: linear-gradient(270deg,
    rgba(245,160,216,0.20),
    rgba(196,210,255,0.18),
    rgba(200,220,255,0.20),
    rgba(212,190,255,0.18),
    rgba(245,160,216,0.20)
  );
  background-size: 400% 400%;
  animation: lpNotesHalo 9s ease infinite;
  pointer-events: none;
  z-index: -1;
  filter: blur(24px);
}
/* Hide the redundant integrations plate — the corner brand floats already convey this */
.lp-glass-plate { display: none; }
@media (max-width: 880px) {
  .lp-hero-inner { padding: 110px 16px 32px; }
}

/* --- Real brand floats: transparent glass, no white background --- */
.lp-floats .lp-float-brand {
  width: 120px !important; height: 120px !important;
  background:
    linear-gradient(155deg,
      rgba(255,255,255,0.18) 0%,
      rgba(255,255,255,0.07) 55%,
      rgba(220,225,255,0.04) 100%
    ) !important;
  border-top:    1px solid rgba(255,255,255,0.82) !important;
  border-left:   1px solid rgba(255,255,255,0.70) !important;
  border-right:  1px solid rgba(180,195,220,0.20) !important;
  border-bottom: 1px solid rgba(180,195,220,0.20) !important;
  backdrop-filter: blur(40px) saturate(2.8) brightness(1.05) !important;
  -webkit-backdrop-filter: blur(40px) saturate(2.8) brightness(1.05) !important;
  box-shadow:
    0 24px 44px -12px rgba(15,15,20,0.18),
    0 6px 16px  -4px  rgba(15,15,20,0.08),
    inset 0 1px 0 rgba(255,255,255,0.90),
    inset 1px 0 0 rgba(255,255,255,0.55) !important;
  border-radius: 28px;
  padding: 14px;
  z-index: 6;
}
.lp-floats .lp-float-brand::after { display: none; }
.lp-floats .lp-float-brand svg {
  width: 88px; height: 88px;
  filter: drop-shadow(0 6px 12px rgba(15,15,20,0.18));
  display: block;
}
/* Pull floats behind the notes row, 2 on each side — closer inward */
.lp-floats .lp-float[data-k="whatsapp"] { top: 460px; left: 40px;  transform: rotate(-9deg); }
.lp-floats .lp-float[data-k="gmail"]    { top: 640px; left: 40px;  transform: rotate(7deg); }
.lp-floats .lp-float[data-k="gcal"]     { top: 460px; right: 40px; transform: rotate(9deg); }
.lp-floats .lp-float[data-k="phone"]    { top: 640px; right: 40px; transform: rotate(-7deg); perspective: 600px; }
@media (max-width: 1280px) {
  .lp-floats .lp-float-brand { width: 96px !important; height: 96px !important; padding: 10px; }
  .lp-floats .lp-float-brand svg { width: 70px; height: 70px; }
  .lp-floats .lp-float[data-k="whatsapp"],
  .lp-floats .lp-float[data-k="gcal"]   { top: 430px; left: 20px; right: 20px; }
  .lp-floats .lp-float[data-k="gmail"],
  .lp-floats .lp-float[data-k="phone"]  { top: 590px; left: 20px; right: 20px; }
}
@media (max-width: 900px) {
  .lp-floats { display: none; }
}
/* Phone "ringing" curves animation (used in landing float + builder phone box) */
.ph-rings path {
  transform-origin: 0 100%;
  animation: phRing 1.6s ease-out infinite;
}
.ph-rings path:nth-child(1) { animation-delay: 0s; }
.ph-rings path:nth-child(2) { animation-delay: .25s; }
.ph-rings path:nth-child(3) { animation-delay: .5s; }
@keyframes phRing {
  0%   { opacity: 0; transform: scale(0.7); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.05); }
}

/* Brand integration chips on the glass plate */
.lp-int.lp-int-brand {
  background: rgba(255,255,255,0.96);
  padding: 6px 12px 6px 6px;
  gap: 10px;
}
.lp-int-ic-brand {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.lp-int-ic-brand svg { width: 26px; height: 26px; display: block; }

/* --- Voice tester: tag chip --- */
.lp-try-lang-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: #ffd97a; background: rgba(255,217,122,0.12);
  border: 1px solid rgba(255,217,122,0.4);
  padding: 3px 9px; border-radius: 999px;
  margin-bottom: 6px;
}

/* --- Animated auth-modal: light gradient + animated mesh + soft blobs --- */
.auth-modal-backdrop-light {
  background: linear-gradient(135deg, #f4f1ff 0%, #fef9f0 35%, #e8f4ff 65%, #f5fff4 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden;
}
.auth-modal-backdrop-light .auth-modal {
  position: relative; z-index: 5;
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.85) !important;
  box-shadow: 0 32px 80px -20px rgba(15,15,20,0.14), 0 8px 24px -8px rgba(15,15,20,0.08) !important;
  color: #0d0d0f !important;
}
.auth-modal-backdrop-light .auth-modal h2,
.auth-modal-backdrop-light #m-title { color: #0d0d0f !important; }
.auth-modal-backdrop-light .modal-sub { color: rgba(15,15,20,0.62) !important; }
.auth-modal-backdrop-light p.text-xs { color: rgba(15,15,20,0.45) !important; }
.auth-modal-backdrop-light .auth-modal .auth-tabs { background: rgba(15,15,20,0.05); }
.auth-modal-backdrop-light .auth-modal .auth-tabs button { color: rgba(15,15,20,0.6); }
.auth-modal-backdrop-light .auth-modal .auth-tabs button.active { color: #0d0d0f; }
.auth-mesh {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(to right, rgba(15,15,20,0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,15,20,0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: authMeshMove 3s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, #000 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 80% 80% at center, #000 30%, transparent 90%);
}
@keyframes authMeshMove {
  0%   { background-position: 0 0; }
  100% { background-position: 0 44px; }
}
.auth-bg-blob {
  position: absolute; z-index: 2; pointer-events: none;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  will-change: transform;
}
.auth-bg-blob-a {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,205,92,0.7), transparent 60%);
  top: -160px; left: -140px;
  animation: authBlobA 14s ease-in-out infinite;
}
.auth-bg-blob-b {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(99,102,241,0.5), transparent 60%);
  bottom: -160px; right: -130px;
  animation: authBlobB 18s ease-in-out infinite;
}
.auth-bg-blob-c {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(34,197,94,0.45), transparent 60%);
  top: 35%; left: 60%;
  animation: authBlobC 12s ease-in-out infinite;
}
@keyframes authBlobA {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(90px, 70px) scale(1.2); }
}
@keyframes authBlobB {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-80px,-60px) scale(1.15); }
}
@keyframes authBlobC {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50%     { transform: translate(-30%,-65%) scale(1.25); }
}
.auth-modal-pop {
  animation: authPop 320ms cubic-bezier(.2,1.05,.4,1.05);
}
@keyframes authPop {
  0%   { opacity: 0; transform: translateY(18px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0)    scale(1); }
}

/* --- Builder: brand icons in box headers --- */
.agb-box-icon-brand {
  background: transparent !important;
  border: none !important;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.agb-box-icon-brand svg { width: 28px; height: 28px; display: block; }

/* Box draggable everywhere — give a clear "grab" cursor */
.agb-box { cursor: grab; }
.agb-box.is-dragging { cursor: grabbing; user-select: none; }
.agb-box input,
.agb-box textarea,
.agb-box select,
.agb-box button,
.agb-box label { cursor: auto; }
.agb-box .agb-handle { cursor: crosshair; }

/* Phone-box ringing curves — animated */
.agb-phone-rings {
  position: absolute; top: 8px; right: 12px;
  width: 40px; height: 24px;
  pointer-events: none;
}
.agb-phone-rings span {
  position: absolute; right: 0; top: 50%;
  width: 16px; height: 16px;
  border: 2px solid #0d6efd;
  border-radius: 50%;
  border-color: #0d6efd transparent transparent transparent;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  animation: agbRing 1.6s ease-out infinite;
}
.agb-phone-rings span:nth-child(1) { animation-delay: 0s;   width: 10px; height: 10px; }
.agb-phone-rings span:nth-child(2) { animation-delay: .25s; width: 18px; height: 18px; }
.agb-phone-rings span:nth-child(3) { animation-delay: .5s;  width: 26px; height: 26px; }
@keyframes agbRing {
  0%   { opacity: 0; transform: translateY(-50%) rotate(45deg) scale(0.6); }
  35%  { opacity: 0.95; }
  100% { opacity: 0; transform: translateY(-50%) rotate(45deg) scale(1.1); }
}

/* Builder hint line under inputs */
.agb-hint {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; color: rgba(15,15,20,0.5);
  margin-top: 4px; line-height: 1.35;
}
.agb-cal-status.is-linked { color: #16a34a; font-weight: 600; }

/* --- Rapid page transitions --- */
.page, .landing {
  animation: pageEnter 220ms cubic-bezier(.22,.95,.35,1.02);
}
@keyframes pageEnter {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================ */
/* v15 — bigger title, bolder brand floats, engaging builder    */
/* ============================================================ */

/* Builder: clearer field labels, bigger brand chips, taller boxes */
.agb-flabel {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15,15,20,0.55);
  margin: 6px 0 3px;
}
.agb-box .agb-inline {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  padding: 6px 9px;
  font-size: 12.5px;
  border: 1px solid rgba(15,15,20,0.14);
  border-radius: 8px;
  background: #fffef9;
  color: #0f0f14;
  outline: none;
  transition: border-color .14s, box-shadow .14s;
}
.agb-box .agb-inline:focus {
  border-color: rgba(15,15,20,0.4);
  box-shadow: 0 0 0 3px rgba(255,205,92,0.22);
}
.agb-box select.agb-inline {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #0f0f14 50%),
                    linear-gradient(135deg, #0f0f14 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.agb-box .agb-textarea { min-height: 70px; resize: vertical; line-height: 1.35; }

/* Bigger header brand icon */
.agb-box .agb-box-icon-brand {
  width: 34px; height: 34px;
}
.agb-box .agb-box-icon-brand svg { width: 30px; height: 30px; }

/* Box overall: a touch more padding, a clear soft shadow */
.agb-box {
  background: #fff;
  border: 1px solid rgba(15,15,20,0.08);
  border-radius: 14px;
  box-shadow: 0 14px 30px -16px rgba(15,15,20,0.22), 0 2px 6px rgba(15,15,20,0.05);
  padding: 0;
  overflow: hidden;
}
.agb-box .agb-box-head {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(15,15,20,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,0.7));
}
.agb-box .agb-box-title {
  flex: 1; min-width: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 700; color: #0f0f14;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.agb-box .agb-box-x {
  border: none; background: transparent;
  font-size: 18px; line-height: 1; color: rgba(15,15,20,0.45);
  cursor: pointer; padding: 0 4px; border-radius: 4px;
}
.agb-box .agb-box-x:hover { color: #ef4444; background: rgba(239,68,68,0.08); }
.agb-box .agb-box-body { padding: 8px 10px 10px; }

/* Hover lift to telegraph "draggable" */
.agb-box:hover {
  box-shadow: 0 18px 38px -14px rgba(15,15,20,0.28), 0 3px 8px rgba(15,15,20,0.06);
  transform: translateY(-1px);
}
.agb-box.is-dragging {
  box-shadow: 0 24px 48px -12px rgba(15,15,20,0.45), 0 0 0 3px rgba(245,158,11,0.35);
  transform: scale(1.02);
}

/* Orb menu — show real brand SVGs instead of flat icons */
.agb-orb-menu-ic-brand {
  width: 34px; height: 34px;
  background: transparent !important;
  display: flex; align-items: center; justify-content: center;
}
.agb-orb-menu-ic-brand svg {
  width: 30px; height: 30px;
  filter: drop-shadow(0 3px 5px rgba(15,15,20,0.15));
}
.agb-orb-menu-mini { width: 280px; }

/* Upload icon inside the file label */
.agb-upload-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
}
.agb-upload-ic svg { width: 26px; height: 26px; }

/* Updated pricing: trial subline */
.lp-billing-head p { font-size: 14px; color: rgba(26,24,37,0.60) !important; }
.lp-billing-head p strong { color: #9a6100 !important; }

/* ============================================================ */
/* v16 — first-time builder tutorial                            */
/* ============================================================ */
.agb-tut-overlay {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
}
.agb-tut-mask {
  position: absolute; inset: 0;
  background: rgba(15,15,20,0.55);
  pointer-events: auto;
  animation: agbTutFade .25s ease;
}
@keyframes agbTutFade { from { opacity: 0; } to { opacity: 1; } }
.agb-tut-spot {
  position: absolute;
  border-radius: 16px;
  box-shadow:
    0 0 0 9999px rgba(15,15,20,0.55),
    0 0 0 3px rgba(245,158,11,0.95),
    0 0 24px 6px rgba(245,158,11,0.45);
  background: transparent;
  pointer-events: none;
  transition: all .28s cubic-bezier(.2,.95,.35,1);
  z-index: 2;
}
.agb-tut-arrow {
  position: absolute;
  width: 28px; height: 28px;
  background: #f59e0b;
  clip-path: polygon(0 50%, 100% 0, 75% 50%, 100% 100%);
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(245,158,11,0.4));
  animation: agbTutBob 1.1s ease-in-out infinite;
}
@keyframes agbTutBob {
  0%,100% { translate: 0 0; }
  50%     { translate: -4px 0; }
}
.agb-tut-card {
  position: absolute;
  width: 330px;
  background: rgba(10,15,38,0.76);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(99,102,241,0.2),
    0 28px 60px rgba(0,0,0,0.72),
    0 0 50px -16px rgba(99,102,241,0.3),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.3);
  padding: 20px 20px 16px;
  font-family: 'Poppins', sans-serif;
  color: #f1f5f9;
  pointer-events: auto;
  z-index: 4;
  animation: agbTutPop .28s cubic-bezier(.2,1.05,.4,1.05);
  overflow: hidden;
}
.agb-tut-card::before {
  content: '';
  position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.65), rgba(139,92,246,0.55), transparent);
  border-radius: 99px; pointer-events: none;
}
@keyframes agbTutPop {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.agb-tut-step {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 6px;
}
.agb-tut-title {
  font-size: 16px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 7px;
  line-height: 1.3;
}
.agb-tut-body {
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
  margin-bottom: 16px;
}
.agb-tut-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.agb-tut-skip {
  background: transparent;
  border: none;
  color: #475569;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 4px;
  text-decoration: underline;
  transition: color 130ms;
}
.agb-tut-skip:hover { color: #94a3b8; }
.agb-tut-nav { display: flex; gap: 8px; }
.agb-tut-back, .agb-tut-next {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #cbd5e1;
  cursor: pointer;
  transition: transform .12s, background .12s, border-color .12s;
}
.agb-tut-back:disabled { opacity: 0.35; cursor: not-allowed; }
.agb-tut-back:not(:disabled):hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.agb-tut-next {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}
.agb-tut-next:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(99,102,241,0.45); }

/* Plus button visual state when menu is open */
.agb-orb-plus.is-open {
  transform: rotate(45deg);
  background: #f59e0b;
  color: #fff;
}

/* ============================================================ */
/* Dashboard Preview Section                                     */
/* ============================================================ */
#dash-preview { overflow: hidden; }
.dash-prev-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.dash-prev-play {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: #0f0f14; color: #fafaf7;
  border: none; border-radius: 999px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: transform .12s, background .12s;
  white-space: nowrap; flex-shrink: 0;
}
.dash-prev-play:hover { transform: translateY(-1px); }
.dash-prev-play.playing { background: var(--danger); }
.dash-prev-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  animation: prevDotPulse 1.4s ease-in-out infinite;
}
.dash-prev-play.playing .dash-prev-dot { background: #fff; animation: none; }
@keyframes prevDotPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.75); }
}
.dash-prev-body {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 0;
}
@media (max-width: 768px) {
  .dash-prev-body { grid-template-columns: 1fr; }
}
.dash-prev-wave-wrap {
  padding: 20px;
  display: flex; align-items: center;
  border-right: 1px solid var(--border);
  min-height: 120px;
}
@media (max-width: 768px) {
  .dash-prev-wave-wrap { border-right: none; border-bottom: 1px solid var(--border); }
}
.dash-prev-wave {
  display: block; width: 100%; height: 90px;
}
.dash-prev-controls {
  padding: 14px 16px;
  overflow-y: auto;
  max-height: 280px;
}
.dash-prev-section-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted); margin-bottom: 8px;
}
.dash-prev-lang-count { font-weight: 400; letter-spacing: 0; text-transform: none; }
.dash-prev-voices {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px;
}
.dash-prev-voice {
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent; cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
  text-align: left;
}
.dash-prev-voice.active {
  background: #0f0f14; border-color: #0f0f14; color: #fafaf7;
}
.dash-prev-voice-name { font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.dash-prev-voice-sub { font-size: 10.5px; color: var(--muted); }
.dash-prev-voice.active .dash-prev-voice-sub { color: rgba(250,250,247,0.6); }
.dash-prev-langs {
  display: flex; flex-direction: column; gap: 2px;
  max-height: 170px; overflow-y: auto;
  padding-right: 4px;
}
.dash-prev-lang {
  padding: 5px 10px;
  border: none; background: transparent; cursor: pointer;
  text-align: left; font-size: 12px; color: var(--text);
  border-radius: 6px;
  transition: background .1s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-prev-lang:hover { background: rgba(15,15,20,0.04); }
.dash-prev-lang.active {
  background: rgba(255,205,92,0.22);
  font-weight: 600;
  color: #7a5200;
}

/* ============================================================ */
/* Anime-style sticky note popup (Calls section)                */
/* ============================================================ */
:root {
  --anime-c-green:  #22c55e;
  --anime-c-amber:  #f59e0b;
  --anime-c-pink:   #ec4899;
  --anime-c-blue:   #3b82f6;
  --anime-c-violet: #8b5cf6;
}
.cl-anime-note {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(460px, 96vw);
  background: rgba(255, 253, 244, 0.88);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 18px;
  box-shadow: 0 24px 80px -12px rgba(15,15,20,0.28), 0 4px 20px rgba(15,15,20,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  z-index: 110;
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: animeNoteIn 260ms cubic-bezier(.2,1.1,.4,1.1);
}
@keyframes animeNoteIn {
  0%   { opacity: 0; transform: translate(-50%,-48%) scale(0.93); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cl-anime-note-header {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px 11px;
  background: var(--note-accent, #22c55e);
  position: relative;
}
.cl-anime-note-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  flex-shrink: 0;
}
.cl-anime-note-date {
  flex: 1; font-size: 13px; font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.cl-anime-note-close {
  background: rgba(255,255,255,0.25); border: none;
  border-radius: 50%; width: 24px; height: 24px;
  font-size: 14px; line-height: 1; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .12s;
}
.cl-anime-note-close:hover { background: rgba(255,255,255,0.45); }
.cl-anime-note-bookings-label {
  padding: 10px 16px 4px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--muted);
}
.cl-anime-note-bookings {
  padding: 0 12px 6px;
  display: flex; flex-direction: column; gap: 4px;
  max-height: 180px; overflow-y: auto;
}
.cl-anime-booking {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: rgba(15,15,20,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: background .12s;
}
.cl-anime-booking:hover { background: rgba(15,15,20,0.06); }
.cl-anime-booking-time {
  font-size: 11px; font-weight: 700; color: var(--note-accent, #22c55e);
  min-width: 40px;
}
.cl-anime-booking-info { flex: 1; min-width: 0; }
.cl-anime-booking-who { font-size: 13px; font-weight: 600; }
.cl-anime-booking-what { font-size: 11px; color: var(--muted); }
.cl-anime-booking-open {
  background: transparent; border: 1px solid var(--border-strong);
  border-radius: 6px; padding: 3px 8px;
  font-size: 12px; cursor: pointer; color: var(--muted);
  transition: background .12s, color .12s;
}
.cl-anime-booking-open:hover { background: #0f0f14; color: #fff; border-color: #0f0f14; }
.cl-anime-note-textarea-wrap { padding: 10px 14px 6px; }
.cl-anime-note-textarea {
  width: 100%; min-height: 90px; max-height: 180px;
  resize: vertical;
  padding: 10px 12px;
  border: 1px solid rgba(15,15,20,0.12);
  border-radius: 8px;
  background: #fffef9;
  font-size: 13px; line-height: 1.5;
  color: #0f0f14;
  font-family: inherit;
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.cl-anime-note-textarea:focus {
  border-color: var(--note-accent, #22c55e);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}
.cl-anime-note-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px 12px;
  gap: 10px;
}
.cl-anime-note-colors { display: flex; gap: 6px; align-items: center; }
.cl-anime-color {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s, border-color .12s;
}
.cl-anime-color.sel { transform: scale(1.2); border-color: rgba(15,15,20,0.3); }
.cl-anime-c-green  { background: var(--anime-c-green);  }
.cl-anime-c-amber  { background: var(--anime-c-amber);  }
.cl-anime-c-pink   { background: var(--anime-c-pink);   }
.cl-anime-c-blue   { background: var(--anime-c-blue);   }
.cl-anime-c-violet { background: var(--anime-c-violet); }
.cl-anime-note-actions { display: flex; gap: 8px; }
.cl-anime-save, .cl-anime-del {
  padding: 6px 16px;
  border-radius: 7px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: background .12s, transform .1s;
  border: none;
}
.cl-anime-save { background: #0f0f14; color: #fafaf7; }
.cl-anime-save:hover { transform: translateY(-1px); }
.cl-anime-del { background: rgba(220,38,38,0.08); color: #dc2626; }
.cl-anime-del:hover { background: rgba(220,38,38,0.15); }

/* ============================================================ */
/* Mobile responsive improvements                               */
/* ============================================================ */
@media (max-width: 768px) {
  .shell-header { padding: 10px 14px; }
  .shell-title { font-size: 16px; }
  .shell-sub { display: none; }
  .page { padding: 12px 10px 80px; }
  .card { padding: 14px 12px !important; }
  .grid-cols-4 { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .grid.dash-grid,
  .grid[style*="1.7fr"] { grid-template-columns: 1fr !important; }
  .grid[style*="1.4fr"] { grid-template-columns: 1fr !important; }
  .grid-cols-3 { grid-template-columns: 1fr !important; }
  .grid-cols-2 { grid-template-columns: 1fr !important; }
  .mobile-tabs { display: flex; }
  .sidenav { display: none; }
  .shell { margin-left: 0 !important; }
  .btn-lg { padding: 11px 18px; font-size: 14px; }
  .flow-shell { grid-template-columns: 1fr !important; height: auto; }
  .flow-palette { display: none; }
  .flow-inspector { display: none; }
  .agb-shell { height: calc(100vh - 60px); }
  .lp-hero { padding: 60px 18px 40px; }
  .lp-hero-title { font-size: clamp(30px, 8vw, 52px); }
  .lp-nav { padding: 14px 16px; }
  .lp-nav-links { display: none; }
  .lp-review-belt { gap: 10px; }
  .lp-review { min-width: 260px; padding: 16px; }
  .auth-modal { max-width: 96vw; padding: 24px 18px; }
  .auth-tabs button { font-size: 13px; padding: 9px 12px; }
  .subtabs { gap: 4px; overflow-x: auto; }
  .subtab { padding: 7px 10px; font-size: 12px; white-space: nowrap; }
  #dash-preview .dash-prev-body { grid-template-columns: 1fr; }
  .dash-prev-controls { max-height: none; }
  .test-chat { min-height: 200px; }
}

/* ── Multi-note calendar popup list ─────────────────────────── */
.cl-anime-note-section-label {
  padding: 10px 16px 4px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--muted);
}
.cl-notes-count { font-weight: 400; text-transform: none; letter-spacing: 0; }
.cl-note-list {
  padding: 0 12px 2px;
  display: flex; flex-direction: column; gap: 5px;
  max-height: 160px; overflow-y: auto;
}
.cl-note-empty {
  font-size: 12px; color: var(--muted); font-style: italic;
  padding: 8px 4px;
}
.cl-note-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px 10px;
  background: rgba(15,15,20,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: background .12s;
}
.cl-note-item:hover { background: rgba(15,15,20,0.06); }
.cl-note-item-dot {
  width: 9px; height: 9px; border-radius: 50%;
  flex-shrink: 0; margin-top: 3px;
}
.cl-note-item-text {
  flex: 1; font-size: 12.5px; line-height: 1.5; color: #0f0f14;
  word-break: break-word;
}
.cl-note-item-del {
  background: none; border: none; cursor: pointer;
  color: rgba(15,15,20,0.3); font-size: 16px; line-height: 1;
  padding: 0 2px; flex-shrink: 0; transition: color .12s;
}
.cl-note-item-del:hover { color: #dc2626; }
.cl-anime-add-form { padding: 6px 12px 4px; border-top: 1px solid var(--border); }
.cl-bigcal-note-plus {
  font-size: 9px; font-weight: 700; opacity: 0.7;
  margin-left: 2px;
}

/* ============================================================ */
/* Agent history sidebar layout                                  */
/* ============================================================ */
.agb-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: calc(100vh - 130px);
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.agb-history-sidebar {
  background: var(--panel);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.agb-history-head {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 14px 10px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.agb-history-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  font-size: 13px; font-weight: 500; color: var(--text);
  background: transparent; border: none; cursor: pointer;
  text-align: left; width: 100%;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
  position: relative;
}
.agb-history-item:hover { background: rgba(15,15,20,0.04); }
.agb-history-item.active {
  background: rgba(99,102,241,0.07);
  color: var(--primary);
}
.agb-history-item.active::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--primary);
  border-radius: 0 2px 2px 0;
}
.agb-history-name {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.agb-history-live {
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  background: var(--success); color: #fff;
  padding: 2px 5px; border-radius: 4px; letter-spacing: 0.04em;
}
.agb-history-new {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-size: 12.5px; font-weight: 600; color: var(--primary);
  background: transparent; border: none; cursor: pointer;
  text-align: left; width: 100%;
  margin-top: auto;
  border-top: 1px solid var(--border);
  transition: background .12s;
}
.agb-history-new:hover { background: rgba(99,102,241,0.06); }

/* ============================================================ */
/* Language chip grid in agentinfo card                          */
/* ============================================================ */
.agb-lang-grid {
  display: flex; flex-wrap: wrap; gap: 4px;
  max-height: 90px; overflow-y: auto;
  padding: 2px 0 4px;
}
.agb-lang-chip {
  padding: 3px 7px;
  border-radius: 20px; border: 1px solid var(--border-strong);
  background: transparent; color: var(--muted);
  font-size: 10.5px; font-weight: 500; cursor: pointer;
  transition: background .12s, color .12s, border-color .12s;
  white-space: nowrap;
}
.agb-lang-chip:hover {
  background: rgba(99,102,241,0.08);
  border-color: var(--primary);
  color: var(--primary);
}
.agb-lang-chip.sel {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ============================================================ */
/* Preview page                                                  */
/* ============================================================ */
.prev-page {
  display: flex; flex-direction: column; gap: 24px;
}
.prev-stage {
  background: #0a0a0f;
  border-radius: 16px;
  padding: 36px 28px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.prev-stage::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(99,102,241,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.prev-wave-wrap {
  width: 100%; max-width: 520px;
  height: 110px;
  position: relative;
}
.prev-wave-canvas {
  width: 100%; height: 100%;
  border-radius: 10px;
}
.prev-agent-badge {
  display: flex; align-items: center; gap: 14px;
  color: #fff;
}
.prev-agent-orb {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.3), 0 0 20px rgba(99,102,241,0.4);
  flex-shrink: 0;
}
.prev-agent-name {
  font-size: 18px; font-weight: 700; color: #f0f0ff;
}
.prev-agent-role {
  font-size: 13px; color: rgba(240,240,255,0.55); margin-top: 2px;
}
.prev-play-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 28px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none; border-radius: 40px;
  color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(99,102,241,0.45);
  transition: transform .15s, box-shadow .15s;
  position: relative; z-index: 1;
}
.prev-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.55);
}
.prev-play-btn:active { transform: scale(0.97); }
.prev-play-icon { width: 18px; height: 18px; }
.prev-controls {
  display: flex; flex-direction: column; gap: 20px;
}
.prev-ctrl-group {}
.prev-ctrl-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted);
  margin-bottom: 8px;
}
.prev-lang-count { font-weight: 400; text-transform: none; letter-spacing: 0; }
.prev-ctrl-row {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.prev-lang-row { max-height: 120px; overflow-y: auto; }
.prev-chip {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 13px;
  border-radius: 22px; border: 1.5px solid var(--border-strong);
  background: var(--panel); color: var(--text);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
  white-space: nowrap;
}
.prev-chip:hover {
  border-color: var(--primary);
  background: rgba(99,102,241,0.06);
  color: var(--primary);
}
.prev-chip.sel {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.prev-chip-sub {
  font-size: 11px; opacity: 0.7; font-weight: 400;
}

@media (max-width: 768px) {
  .agb-layout { grid-template-columns: 1fr; height: auto; }
  .agb-history-sidebar { border-right: none; border-bottom: 1px solid var(--border); max-height: 180px; flex-direction: row; flex-wrap: wrap; overflow-x: auto; }
  .agb-history-head { width: 100%; border-bottom: 1px solid var(--border); }
  .agb-history-item { width: auto; min-width: 120px; border-bottom: none; border-right: 1px solid var(--border); }
  .agb-history-new { margin-top: 0; width: auto; }
  .prev-stage { padding: 24px 16px 22px; min-height: 220px; }
}

/* ═══════════════════════════════════════════════════
   LANDING PAGE — CTA Logo chips
═══════════════════════════════════════════════════ */
.lp-cta-logos {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px; flex-wrap: wrap;
}
.lp-cta-logos-label {
  font-size: 11px; color: rgba(255,255,255,0.55); font-weight: 500;
  letter-spacing: .4px; margin-right: 4px;
}
.lp-cta-logo-chip {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 150ms, transform 150ms, border-color 150ms;
  cursor: default;
}
.lp-cta-logo-chip:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.38);
  transform: translateY(-2px) scale(1.08);
}
.lp-cta-logo-chip svg { width: 20px; height: 20px; }

/* ═══════════════════════════════════════════════════
   AGENT BUILDER — New mesh canvas + glass panel
═══════════════════════════════════════════════════ */

/* Root layout */
.fb-shell {
  display: grid;
  grid-template-columns: 1fr 256px;
  gap: 0;
  height: calc(100vh - 128px);
  min-height: 520px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f2;
}

/* Canvas area */
.fb-canvas-area {
  display: flex; flex-direction: column;
  overflow: hidden;
}
.fb-canvas-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
  flex-shrink: 0; gap: 8px;
}
.fb-canvas-bar-title { font-size: 13px; font-weight: 600; color: var(--text); }

/* The canvas with infinite square mesh */
.fb-canvas {
  flex: 1; position: relative; overflow: hidden; cursor: default;
  /* Infinite square mesh */
  background-color: #f8f8f5;
  background-image:
    linear-gradient(rgba(99,102,241,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.10) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
}
.fb-canvas.fb-canvas-over {
  background-color: #f0f0ff;
  background-image:
    linear-gradient(rgba(99,102,241,.20) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.20) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Empty hint */
.fb-empty-hint {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: #9898a8; pointer-events: none;
  font-size: 14px; font-weight: 500;
}
.fb-hint-arrow {
  font-size: 28px; opacity: .5; animation: fb-hint-bob 1.8s ease-in-out infinite;
}
@keyframes fb-hint-bob {
  0%,100% { transform: translateX(0); }
  50% { transform: translateX(-8px); }
}

/* ── Glass panel (right side) ─────────────────────── */
.fb-glass-panel {
  border-left: 1px solid rgba(180,180,200,.35);
  background: linear-gradient(155deg,
    rgba(255,255,255,0.78) 0%,
    rgba(240,240,255,0.72) 40%,
    rgba(230,240,255,0.68) 100%
  );
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  overflow: hidden;
  position: relative;
  box-shadow: inset 1px 0 0 rgba(255,255,255,0.7);
}
.fb-glass-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.4) 0%, transparent 55%);
  pointer-events: none;
}
.fb-gp-scroll {
  height: 100%; overflow-y: auto; padding: 18px 14px 18px;
}
.fb-gp-scroll::-webkit-scrollbar { width: 4px; }
.fb-gp-scroll::-webkit-scrollbar-thumb { background: rgba(99,102,241,.18); border-radius: 3px; }
.fb-gp-head { margin-bottom: 16px; }
.fb-gp-title {
  font-size: 14px; font-weight: 700; color: #1a1a2e;
  letter-spacing: -.01em;
}
.fb-gp-sub { font-size: 11px; color: #7878a0; margin-top: 2px; }

/* Glass panel cards */
.fb-gpc {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 11px; border-radius: 12px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(180,180,220,.3);
  margin-bottom: 8px; cursor: grab;
  transition: background 130ms, transform 130ms, border-color 130ms, box-shadow 130ms;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.fb-gpc:hover {
  background: rgba(255,255,255,0.9);
  border-color: var(--cc, #6366f1);
  transform: translateX(-2px);
  box-shadow: 3px 2px 10px rgba(0,0,0,.08);
}
.fb-gpc:active { cursor: grabbing; transform: scale(0.97); }
.fb-gpc-icon {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fb-gpc-icon svg { width: 18px; height: 18px; }
.fb-gpc-label { flex: 1; font-size: 12.5px; font-weight: 600; color: #1a1a2e; }
.fb-gpc-drag {
  font-size: 10px; color: #aaa; font-weight: 500; letter-spacing: .3px;
  opacity: 0; transition: opacity 130ms;
}
.fb-gpc:hover .fb-gpc-drag { opacity: 1; }

/* ── Canvas cards ─────────────────────────────────── */
.fb-card {
  position: absolute;
  width: 236px;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(180,180,220,.4);
  border-radius: 14px;
  box-shadow: 0 4px 18px -6px rgba(0,0,0,.18), 0 1px 3px rgba(0,0,0,.06);
  backdrop-filter: blur(10px);
  overflow: visible;
  transition: box-shadow 130ms, border-color 130ms;
}
.fb-card:hover {
  box-shadow: 0 8px 28px -8px rgba(0,0,0,.22), 0 1px 4px rgba(0,0,0,.08);
  border-color: var(--cc, #6366f1);
}
.fb-card.fb-card-drag { box-shadow: 0 16px 40px -10px rgba(0,0,0,.28); opacity: .95; cursor: grabbing; }

.fb-card-head {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px 8px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  cursor: grab; border-radius: 14px 14px 0 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.9), rgba(255,255,255,.6));
}
.fb-card-ico {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fb-card-ico svg { width: 14px; height: 14px; }
.fb-card-name { flex: 1; font-size: 12px; font-weight: 700; color: #1a1a2e; }
.fb-card-x {
  width: 20px; height: 20px; border-radius: 50%; border: none;
  background: rgba(0,0,0,.06); color: #777; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1; font-weight: 300;
  transition: background 120ms, color 120ms;
  padding: 0;
}
.fb-card-x:hover { background: #fde8e8; color: #dc2626; }

.fb-card-body {
  padding: 8px 10px 10px;
  display: flex; flex-direction: column; gap: 5px;
}

/* Card inputs */
.fb-ci {
  width: 100%; padding: 6px 8px;
  border: 1px solid rgba(0,0,0,.10); border-radius: 8px;
  font-size: 11.5px; color: #1a1a2e;
  background: rgba(255,255,255,0.7);
  font-family: inherit; outline: none;
  transition: border-color 120ms, background 120ms;
  box-sizing: border-box;
}
.fb-ci:focus { border-color: var(--cc, #6366f1); background: #fff; }
.fb-ci::placeholder { color: #bbb; }

.fb-file-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: #6366f1; font-weight: 500; cursor: pointer;
  padding: 4px 6px; border-radius: 6px;
  background: rgba(99,102,241,.07); border: 1px solid rgba(99,102,241,.18);
  transition: background 120ms;
}
.fb-file-btn:hover { background: rgba(99,102,241,.14); }

/* Connection ports */
.fb-port {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--cc, #6366f1);
  border: 2.5px solid #fff;
  cursor: crosshair;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
  transition: transform 120ms, box-shadow 120ms;
  z-index: 10;
}
.fb-port:hover {
  transform: translateY(-50%) scale(1.35);
  box-shadow: 0 0 0 3px rgba(99,102,241,.25);
}
.fb-port-in { left: -7px; cursor: default; }
.fb-port-out { right: -7px; }

/* Bezier edges */
.fb-edge {
  fill: none;
  stroke: rgba(99,102,241,.65);
  stroke-width: 2;
  stroke-dasharray: 0;
  cursor: pointer;
  transition: stroke 120ms;
}
.fb-edge:hover { stroke: rgba(99,102,241,1); stroke-width: 2.5; }
.fb-edge-ghost { stroke: rgba(99,102,241,.35); stroke-dasharray: 6 4; pointer-events: none; }

/* ── Preview section ────────────────────────────── */
.fb-preview {
  position: relative; overflow: hidden;
  height: 170px; flex-shrink: 0;
  background: #0a0a14;
  border-radius: 0 0 16px 16px;
  display: flex; align-items: center;
  margin-top: 0; border: 1px solid #1a1a2e;
  border-top: none;
}
.fb-wave {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.fb-preview-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 320px; height: 120px;
  background: radial-gradient(ellipse at center,
    rgba(140,100,255,.22) 0%,
    transparent 70%);
  pointer-events: none;
}
.fb-preview-content {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  gap: 18px; padding: 0 22px;
  width: 100%;
}
.fb-preview-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  flex-shrink: 0; writing-mode: horizontal-tb;
  white-space: nowrap;
}
.fb-vpills {
  display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; flex-shrink: 0;
}
.fb-vpills::-webkit-scrollbar { display: none; }
.fb-vpill {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 5px 10px; border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer; white-space: nowrap;
  transition: background 130ms, border-color 130ms;
  gap: 1px;
}
.fb-vpill:hover { background: rgba(255,255,255,.13); }
.fb-vpill.active {
  background: rgba(140,100,255,.28);
  border-color: rgba(140,100,255,.55);
}
.fb-vpill-name { font-size: 11.5px; font-weight: 700; color: #fff; }
.fb-vpill-sub { font-size: 10px; color: rgba(255,255,255,.5); }

.fb-preview-controls {
  display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0;
}
.fb-lang-sel {
  padding: 6px 10px; border-radius: 9px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: 12px; font-family: inherit; outline: none;
  cursor: pointer;
}
.fb-lang-sel option { background: #1a1a2e; color: #fff; }
.fb-play {
  padding: 7px 16px; border-radius: 10px;
  background: rgba(140,100,255,.65);
  border: 1px solid rgba(140,100,255,.8);
  color: #fff; font-size: 12px; font-weight: 700; font-family: inherit;
  cursor: pointer; white-space: nowrap;
  transition: background 130ms, transform 130ms, box-shadow 130ms;
}
.fb-play:hover { background: rgba(140,100,255,.88); transform: scale(1.03); }
.fb-play:active { transform: scale(.97); }
.fb-play.playing {
  background: rgba(220,38,38,.75);
  border-color: rgba(220,38,38,.9);
}
.fb-play.playing:hover { background: rgba(220,38,38,.9); }
.fb-play.agent-speaking {
  box-shadow: 0 0 0 4px rgba(140,100,255,calc(0.18 + var(--vapi-vol, 0) * 0.5));
  animation: fb-speak-pulse 0.6s ease-in-out infinite alternate;
}
@keyframes fb-speak-pulse {
  from { box-shadow: 0 0 0 2px rgba(140,100,255,0.25); }
  to   { box-shadow: 0 0 0 7px rgba(140,100,255,0.08); }
}

/* ── Calendar: enhanced note squares ─────────────── */
.cl-bigcal-usernote {
  display: flex; align-items: center; gap: 5px;
  border-radius: 6px; padding: 3px 7px;
  font-size: 10.5px; font-weight: 600;
  cursor: pointer; transition: opacity 120ms, transform 120ms;
}
.cl-bigcal-usernote:hover { opacity: .85; transform: scale(1.02); }
.cl-bigcal-note-plus {
  margin-left: 2px; font-weight: 700; font-size: 10px; opacity: .8;
}

@media (max-width: 900px) {
  .fb-shell { grid-template-columns: 1fr; grid-template-rows: 1fr 220px; height: auto; min-height: 0; }
  .fb-glass-panel { border-left: none; border-top: 1px solid rgba(180,180,200,.35); }
  .fb-gp-scroll { padding: 12px; }
  .fb-gp-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .fb-gpc { margin-bottom: 0; }
  .fb-preview { height: 140px; border-radius: 0; }
  .fb-preview-content { gap: 10px; padding: 0 14px; flex-wrap: wrap; }
  .fb-vpills { max-width: 200px; }
}

/* ═══════════════════════════════════════════════════════════════
   AGENTS PAGE  — stats bar + card grid
═══════════════════════════════════════════════════════════════ */

/* Loading shimmer */
.ag-loading { display: flex; flex-direction: column; gap: 12px; }

/* --- Empty state ----------------------------------------- */
.ag-empty {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
}
.ag-empty-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 420px; gap: 0;
}
.ag-empty-orb {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff;
  box-shadow: 0 0 0 12px rgba(99,102,241,0.1), 0 8px 32px rgba(99,102,241,0.3);
  margin-bottom: 22px;
}
.ag-empty-h { margin: 0 0 10px; font-size: 24px; font-weight: 700; }
.ag-empty-p { color: var(--muted); margin: 0 0 24px; line-height: 1.6; font-size: 14px; }
.ag-empty-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin-top: 20px;
}
.ag-empty-chip {
  padding: 5px 12px; border-radius: 99px;
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2);
  font-size: 12px; font-weight: 500; color: #5254a3;
}

/* --- Stats row ------------------------------------------- */
.ag-stats-row {
  display: flex; gap: 12px; margin-bottom: 22px; flex-wrap: wrap;
}
.ag-stat {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow-card);
  flex: 1; min-width: 130px;
}
.ag-stat-ic {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ag-stat-ic .icon { width: 18px; height: 18px; }
.ag-stat-ic-indigo { background: rgba(99,102,241,0.12); color: #6366f1; }
.ag-stat-ic-green  { background: rgba(16,185,129,0.12); color: #10b981; }
.ag-stat-ic-amber  { background: rgba(245,158,11,0.12); color: #f59e0b; }
.ag-stat-ic-red    { background: rgba(220,38,38,0.12);  color: #dc2626; }
.ag-stat-val { font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.ag-stat-lbl { font-size: 12px; color: var(--muted); margin-top: 2px; font-weight: 500; }

/* --- Agent card grid ------------------------------------- */
.ag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.ag-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ag-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 36px -14px rgba(15,15,20,0.2);
  transform: translateY(-2px);
}

/* Card header */
.ag-card-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 16px 12px;
}
.ag-card-av {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
}
.ag-card-av-text { font-size: 14px; font-weight: 800; }
.ag-card-av-dot {
  position: absolute; bottom: -1px; right: -1px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #10b981; border: 2px solid var(--panel);
  animation: pulse 2s infinite;
}
.ag-card-id { flex: 1; min-width: 0; }
.ag-card-name {
  font-size: 14px; font-weight: 700; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ag-card-biz {
  font-size: 12px; color: var(--muted); margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ag-card-status {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 600;
  flex-shrink: 0;
}
.ag-status-live {
  background: rgba(16,185,129,0.12);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.25);
}
.ag-status-paused {
  background: rgba(15,15,20,0.06);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* Card metadata rows */
.ag-card-meta {
  padding: 0 16px 12px;
  display: flex; flex-direction: column; gap: 5px;
  border-bottom: 1px solid var(--border);
}
.ag-meta-row {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--muted);
}
.ag-meta-row .icon { width: 13px; height: 13px; flex-shrink: 0; color: var(--muted-2); }
.ag-meta-dim { opacity: 0.55; }

/* Calls bar */
.ag-card-calls-bar {
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.ag-calls-count { display: flex; align-items: baseline; gap: 5px; }
.ag-calls-num { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.ag-calls-lbl { font-size: 11px; color: var(--muted); font-weight: 500; }
.ag-calls-mini-dots { display: flex; gap: 3px; align-items: center; }
.ag-call-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  opacity: 0.6;
}

/* Action buttons */
.ag-card-actions {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  flex-wrap: wrap;
}
.ag-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer; font-family: inherit;
  transition: background .12s, border-color .12s, transform .1s;
  white-space: nowrap;
}
.ag-btn .icon { width: 13px; height: 13px; }
.ag-btn:hover { transform: translateY(-1px); }
.ag-btn-primary {
  background: var(--primary); color: #fff;
}
.ag-btn-primary:hover { background: var(--primary-hover); }
.ag-btn-ghost {
  background: rgba(15,15,20,0.04); color: var(--text);
  border-color: var(--border);
}
.ag-btn-ghost:hover { background: rgba(15,15,20,0.08); border-color: var(--border-strong); }
.ag-btn-success {
  background: rgba(16,185,129,0.1); color: #059669;
  border-color: rgba(16,185,129,0.3);
}
.ag-btn-success:hover { background: rgba(16,185,129,0.18); }
.ag-btn-warn {
  background: rgba(245,158,11,0.1); color: #b45309;
  border-color: rgba(245,158,11,0.3);
}
.ag-btn-warn:hover { background: rgba(245,158,11,0.18); }
.ag-btn-del {
  margin-left: auto;
  background: transparent; color: var(--muted);
  border-color: var(--border);
  padding: 6px 9px;
}
.ag-btn-del:hover { background: rgba(220,38,38,0.08); color: var(--danger); border-color: rgba(220,38,38,0.25); }

@media (max-width: 860px) {
  .ag-stats-row { gap: 8px; }
  .ag-stat { padding: 10px 14px; }
  .ag-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   CALLS PAGE — enhanced call cards + sidebar
═══════════════════════════════════════════════════════════════ */

/* Better call cards */
.cl-card {
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 150ms ease;
  position: relative;
}
.cl-card::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; border-radius: 12px 0 0 12px;
  background: var(--border-strong);
  transition: background .12s;
}
.cl-card:hover::after { background: var(--primary); }
.cl-card-urgent::after { background: var(--danger) !important; }
.cl-card-booked::after { background: var(--success) !important; }
.cl-card-handled::after { background: var(--accent) !important; }
.cl-card-num { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.cl-card-summary { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* Improve left sidebar agents */
.cl-agent-row {
  border-radius: 10px;
  transition: all .12s;
}
.cl-agent-row.selected {
  background: linear-gradient(135deg, rgba(255,205,92,0.15), rgba(255,205,92,0.08));
  border-color: rgba(255,205,92,0.5);
}

/* Improve toolbar */
.cl-toolbar {
  border-radius: 12px;
  background: var(--panel);
}

/* ═══════════════════════════════════════════════════════════════
   PREVIEW PAGE  — studio layout
═══════════════════════════════════════════════════════════════ */

.pv-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  min-height: calc(100vh - 130px);
}

/* LEFT: Controls */
.pv-controls {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: sticky; top: 90px;
  height: fit-content;
}
.pv-controls-inner {
  padding: 20px;
  display: flex; flex-direction: column; gap: 20px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.pv-section {}
.pv-section-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 10px;
}
.pv-section-label .icon { width: 13px; height: 13px; }

/* Agent list */
.pv-agent-list { display: flex; flex-direction: column; gap: 6px; }
.pv-agent-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 10px;
  background: rgba(15,15,20,0.03);
  border: 1.5px solid transparent;
  cursor: pointer; font-family: inherit;
  transition: all .12s; text-align: left; width: 100%;
}
.pv-agent-btn:hover { background: rgba(15,15,20,0.06); border-color: var(--border); }
.pv-agent-btn.sel {
  background: rgba(99,102,241,0.08);
  border-color: rgba(99,102,241,0.35);
}
.pv-agent-av {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg,#6366f1,#8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.pv-agent-info { flex: 1; min-width: 0; }
.pv-agent-name { font-size: 13px; font-weight: 600; color: var(--text); }
.pv-agent-sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
.pv-check { width: 14px !important; height: 14px !important; color: #6366f1; flex-shrink: 0; }

/* Voice grid */
.pv-voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}
.pv-voice-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 8px;
  border-radius: 12px;
  background: rgba(15,15,20,0.03);
  border: 1.5px solid transparent;
  cursor: pointer; font-family: inherit;
  transition: all .12s; text-align: center;
}
.pv-voice-card:hover { background: rgba(15,15,20,0.07); border-color: var(--border); }
.pv-voice-card.sel {
  background: rgba(99,102,241,0.09);
  border-color: rgba(99,102,241,0.4);
}
.pv-voice-emoji { font-size: 22px; margin-bottom: 5px; line-height: 1; }
.pv-voice-name { font-size: 12px; font-weight: 700; color: var(--text); }
.pv-voice-sub { font-size: 10.5px; color: var(--muted); margin-top: 2px; }

/* Language chips */
.pv-lang-count { font-weight: 400; text-transform: none; letter-spacing: 0; }
.pv-lang-wrap { display: flex; flex-wrap: wrap; gap: 5px; max-height: 130px; overflow-y: auto; }
.pv-lang-chip {
  padding: 5px 11px; border-radius: 99px;
  font-size: 12px; font-weight: 500;
  border: 1.5px solid var(--border);
  background: transparent; color: var(--muted);
  cursor: pointer; font-family: inherit;
  transition: all .12s; white-space: nowrap;
}
.pv-lang-chip:hover { border-color: var(--border-strong); color: var(--text); }
.pv-lang-chip.sel {
  background: var(--primary); border-color: var(--primary); color: #fff;
}

/* RIGHT: Stage */
.pv-stage {
  border-radius: 20px;
  background: #08090f;
  overflow: hidden;
  position: relative;
  display: flex; align-items: stretch;
  min-height: 500px;
}
.pv-stage-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(99,102,241,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(139,92,246,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.pv-stage-content {
  position: relative; z-index: 1;
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px; padding: 48px 32px;
}

/* Orb */
.pv-orb-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.pv-orb {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 0 40px rgba(99,102,241,0.5);
}
.pv-orb-text {
  font-size: 22px; font-weight: 900; color: #fff;
  position: relative; z-index: 2;
}
.pv-orb-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(99,102,241,0.35);
  animation: pvRingPulse 3s ease-out infinite;
}
.pv-orb-ring-1 { width: 130px; height: 130px; animation-delay: 0s; }
.pv-orb-ring-2 { width: 170px; height: 170px; animation-delay: 1s; }
.pv-orb-ring-3 { width: 210px; height: 210px; animation-delay: 2s; }
@keyframes pvRingPulse {
  0%   { opacity: 0.7; transform: scale(0.92); }
  60%  { opacity: 0.15; transform: scale(1.04); }
  100% { opacity: 0; transform: scale(1.06); }
}

/* Agent label */
.pv-agent-label { text-align: center; }
.pv-agt-name { font-size: 20px; font-weight: 700; color: #f0f0ff; }
.pv-agt-role { font-size: 13px; color: rgba(240,240,255,0.5); margin-top: 3px; }

/* Waveform */
.pv-wave { width: 100%; max-width: 440px; height: 70px; border-radius: 8px; }

/* Play button */
.pv-play-row {}
.pv-play {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 14px 34px; border-radius: 50px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none; color: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 28px rgba(99,102,241,0.45);
  transition: transform .15s, box-shadow .15s;
}
.pv-play:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(99,102,241,0.55); }
.pv-play:active { transform: scale(0.97); }
.pv-play-ic .icon { width: 18px; height: 18px; }

/* Status row */
.pv-status-row {
  display: flex; align-items: center; gap: 8px;
}
.pv-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(99,102,241,0.6);
}
.pv-status-txt { font-size: 12.5px; color: rgba(240,240,255,0.4); }

@media (max-width: 900px) {
  .pv-shell { grid-template-columns: 1fr; }
  .pv-controls { position: static; }
  .pv-stage { min-height: 380px; }
  .pv-stage-content { padding: 32px 20px; gap: 18px; }
  .pv-orb { width: 76px; height: 76px; }
  .pv-orb-text { font-size: 18px; }
  .pv-orb-ring-1 { width: 104px; height: 104px; }
  .pv-orb-ring-2 { width: 136px; height: 136px; }
  .pv-orb-ring-3 { width: 168px; height: 168px; }
  .pv-voice-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — logos inline beside CTA buttons (v25)
═══════════════════════════════════════════════════════════════ */
.lp-cta-mega-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-cta-logos-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.lp-cta-logos-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.22);
  border-radius: 1px;
  margin-right: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   CALENDAR — sticky note squares on dates (v25)
═══════════════════════════════════════════════════════════════ */
.cl-bigcal-sn {
  display: block;
  padding: 3px 5px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition: transform .1s, box-shadow .1s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 1px 2px 4px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.4);
  position: relative;
}
.cl-bigcal-sn::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(0,0,0,0.1);
  border-radius: 4px 4px 0 0;
}
.cl-bigcal-sn:hover {
  transform: scale(1.06) translateY(-1px);
  box-shadow: 2px 4px 8px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.5);
  z-index: 2;
}
.cl-bigcal-sn-amber  { background: #fff0a0; color: #6b4a00; }
.cl-bigcal-sn-green  { background: #b8f0c8; color: #165c28; }
.cl-bigcal-sn-pink   { background: #ffd6e7; color: #7a1a44; }
.cl-bigcal-sn-blue   { background: #c4ddff; color: #133a76; }
.cl-bigcal-sn-violet { background: #ddd0ff; color: #3a1c79; }

/* Note inline edit in popup */
.cl-note-item-edit {
  background: none; border: none; cursor: pointer;
  color: rgba(15,15,20,0.35); font-size: 15px; line-height: 1;
  padding: 0 4px; flex-shrink: 0; transition: color .12s;
}
.cl-note-item-edit:hover { color: #6366f1; }
.cl-note-inline-edit {
  flex: 1; width: 100%;
  background: #fff; border: 1px solid rgba(99,102,241,0.4);
  border-radius: 7px; padding: 6px 9px;
  font-size: 12.5px; font-family: inherit;
  resize: vertical; min-height: 48px;
  outline: none; margin: 4px 0;
}
.cl-note-inline-edit:focus { border-color: #6366f1; }
.cl-note-inline-save {
  margin-top: 4px;
  align-self: flex-end;
}

/* ═══════════════════════════════════════════════════════════════
   NOTE EDIT POPUP — cne-* (v25)
═══════════════════════════════════════════════════════════════ */
.cne-pop {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(380px, 92vw);
  z-index: 120;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 40px 80px -20px rgba(15,15,20,0.45), 0 20px 40px -10px rgba(15,15,20,0.3);
  animation: cne-in 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes cne-in {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.94); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cne-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: rgba(15,15,20,0.03);
  border-bottom: 1px solid rgba(15,15,20,0.08);
}
.cne-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--nc, #ffcd5c);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,205,92,0.2);
}
.cne-date {
  flex: 1; font-size: 13px; font-weight: 600; color: var(--text);
}
.cne-close {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(15,15,20,0.06); border: none;
  font-size: 18px; line-height: 1; cursor: pointer; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: background .12s, color .12s;
}
.cne-close:hover { background: rgba(220,38,38,0.1); color: #dc2626; }
.cne-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cne-ta {
  width: 100%; min-height: 90px; resize: vertical;
  background: rgba(15,15,20,0.03);
  border: 1.5px solid rgba(15,15,20,0.1);
  border-radius: 10px; padding: 10px 12px;
  font-size: 14px; font-family: inherit; color: var(--text);
  outline: none; line-height: 1.55;
  transition: border-color .12s, background .12s;
}
.cne-ta:focus { border-color: #6366f1; background: #fff; }
.cne-colors {
  display: flex; gap: 8px; align-items: center;
}
.cne-color {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid transparent; cursor: pointer;
  transition: transform .12s, border-color .12s;
}
.cne-color.sel { border-color: rgba(15,15,20,0.5); transform: scale(1.18); }
.cne-c-amber  { background: #ffcd5c; }
.cne-c-green  { background: #4ade80; }
.cne-c-pink   { background: #f9a8d4; }
.cne-c-blue   { background: #93c5fd; }
.cne-c-violet { background: #c4b5fd; }
.cne-actions {
  display: flex; gap: 8px; justify-content: flex-end; padding-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   AGENT FLOW BUILDER — enhanced 3D glass panel (v25)
═══════════════════════════════════════════════════════════════ */

/* Enhance the canvas mesh to look more crisp */
.fb-canvas {
  background-color: #f6f6f9;
  background-image:
    linear-gradient(rgba(99,102,241,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.12) 1px, transparent 1px),
    linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
  background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

/* Enhanced glass panel */
.fb-glass-panel {
  border-left: 1px solid rgba(160,160,220,.28);
  background: linear-gradient(160deg,
    rgba(255,255,255,0.90) 0%,
    rgba(245,244,255,0.85) 35%,
    rgba(235,238,255,0.80) 70%,
    rgba(228,232,255,0.76) 100%
  );
  backdrop-filter: blur(32px) saturate(1.8) brightness(1.05);
  -webkit-backdrop-filter: blur(32px) saturate(1.8) brightness(1.05);
  box-shadow: inset 1px 0 0 rgba(255,255,255,0.65), -8px 0 24px rgba(99,102,241,0.06);
}

/* Enhanced integration cards in glass panel */
.fb-gpc {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(180,180,220,0.28);
  border-radius: 12px;
  padding: 10px 11px;
  display: flex; align-items: center; gap: 10px;
  cursor: grab; transition: all .15s;
  box-shadow: 0 2px 8px rgba(99,102,241,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
}
.fb-gpc:hover {
  background: rgba(255,255,255,0.92);
  border-color: rgba(99,102,241,0.35);
  transform: translateX(-2px);
  box-shadow: 4px 4px 16px rgba(99,102,241,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
}
.fb-gpc:active { cursor: grabbing; }

/* Enhanced canvas cards */
.fb-card {
  border-radius: 14px;
  box-shadow:
    0 4px 16px rgba(99,102,241,0.10),
    0 1px 3px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);
  transition: box-shadow .15s, transform .12s;
}
.fb-card:hover {
  box-shadow:
    0 8px 28px rgba(99,102,241,0.18),
    0 2px 6px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   CTA LIQUID-GLASS STICKY NOTES — 2 on each side of CTA buttons
═══════════════════════════════════════════════════════════════ */
.lp-cta-with-icons {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-cta-side-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* ── Liquid-glass icon cards (replace CTA side notes) ────────── */
.lp-glass-icon-card {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 22px;
  /* True glass: very low white fill so backdrop shows through cleanly */
  background:
    linear-gradient(155deg,
      rgba(255,255,255,0.18) 0%,
      rgba(255,255,255,0.07) 55%,
      rgba(220,225,255,0.05) 100%
    );
  backdrop-filter: blur(40px) saturate(2.8) brightness(1.05);
  -webkit-backdrop-filter: blur(40px) saturate(2.8) brightness(1.05);
  /* Crisp top + left light-catch border, darker bottom-right for depth */
  border-top:    1px solid rgba(255,255,255,0.82);
  border-left:   1px solid rgba(255,255,255,0.70);
  border-right:  1px solid rgba(180,195,220,0.22);
  border-bottom: 1px solid rgba(180,195,220,0.22);
  box-shadow:
    0 12px 40px rgba(15,15,20,0.10),
    0 3px 10px  rgba(15,15,20,0.05),
    inset 0 1px 0 rgba(255,255,255,0.90),
    inset 1px 0 0 rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  cursor: default;
  transform-style: preserve-3d;
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s;
}
/* Random tilts per card */
.lp-glass-icon-card[data-brand="whatsapp"] { transform: rotate(-6deg) translateY(3px); }
.lp-glass-icon-card[data-brand="gmail"]    { transform: rotate(5deg) translateY(-4px); }
.lp-glass-icon-card[data-brand="gcal"]     { transform: rotate(-4deg) translateY(-3px); }
.lp-glass-icon-card[data-brand="phone"]    { transform: rotate(7deg) translateY(2px); }
.lp-glass-icon-card:hover {
  transform: translateY(-6px) rotate(0deg) scale(1.06) !important;
  box-shadow:
    0 22px 56px rgba(15,15,20,0.14),
    0 5px 18px  rgba(15,15,20,0.07),
    inset 0 1px 0 rgba(255,255,255,0.96),
    inset 1px 0 0 rgba(255,255,255,0.70);
}
/* Sharp top-left specular highlight — the key to convincing glass */
.lp-gic-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg,
    rgba(255,255,255,0.80) 0%,
    rgba(255,255,255,0.28) 18%,
    rgba(255,255,255,0.04) 42%,
    rgba(255,255,255,0.00) 55%
  );
  pointer-events: none;
  z-index: 1;
}
/* Subtle bottom chromatic edge — warm/neutral, not blue */
.lp-glass-icon-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35%;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(to top,
    rgba(200,200,210,0.14) 0%,
    transparent 100%
  );
  pointer-events: none;
}
.lp-gic-icon {
  position: relative;
  z-index: 2;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
}
.lp-gic-icon svg { width: 54px; height: 54px; }
.lp-gic-label {
  position: relative;
  z-index: 2;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 11px;
  color: rgba(15,15,20,0.65);
  letter-spacing: 0.3px;
}

/* Phone ringing animation */
@keyframes gicRing {
  0%,100% { transform: rotate(0deg) scale(1); }
  8%       { transform: rotate(-20deg) scale(1.08); }
  18%      { transform: rotate(20deg) scale(1.08); }
  28%      { transform: rotate(-14deg) scale(1.05); }
  38%      { transform: rotate(14deg) scale(1.05); }
  48%      { transform: rotate(-7deg) scale(1.02); }
  58%      { transform: rotate(7deg) scale(1.02); }
  68%      { transform: rotate(0deg) scale(1); }
}
@keyframes gicPulse {
  0%,100% { opacity: 0; transform: translate(-50%,-60%) scale(0.85); }
  45%     { opacity: 0.55; transform: translate(-50%,-60%) scale(1.22); }
}
.lp-gic-ringing .lp-gic-icon {
  animation: gicRing 1.9s cubic-bezier(.36,.07,.19,.97) infinite;
  transform-origin: top center;
}
.lp-gic-ringing::before {
  content: '';
  position: absolute;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,110,253,0.22) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  animation: gicPulse 1.9s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   AUTH MODAL — Google button + divider
═══════════════════════════════════════════════════════════════ */
.auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(180,180,200,0.45);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  color: #1a1a2e !important;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 140ms, border-color 140ms, transform 120ms;
  margin-bottom: 4px;
}
.auth-google-btn:hover {
  background: rgba(255,255,255,1);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}
.auth-google-btn:active { transform: translateY(0); }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 8px;
  color: rgba(231,234,243,0.4);
  font-size: 11.5px;
  font-weight: 500;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(231,234,243,0.2);
}

/* ═══════════════════════════════════════════════════════════════
   CALENDAR — Deep glassmorphism 3D style + square cells
═══════════════════════════════════════════════════════════════ */
.cl-bigcal {
  background: linear-gradient(145deg,
    rgba(255,255,255,0.14) 0%,
    rgba(220,225,255,0.10) 50%,
    rgba(190,200,255,0.08) 100%
  ) !important;
  backdrop-filter: blur(28px) saturate(1.6) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.6) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: 22px !important;
  box-shadow:
    0 32px 80px -20px rgba(15,15,40,0.38),
    0 8px 24px -8px rgba(80,80,180,0.18),
    inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 -1px 0 rgba(0,0,0,0.12) !important;
  padding: 20px 20px 24px !important;
  transform: perspective(1000px) rotateX(0.4deg);
  transform-origin: top center;
}
.cl-bigcal-head {
  margin-bottom: 16px !important;
}
.cl-bigcal-title {
  color: #0f0f14 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}
.cl-bigcal-grid {
  gap: 5px !important;
}
.cl-bigcal-cell {
  aspect-ratio: 1 / 1 !important;
  min-height: unset !important;
  background: rgba(255,255,255,0.55) !important;
  border: 1px solid rgba(200,200,220,0.35) !important;
  border-radius: 12px !important;
  box-shadow:
    0 2px 8px rgba(15,15,40,0.06),
    inset 0 1px 0 rgba(255,255,255,0.7) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: all 180ms cubic-bezier(0.2,0.7,0.2,1) !important;
  padding: 5px 5px 6px !important;
}
.cl-bigcal-cell:hover {
  background: rgba(255,255,255,0.82) !important;
  border-color: rgba(99,102,241,0.4) !important;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow:
    0 8px 22px rgba(99,102,241,0.18),
    inset 0 1px 0 rgba(255,255,255,0.85) !important;
}
.cl-bigcal-empty {
  background: rgba(255,255,255,0.10) !important;
  border: 1px dashed rgba(180,180,210,0.25) !important;
  box-shadow: none !important;
}
.cl-bigcal-today {
  background: linear-gradient(135deg, rgba(253,235,120,0.85), rgba(255,205,80,0.75)) !important;
  border-color: rgba(240,195,60,0.6) !important;
  box-shadow:
    0 4px 16px rgba(240,195,60,0.28),
    inset 0 1px 0 rgba(255,255,255,0.7) !important;
}
.cl-bigcal-today:hover {
  background: linear-gradient(135deg, rgba(253,235,120,0.95), rgba(255,205,80,0.88)) !important;
}
.cl-bigcal-num {
  font-size: 12px !important;
  font-weight: 700 !important;
}

/* ═══════════════════════════════════════════════════════════════
   PREVIEW v2 — Black stage with white spotlight
═══════════════════════════════════════════════════════════════ */
.pv2-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  height: calc(100vh - 128px);
  min-height: 520px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Left controls panel */
.pv2-controls {
  background: linear-gradient(160deg,
    rgba(255,255,255,0.9) 0%,
    rgba(245,244,255,0.88) 50%,
    rgba(235,238,255,0.84) 100%
  );
  backdrop-filter: blur(20px) saturate(1.5);
  border-right: 1px solid rgba(180,180,220,0.3);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
}
.pv2-ctrl-section { display: flex; flex-direction: column; gap: 7px; }
.pv2-ctrl-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #6c6c80;
  display: flex; align-items: center; gap: 6px;
}
.pv2-lang-count {
  font-size: 10px; font-weight: 500;
  color: #9898a8; letter-spacing: 0; text-transform: none;
}
.pv2-select {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(180,180,220,0.4);
  background: rgba(255,255,255,0.75);
  color: #0f0f14;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c6c80' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  outline: none;
  transition: border-color 140ms, background 140ms;
}
.pv2-select:focus {
  border-color: #6366f1;
  background-color: #fff;
}
.pv2-select-lang { max-height: 160px; overflow-y: auto; }
.pv2-cfg-badges {
  display: flex; flex-direction: column; gap: 8px;
}
.pv2-cfg-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 20px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.18);
  font-size: 12px; font-weight: 600; color: #4f46e5;
  letter-spacing: 0.01em;
}

/* Right stage — black background with spotlight */
.pv2-stage {
  position: relative;
  background: #050508;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pv2-spotlight {
  display: none;
  pointer-events: none;
}
.pv2-stage-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
  width: 100%;
  max-width: 560px;
}

/* Demo-style avatar (no globe/orb — just a pulsing mic indicator like the live demo) */
.pv2-demo-avatar {
  position: relative;
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.pv2-demo-avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,205,92,0.35);
  animation: pvDemoRing 2.4s ease-in-out infinite;
}
.pv2-demo-avatar-ring::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,138,61,0.18);
  animation: pvDemoRing 2.4s ease-in-out infinite 0.6s;
}
.pv2-demo-avatar-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffcd5c 0%, #ff8a3d 55%, #6366f1 100%);
  box-shadow:
    0 0 0 6px rgba(255,205,92,0.15),
    0 8px 28px rgba(255,138,61,0.45),
    inset 0 2px 4px rgba(255,255,255,0.4);
}
@keyframes pvDemoRing {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0.15; transform: scale(1.12); }
}

/* Agent label */
.pv2-agent-label { text-align: center; }
.pv2-agt-name {
  font-size: 22px; font-weight: 800;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(180,190,255,0.4);
}
.pv2-agt-role {
  font-size: 12.5px; font-weight: 500;
  color: rgba(180,190,255,0.6);
  margin-top: 3px;
  letter-spacing: 0.04em;
}

/* Waveform canvas */
.pv2-wave {
  width: 100%;
  max-width: 480px;
  height: 72px;
  display: block;
  border-radius: 10px;
}

/* Play button */
.pv2-play-row { display: flex; justify-content: center; }
.pv2-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(180,190,255,0.12));
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.92);
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: all 180ms cubic-bezier(0.2,0.7,0.2,1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
}
.pv2-play:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(180,190,255,0.2));
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1), inset 0 1px 0 rgba(255,255,255,0.25);
}
.pv2-play.playing {
  background: linear-gradient(135deg, rgba(220,30,60,0.35), rgba(180,20,40,0.22));
  border-color: rgba(220,80,100,0.5);
}
.pv2-play-ic { display: flex; align-items: center; }
.pv2-play-ic .icon { width: 18px; height: 18px; }

/* Status */
.pv2-status-row {
  display: flex; align-items: center; gap: 7px;
  color: rgba(180,190,220,0.6);
  font-size: 12.5px; font-weight: 500;
}
.pv2-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(80,220,120,0.5);
}

@media (max-width: 700px) {
  .pv2-shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .pv2-controls { flex-direction: row; flex-wrap: wrap; padding: 14px; gap: 12px; }
  .pv2-ctrl-section { min-width: 140px; flex: 1; }
  .pv2-stage { min-height: 340px; }
}

/* ── Field error (red border) ─────────────────────────────────── */
/* ── Password strength meter ──────────────────────────────────── */
.pw-meter-bars {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}
.pw-bar {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: #d1d5db;
  transition: background 0.25s ease;
}
.pw-meter-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.field.field-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.18) !important;
  animation: shakeField 0.3s ease;
}
@keyframes shakeField {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-4px); }
  75%      { transform: translateX(4px); }
}

/* ── Preview: no-agent state ──────────────────────────────────── */
.pv2-no-agent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: calc(100vh - 180px);
  min-height: 360px;
  gap: 12px;
  padding: 40px 24px;
}
.pv2-no-agent-icon { font-size: 0; margin-bottom: 8px; }
.pv2-no-agent-icon .icon { width: 56px; height: 56px; color: var(--muted); opacity: 0.6; }
.pv2-no-agent-title { font-size: 22px; font-weight: 700; }
.pv2-no-agent-sub { font-size: 14px; color: var(--muted); max-width: 380px; line-height: 1.6; }

/* ── Preview stage: true black background ─────────────────────── */
.pv2-stage { background: #000 !important; }
.pv2-spotlight { display: none !important; }

/* ── Preview wave: warm demo glow matching yellow→orange→indigo gradient ── */
.pv2-wave { filter: drop-shadow(0 0 12px rgba(255,138,61,0.55)) drop-shadow(0 0 5px rgba(255,205,92,0.45)); }

/* ── Call card: improved layout ───────────────────────────────── */
.cl-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: box-shadow 140ms, border-color 140ms, transform 100ms;
  margin-bottom: 8px;
}
.cl-card:hover {
  border-color: rgba(99,102,241,0.35);
  box-shadow: 0 4px 18px rgba(99,102,241,0.12);
  transform: translateY(-1px);
}
.cl-card-avatar {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff;
  letter-spacing: -0.5px;
}
.cl-card-avatar.av-urgent { background: linear-gradient(135deg,#ef4444,#dc2626); }
.cl-card-avatar.av-booked { background: linear-gradient(135deg,#10b981,#059669); }
.cl-card-body { flex: 1; min-width: 0; }
.cl-card-toprow {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 3px;
}
.cl-card-caller-name { font-weight: 600; font-size: 13.5px; }
.cl-card-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 1px 8px; border-radius: 20px; font-size: 11px; font-weight: 600;
}
.cl-card-badge.badge-urgent { background: rgba(239,68,68,0.12); color: #ef4444; }
.cl-card-badge.badge-booked { background: rgba(16,185,129,0.12); color: #10b981; }
.cl-card-badge.badge-handled { background: rgba(100,116,139,0.12); color: #64748b; }
.cl-card-phone-num { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.cl-card-summ { font-size: 12.5px; color: var(--muted); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cl-card-meta { flex-shrink: 0; text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.cl-card-time-lbl { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.cl-card-dur-lbl { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* =========================================================================
   =================== HARKLY AI VOICE BOT CHAT ============================
   ========================================================================= */

.lp-try-chat {
  max-height: 210px;
  min-height: 80px;
  overflow-y: auto;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.lp-try-chat-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  text-align: center;
  opacity: 0.75;
}
.lp-try-chat-hint p {
  font-family: 'Nunito', 'Poppins', sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
  max-width: 420px;
  line-height: 1.55;
  margin: 0;
}
.lp-try-mic-pulse {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(99,102,241,0.18);
  border: 1.5px solid rgba(99,102,241,0.45);
  display: flex; align-items: center; justify-content: center;
  animation: lpMicPulse 2.2s ease-in-out infinite;
  font-size: 18px;
  line-height: 1;
}
@keyframes lpMicPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99,102,241,0.4); }
  50%       { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(99,102,241,0); }
}
.lp-try-msg {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 88%;
  animation: lpMsgIn 200ms ease;
}
@keyframes lpMsgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lp-try-msg-user  { align-self: flex-end;  text-align: right; }
.lp-try-msg-agent { align-self: flex-start; text-align: left; }
.lp-try-msg-who {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  font-family: 'Nunito', 'Poppins', sans-serif;
  padding: 0 4px;
}
.lp-try-msg-text {
  font-size: 13.5px;
  line-height: 1.48;
  padding: 9px 13px;
  font-family: 'Nunito', 'Poppins', sans-serif;
  display: block;
}
.lp-try-msg-user .lp-try-msg-text {
  background: rgba(99,102,241,0.22);
  border: 1px solid rgba(99,102,241,0.32);
  color: #d8d8ff;
  border-radius: 12px 12px 2px 12px;
}
.lp-try-msg-agent .lp-try-msg-text {
  background: rgba(255,217,122,0.10);
  border: 1px solid rgba(255,217,122,0.22);
  color: #f5f5ee;
  border-radius: 12px 12px 12px 2px;
}

/* ─── Responsive: glass icon cards shrink smoothly as screen narrows ─── */
@media (max-width: 1100px) {
  .lp-glass-icon-card {
    width: 92px;
    height: 92px;
    border-radius: 18px;
  }
  .lp-gic-icon, .lp-gic-icon svg { width: 44px; height: 44px; }
  .lp-gic-label { font-size: 10px; }
}
@media (max-width: 880px) {
  .lp-glass-icon-card {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    gap: 6px;
  }
  .lp-gic-icon, .lp-gic-icon svg { width: 36px; height: 36px; }
  .lp-gic-label { font-size: 9px; }
  .lp-cta-side-icons { gap: 8px; }
  .lp-cta-with-icons  { gap: 14px; }
}
@media (max-width: 680px) {
  .lp-glass-icon-card {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    gap: 4px;
  }
  .lp-gic-icon, .lp-gic-icon svg { width: 28px; height: 28px; }
  .lp-gic-label { font-size: 8px; }
  .lp-cta-side-icons { gap: 6px; }
}
@media (max-width: 520px) {
  .lp-cta-side-icons { display: none; }
}

/* ── Flow builder tutorial overlay (ftut-*) ─────────────────────────────── */
.ftut-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,8,22,0.55); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity 260ms ease;
}
.ftut-overlay.ftut-in  { opacity: 1; pointer-events: all; }
.ftut-overlay.ftut-out { opacity: 0; pointer-events: none; }

.ftut-card {
  background: #111827;
  border: 1px solid rgba(99,102,241,0.35);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.65), 0 0 0 1px rgba(99,102,241,0.1);
  width: 420px; max-width: calc(100vw - 40px);
  padding: 32px 28px 24px;
  transform: translateY(18px) scale(0.96);
  transition: transform 260ms cubic-bezier(0.34,1.56,0.64,1);
  animation: ftutPop 280ms cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes ftutPop {
  from { transform: translateY(24px) scale(0.93); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}
.ftut-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.ftut-icon {
  font-size: 32px; line-height: 1;
  animation: ftutIconBounce 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes ftutIconBounce {
  0%   { transform: scale(0.4) rotate(-15deg); opacity: 0; }
  70%  { transform: scale(1.12) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.ftut-count {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  color: rgba(99,102,241,0.8);
  background: rgba(99,102,241,0.12);
  border-radius: 20px; padding: 3px 10px;
}
.ftut-title {
  font-size: 18px; font-weight: 700; color: #f1f5f9;
  line-height: 1.3; margin-bottom: 10px;
}
.ftut-body {
  font-size: 13.5px; line-height: 1.65; color: #94a3b8;
  margin-bottom: 20px;
}
.ftut-dots {
  display: flex; gap: 6px; margin-bottom: 20px;
}
.ftut-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(99,102,241,0.25);
  transition: background 220ms, transform 220ms;
}
.ftut-dot.on {
  background: #6366f1;
  transform: scale(1.3);
}
.ftut-btns {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.ftut-skip {
  background: none; border: none; cursor: pointer;
  font-size: 12px; color: #64748b; font-family: inherit;
  padding: 4px 0;
  transition: color 150ms;
}
.ftut-skip:hover { color: #94a3b8; }
.ftut-nav-btn {
  padding: 8px 16px; border-radius: 10px; border: none;
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: background 140ms, opacity 140ms;
  background: rgba(99,102,241,0.15); color: #a5b4fc;
}
.ftut-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.ftut-nav-btn:not(:disabled):hover { background: rgba(99,102,241,0.25); }
.ftut-nav-primary {
  background: #6366f1; color: #fff;
}
.ftut-nav-primary:hover { background: #4f46e5 !important; }

/* ── Dashboard agent mini-panel (dmi-*) ─────────────────────────────────── */
.dmi-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 8px; border-radius: 10px; cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 130ms, border-color 130ms;
}
.dmi-row:hover { background: rgba(99,102,241,0.06); }
.dmi-row.dmi-selected {
  background: rgba(99,102,241,0.09);
  border-left-color: var(--primary);
}
.dmi-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
}
.dmi-dot-live {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  animation: dmiPulse 1.8s ease-in-out infinite;
}
@keyframes dmiPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
.dmi-dot-paused { background: var(--muted); }
.dmi-body { flex: 1; min-width: 0; }
.dmi-name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.2; truncate: true; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dmi-meta { font-size: 11px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dmi-toggle {
  flex-shrink: 0; font-size: 11px; font-weight: 700; font-family: inherit;
  padding: 4px 10px; border-radius: 999px; border: none; cursor: pointer;
  transition: background 130ms, opacity 130ms;
}
.dmi-live-btn { background: rgba(34,197,94,0.12); color: #15803d; }
.dmi-live-btn:hover { background: rgba(34,197,94,0.22); }
.dmi-pause-btn { background: rgba(100,116,139,0.12); color: var(--muted); }
.dmi-pause-btn:hover { background: rgba(100,116,139,0.22); }
.dmi-toggle:disabled { opacity: 0.5; cursor: not-allowed; }
.dmi-new-row {
  display: flex; align-items: center; gap: 6px;
  width: 100%; padding: 7px 8px; margin-top: 4px;
  background: none; border: 1px dashed var(--border-strong);
  border-radius: 8px; cursor: pointer; font-size: 12px; color: var(--muted);
  font-family: inherit; transition: border-color 130ms, color 130ms;
}
.dmi-new-row:hover { border-color: var(--primary); color: var(--primary); }
.dmi-empty { text-align: center; padding: 24px 0; }
.dmi-empty-icon { font-size: 28px; margin-bottom: 8px; }
.dmi-empty-txt { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

/* Quick-activate inline sheet */
.dmi-qa-sheet {
  background: var(--surface);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 12px; padding: 14px 16px; margin: 4px 0 6px;
  animation: dmiSheetIn 200ms ease;
}
@keyframes dmiSheetIn { from { opacity:0; transform: translateY(-6px); } to { opacity:1; transform: none; } }
.dmi-qa-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.dmi-qa-sub   { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.dmi-qa-row   { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.dmi-qa-inp   { flex: 1; min-width: 0; }
.dmi-qa-hint  { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.dmi-qa-cancel {
  background: none; border: none; font-size: 11px; color: var(--muted);
  cursor: pointer; font-family: inherit; padding: 0;
}
.dmi-qa-cancel:hover { color: var(--text); }
.input-error { border-color: var(--danger) !important; }

/* ── Quick-create modal (qcm-*) ─────────────────────────────────────────── */
.qcm-overlay {
  position: fixed; inset: 0; z-index: 9990;
  background: rgba(5,8,22,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 220ms ease;
}
.qcm-overlay.qcm-in { opacity: 1; }
.qcm-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  width: 500px; max-width: calc(100vw - 32px);
  max-height: calc(100vh - 60px);
  display: flex; flex-direction: column;
  animation: qcmPop 240ms cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes qcmPop {
  from { transform: translateY(20px) scale(0.95); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.qcm-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.qcm-title { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.qcm-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 16px; color: var(--muted);
  cursor: pointer; line-height: 1; padding: 4px;
}
.qcm-close:hover { color: var(--text); }
.qcm-card { position: relative; }
.qcm-steps-row { display: flex; align-items: center; gap: 0; }
.qcm-step {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  padding: 5px 10px; border-radius: 999px;
  transition: color 200ms, background 200ms;
}
.qcm-step.qcm-step-on  { background: rgba(99,102,241,0.12); color: var(--primary); }
.qcm-step.qcm-step-done { color: #22c55e; }
.qcm-snum {
  width: 20px; height: 20px; border-radius: 50%;
  background: currentColor; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800;
}
.qcm-step.qcm-step-on  .qcm-snum { background: var(--primary); }
.qcm-step.qcm-step-done .qcm-snum { background: #22c55e; }
.qcm-step-line { flex: 1; height: 1px; background: var(--border); min-width: 12px; }
.qcm-body { padding: 20px 24px; overflow-y: auto; flex: 1; }
.qcm-hidden { display: none !important; }
.qcm-lbl {
  display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--muted); margin-bottom: 8px;
}
.qcm-opt { font-size: 10px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.qcm-type-grid {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.qcm-type-btn {
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: transparent; cursor: pointer; font-size: 12.5px; font-family: inherit;
  transition: border-color 120ms, background 120ms, color 120ms;
}
.qcm-type-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(99,102,241,0.06); }
.qcm-type-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.qcm-voice-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.qcm-voice-btn {
  display: flex; flex-direction: column;
  padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: transparent; cursor: pointer; font-family: inherit;
  transition: border-color 120ms, background 120ms;
}
.qcm-voice-btn:hover { border-color: var(--primary); }
.qcm-voice-btn.active { border-color: var(--primary); background: rgba(99,102,241,0.1); }
.qcm-vname { font-size: 13px; font-weight: 700; }
.qcm-vsub  { font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.qcm-phone-icon { font-size: 36px; text-align: center; margin-bottom: 14px; }
.qcm-phone-hint {
  margin-top: 10px; font-size: 12px; color: var(--muted);
  line-height: 1.6; background: rgba(99,102,241,0.06);
  border-radius: 8px; padding: 10px 12px;
}
.qcm-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-top: 1px solid var(--border);
}

/* ── Improved fb-edge ────────────────────────────────────────────────────── */
.fb-edge {
  fill: none;
  stroke: rgba(99,102,241,.72);
  stroke-width: 2.2;
  cursor: pointer;
  transition: stroke 120ms, stroke-width 120ms;
}
.fb-edge:hover { stroke: rgba(99,102,241,1); stroke-width: 3.2; }
.fb-edge-ghost {
  fill: none;
  stroke: rgba(59,130,246,.55);
  stroke-width: 2;
  stroke-dasharray: 7 5;
  pointer-events: none;
  animation: fbGhostDash 700ms linear infinite;
}
@keyframes fbGhostDash {
  to { stroke-dashoffset: -24; }
}

/* ── Tutorial overlay (ftut2) — spotlight mask, no blur ──────────────────── */
.ftut2-overlay {
  position: fixed; inset: 0; z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity 240ms ease;
}
.ftut2-overlay.ftut2-in  { opacity: 1; pointer-events: all; }
.ftut2-overlay.ftut2-out { opacity: 0; pointer-events: none; }
/* Centered steps get a solid dark bg (no spotlight) */
.ftut2-overlay.ftut2-centered { background: rgba(2,5,18,0.76); }

/* Blur div always hidden — no background blur ever */
.ftut2-blur { display: none; }

/* Spotlight — the huge box-shadow creates the darkening veil around it.
   The element itself is transparent so you see the highlighted UI through it. */
.ftut2-spotlight {
  position: fixed;
  background: transparent;
  border-radius: 14px;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 0 9999px rgba(2,5,18,0.74),
              0 0 0 3px rgba(99,102,241,0.88),
              0 0 0 7px rgba(99,102,241,0.2),
              0 0 48px 8px rgba(99,102,241,0.14);
  transition: left 300ms cubic-bezier(0.4,0,0.2,1),
              top  300ms cubic-bezier(0.4,0,0.2,1),
              width  300ms cubic-bezier(0.4,0,0.2,1),
              height 300ms cubic-bezier(0.4,0,0.2,1),
              opacity 200ms;
  animation: ftut2SpotPulse 2.5s ease-in-out infinite;
}
.ftut2-spotlight.ftut2-spot-hidden {
  opacity: 0 !important;
  box-shadow: none !important;
  pointer-events: none;
}
@keyframes ftut2SpotPulse {
  0%,100% { box-shadow: 0 0 0 9999px rgba(2,5,18,0.74), 0 0 0 3px rgba(99,102,241,0.88), 0 0 0 7px rgba(99,102,241,0.18); }
  50%     { box-shadow: 0 0 0 9999px rgba(2,5,18,0.76), 0 0 0 4px rgba(99,102,241,1),    0 0 0 10px rgba(99,102,241,0.12); }
}

/* SVG arrow — curved bezier path from tutorial card to spotlight */
.ftut2-svg-arrow {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 10001;
  overflow: visible; width: 100vw; height: 100vh;
}
.ftut2-arr-path {
  stroke: #6366f1; stroke-width: 2.5;
  stroke-dasharray: 8 5; fill: none; opacity: 0.95;
  animation: ftut2Dash 1.2s linear infinite;
}
@keyframes ftut2Dash { to { stroke-dashoffset: -26; } }

/* Bouncing pointer emoji near the highlighted element */
.ftut2-pointer {
  position: fixed; font-size: 22px;
  pointer-events: none; z-index: 10002;
  filter: drop-shadow(0 0 8px rgba(99,102,241,0.75));
  transition: opacity 200ms;
}
.ftut2-pointer.arr-left  { animation: ftut2PtrLeft  0.75s ease-in-out infinite alternate; }
.ftut2-pointer.arr-right { animation: ftut2PtrRight 0.75s ease-in-out infinite alternate; }
.ftut2-pointer.arr-top   { animation: ftut2PtrDown  0.75s ease-in-out infinite alternate; }
.ftut2-pointer.arr-bot   { animation: ftut2PtrUp    0.75s ease-in-out infinite alternate; }
@keyframes ftut2PtrLeft  { to { transform: translateX(-7px) translateY(-50%);  } }
@keyframes ftut2PtrRight { to { transform: translateX(7px)  translateY(-50%);  } }
@keyframes ftut2PtrDown  { to { transform: translateX(-50%) translateY(7px);   } }
@keyframes ftut2PtrUp    { to { transform: translateX(-50%) translateY(-7px);  } }

/* Tutorial card */
/* ── liquid-glass tutorial card (white frosted glass) ────────────────── */
.ftut2-card {
  position: fixed;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(52px) saturate(2.2) brightness(1.08);
  -webkit-backdrop-filter: blur(52px) saturate(2.2) brightness(1.08);
  border: 1.5px solid rgba(255,255,255,0.98);
  border-radius: 24px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.9) inset,
    0 -1px 0 rgba(99,102,241,0.08) inset,
    0 24px 64px rgba(99,102,241,0.18),
    0 8px 24px rgba(0,0,0,0.10),
    0 0 0 1px rgba(99,102,241,0.14);
  padding: 26px 24px 22px;
  z-index: 10004;
  width: 380px; max-width: calc(100vw - 24px);
  animation: ftut2CardIn 320ms cubic-bezier(0.34,1.56,0.64,1) forwards;
  overflow: hidden;
}
.ftut2-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: 24px;
  background: linear-gradient(140deg, rgba(255,255,255,0.55) 0%, rgba(230,235,255,0.18) 60%, rgba(220,225,255,0.08) 100%);
  pointer-events: none; z-index: 0;
}
.ftut2-card > * { position: relative; z-index: 1; }
@keyframes ftut2CardIn {
  from { transform: scale(0.9) translateY(16px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

/* Progress bar */
.ftut2-progress { display: flex; gap: 5px; margin-bottom: 18px; }
.ftut2-pd {
  flex: 1; height: 3.5px; border-radius: 99px;
  background: rgba(99,102,241,0.14);
  transition: background 240ms;
}
.ftut2-pd.on   { background: #6366f1; box-shadow: 0 0 8px rgba(99,102,241,0.45); }
.ftut2-pd.done { background: rgba(99,102,241,0.38); }

/* Meta row */
.ftut2-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ftut2-icon {
  font-size: 30px; line-height: 1;
  animation: ftut2IconPop 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes ftut2IconPop {
  0%  { transform: scale(0.2) rotate(-28deg); opacity: 0; }
  70% { transform: scale(1.2) rotate(6deg);  }
  100%{ transform: scale(1)   rotate(0);     opacity: 1; }
}
.ftut2-step-badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em;
  color: #6366f1;
  background: rgba(99,102,241,0.10);
  border: 1px solid rgba(99,102,241,0.22);
  border-radius: 20px; padding: 3px 11px;
}

/* Text */
.ftut2-title {
  font-size: 16.5px; font-weight: 800; color: #1e293b;
  line-height: 1.3; margin-bottom: 10px;
}
.ftut2-body { font-size: 13px; line-height: 1.75; color: #475569; }
.ftut2-body p { margin: 3px 0; }
.ftut2-detail {
  margin-top: 10px; padding: 7px 12px;
  background: rgba(99,102,241,0.06);
  border-left: 2.5px solid rgba(99,102,241,0.45);
  border-radius: 0 8px 8px 0;
  font-size: 11.5px; color: #6366f1; line-height: 1.5;
  font-style: italic;
}

/* Action hint (amber) */
.ftut2-action-hint {
  margin-top: 12px; padding: 10px 13px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.32);
  border-radius: 11px;
  font-size: 12.5px; color: #92400e; line-height: 1.6;
  animation: ftut2HintPulse 2.2s ease-in-out infinite;
}
@keyframes ftut2HintPulse {
  0%,100% { border-color: rgba(245,158,11,0.28); }
  50%     { border-color: rgba(245,158,11,0.55); }
}

/* Validation blocks */
.ftut2-err-blk {
  margin-top: 12px; padding: 11px 13px;
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.28);
  border-radius: 11px;
  font-size: 12.5px; color: #b91c1c; line-height: 1.65;
}
.ftut2-err-blk ul { margin: 5px 0 0; padding-left: 16px; }
.ftut2-err-blk strong { color: #dc2626; }
.ftut2-ok-blk {
  margin-top: 12px; padding: 11px 13px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.28);
  border-radius: 11px;
  font-size: 12.5px; color: #166534; line-height: 1.65;
}
.ftut2-ok-blk strong { color: #16a34a; }

/* Buttons */
.ftut2-btns {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 20px;
}
.ftut2-skip {
  background: none; border: none; cursor: pointer;
  font-size: 11.5px; color: #94a3b8; font-family: inherit;
  padding: 4px 0; transition: color 130ms; text-decoration: underline;
  text-underline-offset: 3px;
}
.ftut2-skip:hover { color: #64748b; }
.ftut2-nav {
  padding: 8px 16px; border-radius: 10px;
  border: 1px solid rgba(99,102,241,0.22);
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: background 130ms, opacity 130ms, border-color 130ms;
  background: rgba(99,102,241,0.08); color: #4f46e5;
}
.ftut2-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.ftut2-nav:not(:disabled):hover { background: rgba(99,102,241,0.15); border-color: rgba(99,102,241,0.4); }
.ftut2-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #fff !important; border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35) !important;
}
.ftut2-primary:hover { box-shadow: 0 6px 20px rgba(99,102,241,0.5) !important; transform: translateY(-1px); }

/* ── Activation status bar ─────────────────────────────────────────────────── */
.fb-act-bar {
  flex: 1; display: flex; align-items: center;
  justify-content: center; min-width: 0; padding: 0 8px;
}
.fb-act-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 99px;
  font-size: 11.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100%; cursor: default;
}
.fb-act-live {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.35);
  color: #15803d;
}
.fb-act-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34,197,94,.5);
  animation: actDotPulse 1.8s ease-in-out infinite;
}
@keyframes actDotPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
.fb-act-ready {
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  color: #4f46e5;
  animation: actReadyPulse 2s ease-in-out infinite;
}
@keyframes actReadyPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(99,102,241,.2); }
  50%      { box-shadow: 0 0 0 4px rgba(99,102,241,0); }
}
.fb-act-warn {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.35);
  color: #92400e;
}
.fb-act-more {
  font-weight: 400; font-style: normal; opacity: 0.75;
}

/* ── Card invalid state ────────────────────────────────────────────────────── */
.fb-card-invalid {
  border-color: rgba(239,68,68,0.65) !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12), 0 4px 18px -6px rgba(239,68,68,.2) !important;
  animation: cardShake 0.35s cubic-bezier(0.36,0.07,0.19,0.97) both;
}
@keyframes cardShake {
  10%,90%  { transform: translateX(-1px); }
  20%,80%  { transform: translateX(2px); }
  30%,50%,70% { transform: translateX(-2px); }
  40%,60%  { transform: translateX(2px); }
}
.fb-valid-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 800;
  flex-shrink: 0; cursor: help;
  box-shadow: 0 1px 4px rgba(239,68,68,.35);
  animation: badgePop 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes badgePop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* ── Glass panel — divider + preview section ──────────────────────────────── */
.fb-gp-divider {
  height: 1px; background: var(--border, rgba(0,0,0,.08));
  margin: 14px 0 12px; border-radius: 99px;
}
.fb-gp-preview-head {
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted, #888);
  padding: 0 2px; margin-bottom: 8px;
}
.fb-gp-preview {
  border-radius: 12px;
  overflow: hidden;
}
.fb-pv-empty {
  font-size: 11.5px; color: var(--muted, #888);
  line-height: 1.5; padding: 6px 2px;
}
.fb-pv-row {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 6px;
  padding: 5px 10px;
  font-size: 11.5px; border-bottom: 1px solid rgba(0,0,0,.04);
}
.fb-pv-row:last-child { border-bottom: none; }
.fb-pv-row-dim { opacity: 0.55; }
.fb-pv-lbl {
  font-weight: 600; color: var(--muted, #888);
  flex-shrink: 0; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.fb-pv-val {
  color: var(--text, #111); text-align: right;
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; max-width: 130px; font-size: 11.5px;
}
.fb-pv-miss { color: var(--muted, #888); font-style: italic; font-size: 10.5px; }
.fb-pv-live { color: #15803d; font-weight: 700; }
.fb-pv-draft { color: var(--muted, #888); }
.fb-pv-info {
  padding: 6px 10px; font-size: 11px; color: var(--muted, #888);
  line-height: 1.5; border-top: 1px solid rgba(0,0,0,.04);
  font-style: italic;
}

/* ── Tutorial validation blocks (light theme) ────────────────────────────── */
.ftut2-err-blk {
  margin-top: 12px; padding: 10px 12px;
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.28);
  border-radius: 10px;
  font-size: 12.5px; color: #b91c1c; line-height: 1.6;
}
.ftut2-err-blk ul { margin: 4px 0 0; padding-left: 16px; }
.ftut2-err-blk strong { color: #dc2626; }
.ftut2-ok-blk {
  margin-top: 12px; padding: 10px 12px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.28);
  border-radius: 10px;
  font-size: 12.5px; color: #166534;
}
.ftut2-ok-blk strong { color: #16a34a; }

/* ── Demo / How-to Guide modal — white liquid-glass ──────────────────────── */
.demo-guide-ov {
  position: fixed; inset: 0; z-index: 11000;
  background: rgba(15,20,50,0.45);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  display: flex; align-items: center; justify-content: center;
  animation: dgoFadeIn 220ms ease;
  padding: 16px;
}
@keyframes dgoFadeIn { from { opacity: 0; } to { opacity: 1; } }
.demo-guide-modal {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(48px) saturate(2) brightness(1.06);
  -webkit-backdrop-filter: blur(48px) saturate(2) brightness(1.06);
  border: 1.5px solid rgba(255,255,255,0.98);
  border-radius: 26px;
  box-shadow:
    0 2px 0 rgba(255,255,255,1) inset,
    0 28px 80px rgba(99,102,241,0.22),
    0 8px 32px rgba(0,0,0,0.12),
    0 0 0 1px rgba(99,102,241,0.10);
  width: min(900px, 96vw);
  max-height: min(820px, 94vh);
  display: flex; flex-direction: column;
  animation: dgoModalIn 300ms cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden;
  position: relative;
}
.demo-guide-modal::before {
  content: '';
  position: absolute; inset: 0; border-radius: 26px;
  background: linear-gradient(140deg, rgba(255,255,255,0.6) 0%, rgba(235,238,255,0.15) 50%, rgba(225,230,255,0.08) 100%);
  pointer-events: none; z-index: 0;
}
@keyframes dgoModalIn {
  from { transform: scale(0.93) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.demo-guide-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 24px 28px 0; flex-shrink: 0; position: relative; z-index: 2;
  border-bottom: 1px solid rgba(99,102,241,0.10);
  padding-bottom: 18px;
}
.demo-guide-htitle {
  font-size: 19px; font-weight: 800; color: #1e293b; line-height: 1.2;
}
.demo-guide-hsub { font-size: 12px; color: #64748b; margin-top: 5px; }
.demo-guide-close {
  background: rgba(99,102,241,0.07);
  border: 1px solid rgba(99,102,241,0.18);
  cursor: pointer; color: #6366f1; border-radius: 50%;
  width: 34px; height: 34px; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 150ms;
}
.demo-guide-close:hover { background: rgba(239,68,68,0.10); border-color: rgba(239,68,68,0.28); color: #dc2626; }
.demo-guide-tabs {
  display: flex; gap: 6px; padding: 16px 28px 0;
  border-bottom: 1px solid rgba(99,102,241,0.10);
  flex-shrink: 0; position: relative; z-index: 2;
  padding-bottom: 0;
}
.dg-tab {
  padding: 9px 22px; border-radius: 20px 20px 0 0;
  background: transparent;
  border: none; border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: inherit;
  color: #94a3b8; transition: all 160ms; white-space: nowrap;
}
.dg-tab:hover { color: #475569; background: rgba(99,102,241,0.05); }
.dg-tab.active {
  color: #6366f1;
  background: rgba(99,102,241,0.07);
  border-bottom-color: #6366f1;
}
.demo-guide-body { flex: 1; overflow-y: auto; padding: 24px 28px 28px; position: relative; z-index: 2; }
.demo-guide-body::-webkit-scrollbar { width: 5px; }
.demo-guide-body::-webkit-scrollbar-track { background: transparent; }
.demo-guide-body::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.22); border-radius: 99px; }

/* ── Card Types tab ── */
.dg-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.dg-card-item {
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(99,102,241,0.12);
  border-radius: 18px; overflow: hidden;
  transition: all 180ms;
  box-shadow: 0 2px 12px rgba(99,102,241,0.07), 0 1px 3px rgba(0,0,0,0.05);
}
.dg-card-item:hover {
  border-color: var(--dg-c, rgba(99,102,241,0.35));
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(99,102,241,0.14), 0 2px 8px rgba(0,0,0,0.08);
}
.dg-card-stripe { height: 3px; opacity: 0.85; border-radius: 18px 18px 0 0; }
.dg-card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px 11px;
  border-bottom: 1px solid rgba(99,102,241,0.08);
}
.dg-card-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dg-card-lbl { font-size: 13px; font-weight: 700; color: #1e293b; flex: 1; min-width: 0; }
.dg-card-badge {
  font-size: 9px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; border-radius: 6px; padding: 2px 7px; flex-shrink: 0;
}
.dg-badge-required   { background: rgba(239,68,68,0.10); color: #dc2626; border: 1px solid rgba(239,68,68,0.22); }
.dg-badge-recommended{ background: rgba(99,102,241,0.10); color: #6366f1; border: 1px solid rgba(99,102,241,0.22); }
.dg-badge-highly     { background: rgba(139,92,246,0.10); color: #7c3aed; border: 1px solid rgba(139,92,246,0.22); }
.dg-badge-terminal   { background: rgba(245,158,11,0.10); color: #b45309; border: 1px solid rgba(245,158,11,0.22); }
.dg-badge-optional   { background: rgba(100,116,139,0.08); color: #64748b; border: 1px solid rgba(100,116,139,0.16); }
.dg-badge-ai         { background: rgba(139,92,246,0.10); color: #7c3aed; border: 1px solid rgba(139,92,246,0.22); }
.dg-card-body { padding: 12px 14px 15px; }
.dg-card-desc { font-size: 12.5px; color: #475569; line-height: 1.65; margin-bottom: 9px; }
.dg-card-field {
  background: rgba(99,102,241,0.05); border: 1px solid rgba(99,102,241,0.12);
  border-radius: 7px; padding: 6px 10px; font-size: 11px; color: #475569;
  margin-bottom: 5px; font-family: ui-monospace, monospace;
}
.dg-card-why {
  font-size: 11.5px; color: #6366f1; line-height: 1.55;
  background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.14);
  border-radius: 8px; padding: 7px 10px; margin-top: 6px;
}

/* ── Connections tab ── */
.dg-conn-diagram {
  background: rgba(248,249,255,0.92);
  border: 1.5px solid rgba(99,102,241,0.12);
  border-radius: 18px; padding: 22px 20px; margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(99,102,241,0.07);
}
.dg-conn-diagram-title {
  font-size: 10.5px; font-weight: 700; color: #6366f1;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px;
}
.dg-conn-flow {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 0; align-items: center;
}
.dg-conn-col {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
}
.dg-conn-col-right { align-items: flex-start; }
.dg-conn-hub { padding: 0 14px; }
.dg-conn-node {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid; border-radius: 12px;
  padding: 8px 12px; font-size: 12px; min-width: 116px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.dg-conn-node-lbl { font-size: 12px; font-weight: 700; color: #1e293b; }
.dg-conn-node-sub { font-size: 10px; color: #94a3b8; }
.dg-conn-arr {
  font-size: 14px; color: #6366f1; font-weight: 700; align-self: center;
  animation: dgArrPulse 1.4s ease-in-out infinite;
  padding: 0 2px;
}
@keyframes dgArrPulse {
  0%,100% { opacity: 1; transform: translateX(0); }
  50%     { opacity: 0.5; transform: translateX(3px); }
}
.dg-conn-rules-section { margin-top: 6px; }
.dg-conn-rules-title {
  font-size: 10.5px; font-weight: 800; color: #6366f1;
  text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 10px;
}
.dg-conn-rules-list { display: flex; flex-direction: column; gap: 7px; }
.dg-conn-rule {
  display: flex; gap: 10px; align-items: flex-start;
  border-radius: 11px; padding: 11px 13px; border: 1px solid;
}
.dg-rule-ok { background: rgba(34,197,94,0.06); border-color: rgba(34,197,94,0.20); }
.dg-rule-no { background: rgba(239,68,68,0.05); border-color: rgba(239,68,68,0.16); }
.dg-rule-icon { font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.dg-rule-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.dg-rule-from { font-size: 12.5px; color: #1e293b; line-height: 1.4; }
.dg-rule-from strong { font-weight: 700; color: #0f172a; }
.dg-rule-why { font-size: 11.5px; color: #64748b; margin-top: 2px; line-height: 1.5; }

/* ── Language chip multi-select ─────────────────────────────────────── */
.fb-lang-chips-grid {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px;
}
.fb-lang-chip {
  padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04); color: #94a3b8;
  cursor: pointer; white-space: nowrap; font-family: inherit;
  transition: border-color 120ms, background 120ms, color 120ms, transform 80ms;
  line-height: 1.3;
}
.fb-lang-chip:hover { border-color: rgba(99,102,241,0.45); color: #c4b5fd; transform: scale(1.03); }
.fb-lang-chip.sel {
  border-color: #10b981; background: rgba(16,185,129,0.18); color: #34d399;
}
.fb-lang-chip.sel:hover { background: rgba(16,185,129,0.26); }
.fb-lang-sel-label {
  font-size: 10.5px; color: #64748b; margin-top: 6px; line-height: 1.4;
}
.fb-lang-sel-val { color: #94a3b8; font-weight: 600; }

/* ── Preview panel enhancements ──────────────────────────────────────── */
.fb-pv-status-row {
  display: flex; align-items: center; gap: 7px; margin-bottom: 6px;
}
.fb-pv-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.fb-pv-dot.fb-pv-live  { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.fb-pv-dot.fb-pv-draft { background: #64748b; }
.fb-pv-status-lbl { font-size: 11px; font-weight: 700; color: #94a3b8; }
.fb-pv-agent-name { font-size: 11.5px; font-weight: 700; color: #e2e8f0; margin-left: auto; }
.fb-pv-biz {
  font-size: 12px; font-weight: 700; color: #c4b5fd; margin-bottom: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fb-pv-talk-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; margin-top: 12px;
  padding: 9px 14px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(99,102,241,0.22) 0%, rgba(139,92,246,0.18) 100%);
  border: 1.5px solid rgba(99,102,241,0.45);
  color: #a5b4fc; font-size: 12.5px; font-weight: 700; font-family: inherit;
  cursor: pointer; backdrop-filter: blur(8px);
  transition: background 150ms, border-color 150ms, transform 100ms, color 150ms;
  letter-spacing: 0.01em;
}
.fb-pv-talk-btn:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.38) 0%, rgba(139,92,246,0.3) 100%);
  border-color: rgba(99,102,241,0.75); color: #c4b5fd; transform: scale(1.02);
}
.fb-pv-talk-btn:active { transform: scale(0.97); }
.fb-pv-talk-btn.playing {
  background: linear-gradient(135deg, rgba(239,68,68,0.22) 0%, rgba(220,38,38,0.18) 100%);
  border-color: rgba(239,68,68,0.55); color: #fca5a5;
  animation: fbTalkPulse 1.4s ease-in-out infinite;
}
@keyframes fbTalkPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.25); }
  50%      { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}
.fb-pv-wave {
  display: block; width: 100%; height: 42px;
  margin-top: 10px; border-radius: 8px; overflow: hidden;
}

/* ── Tutorial card — liquid glass upgrade v2 (white) ────────────────── */
.ftut2-card {
  position: fixed;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(52px) saturate(2.2) brightness(1.08);
  -webkit-backdrop-filter: blur(52px) saturate(2.2) brightness(1.08);
  border: 1.5px solid rgba(255,255,255,0.98);
  border-radius: 24px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.9) inset,
    0 -1px 0 rgba(99,102,241,0.08) inset,
    0 24px 64px rgba(99,102,241,0.20),
    0 8px 24px rgba(0,0,0,0.10),
    0 0 0 1px rgba(99,102,241,0.14);
  padding: 26px 24px 22px;
  z-index: 10004;
  width: 380px; max-width: calc(100vw - 24px);
  animation: ftut2CardIn 320ms cubic-bezier(0.34,1.56,0.64,1) forwards;
  overflow: hidden;
}
.ftut2-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: 24px;
  background: linear-gradient(140deg, rgba(255,255,255,0.55) 0%, rgba(230,235,255,0.18) 60%, rgba(220,225,255,0.06) 100%);
  pointer-events: none; z-index: 0;
}
.ftut2-card > * { position: relative; z-index: 1; }

/* ── Builder guide workflow steps ───────────────────────────────────── */
.dg-workflow-steps {
  display: flex; flex-direction: column; gap: 0; padding-bottom: 6px;
}
.dg-wf-step {
  display: flex; gap: 16px; align-items: flex-start;
}
.dg-wf-step-left {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0; padding-top: 2px;
}
.dg-wf-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; font-family: inherit; flex-shrink: 0;
}
.dg-wf-line {
  width: 2px; height: 32px; border-radius: 99px; margin: 4px 0; opacity: 0.45;
}
.dg-wf-content { flex: 1; min-width: 0; padding-bottom: 20px; }
.dg-wf-head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.dg-wf-logo {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.dg-wf-title { font-size: 14px; font-weight: 800; line-height: 1.3; }
.dg-wf-desc {
  font-size: 12.5px; color: #475569; line-height: 1.6; margin-bottom: 5px;
}
.dg-wf-why {
  font-size: 11.5px; color: #6366f1; line-height: 1.5;
  border-left: 2px solid rgba(99,102,241,0.4); padding-left: 8px;
  font-style: italic;
}

/* ── Language card dropdown ──────────────────────────────────────────── */
.fb-lang-select-wrap {
  position: relative; margin-bottom: 6px;
}
.fb-lang-select-wrap::after {
  content: '▾';
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: #6366f1; pointer-events: none;
}
.fb-lang-sel {
  width: 100%; padding: 8px 30px 8px 10px;
  background: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(99,102,241,0.22);
  border-radius: 9px;
  font-size: 13px; font-family: inherit; color: #1e293b;
  appearance: none; -webkit-appearance: none;
  cursor: pointer; transition: border-color 150ms;
  outline: none;
}
.fb-lang-sel:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }
.fb-lang-sel2 {
  width: 100%; padding: 7px 30px 7px 10px;
  background: rgba(248,249,255,0.85);
  border: 1.5px solid rgba(99,102,241,0.14);
  border-radius: 9px;
  font-size: 12px; font-family: inherit; color: #475569;
  appearance: none; -webkit-appearance: none;
  cursor: pointer; transition: border-color 150ms;
  outline: none;
}
.fb-lang-sel2:focus { border-color: rgba(99,102,241,0.4); }
.fb-lang-hint {
  font-size: 10.5px; color: #94a3b8; line-height: 1.4; margin-top: 5px; font-style: italic;
}

/* ── Vapi mic permission UI ──────────────────────────────────────────── */
.fb-mic-banner {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 12px; line-height: 1.4; margin-bottom: 10px;
  animation: fbMicBannerIn 200ms ease;
}
@keyframes fbMicBannerIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fb-mic-ok  { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25); color: #166534; }
.fb-mic-req { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.28); color: #92400e; }
.fb-mic-err { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25); color: #b91c1c; }
.fb-mic-ico { font-size: 16px; flex-shrink: 0; }
.fb-mic-txt { flex: 1; }
.fb-mic-txt b { display: block; font-weight: 700; margin-bottom: 1px; }
.fb-pv-talk-btn.mic-blocked { opacity: 0.55; cursor: not-allowed; }

/* ── Dashboard weekly sparkline ─────────────────────────────────────── */
.dash-sparkline-row {
  display: flex; align-items: flex-end; gap: 12px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 18px;
}
.dash-spark-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--muted); white-space: nowrap;
  writing-mode: vertical-rl; transform: rotate(180deg);
  margin-right: 4px;
}
.dash-spark-bars {
  display: flex; align-items: flex-end; gap: 6px; flex: 1; height: 52px;
}
.dash-spark-col {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; height: 100%; justify-content: flex-end; gap: 4px;
}
.dash-spark-bar {
  width: 100%; border-radius: 4px 4px 0 0;
  background: rgba(99,102,241,0.30);
  transition: background 200ms;
}
.dash-spark-bar:hover  { background: rgba(99,102,241,0.55); }
.dash-spark-today      { background: rgba(99,102,241,0.75); }
.dash-spark-today:hover { background: rgba(99,102,241,0.95); }
.dash-spark-day {
  font-size: 10px; color: var(--muted); font-weight: 600;
  letter-spacing: 0.03em;
}

/* ══════════════════════════════════════════════════════════════════════════
   SETTINGS PAGE — v60
   ══════════════════════════════════════════════════════════════════════════ */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
}
@media (max-width: 780px) { .settings-grid { grid-template-columns: 1fr; } }

.set-card-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-bottom: 18px; letter-spacing: .02em;
}
.set-card-title .icon { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

.set-field-row { display: flex; gap: 14px; margin-bottom: 14px; }
.set-field { flex: 1; display: flex; flex-direction: column; }
.set-readonly-badge {
  display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); background: var(--border);
  border-radius: 4px; padding: 1px 5px; margin-left: 5px; vertical-align: middle;
}
.set-hint { font-size: 10px; color: var(--muted); margin-left: 4px; font-weight: 400; }

.set-save-row {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--border);
}
.set-save-status { font-size: 12px; font-weight: 600; }

/* Notifications toggles */
.set-notif-list { display: flex; flex-direction: column; gap: 0; }
.set-notif-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px solid var(--border);
}
.set-notif-row:last-child { border-bottom: none; }
.set-notif-label { font-size: 13px; font-weight: 600; color: var(--text); }
.set-notif-sub   { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Toggle switch */
.set-toggle { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
.set-toggle input { opacity: 0; width: 0; height: 0; }
.set-toggle-track {
  position: absolute; inset: 0; cursor: pointer;
  background: var(--border); border-radius: 22px; transition: background .2s;
}
.set-toggle input:checked + .set-toggle-track { background: var(--accent); }
.set-toggle-track::after {
  content: ""; position: absolute; left: 3px; top: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; transition: transform .2s;
}
.set-toggle input:checked + .set-toggle-track::after { transform: translateX(18px); }

/* Integration grid */
.set-health-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 600px) { .set-health-grid { grid-template-columns: 1fr; } }

.set-int-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--surface);
}
.set-int-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.set-int-ok  { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.set-int-off { background: var(--muted); opacity: .45; }
.set-int-body { flex: 1; min-width: 0; }
.set-int-label { font-size: 12px; font-weight: 700; color: var(--text); }
.set-int-note  { font-size: 10px; color: var(--muted); margin-top: 1px; }

/* ── Dashboard usage bar ────────────────────────────────────────────────── */
.dash-usage-bar { border: 1px solid var(--border); }
.dash-usage-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.dash-usage-plan {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .07em; color: var(--accent);
}
.dash-usage-days, .dash-usage-mins {
  font-size: 12px; color: var(--muted); flex: 1;
}
.dash-usage-track {
  height: 6px; border-radius: 9px; background: var(--border); overflow: hidden;
  margin-bottom: 8px;
}
.dash-usage-fill {
  height: 100%; border-radius: 9px;
  background: linear-gradient(90deg, var(--accent), #818cf8);
  transition: width .6s ease;
}
.dash-usage-fill-amber { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.dash-usage-fill-red   { background: linear-gradient(90deg, #ef4444, #f87171); }
.dash-usage-meta { font-size: 11px; color: var(--muted); }

/* agent card voice/language row */
.ag-meta-voice { opacity: .75; }

/* ═══════════════════════════════════════════════════════════════════════
   HYPER-REALISTIC GLASS SYSTEM — v72
   ═══════════════════════════════════════════════════════════════════════ */

/* Utility classes */
.glass-frosted {
  background: rgba(255,255,255,0.45) !important;
  backdrop-filter: blur(16px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.08), inset 0 1px 0 0 rgba(255,255,255,0.55) !important;
}
.glass-liquid {
  background: linear-gradient(155deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.22) 55%,
    rgba(220,230,255,0.14) 100%) !important;
  backdrop-filter: blur(28px) saturate(220%) brightness(1.05) !important;
  -webkit-backdrop-filter: blur(28px) saturate(220%) brightness(1.05) !important;
  border-top:    1px solid rgba(255,255,255,0.88) !important;
  border-left:   1px solid rgba(255,255,255,0.72) !important;
  border-right:  1px solid rgba(200,210,240,0.28) !important;
  border-bottom: 1px solid rgba(200,210,240,0.28) !important;
  box-shadow:
    0 16px 48px rgba(15,15,20,0.14),
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 1px 0 0 rgba(255,255,255,0.65) !important;
}

/* ── Sidebar — deep frosted glass panel ───────────────────────────── */
.sidebar {
  background:
    linear-gradient(175deg, rgba(255,255,255,0.72) 0%, rgba(248,248,252,0.60) 100%) !important;
  backdrop-filter: blur(28px) saturate(210%) brightness(1.02) !important;
  -webkit-backdrop-filter: blur(28px) saturate(210%) brightness(1.02) !important;
  border-right: 1px solid rgba(255,255,255,0.65) !important;
  box-shadow:
    inset -1px 0 0 rgba(255,255,255,0.5),
    4px 0 28px rgba(15,15,20,0.06),
    inset 1px 0 0 rgba(255,255,255,0.7) !important;
}

/* ── Topbar — frosted glass bar ───────────────────────────────────── */
.topbar {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.74) 0%, rgba(250,250,248,0.62) 100%) !important;
  backdrop-filter: blur(28px) saturate(210%) brightness(1.02) !important;
  -webkit-backdrop-filter: blur(28px) saturate(210%) brightness(1.02) !important;
  border-bottom: 1px solid rgba(255,255,255,0.68) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.90),
    0 4px 20px rgba(15,15,20,0.05) !important;
}

/* ── Cards — glass surface ────────────────────────────────────────── */
.card {
  background:
    linear-gradient(160deg, rgba(255,255,255,0.86) 0%, rgba(252,252,255,0.78) 100%) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255,255,255,0.70) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 -1px 0 rgba(200,210,240,0.12) inset,
    0 8px 32px -10px rgba(15,15,20,0.12),
    0 2px 6px -2px rgba(15,15,20,0.05) !important;
}

/* ── Landing nav pill — ultra glass ──────────────────────────────── */
.lp-nav {
  background:
    linear-gradient(160deg, rgba(255,255,255,0.72) 0%, rgba(248,248,255,0.58) 100%) !important;
  backdrop-filter: blur(32px) saturate(220%) brightness(1.04) !important;
  -webkit-backdrop-filter: blur(32px) saturate(220%) brightness(1.04) !important;
  border: 1px solid rgba(255,255,255,0.78) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.96),
    inset 0 -1px 0 rgba(200,210,240,0.18),
    0 12px 40px -16px rgba(15,15,20,0.14),
    0 1px 2px rgba(15,15,20,0.04) !important;
}

/* ── Landing integration plate ────────────────────────────────────── */
.lp-glass-plate-inner {
  background:
    linear-gradient(155deg,
      rgba(255,255,255,0.62) 0%,
      rgba(255,255,255,0.28) 45%,
      rgba(220,228,255,0.20) 100%) !important;
  backdrop-filter: blur(36px) saturate(240%) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(36px) saturate(240%) brightness(1.06) !important;
  border: 1px solid rgba(255,255,255,0.84) !important;
  box-shadow:
    0 28px 64px -20px rgba(15,15,20,0.30),
    inset 0 -8px 22px rgba(15,15,20,0.07),
    inset 0 12px 32px rgba(255,255,255,0.92) !important;
}
.lp-int, .lp-int-brand {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.72) 55%, rgba(235,240,255,0.58) 100%) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
  border-top:    1.5px solid rgba(255,255,255,0.96) !important;
  border-left:   1.5px solid rgba(255,255,255,0.82) !important;
  border-right:  1px solid rgba(200,215,240,0.32) !important;
  border-bottom: 1px solid rgba(200,215,240,0.32) !important;
  box-shadow:
    0 12px 36px rgba(15,15,20,0.20),
    inset 0 1px 0 rgba(255,255,255,0.98),
    inset 1px 0 0 rgba(255,255,255,0.72) !important;
}

/* ── Landing glass icon cards — enhanced specular ─────────────────── */
.lp-glass-icon-card {
  background:
    linear-gradient(155deg,
      rgba(255,255,255,0.32) 0%,
      rgba(255,255,255,0.12) 45%,
      rgba(215,225,255,0.08) 100%) !important;
  backdrop-filter: blur(44px) saturate(3.0) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(44px) saturate(3.0) brightness(1.08) !important;
  border-top:    1.5px solid rgba(255,255,255,0.92) !important;
  border-left:   1px solid rgba(255,255,255,0.78) !important;
  border-right:  1px solid rgba(185,198,230,0.26) !important;
  border-bottom: 1px solid rgba(185,198,230,0.22) !important;
  box-shadow:
    0 14px 48px rgba(15,15,20,0.12),
    0 4px 12px rgba(15,15,20,0.06),
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 1px 0 0 rgba(255,255,255,0.60) !important;
}
.lp-gic-shine {
  background: linear-gradient(140deg,
    rgba(255,255,255,0.88) 0%,
    rgba(255,255,255,0.38) 18%,
    rgba(255,255,255,0.06) 42%,
    rgba(255,255,255,0.00) 55%) !important;
}

/* ── Auth modal — true deep-frosted glass ─────────────────────────── */
.auth-modal-backdrop-light .auth-modal {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.78) 0%, rgba(250,252,255,0.66) 100%) !important;
  backdrop-filter: blur(36px) saturate(210%) brightness(1.05) !important;
  -webkit-backdrop-filter: blur(36px) saturate(210%) brightness(1.05) !important;
  border: 1px solid rgba(255,255,255,0.80) !important;
  box-shadow:
    0 48px 100px -20px rgba(15,15,20,0.20),
    0 8px 24px -8px rgba(15,15,20,0.08),
    inset 0 1px 0 rgba(255,255,255,0.98),
    inset 0 -1px 0 rgba(200,215,255,0.18) !important;
}

/* ── Onboarding brand bar ──────────────────────────────────────────── */
.ob-brand {
  background:
    linear-gradient(160deg, rgba(255,255,255,0.68) 0%, rgba(248,250,255,0.55) 100%) !important;
  backdrop-filter: blur(28px) saturate(200%) brightness(1.02) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.02) !important;
  border: 1px solid rgba(255,255,255,0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 12px 32px -12px rgba(15,15,20,0.14) !important;
}

/* ── Onboarding cards ─────────────────────────────────────────────── */
.ob-card {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.72) 0%, rgba(248,250,255,0.58) 100%) !important;
  backdrop-filter: blur(32px) saturate(210%) brightness(1.03) !important;
  -webkit-backdrop-filter: blur(32px) saturate(210%) brightness(1.03) !important;
  border: 1px solid rgba(255,255,255,0.75) !important;
  box-shadow:
    0 40px 80px -20px rgba(15,15,20,0.22),
    inset 0 1px 0 rgba(255,255,255,0.98),
    inset 0 -1px 0 rgba(200,215,255,0.15) !important;
}

/* ── Builder glass panel ──────────────────────────────────────────── */
.fb-glass-panel {
  background: linear-gradient(160deg,
    rgba(255,255,255,0.86) 0%,
    rgba(244,244,255,0.76) 40%,
    rgba(234,238,255,0.70) 100%) !important;
  backdrop-filter: blur(40px) saturate(2.1) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(40px) saturate(2.1) brightness(1.06) !important;
  border-left: 1px solid rgba(255,255,255,0.72) !important;
  box-shadow:
    inset 1px 0 0 rgba(255,255,255,0.80),
    -10px 0 36px rgba(99,102,241,0.07) !important;
}
.fb-glass-panel::before {
  background: linear-gradient(140deg, rgba(255,255,255,0.55) 0%, transparent 50%) !important;
}

/* ── Builder canvas cards — glass surface ─────────────────────────── */
.fb-card {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.95) 0%, rgba(248,250,255,0.88) 100%) !important;
  backdrop-filter: blur(14px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  border: 1.5px solid rgba(255,255,255,0.82) !important;
  box-shadow:
    0 4px 18px rgba(99,102,241,0.10),
    0 1px 4px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.96),
    inset 0 -1px 0 rgba(180,190,240,0.12) !important;
}
.fb-card:hover {
  border-color: rgba(99,102,241,0.50) !important;
  box-shadow:
    0 10px 32px rgba(99,102,241,0.16),
    0 2px 8px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.98) !important;
}

/* ── Builder glass panel cards ────────────────────────────────────── */
.fb-gpc {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.82) 0%, rgba(248,250,255,0.68) 100%) !important;
  border: 1px solid rgba(255,255,255,0.72) !important;
  box-shadow:
    0 2px 10px rgba(99,102,241,0.06),
    inset 0 1px 0 rgba(255,255,255,0.92) !important;
}
.fb-gpc:hover {
  background: rgba(255,255,255,0.96) !important;
  box-shadow:
    4px 4px 18px rgba(99,102,241,0.14),
    inset 0 1px 0 rgba(255,255,255,0.98) !important;
}

/* ── Connect step cards ────────────────────────────────────────────── */
.connect-step {
  background:
    linear-gradient(160deg, rgba(255,255,255,0.70) 0%, rgba(248,250,255,0.55) 100%) !important;
  backdrop-filter: blur(14px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(170%) !important;
  border: 1px solid rgba(255,255,255,0.62) !important;
  box-shadow:
    0 4px 16px rgba(15,15,20,0.05),
    inset 0 1px 0 rgba(255,255,255,0.90) !important;
}
.connect-step.done {
  border-color: rgba(22,163,74,0.35) !important;
  background:
    linear-gradient(160deg, rgba(240,255,245,0.80) 0%, rgba(230,252,240,0.65) 100%) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   LANDING MESH — full section width coverage (fade top+bottom only)
   ═══════════════════════════════════════════════════════════════════════ */
.lp-mesh {
  left: 0 !important; right: 0 !important; width: 100% !important;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,0.6) 5%,
    rgba(0,0,0,1) 16%,
    rgba(0,0,0,1) 84%,
    rgba(0,0,0,0.6) 95%,
    transparent 100%
  ) !important;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,0.6) 5%,
    rgba(0,0,0,1) 16%,
    rgba(0,0,0,1) 84%,
    rgba(0,0,0,0.6) 95%,
    transparent 100%
  ) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER — individual letter spans, parabola scroll animation
   ═══════════════════════════════════════════════════════════════════════ */
.lp-footer {
  overflow: hidden !important;
  padding-bottom: 48px !important;
}
.lp-bigword {
  overflow: visible !important;
  height: clamp(100px, 20vw, 300px) !important;
  min-height: unset !important;
  margin: 0 0 36px !important;
  padding: 0 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  pointer-events: none !important;
  user-select: none !important;
}
.lp-bigword .ltr {
  display: inline-block !important;
  font-family: 'Poppins', system-ui, sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(64px, 17.5vw, 340px) !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  color: #f6f6f1 !important;
  transform-origin: center bottom !important;
  will-change: transform !important;
  opacity: 0.92 !important;
}
.lp-bigword .ltr-space {
  display: inline-block !important;
  width: 0.2em !important;
}

/* ── Agent incomplete preview notice ──────────────────────────────── */
.svp-incomplete {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px 16px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(255,205,92,0.12) 0%, rgba(255,180,60,0.06) 100%);
  border: 1.5px dashed rgba(255,180,60,0.35);
}
.svp-incomplete-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,205,92,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.svp-incomplete-title {
  font-size: 13.5px; font-weight: 700; color: #92580f;
}
.svp-incomplete-sub {
  font-size: 12px; color: rgba(92,58,15,0.7); line-height: 1.5; max-width: 230px;
}

/* ═══════════════════════════════════════════════════════════════════════
   MASTER GLASS OVERHAUL v73 — true frosted & liquid glass everywhere
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Core utility classes (from master design prompt) ─────────────────── */
.glass-frosted,
.glass-frosted * { box-sizing: border-box; }
.glass-frosted {
  background: rgba(255,255,255,0.45) !important;
  backdrop-filter: blur(16px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.08), inset 0 1px 0 0 rgba(255,255,255,0.55) !important;
}
.glass-liquid {
  background: linear-gradient(
    155deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.20) 50%,
    rgba(220,230,255,0.12) 100%
  ) !important;
  backdrop-filter: blur(28px) saturate(220%) brightness(1.05) !important;
  -webkit-backdrop-filter: blur(28px) saturate(220%) brightness(1.05) !important;
  border-top:    1.5px solid rgba(255,255,255,0.90) !important;
  border-left:   1px   solid rgba(255,255,255,0.72) !important;
  border-right:  1px   solid rgba(190,205,235,0.25) !important;
  border-bottom: 1px   solid rgba(190,205,235,0.25) !important;
  box-shadow:
    0 16px 48px rgba(15,15,20,0.14),
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 1px 0 0 rgba(255,255,255,0.60) !important;
}

/* ── SIDEBAR — deep frosted pane ──────────────────────────────────────── */
.sidebar {
  background: rgba(255,255,255,0.46) !important;
  backdrop-filter: blur(32px) saturate(200%) brightness(1.02) !important;
  -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(1.02) !important;
  border-right: 1px solid rgba(255,255,255,0.60) !important;
  box-shadow:
    inset -1px 0 0 rgba(255,255,255,0.55),
    4px 0 32px rgba(15,15,20,0.05) !important;
}

/* ── TOPBAR — frosted glass bar ───────────────────────────────────────── */
.topbar {
  background: rgba(255,255,255,0.46) !important;
  backdrop-filter: blur(32px) saturate(200%) brightness(1.02) !important;
  -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(1.02) !important;
  border-bottom: 1px solid rgba(255,255,255,0.60) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.90),
    0 4px 20px rgba(15,15,20,0.04) !important;
}

/* ── CARDS — actual glass panels ──────────────────────────────────────── */
.card {
  background: rgba(255,255,255,0.46) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
  border-top:    1px solid rgba(255,255,255,0.88) !important;
  border-left:   1px solid rgba(255,255,255,0.70) !important;
  border-right:  1px solid rgba(200,215,235,0.35) !important;
  border-bottom: 1px solid rgba(200,215,235,0.35) !important;
  box-shadow:
    0 8px 32px 0 rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.90),
    inset 1px 0 0 rgba(255,255,255,0.55) !important;
}

/* ── LANDING NAV pill ─────────────────────────────────────────────────── */
.lp-nav {
  background: rgba(255,255,255,0.46) !important;
  backdrop-filter: blur(32px) saturate(200%) brightness(1.04) !important;
  -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(1.04) !important;
  border: 1px solid rgba(255,255,255,0.65) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.98),
    inset 0 -1px 0 rgba(200,215,235,0.18),
    0 12px 40px -16px rgba(15,15,20,0.14) !important;
}

/* ── LANDING integration plate ────────────────────────────────────────── */
.lp-glass-plate-inner {
  background: linear-gradient(
    155deg,
    rgba(255,255,255,0.48) 0%,
    rgba(255,255,255,0.20) 50%,
    rgba(215,225,255,0.14) 100%
  ) !important;
  backdrop-filter: blur(40px) saturate(250%) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(40px) saturate(250%) brightness(1.06) !important;
  border: 1px solid rgba(255,255,255,0.86) !important;
  box-shadow:
    0 28px 64px -20px rgba(15,15,20,0.30),
    inset 0 -8px 22px rgba(15,15,20,0.06),
    inset 0 12px 32px rgba(255,255,255,0.95) !important;
}

/* ── LANDING integration icon chips ──────────────────────────────────── */
.lp-int, .lp-int-brand {
  background: linear-gradient(
    155deg,
    rgba(255,255,255,0.88) 0%,
    rgba(255,255,255,0.62) 55%,
    rgba(230,238,255,0.48) 100%
  ) !important;
  backdrop-filter: blur(28px) saturate(210%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(210%) !important;
  border-top:    1.5px solid rgba(255,255,255,0.98) !important;
  border-left:   1px   solid rgba(255,255,255,0.82) !important;
  border-right:  1px   solid rgba(200,215,240,0.30) !important;
  border-bottom: 1px   solid rgba(200,215,240,0.30) !important;
  box-shadow:
    0 12px 36px rgba(15,15,20,0.22),
    inset 0 1px 0 rgba(255,255,255,0.99),
    inset 1px 0 0 rgba(255,255,255,0.72) !important;
}

/* ── AUTH MODAL — pure transparent glass ─────────────────────────────── */
.auth-modal-backdrop-light .auth-modal {
  background: rgba(255,255,255,0.16) !important;
  backdrop-filter: blur(52px) saturate(200%) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(52px) saturate(200%) brightness(1.06) !important;
  border-top:    1px solid rgba(255,255,255,0.72) !important;
  border-left:   1px solid rgba(255,255,255,0.56) !important;
  border-right:  1px solid rgba(255,255,255,0.22) !important;
  border-bottom: 1px solid rgba(255,255,255,0.22) !important;
  box-shadow:
    0 40px 80px -16px rgba(15,15,20,0.24),
    inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

/* ── ONBOARDING brand bar + cards ─────────────────────────────────────── */
.ob-brand {
  background: rgba(255,255,255,0.46) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  border: 1px solid rgba(255,255,255,0.68) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 8px 28px -12px rgba(15,15,20,0.12) !important;
}
.ob-card {
  background: rgba(255,255,255,0.46) !important;
  backdrop-filter: blur(32px) saturate(210%) brightness(1.03) !important;
  -webkit-backdrop-filter: blur(32px) saturate(210%) brightness(1.03) !important;
  border-top:    1px solid rgba(255,255,255,0.95) !important;
  border-left:   1px solid rgba(255,255,255,0.78) !important;
  border-right:  1px solid rgba(200,215,235,0.30) !important;
  border-bottom: 1px solid rgba(200,215,235,0.30) !important;
  box-shadow:
    0 40px 80px -20px rgba(15,15,20,0.22),
    inset 0 1px 0 rgba(255,255,255,0.99),
    inset 0 -1px 0 rgba(200,215,255,0.12) !important;
}

/* ── AGENT BUILDER glass panel ─────────────────────────────────────────── */
.fb-glass-panel {
  background: linear-gradient(160deg,
    rgba(255,255,255,0.52) 0%,
    rgba(244,244,255,0.40) 50%,
    rgba(232,236,255,0.34) 100%) !important;
  backdrop-filter: blur(40px) saturate(220%) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(40px) saturate(220%) brightness(1.06) !important;
  border-left: 1px solid rgba(255,255,255,0.72) !important;
  box-shadow:
    inset 1px 0 0 rgba(255,255,255,0.82),
    -10px 0 36px rgba(99,102,241,0.06) !important;
}
.fb-gpc {
  background: rgba(255,255,255,0.46) !important;
  border: 1px solid rgba(255,255,255,0.68) !important;
  box-shadow: 0 2px 10px rgba(99,102,241,0.06), inset 0 1px 0 rgba(255,255,255,0.95) !important;
}
.fb-card {
  background: rgba(255,255,255,0.52) !important;
  backdrop-filter: blur(18px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(190%) !important;
  border-top:    1.5px solid rgba(255,255,255,0.92) !important;
  border-left:   1px   solid rgba(255,255,255,0.72) !important;
  border-right:  1px   solid rgba(200,215,235,0.30) !important;
  border-bottom: 1px   solid rgba(200,215,235,0.30) !important;
  box-shadow:
    0 4px 18px rgba(99,102,241,0.10),
    inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

/* ── CONNECT step cards ────────────────────────────────────────────────── */
.connect-step {
  background: rgba(255,255,255,0.44) !important;
  backdrop-filter: blur(16px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
  border-top:    1px solid rgba(255,255,255,0.88) !important;
  border-left:   1px solid rgba(255,255,255,0.70) !important;
  border-right:  1px solid rgba(200,215,235,0.32) !important;
  border-bottom: 1px solid rgba(200,215,235,0.32) !important;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.95) !important;
}
.connect-step.done {
  border-color: rgba(22,163,74,0.30) !important;
  background: rgba(240,255,245,0.46) !important;
}

/* ── LANDING GLASS ICON CARDS — app icons, strongest glass ───────────── */
.lp-glass-icon-card {
  background: linear-gradient(155deg,
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.09) 55%,
    rgba(210,222,255,0.06) 100%) !important;
  backdrop-filter: blur(48px) saturate(3.2) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(48px) saturate(3.2) brightness(1.08) !important;
  border-top:    1.5px solid rgba(255,255,255,0.95) !important;
  border-left:   1px   solid rgba(255,255,255,0.80) !important;
  border-right:  1px   solid rgba(175,192,225,0.22) !important;
  border-bottom: 1px   solid rgba(175,192,225,0.20) !important;
  box-shadow:
    0 16px 52px rgba(15,15,20,0.14),
    0 4px 14px rgba(15,15,20,0.06),
    inset 0 1px 0 rgba(255,255,255,0.98),
    inset 1px 0 0 rgba(255,255,255,0.65) !important;
}
.lp-gic-shine {
  background: linear-gradient(140deg,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.42) 18%,
    rgba(255,255,255,0.08) 40%,
    rgba(255,255,255,0.00) 55%) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   MESH — full section width, fade top + bottom edges only
   ═══════════════════════════════════════════════════════════════════════ */
.lp-mesh {
  left: 0 !important; right: 0 !important;
  width: 100% !important;
  inset: 0 !important;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent   0%,
    rgba(0,0,0,.5) 4%,
    #000          14%,
    #000          86%,
    rgba(0,0,0,.5) 96%,
    transparent  100%
  ) !important;
  mask-image: linear-gradient(
    to bottom,
    transparent   0%,
    rgba(0,0,0,.5) 4%,
    #000          14%,
    #000          86%,
    rgba(0,0,0,.5) 96%,
    transparent  100%
  ) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER — parabola span letters (final override, no SVG)
   ═══════════════════════════════════════════════════════════════════════ */

/* Billing section — warm cream background with pure glass cards */
.lp-billing {
  background: linear-gradient(160deg, #fffcf0 0%, #fef7de 50%, #fff9f0 100%) !important;
}
.lp-billing::before {
  background:
    radial-gradient(ellipse 50% 55% at 18% 45%, rgba(99,102,241,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 45% 50% at 82% 55%, rgba(168,85,247,0.05) 0%, transparent 65%) !important;
}
.lp-billing-head h2 { color: #1a1825 !important; }
.lp-billing-head h2 em { color: rgba(26,24,37,0.40) !important; }
.lp-billing-head .eb { color: rgba(120,80,0,0.80) !important; }
.lp-billing-head p { color: rgba(26,24,37,0.60) !important; }
.lp-billing-head p strong { color: #9a6100 !important; }

/* Pure transparent glass plan cards */
.lp-plan {
  background: rgba(255,255,255,0.40) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1px solid rgba(255,255,255,0.78) !important;
  color: #1a1825 !important;
  box-shadow:
    0 8px 32px -8px rgba(26,24,37,0.08),
    inset 0 1px 0 rgba(255,255,255,0.92),
    inset 0 -1px 0 rgba(200,200,220,0.12) !important;
}
.lp-plan:hover {
  background: rgba(255,255,255,0.62) !important;
  border-color: rgba(255,255,255,0.90) !important;
  box-shadow:
    0 16px 48px -12px rgba(26,24,37,0.12),
    inset 0 1px 0 rgba(255,255,255,0.96) !important;
}
.lp-plan-name { color: #1a1825 !important; }
.lp-plan-sub { color: rgba(26,24,37,0.52) !important; }
.lp-plan-price .amt { color: #1a1825 !important; }
.lp-plan-price .per { color: rgba(26,24,37,0.42) !important; }
.lp-plan-feats li { color: rgba(26,24,37,0.70) !important; }
.lp-plan-feats .tick { color: #059669 !important; }
.lp-plan-cta {
  border: 1px solid rgba(26,24,37,0.13) !important;
  background: rgba(255,255,255,0.52) !important;
  color: #1a1825 !important;
}
.lp-plan-cta:hover {
  background: rgba(255,255,255,0.82) !important;
}

/* Featured (Growth) card — elevated glass with rainbow animated border */
.lp-plan.featured {
  background: rgba(255,255,255,0.40) !important;
  border: 1.5px solid transparent !important;
  transform: translateY(-18px) !important;
  z-index: 2 !important;
  box-shadow:
    0 24px 64px -16px rgba(99,102,241,0.22),
    inset 0 1px 0 rgba(255,255,255,0.94) !important;
}
.lp-plan.featured::before {
  content: "" !important;
  position: absolute !important;
  inset: -1.5px !important;
  border-radius: 21px !important;
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899, #f97316, #eab308, #22c55e, #3b82f6, #6366f1) !important;
  background-size: 300% 300% !important;
  animation: featuredBorderSpin 4s linear infinite !important;
  z-index: -1 !important;
}
.lp-plan.featured::after {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  border-radius: 19px !important;
  background: rgba(255,255,255,0.44) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  z-index: -1 !important;
}
.lp-plan.featured .lp-plan-name { color: #1a1825 !important; }
.lp-plan.featured .lp-plan-sub { color: rgba(26,24,37,0.52) !important; }
.lp-plan.featured .lp-plan-feats li { color: rgba(26,24,37,0.72) !important; }
.lp-plan.featured .lp-plan-feats .tick { color: #6366f1 !important; }
.lp-plan.featured .lp-plan-price .amt {
  background: linear-gradient(90deg, #6366f1, #a855f7) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.lp-plan.featured .lp-plan-cta {
  background: linear-gradient(135deg, #6366f1, #a855f7) !important;
  border-color: transparent !important;
  color: #fff !important;
}
@media (max-width: 1080px) {
  .lp-plan.featured { transform: none !important; }
  .lp-plan.featured:hover { transform: translateY(-6px) !important; }
}

/* Footer letter spans */
.lp-footer {
  overflow: hidden !important;
  padding-bottom: 52px !important;
}
.lp-bigword {
  overflow: visible !important;
  height: clamp(100px, 20vw, 300px) !important;
  min-height: unset !important;
  margin: 0 0 36px !important;
  padding: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: flex-end !important;
  pointer-events: none !important;
  user-select: none !important;
  position: relative !important;
  z-index: 2 !important;
}
.lp-bigword .ltr {
  display: inline-block !important;
  font-family: 'Poppins', system-ui, sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(64px, 17.5vw, 340px) !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  color: #f6f6f1 !important;
  transform-origin: center bottom !important;
  will-change: transform !important;
  opacity: 0.92 !important;
}
.lp-bigword .ltr-space {
  display: inline-block !important;
  width: 0.2em !important;
  font-size: clamp(64px, 17.5vw, 340px) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   PRICING — cream background + deep frosted glass + shiny black popular
   ═══════════════════════════════════════════════════════════════════════ */

/* Cream background override */
.lp-billing {
  background: linear-gradient(160deg, #fffdf5 0%, #fef9e8 35%, #fdf5e0 65%, #fffaf0 100%) !important;
  position: relative;
}
.lp-billing::before {
  background:
    radial-gradient(ellipse 60% 50% at 15% 40%, rgba(255,205,92,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 60%, rgba(255,180,50,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 50% 100%, rgba(255,220,140,0.12) 0%, transparent 60%) !important;
}
.lp-billing-head h2 { color: #1a1408 !important; }
.lp-billing-head h2 em { color: rgba(26,20,8,0.38) !important; }
.lp-billing-head .eb { color: rgba(140,90,0,0.85) !important; }
.lp-billing-head p { color: rgba(26,20,8,0.60) !important; }
.lp-billing-head p strong { color: #a06800 !important; }

/* All cards — deep frosted glass + 3D lift */
.lp-plan {
  background: rgba(255,255,255,0.38) !important;
  backdrop-filter: blur(32px) saturate(200%) brightness(1.04) !important;
  -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(1.04) !important;
  border-top:    1.5px solid rgba(255,255,255,0.90) !important;
  border-left:   1px   solid rgba(255,255,255,0.72) !important;
  border-right:  1px   solid rgba(220,210,190,0.30) !important;
  border-bottom: 1px   solid rgba(220,210,190,0.30) !important;
  border-radius: 22px !important;
  color: #1a1408 !important;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.95) inset,
    0 -1px 0 rgba(200,190,170,0.20) inset,
    0 24px 56px -16px rgba(120,90,20,0.14),
    0 8px 20px -8px rgba(120,90,20,0.08) !important;
  transform: perspective(800px) translateZ(0) translateY(0) !important;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease, border-color 260ms ease !important;
}
.lp-plan:hover {
  background: rgba(255,255,255,0.62) !important;
  border-top: 1.5px solid rgba(255,255,255,1) !important;
  box-shadow:
    0 2px 0 rgba(255,255,255,1) inset,
    0 -1px 0 rgba(200,190,170,0.18) inset,
    0 40px 72px -16px rgba(120,90,20,0.18),
    0 12px 28px -8px rgba(120,90,20,0.10) !important;
  transform: perspective(800px) translateZ(16px) translateY(-8px) !important;
}
.lp-plan-name { color: #1a1408 !important; font-weight: 700 !important; }
.lp-plan-sub  { color: rgba(26,20,8,0.50) !important; }
.lp-plan-price .amt { color: #1a1408 !important; }
.lp-plan-price .per { color: rgba(26,20,8,0.40) !important; }
.lp-plan-feats li   { color: rgba(26,20,8,0.68) !important; }
.lp-plan-feats .tick { color: #16a34a !important; }
.lp-plan-cta {
  border: 1px solid rgba(26,20,8,0.14) !important;
  background: rgba(255,255,255,0.55) !important;
  color: #1a1408 !important;
}
.lp-plan-cta:hover { background: rgba(255,255,255,0.88) !important; }

/* ── Shiny black "Most Popular" (Growth) card ── */
.lp-plan.featured {
  background: linear-gradient(
    145deg,
    #1c1c1e 0%,
    #141416 40%,
    #1a1a1c 70%,
    #0f0f11 100%
  ) !important;
  border-top:    1.5px solid rgba(255,255,255,0.20) !important;
  border-left:   1px   solid rgba(255,255,255,0.12) !important;
  border-right:  1px   solid rgba(255,255,255,0.04) !important;
  border-bottom: 1px   solid rgba(255,255,255,0.04) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: perspective(800px) translateZ(0) translateY(-22px) !important;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.18) inset,
    0 -1px 0 rgba(0,0,0,0.55) inset,
    0 40px 80px -20px rgba(0,0,0,0.60),
    0 16px 40px -12px rgba(0,0,0,0.40),
    0 0 0 1px rgba(255,255,255,0.08) !important;
  z-index: 2 !important;
}
/* Shine sweep */
.lp-plan.featured::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 22px !important;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.13) 0%,
    rgba(255,255,255,0.04) 30%,
    transparent 55%,
    rgba(255,255,255,0.06) 80%,
    rgba(255,255,255,0.02) 100%
  ) !important;
  background-size: 200% 200% !important;
  animation: shineSwipe 3.5s ease-in-out infinite !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
.lp-plan.featured::after {
  display: none !important;
}
@keyframes shineSwipe {
  0%   { background-position: 200% 200%; }
  50%  { background-position: -50% -50%; }
  100% { background-position: 200% 200%; }
}
.lp-plan.featured:hover {
  transform: perspective(800px) translateZ(20px) translateY(-28px) !important;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.22) inset,
    0 -1px 0 rgba(0,0,0,0.55) inset,
    0 56px 96px -20px rgba(0,0,0,0.70),
    0 20px 50px -12px rgba(0,0,0,0.50),
    0 0 0 1px rgba(255,255,255,0.12) !important;
}
.lp-plan.featured .lp-plan-name { color: #f8f8f5 !important; }
.lp-plan.featured .lp-plan-sub  { color: rgba(248,248,245,0.48) !important; }
.lp-plan.featured .lp-plan-feats li { color: rgba(248,248,245,0.70) !important; }
.lp-plan.featured .lp-plan-feats .tick { color: #4ade80 !important; }
.lp-plan.featured .lp-plan-price .amt { color: #f8f8f5 !important; background: none !important; -webkit-text-fill-color: unset !important; }
.lp-plan.featured .lp-plan-price .per { color: rgba(248,248,245,0.40) !important; }
.lp-plan.featured .lp-plan-divider { border-color: rgba(255,255,255,0.10) !important; }
.lp-plan.featured .lp-plan-popular-wrap { position: relative; z-index: 1; }
.lp-plan.featured .lp-plan-popular-badge {
  background: linear-gradient(90deg, #ffcd5c, #ffa500) !important;
  color: #1a1000 !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 12px rgba(255,180,0,0.45) !important;
}
.lp-plan.featured .lp-popular-dot {
  width: 6px !important;
  height: 6px !important;
  background: #1a1000 !important;
  border-radius: 50% !important;
  animation: pulse 1.6s infinite !important;
}
.lp-plan.featured .lp-plan-cta {
  background: linear-gradient(135deg, #ffcd5c, #ffa500) !important;
  border-color: transparent !important;
  color: #1a1000 !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px rgba(255,180,0,0.35) !important;
  position: relative !important;
  z-index: 1 !important;
}
.lp-plan.featured .lp-plan-cta:hover {
  background: linear-gradient(135deg, #ffe080, #ffb800) !important;
  box-shadow: 0 12px 28px rgba(255,180,0,0.50) !important;
}
@media (max-width: 1080px) {
  .lp-plan.featured { transform: none !important; }
  .lp-plan.featured:hover { transform: perspective(800px) translateZ(12px) translateY(-6px) !important; }
}
@media (max-width: 760px) {
  .lp-plan-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 520px) {
  .lp-plan-grid { grid-template-columns: 1fr !important; }
}


/* ═══════════════════════════════════════════════════════════════════════
   FOOTER — clean, symmetric parabola, no link columns, mobile-friendly
   ═══════════════════════════════════════════════════════════════════════ */

.lp-footer {
  background: #060608 !important;
  padding: 72px 24px 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Brand row at top of footer */
.lp-footer-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto 56px;
  text-align: center;
  flex-direction: column;
  align-items: center;
}
.lp-footer-brand-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd97a, #ffcd5c);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; color: #1a1008;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(255,180,0,0.30);
}
.lp-footer-brand-name {
  font-size: 18px; font-weight: 700;
  color: #f6f6f1;
  margin-bottom: 6px;
}
.lp-footer-brand-sub {
  font-size: 14px;
  color: rgba(243,243,238,0.52);
  line-height: 1.6;
  max-width: 400px;
}

/* Big word wrapper — clips the letters cleanly */
.lp-bigword-wrap {
  position: relative;
  width: 100%;
  height: clamp(90px, 18vw, 280px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Big letters container */
.lp-bigword {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: flex-end !important;
  width: 100% !important;
  height: clamp(90px, 18vw, 280px) !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
  overflow: visible !important;
  z-index: 2 !important;
}
.lp-bigword .ltr {
  display: inline-block !important;
  font-family: 'Poppins', system-ui, sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(60px, 16vw, 300px) !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  color: #f6f6f1 !important;
  transform-origin: center bottom !important;
  will-change: transform !important;
  opacity: 0.88 !important;
}
.lp-bigword .ltr-space {
  display: inline-block !important;
  width: 0.18em !important;
  font-size: clamp(60px, 16vw, 300px) !important;
}

/* "Calls that matter" tagline under big word */
.lp-footer-tagline {
  text-align: center;
  font-size: clamp(13px, 2vw, 17px);
  font-weight: 500;
  color: rgba(243,243,238,0.40);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 20px 24px 32px;
  position: relative; z-index: 3;
}

/* Bottom strip */
.lp-footer-bottom {
  border-top: 1px solid rgba(243,243,238,0.08) !important;
  padding: 20px 0 28px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 12px !important;
  color: rgba(243,243,238,0.38) !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 3 !important;
}

/* Triangular light glow */
.lp-footer-light {
  position: absolute !important;
  left: 50% !important; top: 0 !important;
  transform: translateX(-50%) !important;
  width: 0 !important; height: 0 !important;
  border-left:  28vw solid transparent !important;
  border-right: 28vw solid transparent !important;
  border-top:   60vh solid rgba(255,205,92,0.045) !important;
  z-index: 1 !important;
  pointer-events: none !important;
  filter: blur(30px) !important;
}

/* Mobile footer */
@media (max-width: 600px) {
  .lp-footer { padding: 52px 16px 0 !important; }
  .lp-footer-bottom {
    flex-direction: column !important;
    gap: 6px !important;
    text-align: center !important;
  }
  .lp-bigword-wrap { height: clamp(60px, 22vw, 120px); }
  .lp-bigword { height: clamp(60px, 22vw, 120px) !important; }
}

/* =====================================================
   CALLS PAGE — IMPROVED CARD DESIGN
   ===================================================== */

/* Better call cards */
.cl-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  background: #fff !important;
  border: 1px solid #ebebeb !important;
  border-left: 4px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 15px 16px !important;
  text-align: left !important;
  cursor: pointer !important;
  font-family: inherit !important;
  transition: all 160ms cubic-bezier(0.2,0.8,0.2,1) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
  width: 100% !important;
}
.cl-card:hover {
  border-color: #d1d5db !important;
  border-left-color: var(--primary) !important;
  box-shadow: 0 6px 22px -6px rgba(15,15,20,0.13) !important;
  transform: translateY(-2px) !important;
}
.cl-card-urgent { border-left-color: #ef4444 !important; }
.cl-card-booked { border-left-color: #10b981 !important; }
.cl-card-handled { border-left-color: var(--accent, #f0c850) !important; }

.cl-card-avatar {
  width: 42px !important; height: 42px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg,#6366f1,#818cf8) !important;
  color: #fff !important;
  font-size: 14px !important; font-weight: 700 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  flex-shrink: 0 !important;
  letter-spacing: 0 !important;
}
.cl-card-avatar.av-urgent { background: linear-gradient(135deg,#ef4444,#f87171) !important; }
.cl-card-avatar.av-booked { background: linear-gradient(135deg,#10b981,#34d399) !important; }

.cl-card-body { flex: 1 !important; min-width: 0 !important; }
.cl-card-toprow {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin-bottom: 3px !important;
}
.cl-card-caller-name {
  font-size: 14px !important; font-weight: 600 !important;
  color: var(--text) !important;
  white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
  max-width: 180px !important;
}
.cl-card-badge {
  font-size: 10px !important; font-weight: 600 !important;
  text-transform: uppercase !important; letter-spacing: 0.05em !important;
  padding: 2px 7px !important; border-radius: 20px !important;
  flex-shrink: 0 !important;
}
.cl-card-badge.badge-urgent { background: rgba(239,68,68,0.10) !important; color: #dc2626 !important; }
.cl-card-badge.badge-booked { background: rgba(16,185,129,0.10) !important; color: #059669 !important; }
.cl-card-badge.badge-handled { background: rgba(100,116,139,0.10) !important; color: #475569 !important; }

.cl-card-phone-num {
  font-size: 11.5px !important; color: var(--muted) !important;
  margin-bottom: 5px !important; font-variant-numeric: tabular-nums !important;
}
.cl-card-summ {
  font-size: 12.5px !important; color: var(--muted) !important;
  line-height: 1.5 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important;
}
.cl-card-meta {
  flex-shrink: 0 !important;
  display: flex !important; flex-direction: column !important;
  align-items: flex-end !important; gap: 4px !important;
  min-width: 54px !important;
}
.cl-card-time-lbl {
  font-size: 11px !important; color: var(--muted) !important;
  white-space: nowrap !important;
}
.cl-card-dur-lbl {
  font-size: 11px !important; font-weight: 500 !important;
  background: rgba(15,15,20,0.05) !important;
  padding: 2px 7px !important; border-radius: 6px !important;
  color: var(--muted) !important; white-space: nowrap !important;
}

/* Improved recent callers */
.cl-recent-caller {
  display: flex !important; flex-direction: column !important; gap: 2px !important;
  width: 100% !important; text-align: left !important;
  padding: 9px 12px !important;
  background: rgba(255,255,255,0.65) !important;
  border: 1px solid rgba(180,185,230,0.22) !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  font-family: inherit !important;
  transition: all 130ms ease !important;
  margin-bottom: 5px !important;
}
.cl-recent-caller:hover {
  background: rgba(255,255,255,0.92) !important;
  border-color: rgba(99,102,241,0.25) !important;
  transform: translateX(2px) !important;
}
.cl-recent-num {
  font-size: 12.5px !important; font-weight: 600 !important;
  color: var(--text) !important; font-variant-numeric: tabular-nums !important;
}
.cl-recent-name { font-size: 11px !important; color: var(--muted) !important; }
.cl-recent-co { color: var(--primary) !important; }
.cl-recent-when { font-size: 10.5px !important; color: var(--muted-2) !important; }

/* =====================================================
   FULL MOBILE RESPONSIVE — ALL SECTIONS
   ===================================================== */

/* ---- Nav / Hero ---- */
@media (max-width: 768px) {
  .lp-nav {
    padding: 10px 16px !important;
    gap: 8px !important;
  }
  .lp-nav-links { display: none !important; }
  .lp-nav-cta { gap: 6px !important; }
  .lp-nav-btn-ghost { display: none !important; }
  .lp-nav-btn-solid {
    padding: 9px 18px !important;
    font-size: 13px !important;
  }

  .lp-hero {
    padding: 64px 20px 40px !important;
    text-align: center !important;
  }
  .lp-pill { margin: 0 auto 18px !important; }
  .lp-title-line {
    white-space: normal !important;
    font-size: clamp(28px, 8vw, 46px) !important;
  }
  .lp-subtitle { font-size: 15px !important; }
  .lp-hero-cta {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .lp-hero-cta .btn { width: 100% !important; max-width: 300px !important; justify-content: center !important; }

  /* Brand floats — hide on mobile */
  .lp-float-brand { display: none !important; }

  /* Features / sticky notes */
  .lp-notes-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 0 16px !important;
  }
  .lp-note-arr { display: none !important; }

  /* Slider */
  .lp-slider-frame { height: 380px !important; }

  /* Reviews */
  .lp-reviews-track { gap: 12px !important; }
  .lp-review { min-width: 260px !important; padding: 18px !important; }

  /* Voice tester */
  .lp-try { padding: 40px 20px !important; }
  .lp-try-controls { grid-template-columns: 1fr !important; gap: 10px !important; }
  .lp-try-picker { min-width: 0 !important; }

  /* Use cases section */
  .lp-usecases-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 0 16px !important;
  }

  /* Pricing */
  .lp-pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 16px !important;
    max-width: 420px !important;
    margin: 0 auto !important;
  }
  .lp-plan-card { transform: none !important; }
  .lp-plan-card:hover { transform: translateY(-4px) !important; }

  /* Footer big word */
  .lp-bigword-wrap {
    height: clamp(50px, 18vw, 100px) !important;
    overflow: visible !important;
  }
  .lp-bigword {
    font-size: clamp(38px, 12vw, 120px) !important;
    height: auto !important;
  }
  .lp-footer-tagline { font-size: 12px !important; letter-spacing: 0.1em !important; }
}

/* ---- Dashboard app — mobile ---- */
@media (max-width: 768px) {
  /* Sidebar */
  .sidebar { display: none !important; }
  .layout { grid-template-columns: 1fr !important; }
  .page { padding: 16px !important; }

  /* Shell / header */
  .shell-header { padding: 16px 16px 8px !important; }
  .shell-title { font-size: 20px !important; }

  /* Stat cards */
  .dash-stats { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .stat-card { padding: 14px !important; }
  .stat-val { font-size: 24px !important; }

  /* Calls page — stack everything */
  .cl-layout, .cl-layout-2 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .cl-left, .cl-right {
    position: static !important;
    top: auto !important;
  }
  .cl-left-tall { position: static !important; max-height: 280px !important; overflow-y: auto !important; }
  .cl-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .cl-filters { flex-wrap: wrap !important; }
  .cl-bigcal-grid { gap: 2px !important; }
  .cl-bigcal-cell { min-height: 42px !important; padding: 4px !important; }
  .cl-bigcal-dow { font-size: 9px !important; }
  .cl-card-caller-name { max-width: 130px !important; }
  .cl-card-meta { display: none !important; }

  /* Agent grid */
  .agents-grid { grid-template-columns: 1fr !important; gap: 12px !important; }

  /* Show mobile bottom tab bar */
  .mobile-tabs { display: flex !important; }
  /* Pad main content so it doesn't sit behind the tab bar */
  .main { padding-bottom: 72px !important; }
}

/* Small phones */
@media (max-width: 400px) {
  .lp-title-line { font-size: clamp(24px, 7vw, 36px) !important; }
  .dash-stats { grid-template-columns: 1fr !important; }
  .cl-card { gap: 10px !important; padding: 12px !important; }
  .cl-card-avatar { width: 36px !important; height: 36px !important; font-size: 12px !important; }
  .lp-pricing-grid { padding: 0 12px !important; }
}
