/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(59, 130, 246, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(147, 51, 234, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
.header {
  text-align: center;
  padding: 4rem 0 2rem;
  color: #1e293b;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.logo-image {
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

.tagline {
  font-size: 1.1rem;
  font-weight: 400;
  color: #64748b;
  margin-bottom: 1.5rem;
}

/* Main content */
.main-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin: 2rem 0;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #1e293b;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #1e293b;
}

.hero-description {
  font-size: 1rem;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* Form styles */
.query-form-container {
  padding: 2rem 2rem 3rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 400;
}

.query-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #374151;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background: #3b82f6;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.btn-icon {
  transition: transform 0.2s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Message styles */
.message {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  display: none;
}

.message.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}

.message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  display: block;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0;
  color: #64748b;
  font-size: 0.9rem;
}

/* Animations - Simplified */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header {
    padding: 3rem 0 1.5rem;
  }

  .logo-image {
    max-width: 250px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .query-form-container {
    padding: 1.5rem 1rem 2rem;
  }

  .form-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .logo-image {
    max-width: 200px;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }
}
