/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* 导航栏 */
.navbar {
  position: relative;
}

.nav-logo {
  height: 60px;
  margin-right: 10px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .nav-brand-text {
    display: none;
  }
  
  .navbar {
    padding: 10px 0;
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .nav-brand {
    display: flex;
    align-items: center;
  }
  
  .mobile-menu-btn {
    margin-left: auto;
  }
}

@media (min-width: 769px) {
  .nav-brand {
    display: flex;
    align-items: center;
  }
  
  .nav-brand-text {
    display: flex;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    flex-wrap: wrap;
  }
  
  .nav-brand {
    display: flex;
    align-items: center;
    flex: 1;
  }
  
  .mobile-menu-btn {
    order: 1;
  }
  
  .nav-contact.desktop-only {
    display: none;
  }
}

@media (min-width: 769px) {
  .nav-contact.desktop-only {
    display: block;
  }
}

/* 导航栏 */
.navbar {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 2px;
}

.nav-brand .tagline {
  font-size: 12px;
  opacity: 0.9;
}

.phone-btn {
  background: #ff9500;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.phone-btn:hover {
  background: #e6850e;
  transform: translateY(-2px);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #2a5298;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: #1e3c72;
}

.back-to-top.visible {
  opacity: 1;
}

/* 主标题区域 */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  backdrop-filter: blur(10px);
}

.hero-desc {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-primary {
  background: linear-gradient(45deg, #ff9500, #ffb347);
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 149, 0, 0.4);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 149, 0, 0.6);
}

.limited-offer {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px 25px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.offer-badge {
  background: #ff9500;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  margin-right: 10px;
}

/* 为什么选择我们 */
.why-choose {
  padding: 80px 0;
  background: #f8f9fa;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 15px;
  color: #2c3e50;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 60px;
  color: #7f8c8d;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.reason-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid #3498db;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.reason-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.reason-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.reason-card p {
  margin-bottom: 20px;
  color: #7f8c8d;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  color: #27ae60;
  position: relative;
  padding-left: 25px;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

/* 核心承诺 */
.promises {
  padding: 80px 0;
  background: white;
}

.promises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.promise-item {
  text-align: center;
  padding: 40px 20px;
}

.promise-icon {
  font-size: 60px;
  margin-bottom: 20px;
  display: block;
}

.promise-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.promise-item p {
  color: #7f8c8d;
  line-height: 1.7;
}

/* 投保流程 */
.process {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: #3498db;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.step p {
  margin-bottom: 10px;
  color: #7f8c8d;
}

.plan-options {
  margin-top: 20px;
}

.plan-option {
  background: #f8f9fa;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.plan-option strong {
  color: #2c3e50;
  display: block;
  margin-bottom: 5px;
}

/* FAQ */
.faq {
  padding: 80px 0;
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.faq-question {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #3498db;
}

.faq-toggle {
  font-size: 24px;
  color: #3498db;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 0 0 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 0 20px 0;
}

.faq-answer p {
  color: #7f8c8d;
  line-height: 1.7;
}

/* 增值服务 */
.value-added {
  padding: 80px 0;
  background: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-item {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.service-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.service-item p {
  color: #7f8c8d;
  line-height: 1.7;
}

/* 咨询表单 */
.consultation {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.consult-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.consult-left h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
}

.benefit-icon {
  color: #27ae60;
  font-size: 20px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: white;
}

.qr-codes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-item img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.qr-item p {
  color: white;
  font-size: 16px;
}

.app-placeholder {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 16px;
}

.contact-details {
  text-align: left;
  color: white;
}

.contact-details p {
  margin-bottom: 10px;
  font-size: 16px;
}

.contact-details strong {
  font-weight: bold;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.3);
}

.submit-btn {
  width: 100%;
  background: linear-gradient(45deg, #ff9500, #ffb347);
  color: white;
  border: none;
  padding: 18px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 149, 0, 0.4);
}

.form-note {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.8;
}

/* 合作保司 */
.partners {
  padding: 60px 0;
  background: white;
  text-align: center;
}

.partners h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #2c3e50;
}

.partners-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partner-logo {
  padding: 15px 30px;
  background: #f8f9fa;
  border-radius: 8px;
  font-weight: bold;
  color: #7f8c8d;
  border: 2px solid #eee;
}

/* 页脚 */
.footer {
  background: #2c3e50;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.footer-brand p {
  opacity: 0.8;
  line-height: 1.7;
}

.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-contact p {
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.6;
}

/* 悬浮联系按钮 */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.floating-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #ff9500;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 149, 0, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #3498db;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

/* 免费商用字体 */
body {
  font-family: "LXGW WenKai", "HarmonyOS Sans SC", sans-serif;
}

/* 导航栏锚点链接 */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  opacity: 0.9;
}

.nav-link:hover {
  color: #ff9500;
  opacity: 1;
}

/* 移动端导航 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #1e3c72;
    flex-direction: column;
    padding: 20px 0;
    gap: 15px;
  }
  
  .nav-links.active {
    display: flex;
  }
}

/* 响应式布局优化 */
@media (max-width: 768px) {
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.back-to-top:hover {
  background: #2980b9;
}

.back-to-top.visible {
  opacity: 1;
}

.top-icon {
  font-size: 24px;
  font-weight: bold;
}

.floating-phone:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 149, 0, 0.6);
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.4);
  }
  50% {
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.4), 0 0 0 10px rgba(255, 149, 0, 0.1);
  }
  100% {
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.4);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .navbar .container {
    flex-direction: column;
    gap: 10px;
  }

  .nav-brand h1 {
    font-size: 20px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 28px;
  }

  .reasons-grid,
  .promises-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
  }

  .step {
    min-width: auto;
  }

  .consult-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .consult-left h2 {
    font-size: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .partners-logos {
    gap: 20px;
  }

  .floating-contact {
    bottom: 20px;
    right: 20px;
  }

  .floating-phone {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .cta-primary {
    padding: 15px 30px;
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .reason-card,
  .service-item {
    padding: 30px 20px;
  }

  .consult-form {
    padding: 30px 20px;
  }

  .partners-logos {
    flex-direction: column;
    align-items: center;
  }
}
