/* ============================================================
   SellerChatbot — Live AI chat & voice for high-intent buyers
   Dark premium + cyan/violet conversation energy
   ============================================================ */

:root {
  --void: #070B14;
  --void-2: #0C1220;
  --panel: #121A2B;
  --panel-hot: #182236;
  --line: rgba(226, 232, 255, 0.1);
  --line-hot: rgba(34, 211, 238, 0.28);
  --frost: #EEF2FF;
  --frost-dim: #A8B3D1;
  --muted: #6B7898;
  --cyan: #22D3EE;
  --cyan-hot: #67E8F9;
  --cyan-dim: rgba(34, 211, 238, 0.12);
  --violet: #8B5CFF;
  --violet-hot: #A78BFA;
  --violet-dim: rgba(139, 92, 255, 0.14);
  --mint: #34D399;
  --mint-dim: rgba(52, 211, 153, 0.12);
  --amber: #FBBF24;
  --danger: #FB7185;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --glow: 0 0 0 1px rgba(34, 211, 238, 0.25), 0 20px 60px rgba(34, 211, 238, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--frost);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 70% -10%, rgba(139, 92, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(34, 211, 238, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 35% at 100% 80%, rgba(52, 211, 153, 0.06), transparent 50%),
    var(--void);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color 0.15s ease, opacity 0.15s ease; }
a:hover { color: var(--cyan-hot); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.4em;
  color: var(--frost);
}

p { margin: 0 0 1em; color: var(--frost-dim); }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.85rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  max-width: 20ch;
}

.section-lede {
  font-size: 1.08rem;
  max-width: 56ch;
  color: var(--frost-dim);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, 0.78);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--frost);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--frost); }
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.25);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand em { font-style: normal; color: var(--cyan); font-weight: 600; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--frost-dim);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover { color: var(--frost); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), #2dd4bf);
  color: #041016 !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.25);
}
.nav-cta:hover { filter: brightness(1.05); color: #041016 !important; }

.menu-toggle {
  display: none;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--frost);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(12, 18, 32, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.7rem 0.5rem; }
  .nav-cta { justify-content: center; margin-top: 0.35rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #2dd4bf);
  color: #041016 !important;
  box-shadow: 0 12px 36px rgba(34, 211, 238, 0.22);
}
.btn-primary:hover { color: #041016 !important; filter: brightness(1.05); }
.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--frost) !important;
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan-hot) !important; }
.btn-violet {
  background: linear-gradient(135deg, var(--violet), #6366f1);
  color: #fff !important;
  box-shadow: 0 12px 36px rgba(139, 92, 255, 0.25);
}
.btn-violet:hover { color: #fff !important; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.65rem);
  max-width: 14ch;
  margin-bottom: 1rem;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--cyan-hot), var(--violet-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  font-size: 1.15rem;
  max-width: 48ch;
  color: var(--frost-dim);
  margin-bottom: 0.5rem;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.hero-proof strong { color: var(--frost-dim); font-weight: 600; }

.live-panel {
  background: linear-gradient(160deg, rgba(24, 34, 54, 0.95), rgba(12, 18, 32, 0.98));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.15rem;
  box-shadow: var(--shadow), var(--glow);
  position: relative;
  overflow: hidden;
}
.live-panel::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 65%);
  pointer-events: none;
}
.live-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  position: relative;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  background: var(--mint-dim);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}
.live-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.chat-stream { display: flex; flex-direction: column; gap: 0.7rem; position: relative; }
.bubble {
  max-width: 92%;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.bubble.user {
  align-self: flex-end;
  background: rgba(139, 92, 255, 0.18);
  border: 1px solid rgba(139, 92, 255, 0.28);
  color: var(--frost);
  border-bottom-right-radius: 4px;
}
.bubble.agent {
  align-self: flex-start;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: var(--frost);
  border-bottom-left-radius: 4px;
}
.bubble small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.voice-bar {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(7, 11, 20, 0.55);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.waves {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}
.waves span {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--cyan), var(--violet));
  animation: wave 1s ease-in-out infinite;
}
.waves span:nth-child(1) { height: 40%; animation-delay: 0s; }
.waves span:nth-child(2) { height: 80%; animation-delay: 0.1s; }
.waves span:nth-child(3) { height: 55%; animation-delay: 0.2s; }
.waves span:nth-child(4) { height: 95%; animation-delay: 0.3s; }
.waves span:nth-child(5) { height: 45%; animation-delay: 0.4s; }
.waves span:nth-child(6) { height: 70%; animation-delay: 0.15s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.55); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}
.voice-bar p { margin: 0; font-size: 0.82rem; color: var(--frost-dim); }
.voice-bar strong { color: var(--frost); }

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.section-head {
  margin-bottom: 2rem;
}
.section.alt {
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.45), transparent);
  border-block: 1px solid var(--line);
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover {
  border-color: var(--line-hot);
  transform: translateY(-2px);
}
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 1.15rem;
}
.card-icon.violet { background: var(--violet-dim); color: var(--violet-hot); }
.card-icon.mint { background: var(--mint-dim); color: var(--mint); }
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}
.card p { margin: 0; font-size: 0.95rem; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--cyan-hot), var(--violet-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* Compare table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 640px;
}
table.compare th,
table.compare td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.compare th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--frost);
  background: rgba(7, 11, 20, 0.45);
}
table.compare tr:last-child td { border-bottom: none; }
table.compare td { color: var(--frost-dim); }
table.compare .win {
  color: var(--mint);
  font-weight: 600;
}
table.compare .meh { color: var(--amber); }
table.compare .lose { color: var(--danger); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.65rem;
}
.step h3 { font-size: 1.05rem; }
.step p { margin: 0; font-size: 0.92rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.7rem; max-width: 820px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-family: var(--font-display);
  list-style: none;
  color: var(--frost);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); color: var(--cyan-hot); }
.faq-item .faq-body {
  padding: 1rem 1.15rem 1.15rem;
  color: var(--frost-dim);
  font-size: 0.95rem;
}
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  margin: 1rem 0 0;
  padding: clamp(2.5rem, 6vw, 3.5rem);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(139, 92, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(34, 211, 238, 0.2), transparent 55%),
    var(--panel-hot);
  border: 1px solid var(--line-hot);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  max-width: 22ch;
  margin-inline: auto;
}
.cta-band p {
  max-width: 52ch;
  margin-inline: auto;
}
.cta-band .cta-actions { justify-content: center; }

/* Powered by */
.powered {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 26, 43, 0.6);
}
.powered-copy {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.powered-copy img {
  height: 32px;
  width: auto;
  opacity: 0.95;
}
.powered p { margin: 0; font-size: 0.92rem; }
.powered strong { color: var(--frost); }

/* Page hero (inner) */
.page-hero {
  padding: clamp(2.5rem, 6vw, 3.75rem) 0 1.5rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 18ch;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--frost-dim); }
.breadcrumbs span { margin: 0 0.4rem; color: var(--muted); }

/* Content prose */
.prose {
  max-width: 72ch;
}
.prose h2 {
  font-size: 1.55rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}
.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}
.prose ul, .prose ol {
  color: var(--frost-dim);
  padding-left: 1.25rem;
  margin: 0 0 1.1rem;
}
.prose li { margin-bottom: 0.4rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Form */
.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 560px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--frost-dim);
}
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--void-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--frost);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.3em;
}
.form-status.ok { color: var(--mint); }
.form-status.err { color: var(--danger); }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 560px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* Guide cards */
.guide-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 720px) {
  .guide-list { grid-template-columns: 1fr; }
}
.guide-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.guide-card:hover {
  border-color: var(--line-hot);
  transform: translateY(-2px);
  color: inherit;
}
.guide-card h3 {
  font-size: 1.1rem;
  color: var(--frost);
  margin-bottom: 0.4rem;
}
.guide-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--frost-dim);
}
.guide-card .meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.55rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
  background: rgba(7, 11, 20, 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--frost);
  margin-bottom: 0.5rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: var(--frost-dim);
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--frost-dim); }

/* 404 */
.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}
.not-found h1 {
  font-size: 4rem;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-mint { color: var(--mint); }
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.chip {
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--frost-dim);
  background: rgba(7, 11, 20, 0.4);
}
