/* 页面美化样式 - 科技蓝色主题 */
:root {
  --primary-color: #0099CC;
  --primary-dark: #0066AA;
  --secondary-color: #00D4FF;
  --accent-color: #0088BB;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --bg-light: #f8fbff;
  --bg-white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 153, 204, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 153, 204, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 153, 204, 0.15);
  --shadow-xl: 0 20px 25px -5px rgba(0, 153, 204, 0.2);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 全局字体优化 */
body {
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-light);
}

/* 标题层次优化 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
}

h3 {
  font-size: 1.875rem;
  color: var(--text-primary);
}

/* Hero区域美化 */
.hero-section {
  background: linear-gradient(135deg, 
    rgba(0, 153, 204, 0.1) 0%, 
    rgba(0, 212, 255, 0.1) 50%, 
    rgba(0, 136, 187, 0.1) 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  pointer-events: none;
}

.hero-section-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* 服务卡片美化 */
.services-item {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 153, 204, 0.1);
  height: 100%;
}

.services-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.services-item img {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.services-item:hover img {
  transform: scale(1.1);
}

.services-item h5 {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.services-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 按钮美化 */
.default-outline-btn,
.new-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.default-outline-btn::before,
.new-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.default-outline-btn:hover::before,
.new-btn:hover::before {
  left: 100%;
}

.default-outline-btn:hover,
.new-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

/* 表单美化 */
.contact-box {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 153, 204, 0.1);
}

.contact-box h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2rem;
}

.contact-box input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-light);
  margin-bottom: 1rem;
}

.contact-box input:focus {
  border-color: var(--primary-color);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.1);
}

.contact-box input::placeholder {
  color: var(--text-secondary);
}

/* 价格区域美化 */
.price-toggle-wrap a {
  background: var(--bg-white);
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  margin: 0 0.5rem;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  display: inline-block;
}

.price-toggle-wrap a.active,
.price-toggle-wrap a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 页脚美化 */
.footer {
  background: linear-gradient(135deg, var(--text-primary), #374151);
  color: white;
}

.footer-box {
  padding: 2rem 0;
}

/* 滚动按钮美化 */
.scroll-top-btn {
  background: var(--primary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* 响应式优化 */
@media (max-width: 768px) {
  .hero-section-title {
    font-size: 2.5rem;
  }
  
  .contact-box {
    padding: 2rem;
  }
  
  .services-item {
    margin-bottom: 2rem;
  }
}

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

@keyframes bounceInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 加载动画优化 */
.wow {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}