/* ===========================
   TAIHUB – CLEAN + COMPLETE CSS
   =========================== */

/* ===== ROOT ===== */
:root {
  --bg: #050507;
  --bg-soft: #0a0b11;
  --bg-elevated: #101219;

  --text-main: #f6f6f6;
  --text-muted: #9da0ac;
  --chrome: #c8c9d1;

  --neon: #00f5ff;
  --pill-teal-grad-from: #00f5ff;
  --pill-teal-grad-to: #00d1c1;

  --radius: 20px;
  --radius-lg: 26px;
  --nav-h: 64px;

  --border: rgba(255, 255, 255, 0.12);

  --shadow-heavy: 0 40px 120px rgba(0, 0, 0, 0.85);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.45);

  --pill-teal-shadow-strong:
    0 0 18px rgba(0, 209, 193, 0.8),
    0 0 40px rgba(0, 209, 193, 0.55);

  scroll-padding-top: calc(var(--nav-h) + 18px);
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: #000;
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus { left: 12px; }

/* ===== LAYOUT ===== */
.page { min-height: 100vh; display: flex; flex-direction: column; }

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 640px) { .shell { padding: 0 16px; } }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =====================
   NAV
   ===================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-h);
  display: flex;
  justify-content: center;
  z-index: 30;
  pointer-events: none;
}

.nav-inner {
  width: 100%;
  max-width: 1120px;
  margin-top: 8px;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
  background: rgba(5, 5, 9, 0.9);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-left { display: flex; align-items: center; gap: 10px; }

.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-brand-line {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-tagline { font-size: 11px; color: var(--text-muted); }

.nav-right { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.nav-link {
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--chrome);
  transition: 0.15s ease;
}

.nav-link:hover { background: rgba(255, 255, 255, 0.08); }

.nav-link.primary {
  background: linear-gradient(135deg, var(--pill-teal-grad-from), var(--pill-teal-grad-to));
  color: #000;
  border: none;
  box-shadow: var(--pill-teal-shadow-strong);
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at top, #131623 0%, #050507 55%, #000 100%);
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 245, 255, 0.18), transparent 55%);
  opacity: 0.55;
}

.hero-inner {
  padding: calc(var(--nav-h) + 32px) 16px 90px;
  z-index: 1;
  width: 100%;
}

.hero-copy { max-width: 680px; margin: 0 auto; }

.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.hero-heading {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero-heading .brand { color: var(--neon); }

.hero-sub {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-cta-row {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-cta {
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.hero-cta.primary {
  background: linear-gradient(135deg, var(--pill-teal-grad-from), var(--pill-teal-grad-to));
  color: #000;
  box-shadow: var(--pill-teal-shadow-strong);
}

.hero-cta.secondary {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--chrome);
}

.hero-meta {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}
.hero-meta .dot { margin: 0 8px; opacity: 0.8; }

/* =====================
   SECTIONS
   ===================== */
.section {
  padding: 80px 0;
  background: radial-gradient(circle at top, #171926 0%, #050507 55%, #000 100%);
}

.section.light {
  background: radial-gradient(circle at top, #10131d 0%, #050507 55%, #000 100%);
}

.section-header { text-align: center; margin-bottom: 32px; }

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title { font-size: 24px; letter-spacing: -0.01em; margin-top: 10px; }

.section-sub {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.7;
}

/* =====================
   DEMO
   ===================== */
.demo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}

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

.demo-panel,
.demo-copy-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, #181a24, #050507 70%);
  box-shadow: var(--shadow-soft);
}

.demo-panel-inner { padding: 22px; }

.demo-label {
  font-size: 12px;
  color: var(--chrome);
  margin-bottom: 10px;
}

.demo-select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
  color: var(--text-main);
  outline: none;
}

.demo-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.demo-widget { margin-top: 14px; }

.demo-copy-card { padding: 22px; }

.demo-copy-title { font-size: 16px; }
.demo-copy-body { margin-top: 10px; color: var(--text-muted); line-height: 1.7; font-size: 14px; }

.demo-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.demo-pill {
  font-size: 12px;
  color: var(--chrome);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

/* =====================
   CHAT WIDGET
   ===================== */
.tai-chat {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.55);
}

.tai-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tai-chat-title { font-weight: 700; font-size: 13px; letter-spacing: 0.03em; }
.tai-chat-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.tai-live-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 245, 255, 0.12);
  border: 1px solid rgba(0, 245, 255, 0.25);
  color: var(--neon);
}

.tai-chat-messages {
  height: 320px;
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tai-bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 16px;
  line-height: 1.5;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tai-bubble--assistant {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  align-self: flex-start;
}

.tai-bubble--user {
  background: linear-gradient(135deg, var(--pill-teal-grad-from), var(--pill-teal-grad-to));
  color: #000;
  border: none;
  align-self: flex-end;
}

.tai-typing-indicator {
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
  padding: 8px 10px;
}

.tai-typing-orb {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--neon);
  box-shadow: 0 0 14px rgba(0, 245, 255, 0.55);
  animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.35); opacity: 1; }
}

.tai-chat-input-row {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.tai-chat-input-row input {
  flex: 1;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
  color: var(--text-main);
  outline: none;
}

.tai-send-btn {
  padding: 12px 14px;
  border-radius: 14px;
  border: none;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--pill-teal-grad-from), var(--pill-teal-grad-to));
  color: #000;
  box-shadow: 0 0 18px rgba(0, 209, 193, 0.35);
}

/* =====================
   PIPELINE CARDS
   ===================== */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.pipeline-card {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #181a24, #050507 70%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.pipeline-card h3 { margin-top: 12px; font-size: 18px; letter-spacing: -0.01em; }
.pipeline-card p { margin-top: 10px; color: var(--text-muted); line-height: 1.7; font-size: 14px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--chrome);
  font-size: 12px;
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--neon);
  box-shadow: 0 0 14px rgba(0, 245, 255, 0.45);
}

.pipeline-stat-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 520px) { .pipeline-stat-grid { grid-template-columns: 1fr; } }

.pipeline-stat {
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.pipeline-stat strong { font-size: 18px; display: block; }
.pipeline-stat span { margin-top: 4px; display: block; font-size: 12px; color: var(--text-muted); }

/* =====================
   PRICING
   ===================== */
.pricing-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.price-card {
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #181a24, #050507 70%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-heavy);
  text-align: center;
}

.price-card.featured {
  border-color: rgba(0, 209, 193, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(0, 209, 193, 0.35), var(--shadow-heavy);
}

.price-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 245, 255, 0.12);
  border: 1px solid rgba(0, 245, 255, 0.25);
  color: var(--neon);
}

.price-amount {
  margin-top: 14px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-amount span { font-size: 13px; color: var(--text-muted); margin-left: 6px; font-weight: 600; }

.price-tagline { margin-top: 8px; color: var(--text-muted); font-size: 13px; line-height: 1.6; }

.price-features {
  margin-top: 16px;
  list-style: none;
  text-align: left;
  display: grid;
  gap: 10px;
  color: var(--chrome);
  font-size: 13px;
}

.price-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pill-teal-grad-from), var(--pill-teal-grad-to));
  color: #000;
  box-shadow: var(--pill-teal-shadow-strong);
}

.price-footnote {
  margin-top: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* =====================
   GETTING STARTED
   ===================== */
.gs-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

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

.gs-card {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #181a24, #050507 70%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.gs-title { font-size: 18px; letter-spacing: -0.01em; }
.gs-body { margin-top: 10px; color: var(--text-muted); line-height: 1.7; font-size: 14px; }

.gs-steps { margin-top: 14px; padding-left: 18px; color: var(--chrome); display: grid; gap: 10px; font-size: 14px; }
.gs-steps li { line-height: 1.55; }

.email-block-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.16em; text-transform: uppercase; }

.email-pill {
  margin-top: 10px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pill-teal-grad-from), var(--pill-teal-grad-to));
  color: #000;
  font-weight: 800;
  box-shadow: var(--pill-teal-shadow-strong);
}

.email-note { margin-top: 10px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* =====================
   FOOTER
   ===================== */
.site-footer {
  padding: 40px 0 60px;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.footer-brand { display: flex; gap: 12px; align-items: center; }

.footer-logo { width: 32px; height: 32px; border-radius: 8px; }

.footer-brand-title { font-weight: 800; letter-spacing: 0.12em; font-size: 12px; }
.footer-brand-sub { color: var(--text-muted); font-size: 12px; margin-top: 3px; }

.footer-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-nav a { color: var(--chrome); font-size: 12px; opacity: 0.9; }
.footer-nav a:hover { opacity: 1; }

.footer-legal { display: flex; gap: 12px; flex-wrap: wrap; color: var(--text-muted); font-size: 12px; }
.footer-legal a { color: var(--chrome); opacity: 0.85; }
.footer-legal a:hover { opacity: 1; }

/* ===== MOBILE FIX ===== */
@media (max-width: 640px) {
  input, select, textarea, button { font-size: 16px; }
  .nav-right { display: none; } /* optional: keep header clean on mobile */
}

/* =====================
   PRODUCT SCREENSHOT (BIGGER + PREMIUM)
   ===================== */

.product-shot-wrap {
  margin: 28px auto 44px;
  max-width: 1180px;          /* was 980 */
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.product-shot-wrap img {
  width: min(1180px, 100%);
  height: auto;
  border-radius: 24px;
  box-shadow:
    0 50px 140px rgba(0,0,0,0.90),
    0 0 0 1px rgba(255,255,255,0.07);
}

/* Mobile */
@media (max-width: 640px) {
  .product-shot-wrap {
    margin: 20px auto 32px;
    padding: 0 14px;
  }
}

.product-shot-mobile img {
  max-width: 380px;
  margin: 0 auto;
  display: block;
}

