/* Demo Request Section - Simple */
.demo-request-section {
  padding: 80px 0;
  background: #f3f4f8;
}

.demo-request-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.demo-request-header {
  text-align: center;
  margin-bottom: 60px;
}

.demo-request-title {
  font-size: 2.8rem;
  color: #1d2a56;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  margin-bottom: 16px;
}
.demo-request-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--gold), #ffab00);
  border-radius: 2px;
}

.demo-request-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin: 0;
}

/* Content Wrapper */
.demo-content-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Demo Form */
.demo-form-container {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  color: #111827;
  background: white;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #3b82f6;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.9rem;
  color: #374151;
  cursor: pointer;
  line-height: 1.4;
}

.demo-submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: #5a8fbc;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 8px;
}

.demo-submit-btn:hover {
  background: #3d6a8e;
}

.form-note {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  margin: 8px 0 0 0;
}

/* Demo Info */
.demo-info-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.demo-info-item {
  padding: 24px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid#5a8fbc;
}

.demo-info-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.demo-info-item p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Loading State */
.demo-submit-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.demo-submit-btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Success Message */
.success-message {
  padding: 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #166534;
  text-align: center;
  margin-bottom: 16px;
  display: none;
}

.success-message.show {
  display: block;
}

/* Error State */
.field-error {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 4px;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #dc2626;
}

/* Responsive Design */
@media (max-width: 768px) {
  .demo-request-section {
    padding: 60px 0;
  }

  .demo-request-container {
    padding: 0 20px;
  }

  .demo-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .demo-form-container {
    padding: 30px;
  }

  .demo-request-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .demo-form-container {
    padding: 24px;
  }

  .demo-request-title {
    font-size: 1.75rem;
  }
}

/* Animations */
.demo-form-container,
.demo-info-container {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.demo-info-container {
  animation-delay: 0.1s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover Effects */
.demo-info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
