/* Hive Leads — Centralized Lead Capture System */
:root {
  --bg-primary: #0a0f1a;
  --bg-card: #111827;
  --bg-input: #1f2937;
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: #374151;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --success: #10b981;
  --radius: 12px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

/* Sticky Call Banner */
.call-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.call-banner a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.call-banner .phone-icon {
  display: inline-flex;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  animation: pulse-ring 1.5s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px 40px;
  background: linear-gradient(180deg, rgba(59,130,246,0.08) 0%, transparent 100%);
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero .city-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Trust Signals */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.trust-item .icon {
  font-size: 1.2rem;
}

/* Form Container */
.form-container {
  max-width: 540px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.form-card h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  text-align: center;
}

/* Form Elements */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Hidden fields */
.form-group.hidden {
  display: none;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}
.btn-submit:hover {
  background: var(--accent-hover);
}
.btn-submit:active {
  transform: scale(0.98);
}

/* Call CTA below form */
.call-cta {
  text-align: center;
  padding: 30px 20px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
}
.call-cta p {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--success);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.1s;
}
.btn-call:hover {
  background: #059669;
}
.btn-call:active {
  transform: scale(0.98);
}

/* Thank You State */
.thank-you {
  display: none;
  text-align: center;
  padding: 60px 20px;
}
.thank-you.active {
  display: block;
}
.thank-you .check-circle {
  width: 80px;
  height: 80px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
}
.thank-you h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.thank-you p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}
.footer a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer a:hover {
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1rem; }
  .form-card { padding: 24px 18px; }
  .trust-bar { gap: 16px; }
  .trust-item { font-size: 0.8rem; }
  .call-banner { font-size: 0.95rem; padding: 8px 12px; }
}
