/* AutoClaw 网站统一样式 */

:root {
  --primary: #1890ff;
  --primary-dark: #096dd9;
  --secondary: #722ed1;
  --accent: #13c2c2;
  --text: #333;
  --text-light: #666;
  --bg-light: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg-light);
}

a {
  text-decoration: none;
  color: inherit;
}

/* 导航栏 */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero 区域 */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 140px 20px 80px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.4s both;
}

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

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

/* 通用区块 */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 60px;
}

/* 服务卡片 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  text-align: center;
  display: block;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
  color: inherit;
}

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

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

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-price {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
}

.service-price span {
  font-size: 14px;
  color: var(--text-light);
  font-weight: normal;
}

/* 价格表 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card { pointer-events: none; } .pricing-card a, .pricing-card .btn { pointer-events: auto; } .pricing-card-fix {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border: 3px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: "推荐";
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 14px;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.pricing-price {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 10px;
}

.pricing-price span {
  font-size: 16px;
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: var(--text-light);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  margin-right: 10px;
}

/* 流程步骤 */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-light);
}

/* 联系表单 */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--white);
  padding: 50px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: var(--bg-light);
  border-radius: 8px;
}

.contact-item-icon {
  font-size: 24px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* 页脚 */
.footer {
  background: #1a1a2e;
  color: var(--white);
  padding: 60px 20px 30px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.7);
  line-height: 2;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.5);
}

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

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-links {
    display: none;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
}
