:root {
  --primary: #db2777;
  --accent: #f43f5e;
  --bg: #fff1f5;
  --text: #500724;
  --border: #db2777;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* 几何色块背景装饰 */
.geo-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.geo-bg .circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(219, 39, 119, 0.06);
  width: 300px;
  height: 300px;
  top: 15%;
  right: -100px;
}

.geo-bg .square {
  position: absolute;
  width: 180px;
  height: 180px;
  background: rgba(244, 63, 94, 0.05);
  transform: rotate(45deg);
  bottom: 20%;
  left: -60px;
}

.geo-bg .triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 200px solid rgba(219, 39, 119, 0.04);
  top: 50%;
  right: 15%;
  transform: rotate(15deg);
}

.geo-bg .circle2 {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(219, 39, 119, 0.1);
  width: 200px;
  height: 200px;
  top: 70%;
  right: 30%;
}

.geo-bg .square2 {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(244, 63, 94, 0.03);
  top: 5%;
  left: 20%;
  transform: rotate(20deg);
}

main {
  position: relative;
  z-index: 1;
}

.navbar-custom {
  background: rgba(255, 241, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border);
  padding: 0.8rem 0;
}

.navbar-brand {
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--primary) !important;
  letter-spacing: 0.02em;
  font-family: 'Inter', sans-serif;
}

.navbar-brand i {
  margin-right: 4px;
  color: var(--accent);
}

.nav-link {
  font-weight: 600;
  color: var(--text) !important;
  margin: 0 0.5rem;
  position: relative;
  padding: 0.3rem 0 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 2px solid var(--border);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.05rem;
  border: 2px solid var(--primary);
  transition: all 0.3s;
}

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

.section-block {
  padding: 5rem 0;
  border-bottom: 2px solid rgba(219, 39, 119, 0.15);
  position: relative;
}

.section-title {
  font-weight: 900;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  position: relative;
  display: inline-block;
}

.section-title i {
  color: var(--primary);
  margin-right: 10px;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0.8rem 0 2.5rem;
}

/* 对比表格 */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(255,255,255,0.6);
}

.compare-table th,
.compare-table td {
  border: 2px solid var(--border);
  padding: 1.2rem 1.5rem;
  text-align: center;
  font-weight: 500;
}

.compare-table th {
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}

.compare-table tr:nth-child(even) {
  background: rgba(219, 39, 119, 0.03);
}

.compare-table .featured-col {
  background: rgba(244, 63, 94, 0.08);
  font-weight: 700;
}

/* 特色卡片 */
.feature-card {
  border: 2px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(255,255,255,0.5);
  transition: all 0.35s ease;
  height: 100%;
}

.feature-card:hover {
  transform: scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(219, 39, 119, 0.15);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.feature-card h4 {
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.feature-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* 编号清单 */
.numbered-list {
  counter-reset: list-counter;
  list-style: none;
  padding: 0;
}

.numbered-list li {
  counter-increment: list-counter;
  position: relative;
  padding: 1rem 0 1rem 4rem;
  border-bottom: 1px dashed rgba(219, 39, 119, 0.3);
  font-size: 1.05rem;
  line-height: 1.7;
}

.numbered-list li::before {
  content: counter(list-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--primary);
}

.numbered-list li strong {
  color: var(--primary);
}

/* FAQ */
.faq-item {
  border: 2px solid var(--border);
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.5);
  padding: 0;
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  background: rgba(219, 39, 119, 0.05);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.faq-question:hover {
  background: rgba(219, 39, 119, 0.1);
}

.faq-answer {
  padding: 1.2rem 1.5rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* CTA */
.cta-section {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 5rem 0;
  border-bottom: none;
}

.cta-section h2 {
  font-weight: 900;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  background: white;
  color: var(--primary);
  font-weight: 800;
  padding: 0.9rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  border: 2px solid white;
  transition: all 0.3s;
}

.cta-btn:hover {
  background: transparent;
  color: white;
}

/* 友情链接 */
.friend-links {
  padding: 3rem 0;
  border-top: 2px solid var(--border);
  background: rgba(255,255,255,0.3);
}

.friend-links h5 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

/* 页脚 */
footer {
  background: #500724;
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 0 2rem;
  font-size: 0.9rem;
}

footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover {
  color: white;
}

footer .footer-brand {
  font-size: 1.4rem;
  font-weight: 900;
  color: white;
}

/* 数字滚动 */
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-weight: 600;
  color: var(--text);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* 懒加载图片占位 */
.img-placeholder {
  background: rgba(219, 39, 119, 0.1);
  position: relative;
  overflow: hidden;
}

.img-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% { left: 100%; }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
  
  .hero-section {
    height: 60vh;
  }
  
  .section-block {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* 手写感标题备用字体 */
.hand-font {
  font-family: 'Inter', 'Comic Sans MS', 'Segoe Script', cursive;
  font-weight: 800;
}

/* --- 子页面追加 --- */
/* 所有组件一律不依赖bootstrap自带卡片样式，全部自定义类，确保风格统一 */
    .contact-card-custom {
      background: rgba(255, 241, 245, 0.7); /* 与 --bg 同色系，半透明 */
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 2rem 1.5rem;
      transition: transform .2s ease, box-shadow .2s ease;
      color: var(--text);
      backdrop-filter: blur(4px);
    }
.contact-card-custom:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 30px -12px rgba(219, 39, 119, 0.25);
    }
.contact-icon-bg {
      width: 60px;
      height: 60px;
      background: var(--primary);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      color: #fff;
      margin-bottom: 1.2rem;
    }
.social-pill {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 50rem;
      padding: 0.4rem 1.2rem;
      color: var(--primary);
      font-weight: 600;
      display: inline-block;
      transition: all 0.2s;
    }
.social-pill i {
      margin-right: 6px;
    }
.social-pill:hover {
      background: var(--primary);
      color: #fff;
    }
.input-custom {
      background: rgba(255,255,255,0.5);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 12px 18px;
      color: var(--text);
      width: 100%;
      margin-bottom: 1rem;
      font-size: 0.95rem;
      transition: 0.2s;
    }
.input-custom:focus {
      outline: 2px solid var(--primary);
      background: #fff;
      border-color: transparent;
    }
.input-custom::placeholder {
      color: #9a6b80;
    }
.btn-send-custom {
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 50rem;
      padding: 12px 28px;
      font-weight: 600;
      letter-spacing: 0.3px;
      box-shadow: 0 8px 20px -6px rgba(219,39,119,0.5);
      transition: 0.2s;
      width: 100%;
    }
.btn-send-custom:hover {
      background: #be1c63;
      transform: scale(0.98);
    }
/* 覆盖bootstrap的navbar-toggler可能出现的浅色边框 */
    .navbar-toggler {
      border-color: rgba(219, 39, 119, 0.4) !important;
    }
.navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(219, 39, 119, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
/* 手风琴或任何bootstrap组件都不使用，全部自绘 */
    .info-block {
      border-left: 6px solid var(--primary);
      background: rgba(219, 39, 119, 0.05);
      padding: 1.5rem;
      border-radius: 0 20px 20px 0;
    }
.social-row a {
      text-decoration: none;
    }

/* --- 子页面追加 --- */
.disclaimer-section {
            padding: 4rem 0;
        }
.disclaimer-title {
            color: var(--primary);
            font-weight: 800;
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
        }
.disclaimer-subtitle {
            color: var(--text);
            font-weight: 700;
            margin-top: 2rem;
            margin-bottom: 1rem;
            font-size: 1.3rem;
            border-left: 4px solid var(--accent);
            padding-left: 1rem;
        }
.disclaimer-content {
            color: var(--text);
            line-height: 1.8;
            opacity: 0.9;
        }
.disclaimer-content p {
            margin-bottom: 1rem;
        }
.disclaimer-list {
            padding-left: 1.5rem;
            margin-bottom: 1rem;
        }
.disclaimer-list li {
            margin-bottom: 0.5rem;
        }
.highlight-box {
            background: rgba(219, 39, 119, 0.08);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
.highlight-box strong {
            color: var(--primary);
        }
.update-date {
            font-style: italic;
            color: var(--primary);
            opacity: 0.8;
            margin-top: 2rem;
        }
.back-home {
            margin-top: 3rem;
            padding: 0.8rem 2rem;
            background: var(--primary);
            color: #fff;
            border-radius: 50px;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            border: 2px solid var(--primary);
        }
.back-home:hover {
            background: transparent;
            color: var(--primary);
        }

/* --- 子页面追加 --- */
/* 本页专属微调 — 仅覆盖少数需要更具体的场景 */
    .privacy-block ul { list-style: none; padding-left: 0; }
.privacy-block li { padding-left: 1.5rem; position: relative; margin-bottom: 0.6rem; }
.privacy-block li::before { content: "◆"; color: var(--primary); position: absolute; left: 0; font-size: 0.8rem; top: 0.2rem; }
.privacy-block .card { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); }
.privacy-block .card-body { color: var(--text); }
.privacy-block .card-title { color: var(--primary); }
.privacy-block .form-check-input { background-color: rgba(0,0,0,0.2); border-color: var(--border); }
.privacy-block .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.card-text { color:#500724 !important; }
.form-label { color:#500724 !important; }
