/* 联系我们页面样式 */

.contact-website-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.contact-website-methods-section,
.contact-website-form-section {
  padding: 40px 0;
  width: 100%;
}

.contact-website-form-section {
  background: #f9fafb;
}

.contact-website-section-container,
.contact-website-hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-website-section-header {
  text-align: center;
  margin-bottom: 24px;
}

.contact-website-hero {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  padding: 40px 0;
  text-align: center;
}

.contact-website-main-title,
.contact-website-main-title-highlight {
  font-size: 4.5rem;
  font-weight: 700;
  margin: 0;
}

.contact-website-main-title {
  color: #333;
  line-height: 1.2;
}

.contact-website-main-title-highlight {
  background: linear-gradient(to bottom right, #2563EB, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-website-subtitle {
  font-size: 1.25rem;
  color: #666;
  line-height: 1.6;
  margin: 8px auto;
  max-width: 600px;
}

.contact-website-hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 32px;
}

.contact-website-hero-btn {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}

.contact-website-hero-btn-primary {
  background: white;
  color: #3B82F6;
  border: 2px solid #3B82F6;
}

.contact-website-hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.contact-website-hero-btn-secondary {
  background: #10B981;
  color: white;
}

.contact-website-hero-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.contact-website-section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.contact-website-section-title-highlight {
  background: linear-gradient(to bottom right, #2563EB, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-website-section-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin: 0;
}

.contact-website-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-website-method-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid #f1f3f4;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.contact-website-method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-website-method-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto;
}

.contact-website-method-card:nth-child(1) .contact-website-method-icon { 
  background: rgba(16, 185, 129, 0.1); 
  color: #10B981;
}

.contact-website-method-card:nth-child(2) .contact-website-method-icon { 
  background: rgba(245, 158, 11, 0.1); 
  color: #F59E0B;
}

.contact-website-method-card:nth-child(3) .contact-website-method-icon { 
  background: rgba(16, 185, 129, 0.1); 
  color: #10B981;
}

.contact-website-method-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.contact-website-method-info{
  margin-top: 14px;
}

.contact-website-method-desc {
  font-size: 1rem;
  color: #666;
}

.contact-website-qr-code {
  margin: 0;
}

.contact-website-qr-code img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.contact-website-method-detail {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.5;
}

.contact-website-method-detail strong {
  color: #333;
}

.contact-website-form-content {
  display: grid;
  grid-template-columns: 3fr 1.5fr;
  gap: 20px;
  align-items: start;
}

.contact-website-form-left,
.contact-website-form-right {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.contact-website-form-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}

.contact-website-form-title-highlight{
  background: linear-gradient(to bottom right, #2563EB, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-website-form-subtitle,
.contact-website-form-desc {
  font-size: 1rem;
  color: #666;
  margin-bottom: 8px;
}

.contact-website-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-website-form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.contact-website-form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.contact-website-form-group .required-star {
  color: #ef4444;
  margin-right: 4px;
}

.contact-website-form-group input,
.contact-website-form-group select,
.contact-website-form-group textarea {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
  width: 100%;
  box-sizing: border-box;
}

.contact-website-form-group input:invalid,
.contact-website-form-group select:invalid,
.contact-website-form-group textarea:invalid {
  box-shadow: none;
}

.contact-website-form-group input.error,
.contact-website-form-group select.error,
.contact-website-form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.contact-website-form-group .error-message {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
  display: none;
  line-height: 1.4;
}

.contact-website-form-group .error-message.show {
  display: block;
}

.contact-website-form-group textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 370px;
  transition: height 0.1s ease;
}

.textarea-counter {
  text-align: right;
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  font-weight: 500;
  position: absolute;
  right: 0px;
  bottom: -20px;
}

.textarea-counter .current-count {
  color: inherit;
}

.textarea-counter .max-count {
  color: #9ca3af;
}

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

.contact-website-form-group textarea::-webkit-resizer {
  background: transparent;
  border: none;
  cursor: ns-resize;
}

.contact-website-form-group textarea.resizing {
  transition: none;
}

.contact-website-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 16px 0;
}

.contact-website-checkbox {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  cursor: pointer;
}

.contact-website-checkbox input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: #3B82F6;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-website-checkbox a {
  color: #3B82F6;
  text-decoration: none;
}

.contact-website-checkbox a:hover {
  text-decoration: underline;
}

.contact-website-form-submit {
  background: linear-gradient(to right, #3B82F6, #10B981);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.contact-website-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.contact-website-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-website-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-website-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3B82F6;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-website-contact-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-website-contact-text strong {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.contact-website-contact-text span {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.contact-website-cta-section {
  background: linear-gradient(to bottom right, #2563EB, #10B981);
  padding: 60px 0;
  text-align: center;
  color: white;
}

.contact-website-cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-website-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.contact-website-cta-subtitle {
  font-size: 1.125rem;
  margin: 0 0 32px 0;
  opacity: 0.9;
}

.contact-website-cta-btn {
  background: white;
  color: #3B82F6;
  border: none;
  border-radius: 8px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-website-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}
