/* ChatVec product page — layout, demo preview, and UX polish */

.chatvec-wrap {
  max-width: 980px;
}

.chatvec-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chatvec-hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .chatvec-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2rem;
  }
}

.chatvec-hero-copy h1 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.chatvec-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.chatvec-tagline em {
  font-style: normal;
  color: #4338ca;
}

.chatvec-lead {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--sk-muted);
  margin-bottom: 1rem;
}

.chatvec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.chatvec-card--hero .chip {
  border: 1px solid rgba(79, 70, 229, 0.35);
  color: #4338ca;
  background: rgba(255, 255, 255, 0.7);
}

.chatvec-card--hero .chip--live {
  border-color: rgba(16, 185, 129, 0.45);
  color: #047857;
  background: rgba(236, 253, 245, 0.9);
}

.chatvec-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-chatvec-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  border: 1px solid #4338ca;
  color: #ffffff;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-chatvec-primary:hover,
.btn-chatvec-primary:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28);
}

.btn-outline-chatvec {
  border-color: var(--sk-chatvec);
  color: var(--sk-chatvec);
  font-weight: 600;
  border-radius: 999px;
}

.btn-outline-chatvec:hover,
.btn-outline-chatvec:focus-visible {
  background: var(--sk-chatvec);
  border-color: var(--sk-chatvec);
  color: #ffffff;
}

.btn-outline-chatvec .sk-site-icon,
.btn-outline-chatvec .hub-icon--inline {
  color: inherit;
}

.chatvec-card:not(.chatvec-card--hero) .btn-outline-chatvec {
  border-color: rgba(165, 180, 252, 0.55);
  color: #c7d2fe;
}

.chatvec-card:not(.chatvec-card--hero) .btn-outline-chatvec:hover,
.chatvec-card:not(.chatvec-card--hero) .btn-outline-chatvec:focus-visible {
  background: var(--sk-chatvec);
  color: #ffffff;
}

.chatvec-card:not(.chatvec-card--hero) .btn-chatvec-primary {
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.chatvec-section-note,
.chatvec-quick-nav__note {
  color: #64748b;
  font-size: 0.84rem;
  margin-bottom: 0.65rem;
}

.chatvec-section-note {
  margin-top: -0.1rem;
}

.chatvec-quick-nav {
  background: rgba(30, 42, 94, 0.35);
  border: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: 12px;
  padding: 1rem 1rem 0.85rem;
}

.chatvec-quick-nav .btn {
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.chatvec-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.chatvec-stat {
  background: rgba(30, 42, 94, 0.35);
  border: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  text-align: center;
}

.chatvec-stat__value {
  color: #a5b4fc;
  font-weight: 700;
  line-height: 1.1;
  font-size: 1rem;
}

.chatvec-stat__label {
  color: #9ba8ce;
  font-size: 0.76rem;
  margin-top: 0.15rem;
}

.chatvec-feature-card {
  background: rgba(30, 42, 94, 0.35);
  border: 1px solid rgba(165, 180, 252, 0.2);
  border-radius: 12px;
  padding: 1rem;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.chatvec-feature-card:hover {
  border-color: rgba(165, 180, 252, 0.45);
  transform: translateY(-2px);
}

.chatvec-feature-card__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 70, 229, 0.2);
  color: #c7d2fe;
  margin-bottom: 0.55rem;
}

.chatvec-feature-card__icon .sk-site-icon {
  width: 1rem;
  height: 1rem;
}

.chatvec-steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .chatvec-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .chatvec-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.chatvec-step {
  position: relative;
  background: rgba(30, 42, 94, 0.35);
  border: 1px solid rgba(165, 180, 252, 0.2);
  border-radius: 12px;
  padding: 1rem;
  height: 100%;
}

.chatvec-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.chatvec-callout {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
  margin-top: 1rem;
}

.chatvec-callout__icon {
  flex-shrink: 0;
  color: #34d399;
  margin-top: 0.1rem;
}

.chatvec-callout p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.chatvec-demo-panel {
  background: rgba(30, 42, 94, 0.35);
  border: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: 12px;
  padding: 1rem;
}

.chatvec-demo-chip {
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  border: 1px solid rgba(165, 180, 252, 0.45);
  background: rgba(79, 70, 229, 0.15);
  color: #e0e7ff;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.chatvec-demo-chip:hover,
.chatvec-demo-chip:focus-visible {
  background: rgba(79, 70, 229, 0.35);
  color: #ffffff;
}

.faq-item {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 1rem;
  margin-top: 1rem;
}

.faq-item:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

#demo,
#features,
#how-it-works,
#screenshots,
#faq {
  scroll-margin-top: 6.5rem;
}

.chatvec-mark--hero {
  box-shadow:
    0 12px 32px rgba(79, 70, 229, 0.24),
    0 0 0 4px rgba(255, 255, 255, 0.9),
    0 0 0 5px rgba(79, 70, 229, 0.12);
}

@media (max-width: 767.98px) {
  .chatvec-hero-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .chatvec-hero-cta {
    justify-content: center;
  }

  .chatvec-chips {
    justify-content: center;
  }
}
