* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  background-color: #ffffff;
  color: #0b2b3b;
  line-height: 1.5;
}

/* 宽屏全幅布局 */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 导航栏 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 40px;
  max-width: 1600px;
  margin: 0 auto;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  /* background: linear-gradient(135deg, #ff7a2f 0%, #f05a1c 100%); */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
}

.logo-text h1 {
  font-size: 1.28rem;
  font-weight: 700;
  color: #1a2c3e;
  letter-spacing: -0.3px;
}

.logo-text p {
  font-size: 0.7rem;
  color: #ff7a2f;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-menu li a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-menu li a:hover {
  color: #ff7a2f;
}

.nav-menu li a.router-link-active,
.nav-menu li a.router-link-exact-active {
  color: #ff7a2f;
  position: relative;
}

.nav-menu li a.router-link-active::after,
.nav-menu li a.router-link-exact-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ff7a2f;
  border-radius: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hotline {
  color: #e63946;
  font-weight: 700;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a2f 0%, #f05a1c 100%);
  border: none;
  padding: 10px 24px;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(255, 122, 47, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 122, 47, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #ff7a2f;
  padding: 10px 24px;
  border-radius: 40px;
  color: #ff7a2f;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #ff7a2f;
  color: white;
}

.mobile-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #1e2a3e;
}

.home-component-container {
  /* 英雄区 */
  .hero {
    background: linear-gradient(135deg, #fef6ed 0%, #ffe8da 100%);
    padding: 80px 0 100px;
  }

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

  .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a2c3e;
    margin-bottom: 20px;
    letter-spacing: -1px;
  }

  .hero-title span {
    color: #ff7a2f;
  }

  .hero-desc {
    font-size: 1.1rem;
    color: #4a627a;
    margin-bottom: 32px;
    line-height: 1.6;
  }

  .hero-stats {
    display: flex;
    gap: 32px;
    margin: 32px 0;
  }

  .stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ff7a2f;
  }

  .stat-item p {
    font-size: 0.85rem;
    color: #5a6e7c;
  }

  .hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
  }

  .hero-image {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 40px -20px rgba(0, 0, 0, 0.25);
  }

  .hero-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-image video { 
    width: 100%;
    height: auto;
    display: block;
  }

  /* 全国服务网络 (移除了核心区域城市簇) */
  .map-section {
    background: #fefaf5;
    padding: 60px 0;
  }

  .map-container {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
  }

  .map-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
  }

  .map-sub {
    color: #5a6e7c;
    margin-bottom: 40px;
    font-size: 1.05rem;
  }

  .network-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 0; /* 原city-cluster移除后调整间距 */
  }

  .network-stat-card {
    background: white;
    border-radius: 32px;
    padding: 28px 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    min-width: 240px;
  }

  .network-stat-card .big-number {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ff7a2f;
    line-height: 1.2;
  }

  .network-stat-card p {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 8px;
    color: #2c3e50;
  }

  /* 通用 */
  section {
    padding: 80px 0;
  }

  .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
  }

  .section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
  }

  .section-header p {
    color: #5a6e7c;
    font-size: 1rem;
  }

  /* 四大核心优势 */
  .advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }

  .adv-card {
    background: #f9fafc;
    padding: 32px 24px;
    border-radius: 28px;
    text-align: center;
    transition: all 0.25s;
    border: 1px solid #f0ece7;
  }

  .adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.06);
  }

  .adv-card i {
    font-size: 48px;
    color: #ff7a2f;
    margin-bottom: 20px;
  }

  .adv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .adv-card p {
    color: #5a6e7c;
    line-height: 1.5;
  }

  /* 服务项目卡片（多列） */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }

  .service-card {
    background: #f9fafc;
    padding: 20px 12px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.2s;
    border: 1px solid #f0ece7;
  }

  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.08);
    border-color: #ffdcc4;
  }

  .service-card i {
    font-size: 32px;
    color: #ff7a2f;
    margin-bottom: 12px;
  }

  .service-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .service-card p {
    font-size: 0.75rem;
    color: #7a8e9e;
  }

  /* 新闻知识双栏 */
  .news-knowledge {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .info-block {
    background: #fefaf5;
    border-radius: 32px;
    padding: 32px;
  }

  .info-block h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .cards-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .info-card {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: 24px;
    padding: 18px;
    transition:
      transform 0.2s,
      box-shadow 0.2s;
    border: 1px solid #f0e9df;
  }

  .info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }

  .card-img {
    width: 110px;
    height: 110px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
  }

  .card-info {
    flex: 1;
  }

  .card-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card-meta {
    font-size: 0.75rem;
    color: #ff7a2f;
    margin-bottom: 8px;
  }

  .card-info p {
    font-size: 0.85rem;
    color: #5a6e7c;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 师傅卡片 */
  .masters-section {
    background: #fefaf5;
  }

  .masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 20px;
  }

  .master-card {
    background: white;
    border-radius: 28px;
    text-align: center;
    padding: 32px 24px;
    transition: all 0.25s;
    border: 1px solid #f0e9df;
  }

  .master-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.08);
  }

  .master-avatar {
    width: 100px;
    height: 100px;
    background: #fff0e6;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ff7a2f;
    img {
      width: 100px;
      height: 100px;
    }
  }

  .master-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
  }

  .rating {
    margin: 12px 0;
    color: #ffb800;
  }

  /* 企业+家庭双场景 */
  .advantages-section {
    background: #ffffff;
  }

  .advantages-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 20px;
  }

  .advantage-block {
    background: #fefaf5;
    border-radius: 32px;
    padding: 36px;
    border: 1px solid #f0e9df;
  }

  .advantage-block h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
  }

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

  .advantage-list li {
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .advantage-list i {
    color: #ff7a2f;
    font-size: 1.2rem;
  }

  /* 数据大屏 */
  .data-show {
    background: linear-gradient(135deg, #1a2c3e 0%, #0f2a35 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
  }

  .data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .data-item .number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffaa6e;
  }

  /* 服务流程 */
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
  }

  .step {
    padding: 24px 16px;
  }

  .step-num {
    width: 56px;
    height: 56px;
    background: #ffefe3;
    color: #ff7a2f;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
  }

  /* 口碑滚动 */
  .reviews-scroll {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 20px;
  }

  .review-card {
    min-width: 320px;
    background: white;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0e9df;
    flex-shrink: 0;
  }

  /* 底部预约 */
  .dark-cta {
    background: #0f1a24;
    color: white;
    border-radius: 40px;
    padding: 50px 40px;
    margin: 20px 0 60px;
  }

  .cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 32px;
    border: none;
    background: #fff;
  }

  .qr-sim {
    background: white;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
  }
}

footer {
  display: flex;
  background: #0a1117;
  color: #aaa;
  padding: 48px 0 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.85rem;
}

.text-footer-brand {
  text-align: center;
  font-size: 0.8rem;
}

.text-footer-brand a {
  color: #409eff;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .container {
    padding: 0 32px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    background: white;
    padding: 24px 0;
    gap: 20px;
  }
  .nav-menu.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .advantages-row {
    grid-template-columns: 1fr;
  }
  .data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .news-knowledge {
    grid-template-columns: 1fr;
  }
  .info-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .card-img {
    width: 100%;
    height: 140px;
  }
  .network-stats {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .data-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 20px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
}
