/* style.css - 活泼渐变版 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  color: #333;
  line-height: 1.6;
}

/* ===== 头部 Hero ===== */
.hero {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 25%, #ffee58 50%, #4fc3f7 75%, #ab47bc 100%);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem 2rem;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 「不正经」容器 */
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

/* 「不正经」拆字倾斜 */
.brand-sub {
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 4px;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.char-wild {
  display: inline-block;
  font-weight: 700;
}
.char-wild.c1 { transform: rotate(-18deg) translateY(-4px); }
.char-wild.c2 { transform: rotate(10deg) translateY(3px); }
.char-wild.c3 { transform: rotate(-14deg) translateY(-2px); }

/* 品牌名 - 毛体 */
.brand-name {
  font-family: "Ma Shan Zheng", cursive;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 4px;
  margin-bottom: 0.8rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Slogan - 每个字不同歪斜 */
.slogan {
  font-size: 1.3rem;
  color: #fff;
  margin-top: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.slogan span {
  display: inline-block;
}
.slogan .s1 { transform: rotate(-8deg); }
.slogan .s2 { transform: rotate(12deg) translateY(-3px); }
.slogan .s3 { transform: rotate(-5deg); }
.slogan .s4 { transform: rotate(9deg) translateY(2px); }
.slogan .s5 { transform: rotate(-11deg); }
.slogan .s6 { transform: rotate(7deg) translateY(-2px); }
.slogan .s7 { transform: rotate(-6deg); }
.slogan .s8 { transform: rotate(10deg); }

/* Hero 特征标签 */
.hero-features {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 1.2rem 0;
  flex-wrap: wrap;
}
.feature-tag {
  background: rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

/* CTA 按钮 */
.cta-btn {
  display: inline-block;
  padding: 12px 36px;
  background: #fff;
  color: #ff6b6b;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===== 区块 ===== */
.section {
  max-width: 680px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255,107,107,0.3);
  text-align: center;
}

.section-desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* 小字副标题 */
.section-subtitle {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 300;
}


/* ===== 服务卡片 ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.service-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.service-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: #333; }
.service-card p { font-size: 0.85rem; color: #666; line-height: 1.5; }

/* ===== 关于AI ===== */
#about-ai p:not(.section-subtitle) {
  background: #fff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-size: 0.95rem;
  line-height: 1.8;
}
#about-ai .highlight {
  background: linear-gradient(135deg, #c8e6c9 0%, #81c784 100%);
  color: #1b5e20;
}

/* AI 卡片 - 4个方框两排 */
.ai-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.ai-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  transition: all 0.3s ease;
}
.ai-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.ai-card-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.ai-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.8;
  text-align: justify;
}

/* ===== 示例文章 ===== */
.article-grid { margin-top: 1rem; }

.article-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.article-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #ff6b6b;
  text-align: justify;
}

.article-excerpt {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0.8rem;
  text-align: justify;
}

.read-more {
  display: inline-block;
  color: #ff6b6b;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.read-more:hover { text-decoration: underline; }

.btn-toggle {
  display: block;
  margin: 1rem auto 0;
  padding: 8px 24px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
  border: none;
  border-radius: 25px;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255,107,107,0.3);
}

/* ===== 三步流程图 ===== */
.process-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 24px auto 28px;
  flex-wrap: nowrap;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.step-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.step-arrow {
  font-size: 1.6rem;
  color: #bbb;
  margin-top: -18px;
}

@media (max-width: 480px) {
  .process-steps {
    gap: 6px;
  }
  .step-num {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .step-text {
    font-size: 0.8rem;
  }
  .step-arrow {
    font-size: 1.2rem;
  }
}

/* ===== 价格 ===== */
.price-banner {
  text-align: center;
  margin: 1.5rem 0;
}
.price-tag {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-unit {
  font-size: 1.2rem;
  color: #999;
  -webkit-text-fill-color: #999;
}
.price-note {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 2;
}

/* ===== 表单 ===== */
.order-form {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
}

.required { color: #ff6b6b; }

.form-actions { margin-top: 1.5rem; }

.submit-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,107,107,0.3);
  transition: all 0.3s ease;
}
.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,107,107,0.4);
}

.form-hint {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  margin-top: 1rem;
}

/* 支付成功提示 */
.pay-success {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.pay-success h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: #4caf50; }
.pay-success p { font-size: 0.95rem; color: #555; }
.pay-order-info {
  margin-top: 1rem;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #333;
}

/* ===== FAQ ===== */
.faq-list { margin-top: 1rem; }

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  padding: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ff6b6b;
}
.faq-item p {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
}

/* ===== 页脚 ===== */
.footer {
  text-align: center;
  padding: 2.5rem 1rem;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 25%, #ffee58 50%, #4fc3f7 75%, #ab47bc 100%);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  color: #fff;
  margin-top: 3rem;
  border-radius: 30px 30px 0 0;
}

.footer-brand {
  font-family: "Ma Shan Zheng", cursive;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.footer-slogan {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  opacity: 0.9;
}
.footer-contact { font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-copy { font-size: 0.8rem; opacity: 0.8; }

/* ===== 响应式 ===== */
@media (max-width: 480px) {
  .hero { padding: 2rem 1rem 1.5rem; }
  .brand-name { font-size: 1.8rem; letter-spacing: 2px; }
  .slogan { font-size: 1.1rem; }
  .service-grid { grid-template-columns: 1fr; }
  .ai-cards { grid-template-columns: 1fr; }
  .section { margin: 1.5rem auto; }
  .price-tag { font-size: 2.8rem; }
  .order-form { padding: 1.5rem; }
}

/* ===== 支付二维码区域 ===== */
.pay-qr-box {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  max-width: 400px;
  margin: 0 auto;
}
.pay-qr-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.3rem;
}
.pay-qr-subtitle {
  font-size: 0.85rem;
  color: #999;
}
#qrcodeBox canvas,
#qrcodeBox img {
  margin: 0 auto;
  display: block;
}

/* 支付确认提示 */
.pay-confirmed {
  text-align: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #2e7d32;
}
.pay-confirmed-icon {
  font-size: 1.3rem;
  margin-right: 0.3rem;
}
