/* ============================================
   云途星拓官网自定义样式 - custom.css
   基于原有style.css扩展，实现全链路服务展示
   ============================================ */

/* ---------- 基础变量 ---------- */
:root {
  --primary: #1E88E5;
  --primary-dark: #1565C0;
  --secondary: #43A047;
  --accent: #FB8C00;
  --danger: #E53935;
  --text-primary: #212121;
  --text-secondary: #616161;
  --text-light: #9E9E9E;
  --bg-grey: #f5f7fa;
  --border: #E0E0E0;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

/* ---------- 顶部导航优化 ---------- 
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-cta {
  float: right;
  margin-top: 28px;
  margin-left: 20px;
}
.btn-quote {
  display: inline-block;
  padding: 8px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}
.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,136,229,0.4);
  color: #fff;
}*/

/* ---------- Banner区域优化 ---------- 
.banner {
  margin-top: 80px;
} */
.banner .text .inner .banner-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}
.banner .text .inner h1 {
  font-size: 48px;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.banner .text .inner p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}
.banner-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.btn-primary, .btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(30,136,229,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30,136,229,0.5);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.8);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

/* ---------- 信任数据区优化 ---------- 
.in-total {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 0;
}
.in-total li {
  width: 25%;
  float: left;
  text-align: center;
  border-right: 1px solid var(--border);
  padding: 10px 0;
}
.in-total li:last-child {
  border-right: none;
}
.in-total li span {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}
.in-total li span strong {
  font-size: 42px;
}
.in-total li p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}
*/
/* ---------- 服务流程链条图 ---------- */
.section {
  padding: 80px 0;
}
.section-grey {
  background: var(--bg-grey);
}
.section-title strong {
  font-size: 32px;
  color: var(--text-primary);
  text-align: center;
  display: block;
  margin-bottom: 15px;
  font-weight: 700;
}
.section-title strong span {
  color: var(--primary);
}
.section-title p {
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.8;
}
.text-center {
  text-align: center;
}
.mt30 {
  margin-top: 30px;
}

.service-chain {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
  padding: 30px;
  background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
  border-radius: var(--radius);
}
.chain-step {
  text-align: center;
  padding: 20px;
  flex: 1;
  min-width: 140px;
}
.chain-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.chain-step h5 {
  font-size: 13px;
  color: var(--text-light);
  margin: 0 0 5px;
  font-weight: 400;
}
.chain-step h4 {
  font-size: 18px;
  color: var(--text-primary);
  margin: 0 0 5px;
  font-weight: 600;
}
.chain-step p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}
.chain-arrow {
  font-size: 28px;
  color: var(--primary);
  font-weight: bold;
  padding: 0 10px;
}

/* ---------- 服务卡片优化 ---------- */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}
.service-card {
  width: calc(25% - 19px);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.service-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-card-header {
  padding: 30px 25px;
  position: relative;
  color: #fff;
}
.service-icon {
  margin-bottom: 10px;
}
.service-step {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 48px;
  font-weight: 900;
  opacity: 0.2;
  line-height: 1;
}
.service-card-body {
  padding: 25px;
}
.service-card-body h4 {
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--text-primary);
  font-weight: 600;
}
.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 20px;
  line-height: 1.6;
}
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.service-features li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0;
}
.service-link {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.service-card:hover .service-link {
  transform: translateX(5px);
}

/* ---------- 六大优势 ---------- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.advantage-item {
  background: #fff;
  padding: 35px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.advantage-icon {
  font-size: 48px;
  margin-bottom: 20px;
}
.advantage-item h4 {
  font-size: 18px;
  color: var(--text-primary);
  margin: 0 0 12px;
  font-weight: 600;
}
.advantage-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ---------- 表单区域 ---------- */
.quote-section {
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 50%, #0D47A1 100%);
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.quote-wrapper {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.quote-info {
  flex: 1;
  color: #fff;
}
.quote-info h3 {
  font-size: 32px;
  margin: 0 0 15px;
  font-weight: 700;
}
.quote-info > p {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.8;
  margin-bottom: 40px;
}
.quote-contacts {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-label {
  font-size: 13px;
  opacity: 0.8;
  margin: 0 0 3px;
}
.contact-value {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.quote-form-wrapper {
  flex: 1.2;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.quote-form-wrapper h4 {
  font-size: 22px;
  color: var(--text-primary);
  margin: 0 0 30px;
  font-weight: 600;
  text-align: center;
}
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  flex: 1;
  margin-bottom: 20px;
}
.form-group.full-width {
  width: 100%;
}
.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 500;
}
.required {
  color: var(--danger);
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  transition: var(--transition);
  box-sizing: border-box;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.1);
}
.service-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-grey);
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  margin: 0;
  font-weight: normal;
}
.checkbox-label:hover {
  background: #e3f2fd;
}
.checkbox-label input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"]:checked + span,
.checkbox-label:has(input:checked) {
  background: var(--primary);
  color: #fff;
}
.form-captcha {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  margin-bottom: 25px;
}
.captcha-group {
  margin-bottom: 0;
  flex: 1;
}
.captcha-img {
  height: 44px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--border);
}
.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30,136,229,0.4);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.form-tips {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin: 15px 0 0;
}
.form-result {
  display: none;
  margin-top: 20px;
}
.form-result .success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}
.form-result .success p:first-child {
  font-size: 18px;
  color: var(--secondary);
  font-weight: 600;
  margin: 0 0 8px;
}
.form-result .success p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}
.form-result .error {
  background: #ffebee;
  border: 1px solid #ef9a9a;
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--danger);
  font-size: 14px;
  margin: 0;
}

/* ---------- 流程区域优化 ---------- */
.process-new {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 20px 0;
}
.process-new::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  z-index: 0;
}
.process-new li {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  background: none;
  padding: 0 10px;
}
.process-step {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(30,136,229,0.3);
}
.process-new li h4 {
  font-size: 18px;
  color: var(--text-primary);
  margin: 0 0 10px;
  font-weight: 600;
}
.process-new li p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ---------- FAQ区域 ---------- */
.faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  box-shadow: var(--shadow);
}
.faq-question {
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: var(--transition);
}
.faq-q {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.faq-question h4 {
  flex: 1;
  font-size: 16px;
  color: var(--text-primary);
  margin: 0;
  font-weight: 500;
}
.faq-toggle {
  width: 30px;
  height: 30px;
  background: var(--bg-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-secondary);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-toggle {
  background: var(--primary);
  color: #fff;
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 25px 25px;
  display: flex;
  gap: 15px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.faq-a {
  width: 32px;
  height: 32px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.faq-content {
  flex: 1;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- 底部CTA ---------- */
.cta-section {
  background: linear-gradient(135deg, #212121 0%, #424242 100%);
  text-align: center;
  color: #fff;
  padding: 60px 0;
}
.cta-section h3 {
  font-size: 32px;
  margin: 0 0 15px;
  font-weight: 700;
}
.cta-section p {
  font-size: 18px;
  opacity: 0.8;
  margin: 0 0 30px;
}
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-phone, .btn-white {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}
.btn-phone {
  background: var(--accent);
  color: #fff;
}
.btn-phone:hover {
  background: #F57C00;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(251,140,0,0.4);
  color: #fff;
}
.btn-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* ---------- 案例标签 ---------- */
.case-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}
.case-tabs li a {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  color: var(--text-secondary);
  background: #fff;
  transition: var(--transition);
  text-decoration: none;
}
.case-tabs li a:hover,
.case-tabs li.active a {
  background: var(--primary);
  color: #fff;
}
.case-list {
  margin: 0 -10px;
}
.case-list li {
  width: 25%;
  padding: 10px;
  float: left;
  box-sizing: border-box;
}

/* ---------- Footer优化 ---------- 
.footer-top {
  background: var(--primary-dark);
  padding: 20px 0;
}
.footer-top span {
  color: #fff;
  font-size: 14px;
  padding: 0 25px;
  position: relative;
}
.footer-top span:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: 0;
  opacity: 0.3;
}*/

/* ---------- 手机端适配 ---------- */
@media (max-width: 1200px) {
  .service-card {
    width: calc(50% - 13px);
  }
}
@media (max-width: 991px) {
  .header-cta {
    display: none;
  }
  .banner .text .inner h1 {
    font-size: 32px;
  }
  .in-total li {
    width: 50%;
    margin-bottom: 15px;
  }
  .service-chain {
    flex-direction: column;
    gap: 20px;
  }
  .chain-arrow {
    transform: rotate(90deg);
  }
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-wrapper {
    flex-direction: column;
  }
  .process-new {
    flex-wrap: wrap;
    gap: 30px;
  }
  .process-new::before {
    display: none;
  }
  .process-new li {
    width: calc(50% - 10px);
  }
  .case-list li {
    width: 50%;
  }
}
@media (max-width: 767px) {
  .section {
    padding: 50px 0;
  }
  .section-title strong {
    font-size: 24px;
  }
  .banner {
    margin-top: 60px;
  }
  .banner .text .inner h1 {
    font-size: 24px;
  }
  .banner .text .inner p {
    font-size: 14px;
  }
  .in-total {
    margin-top: 20px;
  }
  .in-total li {
    width: 50%;
    border-right: none;
  }
  .service-card {
    width: 100%;
  }
  .advantage-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .quote-form-wrapper {
    padding: 25px 20px;
  }
  .process-new li {
    width: 100%;
  }
  .case-list li {
    width: 100%;
  }
  .cta-buttons {
    flex-direction: column;
    padding: 0 30px;
  }
  .footer-top span {
    display: block;
    text-align: center;
    padding: 5px 0;
  }
  .footer-top span:not(:last-child)::after {
    display: none;
  }
}
