/* ============================================
   九火社区 — 烈焰风格 CSS
   ============================================ */

:root {
  /* 烈焰配色 */
  --ink-deepest: #0a0505;
  --ink-deep: #1a0e0a;
  --ink-dark: #2c1810;
  --ink-medium: #4a2818;
  --ink-soft: #6b3a22;
  --ink-light: #8a4f2e;
  --ink-pale: #b57050;

  /* 火焰色系 */
  --paper-white: #0f0808;
  --paper-cream: #1a0e0a;
  --paper-warm: #241410;
  --paper-aged: #2e1a12;
  --paper-dark: #382018;

  /* 火焰强调色 */
  --accent-ink: #1a0e0a;
  --accent-gold: #ff6b1a;
  --accent-gold-light: #ff8c42;
  --accent-red: #e63946;
  --accent-flame: #ff4500;
  --accent-ember: #ffa500;

  /* 火焰灰阶 */
  --mist: rgba(255, 107, 26, 0.08);
  --mist-medium: rgba(255, 107, 26, 0.15);
  --mist-strong: rgba(255, 107, 26, 0.25);

  /* 字体 */
  --font-display: 'Ma Shan Zheng', 'Noto Serif SC', serif;
  --font-serif: 'Noto Serif SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* 间距 */
  --section-py: clamp(80px, 12vw, 140px);
  --container-px: clamp(20px, 5vw, 80px);
  --container-max: 1200px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--paper-white);
  color: #e8d5c4;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ===== 噪点纹理 ===== */
.noise-overlay {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ===== Container ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ===== 导航栏 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled {
  background: rgba(15, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 107, 26, 0.1);
  padding: 10px 0;
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 12px rgba(255, 107, 26, 0.3);
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-gold-light);
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 107, 26, 0.3);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-link {
  font-size: 0.92rem;
  color: rgba(232, 213, 196, 0.7);
  transition: color 0.3s;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-link:hover { color: var(--accent-gold-light); }
.nav-link.active { color: var(--accent-gold); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-flame), var(--accent-ember));
  border-radius: 1px;
  box-shadow: 0 0 8px var(--accent-gold);
}
.nav-actions { display: flex; gap: 10px; }
.btn-ghost {
  padding: 8px 20px;
  border: 1px solid rgba(255, 107, 26, 0.3);
  border-radius: 24px;
  color: rgba(232, 213, 196, 0.8);
  font-size: 0.88rem;
  transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--accent-gold); color: var(--accent-gold-light); }
.btn-primary-sm {
  padding: 8px 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--accent-flame), var(--accent-gold));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-primary-sm:hover { box-shadow: 0 0 20px rgba(255, 69, 0, 0.4); transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-burger span {
  width: 24px; height: 2px;
  background: var(--accent-gold);
  border-radius: 1px;
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #1a0e0a 0%, #0a0505 100%);
}
.hero-ink-bg {
  position: absolute; inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-ink-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 5, 5, 0.7) 70%, rgba(10, 5, 5, 0.95) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 120px 20px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.25);
  color: var(--accent-gold-light);
  font-size: 0.85rem;
  margin-bottom: 28px;
}
.hero-badge i { color: var(--accent-flame); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1.15;
  color: #f5e6d3;
  margin-bottom: 24px;
  text-shadow: 0 0 30px rgba(255, 107, 26, 0.2);
}
.ink-stroke {
  background: linear-gradient(135deg, var(--accent-flame), var(--accent-ember), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(232, 213, 196, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn-primary {
  padding: 14px 36px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent-flame), var(--accent-gold));
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.25);
}
.btn-primary:hover { box-shadow: 0 6px 30px rgba(255, 69, 0, 0.4); transform: translateY(-2px); }
.btn-secondary {
  padding: 14px 36px;
  border-radius: 100px;
  border: 1px solid rgba(255, 107, 26, 0.3);
  color: var(--accent-gold-light);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--accent-gold); background: rgba(255, 107, 26, 0.05); }
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-val {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--accent-gold-light);
  text-shadow: 0 0 12px rgba(255, 107, 26, 0.2);
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(232, 213, 196, 0.5);
  margin-top: 4px;
}
.hero-stat-divider {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255, 107, 26, 0.2), transparent);
}
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(232, 213, 196, 0.4);
  font-size: 0.78rem;
}
.scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  margin: 0 auto 8px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ===== Section 通用 ===== */
.section {
  padding: var(--section-py) 0;
  position: relative;
}
.section-alt {
  background: linear-gradient(180deg, var(--paper-cream) 0%, var(--paper-white) 100%);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 100px;
  background: rgba(255, 107, 26, 0.08);
  border: 1px solid rgba(255, 107, 26, 0.2);
  color: var(--accent-gold);
  font-size: 0.78rem;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #f5e6d3;
  margin-bottom: 16px;
  line-height: 1.3;
}
.section-desc {
  font-size: 0.95rem;
  color: rgba(232, 213, 196, 0.6);
  line-height: 1.8;
}

/* ===== 关于我们 ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.about-card {
  background: linear-gradient(135deg, rgba(36, 20, 16, 0.8), rgba(26, 14, 10, 0.6));
  border: 1px solid rgba(255, 107, 26, 0.08);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.4s;
}
.about-card:hover {
  border-color: rgba(255, 107, 26, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 69, 0, 0.08);
}
.about-card-logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 107, 26, 0.15);
}
.about-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.about-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent-gold-light);
  margin-bottom: 12px;
}
.about-card p {
  font-size: 0.9rem;
  color: rgba(232, 213, 196, 0.6);
  line-height: 1.7;
}

/* ===== 白皮书卡片 ===== */
.whitepaper-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(36, 20, 16, 0.8), rgba(26, 14, 10, 0.6));
  border: 1px solid rgba(255, 107, 26, 0.1);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
  transition: all 0.3s;
  flex-wrap: wrap;
  gap: 16px;
}
.whitepaper-bar:hover {
  border-color: rgba(255, 107, 26, 0.25);
  box-shadow: 0 8px 24px rgba(255, 69, 0, 0.06);
}
.whitepaper-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 250px;
}
.whitepaper-icon {
  font-size: 2rem;
  color: var(--accent-flame);
}
.whitepaper-info h3 {
  font-size: 1.05rem;
  color: #f5e6d3;
  margin-bottom: 4px;
}
.whitepaper-info p {
  font-size: 0.82rem;
  color: rgba(232, 213, 196, 0.5);
}
.whitepaper-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-paper {
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}
.btn-view {
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.2);
  color: var(--accent-gold-light);
}
.btn-view:hover { background: rgba(255, 107, 26, 0.15); }
.btn-download {
  background: linear-gradient(135deg, var(--accent-flame), var(--accent-gold));
  color: #fff;
}
.btn-download:hover { box-shadow: 0 4px 16px rgba(255, 69, 0, 0.3); }

/* ===== 收益试算器 ===== */
.calculator-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  background: linear-gradient(135deg, rgba(36, 20, 16, 0.8), rgba(26, 14, 10, 0.6));
  border: 1px solid rgba(255, 107, 26, 0.08);
  border-radius: 24px;
  padding: 36px;
}
.calc-form-panel, .calc-result-panel {
  padding: 0;
}
.calc-panel-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--accent-gold-light);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-field {
  margin-bottom: 20px;
}
.calc-field label {
  display: block;
  font-size: 0.82rem;
  color: rgba(232, 213, 196, 0.6);
  margin-bottom: 6px;
}
.calc-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 107, 26, 0.1);
  border-radius: 10px;
  background: rgba(10, 5, 5, 0.5);
  color: #e8d5c4;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s;
}
.calc-field input:focus { border-color: var(--accent-gold); }
.calc-field input:read-only { color: rgba(232, 213, 196, 0.5); }
.calc-hint { font-size: 0.75rem; color: rgba(232, 213, 196, 0.4); display: block; margin-top: 4px; }
.calc-price-row { display: flex; align-items: center; gap: 8px; }
.calc-price-unit { font-size: 0.8rem; color: rgba(232, 213, 196, 0.4); white-space: nowrap; }
.calc-slider-wrap { display: flex; align-items: center; gap: 12px; }
.calc-slider-wrap input[type="range"] {
  flex: 1;
  accent-color: var(--accent-flame);
}
.calc-slider-val {
  font-weight: 600;
  color: var(--accent-gold-light);
  min-width: 60px;
  text-align: right;
}
.calc-presets { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.preset-btn {
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 107, 26, 0.15);
  color: rgba(232, 213, 196, 0.6);
  font-size: 0.75rem;
  transition: all 0.3s;
}
.preset-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold-light); }
.calc-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-flame), var(--accent-gold));
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 8px;
  transition: all 0.3s;
}
.calc-btn:hover { box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3); }

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.result-card {
  background: rgba(10, 5, 5, 0.4);
  border: 1px solid rgba(255, 107, 26, 0.06);
  border-radius: 12px;
  padding: 16px;
}
.result-card.highlight {
  border-color: rgba(255, 107, 26, 0.2);
  background: rgba(255, 69, 0, 0.05);
}
.result-label { font-size: 0.75rem; color: rgba(232, 213, 196, 0.5); margin-bottom: 6px; }
.result-value { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: #f5e6d3; }
.result-value.big { font-size: 1.5rem; color: var(--accent-gold-light); }
.result-value.small { font-size: 0.85rem; }
.calc-chart-wrap {
  background: rgba(10, 5, 5, 0.4);
  border-radius: 12px;
  padding: 20px;
}
.chart-title { font-size: 0.9rem; color: var(--accent-gold-light); margin-bottom: 12px; }
.kline-toolbar { display: flex; gap: 4px; margin-bottom: 12px; flex-wrap: wrap; }
.kline-btn {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: rgba(232, 213, 196, 0.5);
  transition: all 0.3s;
}
.kline-btn.active { background: rgba(255, 107, 26, 0.15); color: var(--accent-gold-light); }
.kline-chart-container { height: 240px; position: relative; }
.chart-legend { display: flex; gap: 16px; margin-top: 8px; font-size: 0.75rem; color: rgba(232, 213, 196, 0.5); }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.dot-ink { background: var(--accent-flame); }
.calc-placeholder {
  text-align: center;
  padding: 80px 20px;
  color: rgba(232, 213, 196, 0.3);
}
.calc-placeholder i { font-size: 3rem; margin-bottom: 16px; display: block; }
.calc-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(255, 107, 26, 0.04);
  border-radius: 12px;
  font-size: 0.8rem;
  color: rgba(232, 213, 196, 0.5);
}
.calc-disclaimer i { color: var(--accent-gold); margin-top: 2px; }

/* ===== 用户评价 ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: linear-gradient(135deg, rgba(36, 20, 16, 0.8), rgba(26, 14, 10, 0.6));
  border: 1px solid rgba(255, 107, 26, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.4s;
}
.testimonial-card:hover {
  border-color: rgba(255, 107, 26, 0.2);
  transform: translateY(-4px);
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(255, 107, 26, 0.15);
  line-height: 1;
  margin-bottom: -10px;
}
.testimonial-text {
  font-size: 0.92rem;
  color: rgba(232, 213, 196, 0.7);
  line-height: 1.8;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-flame), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}
.author-name { font-size: 0.95rem; color: #f5e6d3; }
.author-title { font-size: 0.78rem; color: rgba(232, 213, 196, 0.5); }

/* ===== 数据仪表盘 ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.dash-card {
  background: linear-gradient(135deg, rgba(36, 20, 16, 0.8), rgba(26, 14, 10, 0.6));
  border: 1px solid rgba(255, 107, 26, 0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}
.dash-card:hover {
  border-color: rgba(255, 107, 26, 0.2);
  transform: translateY(-2px);
}
.dash-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255, 107, 26, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
  color: var(--accent-gold);
}
.dash-label { font-size: 0.78rem; color: rgba(232, 213, 196, 0.5); margin-bottom: 8px; }
.dash-value { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: #f5e6d3; }
.dash-sub { font-size: 0.72rem; color: rgba(232, 213, 196, 0.4); margin-top: 4px; }
.dash-contract-box {
  background: linear-gradient(135deg, rgba(36, 20, 16, 0.8), rgba(26, 14, 10, 0.6));
  border: 1px solid rgba(255, 107, 26, 0.08);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}
.dash-contract-box h4 {
  font-size: 1rem;
  color: var(--accent-gold-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contract-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 107, 26, 0.04);
}
.contract-row:last-child { border-bottom: none; }
.contract-label { font-size: 0.82rem; color: rgba(232, 213, 196, 0.6); min-width: 120px; }
.contract-addr { font-family: monospace; font-size: 0.8rem; color: var(--accent-gold-light); flex: 1; word-break: break-all; }
.copy-btn {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 26, 0.15);
  color: rgba(232, 213, 196, 0.5);
  transition: all 0.3s;
}
.copy-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold-light); }
.dash-refresh {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.dash-updated { font-size: 0.78rem; color: rgba(232, 213, 196, 0.4); }

/* ===== 常用工具 ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.tool-card {
  background: linear-gradient(135deg, rgba(36, 20, 16, 0.8), rgba(26, 14, 10, 0.6));
  border: 1px solid rgba(255, 107, 26, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.4s;
  display: block;
}
.tool-card:hover {
  border-color: rgba(255, 107, 26, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 69, 0, 0.06);
}
.tool-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 107, 26, 0.1);
}
.tool-logo { width: 100%; height: 100%; object-fit: cover; }
.tool-card h3 { font-size: 1.05rem; color: #f5e6d3; margin-bottom: 8px; }
.tool-card p { font-size: 0.85rem; color: rgba(232, 213, 196, 0.5); line-height: 1.6; margin-bottom: 16px; }
.tool-link { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--accent-gold-light); }
.tool-url { color: rgba(232, 213, 196, 0.4); }

/* ===== 社区生态 ===== */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.eco-card {
  background: linear-gradient(135deg, rgba(36, 20, 16, 0.8), rgba(26, 14, 10, 0.6));
  border: 1px solid rgba(255, 107, 26, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.4s;
}
.eco-card:hover {
  border-color: rgba(255, 107, 26, 0.2);
  transform: translateY(-4px);
}
.eco-card-wide { grid-column: span 2; }
.eco-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  background: rgba(255, 107, 26, 0.08);
  border: 1px solid rgba(255, 107, 26, 0.15);
  color: var(--accent-gold);
  font-size: 0.72rem;
  margin-bottom: 16px;
}
.eco-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255, 107, 26, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-flame);
  margin-bottom: 16px;
}
.eco-card h3 { font-size: 1.1rem; color: #f5e6d3; margin-bottom: 8px; }
.eco-card p { font-size: 0.88rem; color: rgba(232, 213, 196, 0.55); line-height: 1.7; margin-bottom: 16px; }
.eco-features { margin-bottom: 16px; }
.eco-features li {
  font-size: 0.82rem;
  color: rgba(232, 213, 196, 0.6);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.eco-features i { color: var(--accent-gold); margin-top: 3px; font-size: 0.7rem; }
.eco-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.2);
  color: var(--accent-gold-light);
  font-size: 0.82rem;
  transition: all 0.3s;
}
.eco-link:hover { background: rgba(255, 107, 26, 0.15); }
.eco-link-wechat { cursor: pointer; }
.eco-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ===== 联系方式 ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contact-info-side h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent-gold-light);
  margin-bottom: 12px;
}
.contact-desc {
  font-size: 0.92rem;
  color: rgba(232, 213, 196, 0.6);
  line-height: 1.8;
  margin-bottom: 28px;
}
.contact-items { margin-bottom: 28px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 107, 26, 0.05);
}
.contact-item:last-child { border-bottom: none; }
.contact-item i {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 107, 26, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 0.9rem;
}
.contact-item-label { font-size: 0.75rem; color: rgba(232, 213, 196, 0.4); }
.contact-item-value { font-size: 0.92rem; color: #e8d5c4; }
.contact-nav-link { color: var(--accent-gold-light); }
.contact-ark-info {
  background: rgba(10, 5, 5, 0.4);
  border: 1px solid rgba(255, 107, 26, 0.06);
  border-radius: 12px;
  padding: 20px;
}
.contact-ark-info h4 { font-size: 0.9rem; color: var(--accent-gold-light); margin-bottom: 12px; }
.ark-info-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.82rem;
}
.ark-info-row span:first-child { color: rgba(232, 213, 196, 0.4); }
.ark-info-row span:last-child { color: rgba(232, 213, 196, 0.7); }
.mono { font-family: monospace; }
.contact-form-side h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #f5e6d3;
  margin-bottom: 20px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; }
.form-field label { font-size: 0.82rem; color: rgba(232, 213, 196, 0.6); margin-bottom: 6px; }
.req { color: var(--accent-red); }
.form-field input, .form-field textarea {
  padding: 12px 16px;
  border: 1px solid rgba(255, 107, 26, 0.1);
  border-radius: 10px;
  background: rgba(10, 5, 5, 0.5);
  color: #e8d5c4;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent-gold); }
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(232, 213, 196, 0.6);
  cursor: pointer;
}
.checkbox-item input { accent-color: var(--accent-flame); }
.contact-submit-btn {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-flame), var(--accent-gold));
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s;
}
.contact-submit-btn:hover { box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3); }
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(40, 160, 80, 0.08);
  border: 1px solid rgba(40, 160, 80, 0.2);
  color: #4ade80;
  font-size: 0.88rem;
}

/* ===== 社区基金会 ===== */
.fnd-card {
  position: relative;
  background: linear-gradient(135deg, rgba(36, 20, 16, 0.9), rgba(15, 8, 8, 0.8));
  border: 1px solid rgba(255, 107, 26, 0.12);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
}
.fnd-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 69, 0, 0.05), transparent 70%);
  pointer-events: none;
}
.fnd-inner { position: relative; z-index: 1; }
.fnd-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 100px;
  background: rgba(255, 107, 26, 0.08);
  border: 1px solid rgba(255, 107, 26, 0.2);
  color: var(--accent-gold);
  font-size: 0.78rem;
  margin-bottom: 24px;
}
.fnd-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: #f5e6d3;
  margin-bottom: 8px;
}
.fnd-title-sub {
  display: block;
  font-size: 0.5em;
  color: var(--accent-gold-light);
  margin-top: 8px;
}
.fnd-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}
.fnd-divider-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-gold); }
.fnd-divider-line { width: 60px; height: 1px; background: rgba(255, 107, 26, 0.2); }
.fnd-divider-icon { color: var(--accent-flame); font-size: 1.2rem; }
.fnd-desc {
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 0.92rem;
  color: rgba(232, 213, 196, 0.6);
  line-height: 1.8;
}
.fnd-coming {
  display: inline-flex;
  padding: 12px 32px;
  border-radius: 100px;
  border: 1px dashed rgba(255, 107, 26, 0.3);
  margin-bottom: 16px;
}
.fnd-coming-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-size: 0.88rem;
}
.fnd-tagline { font-size: 0.78rem; color: rgba(232, 213, 196, 0.3); letter-spacing: 1px; }

/* ===== 页脚 ===== */
.footer {
  background: var(--ink-deepest);
  border-top: 1px solid rgba(255, 107, 26, 0.06);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {}
.footer-logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 107, 26, 0.15);
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-gold-light);
  margin-bottom: 8px;
}
.footer-brand p { font-size: 0.85rem; color: rgba(232, 213, 196, 0.4); line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 26, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 213, 196, 0.4);
  transition: all 0.3s;
}
.social-link:hover { border-color: var(--accent-gold); color: var(--accent-gold-light); }
.footer-col h4 { font-size: 0.88rem; color: #f5e6d3; margin-bottom: 16px; }
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: rgba(232, 213, 196, 0.4);
  padding: 5px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent-gold-light); }
.mono-small { font-family: monospace; font-size: 0.75rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 107, 26, 0.05);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(232, 213, 196, 0.3); }
.footer-disclaimer { margin-top: 4px; font-size: 0.72rem; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 5, 5, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: linear-gradient(135deg, var(--paper-cream), var(--ink-deepest));
  border: 1px solid rgba(255, 107, 26, 0.12);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  position: relative;
  animation: modalIn 0.4s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: rgba(232, 213, 196, 0.4);
  font-size: 1.1rem;
  transition: all 0.3s;
}
.modal-close:hover { background: rgba(255, 107, 26, 0.08); color: var(--accent-gold-light); }
.modal-logo {
  text-align: center;
  margin-bottom: 20px;
}
.modal-logo img {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto;
  border: 2px solid rgba(255, 107, 26, 0.2);
}
.modal h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-gold-light);
  text-align: center;
  margin-bottom: 6px;
}
.modal-subtitle { text-align: center; color: rgba(232, 213, 196, 0.5); font-size: 0.85rem; margin-bottom: 28px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-options { display: flex; justify-content: space-between; align-items: center; }
.auth-forgot { font-size: 0.82rem; color: var(--accent-gold-light); }
.auth-btn { width: 100%; margin-top: 8px; }
.auth-agree { font-size: 0.82rem; color: rgba(232, 213, 196, 0.5); }
.auth-switch { text-align: center; font-size: 0.85rem; color: rgba(232, 213, 196, 0.5); }
.auth-switch a { color: var(--accent-gold-light); }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, var(--paper-cream), var(--ink-deep));
  border: 1px solid rgba(255, 107, 26, 0.2);
  border-radius: 100px;
  padding: 14px 28px;
  color: #f5e6d3;
  font-size: 0.9rem;
  z-index: 10001;
  opacity: 0;
  transition: all 0.4s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 滚动动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--d, 0s);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 968px) {
  .calculator-wrap { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .eco-card-wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--ink-deep);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 20px;
    transition: right 0.4s;
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .hero-stats { gap: 20px; }
  .hero-stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}