/* 51 爆料 - 产品展示型静态站 CSS */

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

:root {
  --primary: #e85d2f;
  --primary-dark: #c9461a;
  --primary-light: #ff7849;
  --accent: #f59e0b;
  --bg-light: #fff7ed;
  --bg-card: #ffffff;
  --text-dark: #1a1a2e;
  --text-medium: #4a4a5e;
  --text-light: #8a8a9a;
  --border: #fed7aa;
  --shadow: 0 4px 20px rgba(232, 93, 47, 0.12);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: #fafafa;
  font-size: 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航栏 */
.navbar {
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.brand {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.brand span {
  color: var(--text-dark);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
}

.nav-links li a {
  color: var(--text-medium);
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 30px;
  transition: all 0.3s;
  display: block;
}

.nav-links li a:hover,
.nav-links li a.current {
  background: var(--primary);
  color: white;
}

/* Hero 区域 */
.hero-section {
  background: linear-gradient(135deg, #e85d2f 0%, #f59e0b 100%);
  color: white;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.3;
}

.hero-content p {
  font-size: 19px;
  opacity: 0.95;
  margin-bottom: 35px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 38px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
}

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

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

.btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}

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

/* 主内容区 */
.main-area {
  padding: 70px 0;
}

/* 板块标题 */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
}

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

.section-header .divider {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 15px auto;
  border-radius: 2px;
}

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.4s;
  border-top: 4px solid transparent;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-top-color: var(--primary);
}

.feature-card .icon-circle {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.feature-card h3 {
  font-size: 21px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-medium);
  font-size: 15px;
  line-height: 1.7;
}

/* 产品介绍区 */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin: 60px 0;
}

.product-text h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.product-text p {
  color: var(--text-medium);
  margin-bottom: 15px;
  font-size: 16px;
}

.product-text ul {
  list-style: none;
  margin: 25px 0;
}

.product-text ul li {
  padding: 10px 0;
  color: var(--text-medium);
  padding-left: 30px;
  position: relative;
}

.product-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 18px;
}

.product-visual {
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffe4cc 100%);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.product-visual .big-number {
  font-size: 72px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.product-visual .big-label {
  font-size: 18px;
  color: var(--text-medium);
  margin-top: 15px;
}

/* 使用流程步骤 */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin: 50px 0;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 35px 20px;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.process-step .step-num {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 20px;
}

.process-step h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.process-step p {
  font-size: 14px;
  color: var(--text-light);
}

/* FAQ 区块 */
.faq-section {
  max-width: 800px;
  margin: 50px auto;
}

.faq-block {
  background: white;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
}

.faq-block .faq-q {
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  transition: background 0.3s;
}

.faq-block .faq-q:hover {
  background: var(--bg-light);
}

.faq-block .faq-q::after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  font-weight: 300;
}

.faq-block .faq-a {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s;
  color: var(--text-medium);
  font-size: 15px;
  line-height: 1.8;
}

.faq-block.open .faq-a {
  padding: 0 28px 22px;
  max-height: 300px;
}

.faq-block.open .faq-q::after {
  content: '−';
}

/* 统计数据区 */
.stats-bar {
  background: var(--text-dark);
  color: white;
  padding: 50px 0;
  margin: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-light);
}

.stat-item .stat-desc {
  font-size: 15px;
  color: #b0b0c0;
  margin-top: 8px;
}

/* 联系区域 */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 50px 0;
}

.contact-info-box {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contact-info-box h3 {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.contact-detail .ci-icon {
  width: 45px;
  height: 45px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-detail .ci-text h5 {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 3px;
}

.contact-detail .ci-text p {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-form-box {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

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

.contact-form-box label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 15px;
}

.contact-form-box input,
.contact-form-box textarea,
.contact-form-box select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.3s;
  font-family: inherit;
}

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

.contact-form-box textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form-box .submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.contact-form-box .submit-btn:hover {
  background: var(--primary-dark);
}

/* 面包屑 */
.crumb {
  padding: 20px 0;
  font-size: 14px;
  color: var(--text-light);
}

.crumb a {
  color: var(--text-light);
}

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

.crumb span {
  margin: 0 8px;
}

/* 内容段落区块 */
.content-block {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.content-block h2 {
  font-size: 26px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.content-block h3 {
  font-size: 20px;
  color: var(--primary);
  margin: 25px 0 12px;
}

.content-block p {
  color: var(--text-medium);
  margin-bottom: 15px;
  text-align: justify;
}

/* 提示框 */
.alert-box {
  padding: 18px 24px;
  border-radius: 10px;
  margin: 25px 0;
  font-size: 15px;
}

.alert-info {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  color: var(--text-medium);
}

.alert-warn {
  background: #fef3c7;
  border-left: 4px solid var(--accent);
  color: #78350f;
}

/* 页脚 */
.footer {
  background: #1a1a2e;
  color: #b0b0c0;
  padding: 55px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 35px;
}

.footer-col h4 {
  color: white;
  font-size: 17px;
  margin-bottom: 18px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #b0b0c0;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid #2a2a3e;
  font-size: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
  .navbar-inner {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links li a {
    padding: 8px 12px;
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-section {
    padding: 50px 0 60px;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .content-block {
    padding: 25px;
  }
}
