/* Contact Us Page Styles */

.contact-hero {
  background: linear-gradient(135deg, #155dfc 0%, #10a6d0 100%);
  color: #ffffff;
  padding: calc(var(--space-section) + 80px) 0 var(--space-section);
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.contact-hero .highlight {
  background: linear-gradient(90deg, #ffffff 0%, #e0f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.contact-hero .hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-hero .btn.outline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.contact-hero .btn.outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Help Section */
.help-section {
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--ink-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.help-cards-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.help-card {
  background: #f9fafb;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  text-align: center;
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.help-card .card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #155dfc 0%, #10a6d0 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #ffffff;
}

.help-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.help-card > p {
  font-size: 0.9375rem;
  color: var(--ink-secondary);
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-link:hover {
  color: var(--teal);
  gap: 0.75rem;
}

.contact-link svg {
  flex-shrink: 0;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-tertiary);
  font-size: 0.875rem;
}

.contact-info svg {
  flex-shrink: 0;
  color: var(--ink-secondary);
}

/* Contact Form Section */
.contact-form-section {
  background: linear-gradient(117deg, #f9fafb 0%, #ffffff 100%);
}

.form-card {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--ink);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(21, 93, 252, 0.1);
}

.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' viewBox='0 0 16 16'%3E%3Cpath fill='%23717182' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}

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

.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.form-actions .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-actions .btn svg {
  width: 16px;
  height: 16px;
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--ink-tertiary);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: var(--space-section) 0;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-content > p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 0.875rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.9375rem;
  font-family: inherit;
  backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn {
  padding: 0.875rem 2rem;
}

.newsletter-disclaimer {
  font-size: 0.75rem;
  opacity: 0.7;
  margin: 0;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(21, 93, 252, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--brand);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Footer Legal Links */
.legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--ink-tertiary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-links a:hover {
  color: var(--brand);
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .contact-hero {
    padding: calc(var(--space-section) + 60px) 0 var(--space-section);
  }

  .form-card {
    padding: 2rem 1.5rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
    min-width: 100%;
  }
}

@media (min-width: 900px) {
  .contact-hero {
    padding: calc(var(--space-section) + 100px) 0 var(--space-section);
  }
}
