:root {
  --am-bg: #0b0e1a;
  --am-bg-alt: #10142400;
  --am-surface: #131829;
  --am-surface-alt: #171d33;
  --am-border: #262c45;
  --am-text: #f5f6fb;
  --am-text-muted: #9aa1bd;
  --am-accent: #7c6bf5;
  --am-accent-2: #a855f7;
  --am-accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --am-radius: 16px;
}

/* ---------- Global chrome ---------- */
body.am-body {
  background-color: var(--am-bg);
  color: var(--am-text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  margin-bottom: 0;
}

.am-navbar {
  background-color: rgba(11, 14, 26, 0.85) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--am-border) !important;
}

.am-navbar .navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--am-text) !important;
  font-size: 1.25rem;
}

.am-navbar .nav-link {
  color: var(--am-text-muted) !important;
  font-weight: 500;
}

.am-navbar .nav-link:hover {
  color: var(--am-text) !important;
}

.am-navbar .navbar-toggler {
  border-color: var(--am-border);
}

.am-btn-ghost {
  color: var(--am-text) !important;
  background: transparent;
  border: 1px solid var(--am-border);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  transition: border-color .15s ease, color .15s ease;
}

.am-btn-ghost:hover {
  border-color: var(--am-accent);
  color: var(--am-text) !important;
}

.am-btn-primary {
  color: #fff !important;
  background: var(--am-accent-gradient);
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(124, 107, 245, 0.6);
  transition: transform .15s ease, box-shadow .15s ease;
  display: inline-block;
}

.am-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(124, 107, 245, 0.75);
  color: #fff !important;
}

.am-footer {
  background-color: var(--am-bg);
  border-top: 1px solid var(--am-border);
  color: var(--am-text-muted);
}

.am-footer a {
  color: var(--am-text-muted);
}

.am-footer a:hover {
  color: var(--am-text);
}

/* ---------- Hero ---------- */
.am-hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(circle at 15% 10%, rgba(124, 107, 245, 0.18), transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(168, 85, 247, 0.16), transparent 40%);
}

.am-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  color: var(--am-text-muted);
  border-radius: 999px;
  padding: .4rem .9rem;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.am-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--am-accent-2);
  box-shadow: 0 0 8px var(--am-accent-2);
}

.am-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.am-hero .lead {
  color: var(--am-text-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2rem;
}

.am-hero-meta {
  color: var(--am-text-muted);
  font-size: .9rem;
  margin-top: 1rem;
}

.am-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* chat mockup */
.am-chat-card {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
  overflow: hidden;
}

.am-chat-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--am-border);
}

.am-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--am-accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.am-chat-header .name {
  font-weight: 700;
  font-size: .95rem;
}

.am-chat-header .sub {
  color: var(--am-text-muted);
  font-size: .78rem;
}

.am-chat-header .status {
  margin-left: auto;
  font-size: .75rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.am-chat-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.am-msg {
  max-width: 85%;
  padding: .65rem .9rem;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.4;
}

.am-msg .time {
  display: block;
  font-size: .68rem;
  margin-top: .25rem;
  opacity: .65;
}

.am-msg.in {
  background: var(--am-surface-alt);
  border: 1px solid var(--am-border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.am-msg.out {
  background: var(--am-accent-gradient);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.am-chat-footer {
  padding: .9rem 1.25rem;
  border-top: 1px solid var(--am-border);
  color: var(--am-text-muted);
  font-size: .85rem;
}

/* ---------- Sections ---------- */
.am-section {
  padding: 5rem 0;
}

.am-section-alt {
  background: var(--am-surface);
  border-top: 1px solid var(--am-border);
  border-bottom: 1px solid var(--am-border);
}

.am-eyebrow {
  color: var(--am-accent-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.am-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 700px;
}

.am-section .lead {
  color: var(--am-text-muted);
  max-width: 640px;
  margin-bottom: 3rem;
}

.am-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 3rem;
}

.am-tag {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .85rem;
  color: var(--am-text-muted);
}

.am-card {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  padding: 1.75rem;
  height: 100%;
  transition: border-color .15s ease, transform .15s ease;
}

.am-card:hover {
  border-color: var(--am-accent);
  transform: translateY(-2px);
}

.am-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.am-card .kicker {
  color: var(--am-text-muted);
  font-size: .82rem;
  margin-bottom: .75rem;
}

.am-card p {
  color: var(--am-text-muted);
  font-size: .92rem;
  margin-bottom: 1rem;
}

.am-quote {
  border-left: 3px solid var(--am-accent);
  padding-left: .9rem;
  font-size: .85rem;
  font-style: italic;
  color: var(--am-text-muted);
}

.am-step {
  display: flex;
  gap: 1.25rem;
}

.am-step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--am-accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.am-step h3 {
  font-weight: 700;
  margin-bottom: .5rem;
}

.am-step p {
  color: var(--am-text-muted);
  font-size: .92rem;
}

.am-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--am-accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.am-final-cta {
  text-align: center;
  padding: 5rem 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 107, 245, 0.25), transparent 55%);
}

.am-final-cta h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.am-final-cta .lead {
  color: var(--am-text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}
