/* Zivor Tech — custom styles layered on top of Tailwind utilities */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* Subtle background grid for hero */
.hero-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 40%, transparent 100%);
}

/* Service cards */
.service-card {
  background-color: #0d1220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  padding: 1.75rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.service-card:hover {
  border-color: rgba(14, 74, 155, 0.5);
  background-color: #101627;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 2px;
  background-color: rgba(14, 74, 155, 0.35);
  color: #3ffb20;
}

/* Form inputs */
.form-input {
  width: 100%;
  background-color: #0a0e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input::placeholder {
  color: #64748b;
}

.form-input:focus {
  outline: none;
  border-color: rgba(63, 251, 32, 0.55);
  box-shadow: 0 0 0 2px rgba(63, 251, 32, 0.15);
}

.form-input option {
  background-color: #0a0e17;
}

/* Chat widget */
#chat-messages::-webkit-scrollbar {
  width: 6px;
}

#chat-messages::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.msg {
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 2px;
  line-height: 1.5;
  font-size: 0.8125rem;
}

.msg-bot {
  background-color: #1e293b;
  color: #cbd5e1;
  align-self: flex-start;
}

.msg-user {
  background-color: #0e4a9b;
  color: #ffffff;
  align-self: flex-end;
  margin-left: auto;
}

.msg-row {
  display: flex;
}

.chip {
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
  background-color: transparent;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 2px;
  padding: 0.28rem 0.6rem;
  transition: border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.chip:hover {
  border-color: rgba(63, 251, 32, 0.6);
  color: #ffffff;
}
