/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(0deg, #111827 0%, #111827 100%), white;
  color: #F3F4F6;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 引入公共样式 */
@import url('../common.css');

/* 联系我们页面特定样式 */
body {
  background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%);
  color: #2c3e50;
}

/* Header 样式覆盖 */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(180, 239, 78, 0.2);
  box-shadow: 0 2px 20px rgba(180, 239, 78, 0.1);
}

/* 导航样式 - 修复文字可见性 */
nav#navigation ul li a {
  color: #2c3e50 !important;
  font-weight: 600;
  background: transparent;
}

nav#navigation ul li a:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #B4EF4E 0%, #9DE83F 100%);
}

nav#navigation ul li a.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #B4EF4E 0%, #9DE83F 100%);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 30%, #d5f4e6 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(180, 239, 78, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 57, 210, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(26, 102, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 130px;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.hero-text {
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c3e50;
  line-height: 1.2;
}

.hero-subtitle-cn {
  font-size: 1.5rem;
  color: #5a6c7d;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.hero-description-cn {
  font-size: 1.1rem;
  color: #5a6c7d;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  border-radius: 24px;
  border: 2px solid transparent;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(180, 239, 78, 0.05) 0%, rgba(157, 232, 63, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-info:hover {
  border-color: rgba(180, 239, 78, 0.3);
  transform: translateY(-5px);
}

.contact-info:hover::before {
  opacity: 1;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #5a6c7d;
  font-weight: 500;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.contact-description {
  color: #5a6c7d;
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateX(8px);
  border-color: rgba(180, 239, 78, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.method-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(180, 239, 78, 0.1) 0%, rgba(157, 232, 63, 0.1) 100%);
  border: 2px solid rgba(180, 239, 78, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-method:hover .method-icon {
  background: linear-gradient(135deg, #B4EF4E 0%, #9DE83F 100%);
  border-color: #B4EF4E;
}

.method-icon svg {
  width: 28px;
  height: 28px;
  stroke: #B4EF4E;
  transition: stroke 0.3s ease;
}

.contact-method:hover .method-icon svg {
  stroke: #2c3e50;
}

.method-info {
  flex: 1;
}

.method-title {
  font-size: 1.3rem;
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.method-subtitle {
  font-size: 1rem;
  color: #5a6c7d;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.method-link {
  color: #B4EF4E;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.method-link:hover {
  color: #9DE83F;
  text-decoration: underline;
}

.method-text {
  color: #5a6c7d;
  line-height: 1.6;
  font-size: 1rem;
}

/* Contact Form */
.contact-form-container {
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  border-radius: 24px;
  border: 2px solid transparent;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 102, 255, 0.05) 0%, rgba(255, 57, 210, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-form-container:hover {
  border-color: rgba(26, 102, 255, 0.3);
  transform: translateY(-5px);
}

.contact-form-container:hover::before {
  opacity: 1;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.form-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-weight: 700;
}

.form-subtitle {
  font-size: 1.2rem;
  color: #5a6c7d;
  font-weight: 500;
  margin-bottom: 2.5rem;
}

.message-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.8rem;
  color: #2c3e50;
  font-weight: 600;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  padding: 1.2rem;
  border: 2px solid rgba(180, 239, 78, 0.2);
  border-radius: 16px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  color: #2c3e50;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #B4EF4E;
  box-shadow: 0 0 0 4px rgba(180, 239, 78, 0.1);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.submit-btn {
  background: linear-gradient(135deg, #B4EF4E 0%, #9DE83F 100%);
  color: #2c3e50;
  border: none;
  padding: 1.2rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(180, 239, 78, 0.3);
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(180, 239, 78, 0.4);
  background: linear-gradient(135deg, #9DE83F 0%, #8BD636 100%);
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 239, 78, 0.3);
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #e8f8f5 0%, #d5f4e6 100%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-container h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c3e50;
  font-weight: 700;
}

.faq-item {
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(180, 239, 78, 0.3);
}

.faq-question {
  padding: 1.5rem;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: rgba(180, 239, 78, 0.1);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #5a6c7d;
  line-height: 1.6;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .form-title {
    font-size: 2rem;
  }
  
  .contact-info,
  .contact-form-container {
    padding: 2rem;
  }
  
  .contact-method {
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .contact-method:hover {
    transform: translateY(-4px);
  }
  
  .method-icon {
    width: 50px;
    height: 50px;
  }
  
  .method-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .method-title {
    font-size: 1.2rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 1rem;
  }
  
  .submit-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}