/* AI Manager — light dynamic landing (default) */
:root {
  --bg: #f4f7f5;
  --bg2: #ffffff;
  --text: #0f172a;
  --muted: #5b6b7c;
  --accent: #0d9488;
  --accent2: #14b8a6;
  --danger: #dc2626;
  --ok: #059669;
  --glass: rgba(255, 255, 255, 0.92);
  --border: rgba(15, 23, 42, 0.1);
  --radius: 16px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font);
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}
img, svg, video { max-width: 100%; height: auto; }

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 12% 0%, rgba(20, 184, 166, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 20%, rgba(251, 191, 36, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 70% 85%, rgba(13, 148, 136, 0.1), transparent 55%),
    var(--bg);
}

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1rem; }

header.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
}
.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 0;
  font-size: 0.9rem;
  transition: color 0.2s;
  white-space: nowrap;
}
nav a:hover { color: var(--accent); }
.header-cta { flex-shrink: 0; white-space: nowrap; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
}
.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  background: none;
  -webkit-background-clip: unset;
  color: var(--text);
}
.logo-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #0f172a 40%, var(--accent));
  -webkit-background-clip: text;
  color: transparent;
}
.logo-brand img { flex-shrink: 0; display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #fff;
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.35);
}
.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

section { padding: 5rem 0; }
section.reveal { opacity: 0; transform: translateY(24px); transition: 0.7s ease; }
section.reveal.visible { opacity: 1; transform: none; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.tag {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.hero-wrap { padding: 2.5rem 0 3rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 1.5rem 0 2rem;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-wrap { padding: 1.25rem 0 2rem; }
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.hero-lead {
  margin-top: 0.5rem;
  scroll-margin-top: 5.5rem;
}
.hero-lead-card {
  max-width: none;
  margin: 0;
  animation: heroLeadIn 0.7s ease both;
}
.hero-lead-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.35rem;
  text-align: center;
}
.hero-lead-sub {
  text-align: center;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.cta-fields--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 640px) {
  .cta-fields--grid { grid-template-columns: 1fr; }
  .hero-cta-row .btn { width: 100%; }
}
@keyframes heroLeadIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.chat-demo {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.chat-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.5s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.chat-body { padding: 1rem; min-height: 220px; max-height: 320px; overflow-y: auto; }
.msg { margin-bottom: 0.75rem; padding: 0.65rem 0.9rem; border-radius: 12px; font-size: 0.9rem; max-width: 90%; }
.msg.user { background: rgba(13, 148, 136, 0.12); margin-left: auto; color: var(--text); }
.msg.bot { background: #f1f5f9; border: 1px solid var(--border); color: var(--text); }
.chat-toast {
  margin: 0.5rem 1rem 1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(13, 148, 136, 0.12);
  border-radius: 8px;
  font-size: 0.8rem;
  color: #047857;
  display: none;
}
.chat-toast.show { display: block; animation: fadeIn 0.4s; }
@keyframes fadeIn { from { opacity: 0; } }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.grid-8 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.grid-6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.section-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.hero-contact { margin-top: 1rem; font-size: 0.9rem; }

.feature-card .feature-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.feature-grid .card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.feature-grid .card p { font-size: 0.88rem; margin: 0; }

.int-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.int-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.int-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.int-card .int-icon { font-size: 1.75rem; }
.int-card strong { font-size: 0.9rem; }
.int-card span:last-child { font-size: 0.8rem; color: var(--muted); }
.int-card.int-live { border-color: rgba(0, 255, 170, 0.25); }
.int-card.int-live span:last-child { color: var(--accent); }
.int-card.int-partial { border-color: rgba(251, 191, 36, 0.35); }
.int-card.int-partial span:last-child { color: #fbbf24; }
.int-card.int-soon span:last-child { color: #fbbf24; }

.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}
.privacy-row input { margin-top: 0.2rem; accent-color: var(--accent); }
.privacy-row a { color: var(--accent); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: rgba(13, 148, 136, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.steps { counter-reset: step; }
.step {
  display: flex; gap: 1.25rem; margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.niche-demo { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.niche-tabs { display: flex; flex-wrap: wrap; gap: .65rem; }
.niche-tab {
  padding: .65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.niche-tab:hover { border-color: var(--border); transform: translateY(-1px); }
.niche-tab.active {
  border-color: var(--accent);
  background: rgba(13, 148, 136, 0.1);
  color: #0f766e;
  font-weight: 600;
}
.niche-chat-window {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  box-shadow: var(--shadow);
}
.niche-chat-header {
  display: flex; align-items: center; gap: .5rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: .9rem; font-weight: 600;
}
.niche-chat-header .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.niche-chat-window .chat-body { min-height: 180px; padding: 1rem; }

.typing-cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink-cursor .9s step-end infinite;
  margin-left: 1px;
}
@keyframes blink-cursor { 50% { opacity: 0; } }

select, input, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
  color: var(--text);
  font: inherit;
}
select option {
  background: #1e293b;
  color: #e2e8f0;
}

.integrations {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
}
.int-badge {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}
.int-badge.int-live { border-color: rgba(0,255,170,.35); color: var(--accent); }
.int-badge.int-soon { opacity: .65; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
}
@media (max-width: 768px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-vs { padding: 0.25rem 0; }
}
.compare-vs {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--muted);
  align-self: center;
  text-align: center;
}
.compare-card { border-width: 2px; }
.compare-card--bad {
  border-color: rgba(220, 38, 38, 0.45);
  background: linear-gradient(180deg, #fef2f2 0%, #fff 55%);
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.1);
}
.compare-card--bad h3 { color: var(--danger); }
.compare-card--bad .compare-list li::before { color: var(--danger); content: "✗ "; }
.compare-card--good {
  border-color: rgba(5, 150, 105, 0.5);
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 55%);
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.12);
}
.compare-card--good h3 { color: var(--ok); }
.compare-card--good .compare-list li::before { color: var(--ok); content: "✓ "; }
.compare-list { list-style: none; padding: 0; margin: 0; }
.compare-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.9rem;
  color: var(--muted);
}
.compare-list li::before { content: "• "; color: var(--accent); }

.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  text-align: center;
}
.metric-big {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.price-card-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; width: 100%; text-align: center; }
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 32px rgba(0, 255, 170, 0.15);
}
.price-card .badge {
  position: absolute; top: -10px; right: 1rem;
  background: var(--accent); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 0.25rem 0.6rem; border-radius: 6px;
}
.price { font-size: 1.75rem; font-weight: 700; margin: 0.5rem 0; }
.price-card ul {
  list-style: none; padding: 0; margin: 1rem 0 1.25rem;
  font-size: 0.85rem; color: var(--muted); flex: 1 1 auto;
}
.price-card ul li { padding: 0.35rem 0; }

.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-q {
  width: 100%; text-align: left;
  background: none; border: none; color: var(--text);
  padding: 1.25rem 0; font-size: 1rem; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between;
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--muted); font-size: 0.95rem;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 1rem; }

.cta-card {
  max-width: 720px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cta-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cta-fields input,
.cta-fields select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
}
.cta-fields input:focus,
.cta-fields select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
  outline: none;
}
.consent-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.2s;
}
.consent-card--compact {
  padding: 0.55rem 0.65rem;
  margin-top: 0.15rem;
}
.consent-card:has(input:checked) {
  border-color: rgba(13, 148, 136, 0.4);
  background: rgba(13, 148, 136, 0.06);
}
.consent-card input {
  width: auto;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.consent-text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.consent-text a { color: var(--accent); }
.btn-cta {
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.28);
}
.cta-teaser { text-align: center; }
.cta-teaser .lead { margin-left: auto; margin-right: auto; }
.cta-alt {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.cta-alt a { color: var(--accent); }
.form-msg { text-align: center; font-size: 0.9rem; min-height: 1.5rem; margin: 0; }
.form-msg.ok { color: var(--accent); }
.lead-verify-step { margin-top: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.lead-verify-hint { text-align: center; font-size: .9rem; color: var(--muted); margin: 0; }
.lead-verify-step input#lead-otp {
  text-align: center; font-size: 1.5rem; letter-spacing: .35em; padding: .75rem;
  border-radius: 10px; border: 1px solid var(--border); background: rgba(0,0,0,.3); color: var(--text);
}

.disclaimer {
  text-align: center;
  font-size: 0.8rem;
  max-width: 720px;
  margin: 0 auto 1rem;
  padding: 0 1rem;
}
.widget-disclaimer {
  margin: 0;
  padding: 0.35rem 1rem;
  font-size: 0.68rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
footer p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  line-height: 1.5;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

@media (max-width: 900px) {
  section { padding: 3rem 0; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .header-nav-wrap {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }
  .header-nav-wrap.is-open { display: flex; }
  .header-nav-wrap nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .header-nav-wrap nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    white-space: normal;
  }
  .header-nav-wrap nav a:last-child { border-bottom: none; }
  .header-cta {
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
  }
  .hero-cta-row .btn { width: 100%; }
  .btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
  #aim-widget-panel {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
  }
  #aim-widget-btn { right: 16px; bottom: 16px; }
  .grid-4, .grid-6, .grid-8 { grid-template-columns: 1fr; }
}

.dashboard-page .dash-wrap { max-width: 720px; margin: 4rem auto; padding: 2rem; }
.dashboard-page .metrics { display: flex; gap: 1rem; margin: 2rem 0; }
.dashboard-page .metric-card {
  flex: 1; text-align: center; padding: 1.5rem;
  background: var(--glass); border-radius: var(--radius);
}
.dashboard-page .metric-card span { display: block; font-size: 2rem; font-weight: 700; color: var(--accent); }
.dashboard-page .muted { color: var(--muted); }
.dashboard-page .accent { color: var(--accent); }
.dashboard-page .auth-box input {
  display: block; width: 100%; max-width: 320px; margin: 0.5rem 0;
  padding: 0.65rem 0.85rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.35); color: var(--text);
}
.dashboard-page .auth-box button {
  margin-top: 0.75rem; padding: 0.65rem 1.2rem; border: none; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6); cursor: pointer; font-weight: 600;
}
.dashboard-page .error { color: #f87171; margin-top: 0.5rem; }
.dashboard-page .warn { color: #fbbf24; margin: 1rem 0; padding: 0.75rem; border-radius: 8px; background: rgba(251,191,36,.08); }
.dashboard-page .dash-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.dashboard-page .ghost-btn { background: transparent; border: 1px solid rgba(255,255,255,.2); color: var(--text); padding: 0.4rem 0.9rem; border-radius: 8px; cursor: pointer; }
.dashboard-page .auth-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.dashboard-page .auth-tabs button { flex: 1; padding: 0.5rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); background: transparent; color: var(--muted); cursor: pointer; }
.dashboard-page .auth-tabs button.active { border-color: var(--accent); color: var(--accent); }
.dashboard-page .project-list li { margin-bottom: 1.25rem; list-style: none; padding: 1rem; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.dashboard-page .embed-box { margin-top: 0.75rem; position: relative; }
.dashboard-page .embed-box pre { overflow-x: auto; padding: 0.75rem; border-radius: 8px; background: #0a0a0f; font-size: 0.75rem; border: 1px solid rgba(0,255,170,.15); }
.dashboard-page .embed-box pre.copied { border-color: var(--accent); }
.dashboard-page .embed-box button { margin-top: 0.5rem; padding: 0.4rem 0.8rem; border: none; border-radius: 6px; background: rgba(0,255,170,.15); cursor: pointer; }
.dashboard-page .legal-page section { margin: 1.5rem 0; line-height: 1.6; }
.dashboard-page .small { font-size: 0.85rem; }
.dashboard-page .dash-links { margin-top: 2rem; }

#aim-widget-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,255,170,0.4);
  font-size: 1.5rem;
}
#aim-widget-panel {
  position: fixed; bottom: 90px; right: 24px; z-index: 9998;
  width: 340px; max-height: 420px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); display: none; flex-direction: column;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
#aim-widget-panel.open { display: flex; }
.widget-chat-header {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.widget-avatar { border-radius: 50%; flex-shrink: 0; border: 2px solid rgba(0,255,170,.35); }
.widget-header-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.widget-header-text strong { font-size: .9rem; }
.widget-status { font-size: .75rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; }
.widget-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
#aim-widget-panel .chat-body { flex: 1; max-height: 260px; padding: 1rem; overflow-y: auto; min-height: 120px; }
.widget-input-row { padding: .75rem; display: flex; gap: .5rem; border-top: 1px solid rgba(255,255,255,.06); }
.widget-input-row input { flex: 1; margin: 0; }
.widget-input-row .btn { padding: .5rem 1rem; flex-shrink: 0; }
.widget-handoff-link {
  background: none; border: none; color: var(--muted); font-size: .75rem;
  padding: 0 .75rem .75rem; cursor: pointer; text-align: center; width: 100%;
}
.widget-handoff-link:hover { color: var(--accent); }
