:root {
  --bg: #09090b;
  --bg-soft: #101014;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #7c3aed;
  --accent-2: #22c55e;
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at top, rgba(124, 58, 237, 0.12), transparent 25%), var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; position: relative; }

.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 88%);
}

.bg-glow {
  position: fixed; width: 520px; height: 520px; border-radius: 999px; filter: blur(90px); z-index: -2; opacity: 0.35; pointer-events: none;
}
.glow-1 { background: rgba(124, 58, 237, 0.35); top: -180px; right: -120px; }
.glow-2 { background: rgba(34, 197, 94, 0.18); left: -120px; top: 340px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(9, 9, 11, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.02em; }
.logo-mark {
  width: 12px; height: 12px; border-radius: 999px; display: inline-block;
  background: linear-gradient(135deg, #8b5cf6, #22c55e);
  box-shadow: 0 0 24px rgba(124,58,237,0.75);
}
.nav-links { display: flex; gap: 28px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px; padding: 13px 20px; border: 1px solid var(--border); cursor: pointer;
  transition: 0.25s ease; font-weight: 600;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; border-radius: 14px; }
.btn-lg { padding: 15px 24px; }
.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: white; border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.35);
}
.btn-secondary {
  background: rgba(255,255,255,0.04); color: var(--text);
}

.hero { padding-top: 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; }
.eyebrow, .section-kicker {
  display: inline-flex; align-items: center; gap: 10px; color: #d4d4d8; font-size: 13px; text-transform: uppercase; letter-spacing: .16em;
}
.dot { width: 8px; height: 8px; border-radius: 999px; background: #22c55e; box-shadow: 0 0 18px rgba(34,197,94,0.9); }
.hero h1 {
  font-size: clamp(42px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.05em; margin: 18px 0 18px;
}
.hero h1 span {
  background: linear-gradient(135deg, #ffffff 0%, #b794f4 44%, #86efac 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text { font-size: 18px; color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; gap: 14px; margin: 28px 0 34px; flex-wrap: wrap; }
.hero-proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.proof-item {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 18px; border-radius: 20px;
}
.proof-item strong { display: block; margin-bottom: 6px; }
.proof-item span { color: var(--muted); font-size: 14px; }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.dashboard-card { padding: 24px; border-radius: 30px; }
.dashboard-top, .graph-header, .lead-card, .mini-panels { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status-badge, .live-pill {
  display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px;
  background: rgba(34,197,94,0.12); color: #86efac; border: 1px solid rgba(34,197,94,0.18); font-size: 13px;
}
.muted { color: var(--muted); }
.green { color: #86efac; }
.small-label { color: var(--muted); font-size: 12px; margin: 0 0 6px; }
.lead-card {
  margin-top: 24px; padding: 18px; border-radius: 22px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
}
.graph-block {
  margin-top: 18px; padding: 18px; border-radius: 22px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.06);
}
.bars { height: 180px; display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; align-items: end; margin-top: 18px; }
.bars span {
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #8b5cf6, #312e81);
  box-shadow: 0 18px 30px rgba(124,58,237,0.18);
}
.mini-panels { margin-top: 18px; }
.mini-panel {
  flex: 1; padding: 16px; border-radius: 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
}
.mini-panel p { color: var(--muted); font-size: 13px; margin: 0 0 8px; }

.section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading.compact { margin-bottom: 26px; }
.section-heading h2 {
  margin: 14px 0 12px; font-size: clamp(30px, 4vw, 54px); line-height: 1.02; letter-spacing: -0.04em;
}
.section-heading p { color: var(--muted); font-size: 17px; }

.cards-grid { display: grid; gap: 22px; }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card { border-radius: 28px; padding: 28px; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(124,58,237,0.16); color: #c4b5fd; border: 1px solid rgba(124,58,237,0.25); font-weight: 700;
}
.feature-card h3 { margin: 0 0 10px; font-size: 24px; }
.feature-card p { margin: 0 0 18px; color: var(--muted); }
.bullet-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bullet-list li {
  position: relative; padding-left: 20px; color: #e4e4e7;
}
.bullet-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 999px;
  background: linear-gradient(135deg, #8b5cf6, #22c55e); box-shadow: 0 0 18px rgba(124,58,237,0.8);
}

.timeline { display: grid; gap: 18px; }
.timeline-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; border-radius: 24px; padding: 24px;
}
.timeline-item > span {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 20px; font-weight: 700;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.timeline-item h3 { margin: 4px 0 8px; font-size: 22px; }
.timeline-item p { margin: 0; color: var(--muted); }

.chatbot-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 24px; align-items: center; }
.sales-points { display: grid; gap: 14px; }
.sales-point { padding: 18px 20px; border-radius: 22px; }
.sales-point strong { display: block; margin-bottom: 6px; }
.sales-point span { color: var(--muted); }

.chatbot-card { border-radius: 30px; padding: 22px; }
.chatbot-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.chatbot-header p { color: var(--muted); margin: 4px 0 0; font-size: 13px; }
.chat-window {
  min-height: 340px; max-height: 340px; overflow: auto; padding: 12px; border-radius: 24px;
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
}
.message {
  max-width: 84%; margin-bottom: 12px; padding: 14px 16px; border-radius: 18px; font-size: 15px;
}
.message.bot {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.07); color: #f5f5f5;
}
.message.user {
  background: linear-gradient(135deg, #7c3aed, #5b21b6); color: white; margin-left: auto;
}
.chat-suggestions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.suggestion-chip {
  padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.035); color: #ededed; cursor: pointer;
}
.chat-input-wrap { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.chat-input-wrap input {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: white; border-radius: 16px; padding: 15px 16px; outline: none;
}
.chat-input-wrap input::placeholder { color: #a1a1aa; }

.quote-panel {
  border-radius: 32px; padding: 34px; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 28px; align-items: start;
}
.quote-copy h2 { margin: 14px 0 12px; font-size: clamp(30px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.04em; }
.quote-copy p { color: var(--muted); max-width: 520px; }
.quote-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.quote-benefits span {
  border-radius: 999px; padding: 10px 14px; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.08); color: #e5e7eb;
}
.quote-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
label { display: grid; gap: 8px; }
label span { font-size: 14px; color: #e4e4e7; }
input, textarea {
  width: 100%; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); color: white; padding: 14px 16px; border-radius: 16px; outline: none;
}
textarea { resize: vertical; min-height: 160px; }
.full { grid-column: 1 / -1; }
.full-width { width: 100%; }
.form-note { color: var(--muted); font-size: 14px; margin: 0; }
.form-note.success { color: #86efac; }

.site-footer { padding: 26px 0 50px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-content { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.footer-content p { color: var(--muted); max-width: 460px; }
.footer-links { display: flex; gap: 24px; color: var(--muted); }
.footer-logo { margin-bottom: 10px; }

@media (max-width: 1080px) {
  .hero-grid, .chatbot-grid, .quote-panel { grid-template-columns: 1fr; }
  .hero-proof, .cards-grid.three { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { height: auto; padding: 16px 0; flex-wrap: wrap; }
  .nav-links { width: 100%; order: 3; justify-content: space-between; gap: 12px; font-size: 14px; }
  .section { padding: 72px 0; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 42px; }
  .form-grid { grid-template-columns: 1fr; }
  .chat-input-wrap { grid-template-columns: 1fr; }
  .footer-content, .footer-links { flex-direction: column; }
  .quote-panel, .feature-card, .chatbot-card, .dashboard-card { padding: 22px; }
}


.typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 58px;
}
.typing span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  animation: typingPulse 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingPulse {
  0%, 80%, 100% {
    opacity: 0.28;
    transform: translateY(0) scale(0.92);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px) scale(1);
  }
}
.typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 58px;
}

.typing span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  animation: typingPulse 1.2s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typingPulse {
  0%, 80%, 100% {
    opacity: 0.28;
    transform: translateY(0) scale(0.92);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px) scale(1);
  }
}
/* CHAT BUTTON - PREMIUM DARK */
#chat-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg,#7c3aed,#4f46e5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(124,58,237,0.7);
  z-index: 999;
}

#chat-button:hover {
  transform: scale(1.1);
}

/* CHAT WINDOW */

#chat-popup {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 360px;
  height: 520px;
  background: #0f0f0f;
  border-radius: 18px;
  display: none;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  overflow: hidden;
}

.chat-header {
  padding: 16px;
  background: #181818;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

#chat-close {
  cursor: pointer;
}
