:root {
  --primary: #059669;
  --accent: #14b8a6;
  --bg: #f0fdfa;
  --text: #134e4a;
  --text-light: #0f3d3a;
  --white: #ffffff;
  --border-w: 3px;
  --shadow-hard: 6px 6px 0px 0px rgba(5, 150, 105, 0.35);
  --shadow-hover: 10px 10px 0px 0px rgba(5, 150, 105, 0.45);
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .navbar-brand {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-text {
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #059669 0%, #14b8a6 50%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

/* 全直角硬朗 */
.navbar, .card, .btn, .table, .accordion-item, .accordion-button, .list-group-item, .footer-block, .tag-pane, .timeline-item, .timeline-dot, .geo-shape {
  border-radius: 0 !important;
}

.navbar {
  background: rgba(240, 253, 250, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: var(--border-w) solid var(--text);
  box-shadow: 0 4px 0 rgba(5, 150, 105, 0.2);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(240, 253, 250, 0.95);
  box-shadow: 0 4px 0 rgba(5, 150, 105, 0.3);
}

.navbar-brand {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
}

.navbar-nav .nav-link:hover {
  border-color: var(--text);
  background: var(--accent);
  color: var(--text);
}

.navbar-toggler {
  border: 2px solid var(--text);
  border-radius: 0;
}

/* 几何装饰 */
.geo-deco {
  position: relative;
}

.geo-shape {
  position: absolute;
  opacity: 0.2;
  pointer-events: none;
}

.geo-circle { width: 60px; height: 60px; border: 4px solid var(--primary); top: 20px; left: -30px; }
.geo-square { width: 40px; height: 40px; background: var(--primary); bottom: 60px; right: 10px; }
.geo-triangle { width: 0; height: 0; border-left: 30px solid transparent; border-right: 30px solid transparent; border-bottom: 50px solid var(--accent); top: 30px; right: 20px; }

/* Hero */
.hero-section {
  padding: 6rem 0 4rem;
  position: relative;
  border-bottom: 3px solid var(--text);
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.9rem;
  font-weight: 700;
  border: 2px solid var(--text);
  box-shadow: 3px 3px 0 var(--text);
}

.float-anim {
  animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* 卡片 */
.card {
  background: var(--white);
  border: var(--border-w) solid var(--text);
  box-shadow: var(--shadow-hard);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* 时间线 */
.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.left {
  left: 0;
  text-align: right;
  padding-right: 3rem;
}

.timeline-item.right {
  left: 50%;
  padding-left: 3rem;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.left { transform: translateX(-30px); }
.timeline-item.right { transform: translateX(30px); }
.timeline-item.left.visible { transform: translateX(0); }
.timeline-item.right.visible { transform: translateX(0); }

.timeline-dot {
  position: absolute;
  top: 1.5rem;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border: 3px solid var(--text);
  z-index: 2;
}

.left .timeline-dot { right: -10px; }
.right .timeline-dot { left: -10px; }

.timeline-card {
  background: var(--white);
  border: 3px solid var(--text);
  padding: 1.2rem;
  display: inline-block;
  text-align: left;
  box-shadow: 4px 4px 0 var(--primary);
  width: 100%;
}

/* 表格 */
.table-border-custom {
  border: 3px solid var(--text);
  background: var(--white);
}

.table-border-custom th {
  background: var(--primary);
  color: white;
  font-weight: 800;
  border: 2px solid var(--text);
  padding: 0.75rem;
}

.table-border-custom td {
  border: 2px solid var(--text);
  padding: 0.75rem;
  background: rgba(255,255,255,0.8);
}

.mono { font-family: 'Courier New', Courier, monospace; font-weight: 700; }

/* 标签页 */
.tag-pane {
  border: 3px solid var(--text);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow-hard);
}

.nav-tabs-custom .nav-link {
  border: 3px solid var(--text);
  border-bottom: none;
  background: var(--bg);
  color: var(--text);
  font-weight: 700;
  margin-right: 0.3rem;
  padding: 0.7rem 1.2rem;
}

.nav-tabs-custom .nav-link.active {
  background: var(--primary);
  color: white;
  border-color: var(--text);
}

/* FAQ */
.accordion-item {
  border: 3px solid var(--text) !important;
  margin-bottom: 0.8rem;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--primary);
}

.accordion-button {
  font-weight: 800;
  color: var(--text);
  background: var(--white);
  font-size: 1rem;
  padding: 1.2rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--accent);
  color: var(--text);
  box-shadow: none;
}

.accordion-button:focus { box-shadow: none; }

.accordion-body { padding: 1.2rem 1.5rem; border-top: 2px solid var(--text); }

/* CTA */
.cta-section {
  background: var(--primary);
  border-top: 3px solid var(--text);
  border-bottom: 3px solid var(--text);
  color: white;
  padding: 4rem 0;
}

.cta-section .btn-cta {
  background: var(--white);
  color: var(--primary);
  font-weight: 900;
  border: 3px solid var(--text);
  box-shadow: 5px 5px 0 var(--text);
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
}

.cta-section .btn-cta:hover { background: var(--accent); }

/* Footer */
.footer-block {
  background: var(--text);
  color: var(--bg);
  border-top: 4px solid var(--primary);
  padding: 3rem 0;
}

.footer-block a { color: var(--accent); text-decoration: none; }
.footer-block a:hover { text-decoration: underline; }

.friendship-links {
  border: 2px solid var(--accent);
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  display: inline-block;
  width: 100%;
}

.section-title {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border: 3px solid var(--text);
  box-shadow: 4px 4px 0 var(--text);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* 滚动渐显 */
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (max-width: 768px) {
  .timeline-line { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; text-align: left; padding: 0 0 0 3rem !important; }
  .timeline-dot { left: 10px !important; right: auto !important; }
  .timeline-card { width: 100%; }
  .hero-section { padding-top: 5rem; }
}

/* --- 子页面追加 --- */
/* 保证任何潜在的Bootstrap组件与本站配色一致（防止白底） */
    .card, .card-body, .card-header, .card-footer,
    .accordion-item, .accordion-button, .accordion-body,
    .form-control, .form-select, .list-group-item {
      background: var(--bg);
      color: var(--text);
      border-color: var(--primary);
    }
/* 额外为时间线卡片等增加一点边距 */
    .about-section {
      margin-top: 3rem;
      margin-bottom: 3rem;
    }
.stat-number {
      font-size: 2.2rem;
      font-weight: 900;
      color: var(--primary);
    }
.stat-label {
      color: var(--text-light);
      font-weight: 500;
    }
/* 让卡片背景稍微透明一点，保持纸感 */
    .card {
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(2px);
      box-shadow: var(--shadow-hard);
      border: 2px solid var(--primary);
      transition: box-shadow 0.2s;
    }
.brand-text i {
      color: var(--primary);
    }

/* --- 子页面追加 --- */
/* 免责声明专属样式 */
        .disclaimer-hero {
            background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(20, 184, 166, 0.15) 100%);
            border-bottom: var(--border-w) solid var(--primary);
            padding: 4rem 0 3rem;
            position: relative;
            overflow: hidden;
        }
.disclaimer-hero::before {
            content: '⚖️';
            position: absolute;
            right: 10%;
            top: 50%;
            transform: translateY(-50%);
            font-size: 8rem;
            opacity: 0.1;
            animation: float-anim 6s ease-in-out infinite;
        }
.disclaimer-section {
            padding: 3rem 0;
            border-bottom: 1px solid rgba(5, 150, 105, 0.15);
        }
.disclaimer-section:last-of-type {
            border-bottom: none;
        }
.disclaimer-card {
            background: var(--white);
            border: var(--border-w) solid var(--primary);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow-hard);
            transition: all 0.3s ease;
            height: 100%;
            position: relative;
        }
.disclaimer-card:hover {
            transform: translate(-4px, -4px);
            box-shadow: var(--shadow-hover);
        }
.disclaimer-card .icon-wrapper {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--white);
            margin-bottom: 1.5rem;
            box-shadow: 4px 4px 0 rgba(5, 150, 105, 0.3);
        }
.disclaimer-card h3 {
            color: var(--text);
            font-weight: 800;
            font-size: 1.25rem;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }
.disclaimer-card p, .disclaimer-card li {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.8;
        }
.disclaimer-card ul {
            padding-left: 1.2rem;
            margin-bottom: 0;
        }
.disclaimer-card li {
            margin-bottom: 0.5rem;
        }
.notice-box {
            background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(20, 184, 166, 0.08));
            border-left: 5px solid var(--primary);
            border-radius: 0 8px 8px 0;
            padding: 1.5rem 2rem;
            margin: 2rem 0;
        }
.notice-box h4 {
            color: var(--text);
            font-weight: 700;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
.notice-box p {
            color: var(--text-light);
            margin-bottom: 0.5rem;
            line-height: 1.7;
        }
.update-info {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--bg);
            border: 2px solid var(--primary);
            border-radius: 50px;
            padding: 0.5rem 1.25rem;
            font-size: 0.85rem;
            color: var(--text);
            font-weight: 600;
            margin-top: 1rem;
        }
.update-info i {
            color: var(--primary);
        }
.contact-links {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 1.5rem;
        }
.contact-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: var(--primary);
            color: var(--white) !important;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 3px 3px 0 rgba(5, 150, 105, 0.3);
        }
.contact-link:hover {
            transform: translate(-2px, -2px);
            box-shadow: 5px 5px 0 rgba(5, 150, 105, 0.4);
            background: var(--accent);
        }
.contact-link i {
            font-size: 1rem;
        }
.disclaimer-hero {
                padding: 3rem 0 2rem;
            }
.disclaimer-hero::before {
                font-size: 4rem;
                right: 5%;
            }
.disclaimer-card {
                padding: 1.5rem;
            }

/* --- 子页面追加 --- */
.privacy-section {
      background: var(--bg);
      padding: 4rem 0;
    }
.privacy-card {
      background: var(--white);
      border: var(--border-w) solid var(--primary);
      border-radius: 12px;
      box-shadow: var(--shadow-hard);
      padding: 2rem;
      margin-bottom: 2rem;
      transition: box-shadow 0.3s ease;
    }
.privacy-card:hover {
      box-shadow: var(--shadow-hover);
    }
.privacy-card h2 {
      color: var(--primary);
      font-weight: 800;
      margin-bottom: 1.25rem;
      font-size: 1.5rem;
    }
.privacy-card h3 {
      color: var(--text);
      font-weight: 700;
      margin-top: 1.5rem;
      margin-bottom: 0.75rem;
      font-size: 1.15rem;
    }
.privacy-card p, .privacy-card li {
      color: var(--text-light);
      line-height: 1.7;
      font-size: 0.95rem;
    }
.privacy-card ul, .privacy-card ol {
      padding-left: 1.5rem;
      margin-bottom: 1rem;
    }
.privacy-card li {
      margin-bottom: 0.5rem;
    }
.privacy-badge {
      display: inline-block;
      background: var(--primary);
      color: var(--white);
      padding: 0.25rem 1rem;
      border-radius: 20px;
      font-weight: 600;
      font-size: 0.85rem;
      margin-bottom: 1.5rem;
    }
.last-updated {
      color: var(--text-light);
      font-style: italic;
      font-size: 0.85rem;
      margin-bottom: 1.5rem;
      display: block;
    }
.highlight-box {
      background: rgba(5, 150, 105, 0.08);
      border-left: 4px solid var(--primary);
      padding: 1rem 1.25rem;
      margin: 1.5rem 0;
      border-radius: 0 8px 8px 0;
    }
.highlight-box p {
      margin-bottom: 0;
      font-weight: 500;
    }
.contact-list {
      list-style: none;
      padding-left: 0 !important;
    }
.contact-list li {
      padding: 0.5rem 0;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
.contact-list i {
      color: var(--primary);
      width: 20px;
      text-align: center;
    }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-header { background:transparent !important; }
