/* ===== Variables ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #7c3aed;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --text: #64748b;
  --text-dark: #1e293b;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow: 0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', sans-serif;
  --ease: all 0.2s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }
ul { list-style: none; }
input, select, button { font-family: var(--font); }

/* ===== Container ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn--sm { padding: 8px 18px; font-size: 14px; }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--full { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: var(--ease);
}
.nav.scrolled {
  background: rgba(15,23,42,0.96);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  font-weight: 500;
  transition: var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--ease);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--white);
  padding: 160px 0 110px;
  overflow: hidden;
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(124,58,237,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero__badge {
  display: inline-block;
  background: rgba(37,99,235,0.18);
  border: 1px solid rgba(37,99,235,0.35);
  color: #93c5fd;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.68);
  max-width: 560px;
  margin: 0 auto 38px;
  line-height: 1.75;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero__note {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section--gray { background: var(--bg-light); }
.section__header {
  text-align: center;
  margin-bottom: 64px;
}
.section__tag {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 16px;
}
.section__subtitle {
  font-size: 17px;
  color: var(--text);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===== Steps ===== */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: center;
}
.step {
  flex: 1;
  max-width: 290px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}
.step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.step__number {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.step__icon { font-size: 36px; margin-bottom: 16px; }
.step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.step__desc { font-size: 15px; color: var(--text); line-height: 1.65; }
.step__arrow {
  font-size: 22px;
  color: var(--border);
  margin-top: 88px;
  flex-shrink: 0;
}

/* ===== Niches ===== */
.niches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.niche-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--ease);
}
.niche-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.niche-card__icon { font-size: 32px; margin-bottom: 14px; }
.niche-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.niche-card__desc { font-size: 14px; color: var(--text); line-height: 1.6; }

/* ===== Demo ===== */
.demo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.demo-business {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.demo-business__avatar {
  font-size: 28px;
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.demo-business__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.demo-business__location { font-size: 13px; color: var(--text); margin-top: 2px; }
.demo-hints__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.demo-hints li {
  font-size: 14px;
  color: var(--text-dark);
  padding: 10px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--ease);
}
.demo-hints li:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== Chatbox ===== */
.chatbox {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  height: 490px;
  overflow: hidden;
}
.chatbox__header {
  background: var(--dark);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chatbox__status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}
.chatbox__dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.chatbox__powered {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}
.chatbox__messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chatbox__messages::-webkit-scrollbar { width: 4px; }
.chatbox__messages::-webkit-scrollbar-track { background: transparent; }
.chatbox__messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.message { display: flex; max-width: 88%; }
.message--bot { align-self: flex-start; }
.message--user { align-self: flex-end; }
.message__bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.65;
}
.message--bot .message__bubble {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--dark);
}
.message--user .message__bubble {
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

/* Typing indicator */
.typing-dots {
  display: flex;
  gap: 4px;
  padding: 3px 4px;
}
.typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--text);
  border-radius: 50%;
  animation: bounce 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.18s; }
.typing-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-7px); opacity: 1; }
}

.chatbox__input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}
.chatbox__input input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
  transition: var(--ease);
  color: var(--dark);
  background: var(--bg-light);
}
.chatbox__input input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
  flex-shrink: 0;
}
.chat-send-btn:hover { background: var(--primary-dark); transform: scale(1.06); }
.chat-send-btn:disabled { background: var(--border); cursor: not-allowed; transform: none; }

/* ===== Benefits ===== */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--ease);
}
.benefit:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.benefit__icon { font-size: 28px; margin-bottom: 14px; }
.benefit__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.benefit__desc { font-size: 14px; color: var(--text); line-height: 1.65; }

/* ===== Trial ===== */
.trial {
  background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
  color: var(--white);
  text-align: center;
}
.trial__inner { max-width: 660px; margin: 0 auto; }
.trial__badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.trial__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.15;
}
.trial__subtitle {
  font-size: 17px;
  opacity: 0.82;
  margin-bottom: 30px;
  line-height: 1.75;
}
.trial__features {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.9;
}

/* ===== Contact ===== */
.calendly-cta { display: flex; justify-content: center; }
.contact-form { max-width: 640px; margin: 0 auto; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: var(--ease);
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group select { cursor: pointer; }
.form-group input::placeholder { color: #94a3b8; }
.contact-form .btn--full { margin-top: 8px; }
.form__note {
  text-align: center;
  font-size: 13px;
  color: var(--text);
  margin-top: 12px;
}
.form__success {
  display: none;
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
  padding: 14px 20px;
  border-radius: 10px;
  margin-top: 16px;
  font-weight: 500;
  text-align: center;
}
.form__success.visible { display: block; }

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.45);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}
.footer__copy { font-size: 14px; }

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .niches { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .demo-wrapper { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 420px; width: 100%; }
  .step__arrow { transform: rotate(90deg); margin: -6px auto; font-size: 20px; }
}

@media (max-width: 640px) {
  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--dark-2, #1e293b);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 80px 28px 32px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 28px rgba(0,0,0,0.35);
  }
  .nav__links.open { right: 0; }
  .nav__links li { width: 100%; }
  .nav__links a { font-size: 17px; display: block; padding: 10px 0; }
  .nav__links .btn { width: 100%; justify-content: center; margin-top: 10px; }
  .nav__toggle { display: flex; }

  .hero { padding: 130px 0 80px; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .btn--lg { padding: 13px 28px; }

  .section { padding: 72px 0; }
  .section__header { margin-bottom: 48px; }

  .niches { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .trial__features { flex-direction: column; gap: 12px; align-items: center; }
  .footer__inner { flex-direction: column; text-align: center; }
  .chatbox { height: 440px; }
}
