:root {
  --primary-color: #0066ff;
  --secondary-color: #00d4ff;
  --accent-color: #ff6b35;
  --dark-bg: #1a1a2e;
  --light-bg: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --border-color: #e9ecef;
  --nav-link-color: #428BCA;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
  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: var(--text-dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* 导航栏样式 - 继承首页样式 */
.w {
  width: 960px;
  margin: 0 auto;
}

.header {
  height: 70px;
  padding: 20px 0;
  overflow: visible;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header .nav {
  overflow: hidden;
  margin-left: 50px;
}

.header .nav ul {
  margin: 0;
}

.header .nav li {
  margin-right: 15px;
  font-size: 14px;
}

.header .nav li a {
  padding: 5px 15px;
  color: var(--nav-link-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header .nav li a:hover,
.header .nav li a.active {
  color: #ffffff !important;
  background-color: #428BCA !important;
}

.header .brand .logo {
  margin-top: 4px;
}

.header .user {
  font-size: 14px;
  color: #428BCA;
  line-height: 30px;
}

.header .user .caret {
  margin-top: 0;
  position: absolute;
  top: 14px;
  right: 0;
}

.header .dropdown-menu li a {
  font-size: 12px;
}



/* 服务展示区域 - 简化版本 */
.services-section {
  padding: 40px 0;
  background: white;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: white;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.feature-link:hover {
  gap: 10px;
}

.btn-modern {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
}

/* 套餐方案区域 - 与首页保持一致 */
.section-header {
  text-align: center;
  padding-bottom: 30px;
  position: relative;
}

.section-header::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.6;
}

.section-header p {
  font-size: 20px;
  color: var(--text-light);
  max-width: 600px;
  margin: 20px auto 0;
  line-height: 1.6;
}

.plans-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.plans-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #428BCA, transparent);
  opacity: 0.3;
}

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

.plan-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.plan-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured::before {
  content: '推荐';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.plan-header h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.plan-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li::before {
  content: '✓';
  color: #28a745;
  font-weight: bold;
}

/* 联系区域 */


/* 页脚 */
.modern-footer {
  background: var(--dark-bg);
  color: white;
  padding: 40px 0;
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: white;
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-content p {
    font-size: 18px;
  }
  
  .category-tabs {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .category-tab {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .services-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }
  
  .cloud-info {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .service-card,
  .plan-card {
    padding: 25px 20px;
  }
  
  .cloud-info {
    padding: 25px 15px;
  }
}

/* 兼容性样式 */
.hline {
  height: 1px;
  background: var(--border-color);
  margin: 0;
}

/* 隐藏旧样式 */
.resolve {
  display: none;
}