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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #f8fafc;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
}

.logo-icon {
  font-size: 1.5rem;
}

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

.nav-link {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #2563eb;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #2563eb;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero 区域 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  opacity: 0.95;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-title .highlight {
  display: block;
  background: linear-gradient(120deg, #ffe259 0%, #ffa751 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-btn {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(120deg, #ffe259 0%, #ffa751 100%);
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 30px rgba(255, 167, 81, 0.4);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 167, 81, 0.5);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

/* 对比表格基础样式 - PC端显示表格，移动端隐藏 */
.comparison-table-wrap {
  display: block;
}

.comparison-cards {
  display: none;
}

/* 数据统计 */
.stats {
  background: #fff;
  padding: 40px 20px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

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

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 8px;
}

.stat-label {
  color: #64748b;
  font-size: 0.95rem;
}

/* 通用区块样式 */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.1rem;
  color: #64748b;
}

/* 案例展示 */
.cases {
  padding: 80px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.case-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.case-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.case-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.case-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 12px;
}

.case-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tags span {
  background: #eff6ff;
  color: #2563eb;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* 服务优势 */
.services {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  color: #1e293b;
  margin-bottom: 12px;
}

.service-card p {
  color: #64748b;
  font-size: 0.95rem;
}

/* 服务流程 */
.process {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.step {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.step-content h4 {
  font-size: 1rem;
  color: #1e293b;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.85rem;
  color: #64748b;
}

.step-arrow {
  font-size: 1.5rem;
  color: #cbd5e1;
  flex-shrink: 0;
}

/* 联系我们 */
.contact {
  position: relative;
  padding: 100px 20px;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0.95;
}

.contact-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.contact-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.contact-icon {
  font-size: 2rem;
}

.contact-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
  font-size: 1.25rem;
  color: #1e293b;
  margin-bottom: 24px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(120deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 页脚 */
.footer {
  background: #1e293b;
  padding: 30px 20px;
  text-align: center;
}

.footer-container p {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-steps {
    flex-direction: column;
    align-items: stretch;
  }
  
  .step-arrow {
    display: none;
  }
  
  .step {
    justify-content: flex-start;
  }
}

/* 移动端全面优化 */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-container {
    height: 60px;
  }
  
  .nav-logo {
    font-size: 1.1rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 8px 16px;
    gap: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    max-height: 70vh;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
  }
  
  .nav-menu li:last-child {
    border-bottom: none;
  }
  
  .nav-menu a {
    font-size: 0.9rem;
  }
  
  .hero {
    min-height: auto;
    padding: 100px 16px 40px;
  }
  
  .hero-title {
    font-size: 1.6rem !important;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.6;
  }
  
  .hero-tags {
    gap: 6px;
  }
  
  .tag {
    padding: 5px 10px;
    font-size: 0.7rem;
  }
  
  .hero-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  
  .stats {
    padding: 30px 16px;
    margin-top: -40px;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .stat-number {
    font-size: 1.6rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  /* 个人优势移动端优化 */
  .personal-advantage {
    padding: 30px 12px;
  }
  
  .personal-advantage .section-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }
  
  .personal-advantage .section-desc {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
  
  .personal-advantage .intro-content {
    padding-bottom: 16px;
  }
  
  .personal-advantage .intro-text h3 {
    font-size: 1.0rem;
    margin-bottom: 10px;
  }
  
  .personal-advantage .intro-text p {
    font-size: 0.85rem;
    line-height: 1.6;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    margin-bottom: 10px;
  }
  
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px;
  }
  
  .advantage-card {
    padding: 6px;
  }
  
  .advantage-icon {
    display: none;
  }
  
  .advantage-card h3 {
    font-size: 0.7rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .advantage-card p {
    font-size: 0.4rem;
    line-height: 1.2;
    display: block;
  }
  
  /* 痛点分析移动端优化 */
  .pain-points {
    padding: 30px 12px;
  }
  
  .pain-points .section-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }
  
  .pain-points .section-desc {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
  
  .pain-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  
  .pain-card {
    padding: 6px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
  }
  
  .pain-icon {
    font-size: 0.85rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .pain-content {
    flex: 1;
    min-width: 0;
  }
  
  .pain-title {
    font-size: 0.7rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .pain-desc {
    font-size: 0.6rem;
    line-height: 1.2;
    display: block;
  }
  
  .pain-quote {
    display: none;
  }
  
  /* 案例展示移动端 */
  .cases {
    padding: 40px 16px;
  }
  
  .section-header {
    margin-bottom: 20px;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .section-desc {
    font-size: 0.85rem;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .case-card {
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  
  .case-icon {
    font-size: 1.4rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .case-content {
    flex: 1;
    min-width: 0;
  }
  
  .case-title {
    font-size: 0.85rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .case-desc {
    font-size: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
  }
  
  .case-tags span {
    padding: 2px 6px;
    font-size: 0.65rem;
  }
  
  /* 服务优势 */
  .services {
    padding: 50px 16px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .service-card {
    padding: 20px;
  }
  
  .service-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
  }
  
  .service-card h3 {
    font-size: 1.05rem;
  }
  
  .service-card p {
    font-size: 0.85rem;
  }
  
  /* 方案对比移动端 - 紧凑表格对比 */
  .comparison {
    padding: 30px 12px;
  }
  
  .comparison .section-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }
  
  .comparison .section-desc {
    font-size: 0.7rem;
    margin-bottom: 16px;
  }
  
  .comparison-table-wrap {
    display: none;
  }
  
  .comparison-cards {
    display: block !important;
  }
  
  /* 移动端紧凑表格样式 - 无滚动 */
  .comp-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .comp-scroll-wrap::-webkit-scrollbar {
    display: none;
  }
  
  .comp-horizontal {
    display: table !important;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }
  
  .comp-h-card {
    display: table-cell;
    width: 25%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    vertical-align: top;
  }
  
  .comp-h-header {
    padding: 8px 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
  }
  
  .comp-h-card:first-child .comp-h-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
  }
  
  .comp-h-card:nth-child(2) .comp-h-header {
    background: #64748b;
    color: #fff;
  }
  
  .comp-h-card:nth-child(3) .comp-h-header {
    background: #475569;
    color: #fff;
  }
  
  .comp-h-card:nth-child(4) .comp-h-header {
    background: #334155;
    color: #fff;
  }
  
  .comp-h-row {
    padding: 6px 4px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.6rem;
    vertical-align: top;
  }
  
  .comp-h-row:last-child {
    border-bottom: none;
  }
  
  .comp-h-label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
    line-height: 1.2;
  }
  
  .comp-h-value {
    color: #64748b;
    line-height: 1.2;
    word-break: break-word;
  }
  
  .comp-h-value.pro {
    color: #10b981;
  }
  
  .comp-h-value.con {
    color: #ef4444;
  }
  
  .comp-h-value.neutral {
    color: #64748b;
  }
  
  .comp-h-value .tag-small {
    font-size: 0.55rem;
    padding: 1px 3px;
  }
  
  /* 服务流程移动端优化 */
  .process {
    padding: 50px 16px;
  }
  
  .process-steps {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .step {
    flex: 0 0 calc(33.333% - 10px);
    padding: 12px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-arrow {
    display: none;
  }
  
  .step-number {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  
  .step-content h4 {
    font-size: 0.75rem;
  }
  
  .step-content p {
    display: none;
  }
  
  /* 联系我们移动端 - 隐藏表单 */
  .contact {
    padding: 50px 16px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .contact-title {
    font-size: 1.4rem;
  }
  
  .contact-desc {
    font-size: 0.9rem;
  }
  
  .contact-icon {
    font-size: 1.5rem;
  }
  
  .contact-value {
    font-size: 1rem;
  }
  
  .contact-form-wrap {
    display: none;
  }
  
  /* 返回主站按钮 */
  .back-home {
    top: auto;
    bottom: 16px;
    right: 16px;
    padding: 10px 14px;
    font-size: 0.8rem;
  }
  
  .back-home span {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.4rem !important;
  }
  
  .hero-subtitle br {
    display: none;
  }
}

/* 动画延迟 */
.case-card:nth-child(1) { transition-delay: 0.1s; }
.case-card:nth-child(2) { transition-delay: 0.15s; }
.case-card:nth-child(3) { transition-delay: 0.2s; }
.case-card:nth-child(4) { transition-delay: 0.25s; }
.case-card:nth-child(5) { transition-delay: 0.3s; }
.case-card:nth-child(6) { transition-delay: 0.35s; }
.case-card:nth-child(7) { transition-delay: 0.4s; }
.case-card:nth-child(8) { transition-delay: 0.45s; }
.case-card:nth-child(9) { transition-delay: 0.5s; }
.case-card:nth-child(10) { transition-delay: 0.55s; }
.case-card:nth-child(11) { transition-delay: 0.6s; }
.case-card:nth-child(12) { transition-delay: 0.65s; }
.case-card:nth-child(13) { transition-delay: 0.7s; }
.case-card:nth-child(14) { transition-delay: 0.75s; }
.case-card:nth-child(15) { transition-delay: 0.8s; }

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

.step:nth-child(1) { transition-delay: 0.1s; }
.step:nth-child(3) { transition-delay: 0.2s; }
.step:nth-child(5) { transition-delay: 0.3s; }
.step:nth-child(7) { transition-delay: 0.4s; }
.step:nth-child(9) { transition-delay: 0.5s; }
.step:nth-child(11) { transition-delay: 0.6s; }
