/* ═══════════════════════════════════
   基础 & 变量 - Figma现代化升级
═══════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* v1 升级：东方棕金色系 */

  /* 主背景 - 深棕色 */
  --dark-bg:      #1a1410;
  --dark-bg-mid:  #2a2420;
  --dark-bg-light: #3a3430;

  /* 棕金色系 - 主要强调 */
  --brown-gold:   #c9a961;
  --brown-gold-light: #d9b97f;
  --brown-gold-pale: #e8dcc8;

  /* 文字颜色 */
  --text:         #e8dcc8;
  --text-secondary: #c9a961;
  --text-muted:   #8b7c6b;

  /* 渐变 */
  --gradient-hero: linear-gradient(135deg, #c9a961 0%, #d9b97f 50%, #e8dcc8 100%);
  --gradient-card: linear-gradient(135deg, rgba(201, 169, 97, 0.1), rgba(232, 220, 200, 0.05));
  --gradient-cta: linear-gradient(135deg, #c9a961, #d9b97f);

  /* 玻璃态 */
  --glass-bg:     rgba(232, 220, 200, 0.02);
  --glass-border: rgba(201, 169, 97, 0.15);

  /* 阴影 */
  --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:    0 4px 16px rgba(201, 169, 97, 0.2);
  --shadow-lg:    0 8px 32px rgba(201, 169, 97, 0.25);
  --shadow-glow:  0 0 40px rgba(201, 169, 97, 0.15);

  /* 圆角 */
  --radius:       16px;
  --radius-lg:    24px;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark-bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg-mid);
}
::-webkit-scrollbar-thumb {
  background: var(--brown-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brown-gold-light);
}

/* ═══════════════════════════════════
   导航
═══════════════════════════════════ */
.navbar {
  position: fixed; top:0; left:0; right:0; z-index:100;
  background: rgba(26, 20, 16, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}
.nav-inner {
  max-width: 1060px; margin: 0 auto;
  padding: 0 24px; height: 62px;
  display: flex; align-items: center; gap: 24px;
}
.nav-logo {
  text-decoration: none; color: var(--brown-gold);
  font-size: 1.15rem; font-weight: bold;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.logo-star { font-size: 1.3rem; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
  text-decoration: none; color: var(--text-muted);
  padding: 6px 14px; border-radius: 6px; font-size: .92rem;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--brown-gold); background: rgba(201, 169, 97, 0.1);
}
.nav-cta {
  background: var(--brown-gold); color: var(--dark-bg);
  border: none; padding: 8px 20px; border-radius: 8px;
  font-size: .88rem; font-weight: bold; cursor: pointer; white-space: nowrap;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--brown-gold-light); transform: translateY(-1px); }

/* ═══════════════════════════════════
   通用
═══════════════════════════════════ */
.section-inner { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.section-title { text-align:center; font-size:1.75rem; color:var(--brown-gold); margin-bottom:12px; }
.section-sub   { text-align:center; color:var(--text-muted); font-size:.95rem; margin-bottom:40px; }

.btn-primary {
  background: linear-gradient(135deg, var(--brown-gold), var(--brown-gold-light));
  color: var(--dark-bg); border: none; padding: 13px 30px;
  border-radius: var(--radius); font-size: 1rem; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 18px rgba(201, 169, 97, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(201, 169, 97, 0.45); }
.btn-large { padding: 16px 40px; font-size: 1.05rem; }

.btn-ghost {
  background: transparent; color: var(--brown-gold);
  border: 1px solid rgba(201, 169, 97, 0.45);
  padding: 12px 28px; border-radius: var(--radius);
  font-size: .95rem; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(201, 169, 97, 0.1); border-color: var(--brown-gold); }

/* ═══════════════════════════════════
   Hero
═══════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: space-between;
  padding: 96px 10% 64px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 28% 55%, rgba(201, 169, 97, 0.15) 0%, transparent 58%),
    radial-gradient(ellipse at 78% 18%, rgba(201, 169, 97, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { max-width: 540px; position: relative; z-index: 1; }
.hero-tag {
  display: inline-block; color: var(--brown-gold); font-size: .78rem;
  letter-spacing: 2px; border: 1px solid rgba(212,168,67,.35);
  border-radius: 20px; padding: 4px 14px; margin-bottom: 20px;
}
.hero-title { font-size: clamp(2.2rem,4.5vw,3.4rem); line-height: 1.22; color: #fff; margin-bottom: 20px; }
.hero-title span { color: var(--brown-gold); }
.hero-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.btn-hero { padding: 16px 36px; font-size: 1.05rem; }

.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: 8px 22px; color: rgba(160,144,192,.75); font-size: .82rem;
}

.hero-deco {
  position: relative; width: 300px; height: 300px;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.deco-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(212,168,67,.22);
  animation: spin linear infinite;
}
.ring1 { width:300px; height:300px; animation-duration:32s; }
.ring2 { width:220px; height:220px; animation-duration:22s; animation-direction:reverse; border-style:dashed; }
.ring3 { width:145px; height:145px; animation-duration:16s; }
@keyframes spin { to { transform:rotate(360deg); } }
.deco-center {
  width:74px; height:74px;
  background: linear-gradient(135deg, var(--brown-gold), var(--brown-gold-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: bold; color: #fff; text-align: center; line-height: 1.3;
  box-shadow: 0 0 36px rgba(212,168,67,.28); z-index: 1;
}

/* ═══════════════════════════════════
   价值 / 信任 / 步骤 / CTA
═══════════════════════════════════ */
.value-section { padding: 88px 10%; background: rgba(0,0,0,.22); }
.value-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 20px; margin-top: 40px;
}
.value-card {
  background: var(--card-bg); border: 1px solid rgba(212,168,67,.13);
  border-radius: var(--radius); padding: 28px 22px;
  transition: transform .2s, border-color .2s;
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(212,168,67,.38); }
.value-icon { font-size: 1.9rem; margin-bottom: 12px; }
.value-card h3 { color: var(--brown-gold-light); font-size: 1rem; margin-bottom: 8px; }
.value-card p  { color: var(--text-muted); font-size: .88rem; line-height: 1.65; }

.howto-section { padding: 88px 10%; }
.steps {
  display: flex; align-items: flex-start; flex-wrap: wrap;
  gap: 0; margin-top: 40px;
}
.step { flex:1; min-width:180px; padding: 0 16px; }
.step-num { font-size:2.4rem; font-weight:bold; color:rgba(212,168,67,.25); line-height:1; margin-bottom:10px; }
.step h3  { color: var(--brown-gold-light); font-size: 1rem; margin-bottom: 8px; }
.step p   { color: var(--text-muted); font-size: .87rem; line-height: 1.65; }
.step-arrow { font-size:1.3rem; color:rgba(212,168,67,.35); padding-top:10px; flex-shrink:0; }

.trust-section { padding: 88px 10%; background: rgba(0,0,0,.22); }
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 20px; margin-top: 40px;
}
.trust-card {
  background: var(--card-bg); border: 1px solid rgba(212,168,67,.12);
  border-radius: var(--radius); padding: 26px 22px;
}
.trust-icon { font-size:1.7rem; margin-bottom:12px; }
.trust-card h3 { color: var(--brown-gold-light); font-size:1rem; margin-bottom:8px; }
.trust-card p  { color: var(--text-muted); font-size:.87rem; line-height:1.7; }

.final-cta {
  padding: 96px 10%; text-align: center;
  background: radial-gradient(ellipse at center, rgba(107,63,160,.22) 0%, transparent 68%);
}
.final-cta-inner { display:flex; flex-direction:column; align-items:center; gap:14px; }
.final-cta h2   { font-size:2rem; color:#fff; }
.final-cta > div > p { color: var(--text-muted); font-size:1rem; }
.final-note { font-size:.8rem; color:rgba(154,139,191,.6); letter-spacing:1px; }

.footer { padding:24px; border-top:1px solid rgba(212,168,67,.1); }
.footer-inner {
  max-width:1060px; margin:0 auto;
  display:flex; justify-content:center; gap:40px;
  color:var(--text-muted); font-size:.82rem;
}

/* ═══════════════════════════════════
   响应式
═══════════════════════════════════ */
@media (max-width:820px) {
  .hero { flex-direction:column; padding:96px 6% 60px; text-align:center; }
  .hero-deco { display:none; }
  .hero-actions { justify-content:center; }
  .hero-trust { justify-content:center; }
  .steps { flex-direction:column; align-items:center; gap:20px; }
  .step-arrow { transform:rotate(90deg); padding:0; }
  .step { text-align:center; min-width:unset; width:100%; max-width:300px; }
  .nav-links { display:none; }
  .footer-inner { flex-direction:column; gap:6px; text-align:center; }
}

/* ═══════════════════════════════════
   手机端优化 (375px - 480px)
═══════════════════════════════════ */
@media (max-width:480px) {
  /* 基础排版 - 紧凑型 */
  :root {
    --radius: 12px;
    --radius-lg: 16px;
  }

  body { font-size: 14px; }

  /* 导航 - 手机端紧凑 */
  .navbar { background: rgba(18,7,31,.98); }
  .nav-inner {
    max-width: 100%;
    padding: 0 12px;
    height: 56px;
    gap: 12px;
  }
  .nav-logo {
    font-size: 1rem;
    gap: 6px;
  }
  .logo-star { font-size: 1.1rem; }
  .nav-cta {
    padding: 6px 14px;
    font-size: .8rem;
    border-radius: 6px;
  }

  /* Hero - 手机优先 */
  .hero {
    min-height: auto;
    flex-direction: column;
    padding: 80px 16px 48px;
    text-align: center;
  }

  .hero-bg { display: none; }
  .hero-content { width: 100%; }
  .hero-deco { display: none; }

  .hero-tag {
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 16px;
    font-weight: 700;
  }

  .hero-title span {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-desc {
    font-size: 13px;
    line-height: 20px;
    color: var(--text-muted);
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    justify-content: center;
  }

  .btn-hero {
    width: 100%;
    padding: 14px 20px !important;
    font-size: 14px;
    border-radius: 10px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding: 0;
  }

  .hero-trust li {
    font-size: 12px;
    padding: 4px 0;
  }

  /* Section - 手机端间距 */
  .section-inner {
    max-width: 100%;
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .section-sub {
    font-size: 0.85rem;
    margin-bottom: 24px;
  }

  /* Value Grid - 单列展示 */
  .value-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value-card {
    padding: 20px;
    border-radius: var(--radius);
    gap: 10px;
  }

  .value-icon {
    font-size: 32px;
  }

  .value-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .value-card p {
    font-size: 13px;
    line-height: 18px;
  }

  /* 步骤 - 单列竖排 */
  .steps {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .step {
    text-align: left;
    min-width: unset;
    width: 100%;
    max-width: none;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
  }

  .step-num {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--brown-gold);
  }

  .step h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .step p {
    font-size: 13px;
    color: var(--text-muted);
  }

  .step-arrow {
    display: none;
  }

  /* Trust Grid - 单列展示 */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trust-card {
    padding: 18px;
    border-radius: var(--radius);
  }

  .trust-icon {
    font-size: 28px;
  }

  .trust-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .trust-card p {
    font-size: 13px;
    line-height: 18px;
  }

  /* Final CTA - 手机优化 */
  .final-cta {
    padding: 40px 0;
  }

  .final-cta-inner {
    text-align: center;
  }

  .final-cta h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .final-cta p:first-of-type {
    font-size: 13px;
    margin-bottom: 20px;
    color: var(--text-muted);
  }

  .btn-large {
    width: 100%;
    padding: 14px 20px !important;
    font-size: 14px;
    border-radius: 10px;
    min-height: 48px;
  }

  .final-note {
    font-size: 12px;
    margin-top: 12px;
    color: var(--text-muted);
  }

  /* Footer - 手机端 */
  .footer {
    padding: 32px 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 12px;
    padding: 0 16px;
  }

  .footer-inner span {
    display: block;
    word-break: break-word;
  }
}

/* ═══════════════════════════════════
   v2 升级：卡片与背景优化
═══════════════════════════════════ */
.value-card, .trust-card {
  background: linear-gradient(135deg, rgba(232, 220, 200, 0.05), rgba(201, 169, 97, 0.03));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.hero-tag {
  background: rgba(232, 220, 200, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.25);
  color: var(--brown-gold);
}

/* ═══════════════════════════════════
   v3 升级：排版与字体优化
═══════════════════════════════════ */
.hero-title {
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.section-title {
  font-weight: 700;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(201, 169, 97, 0.1);
}

.hero-desc, .section-sub {
  letter-spacing: 0.3px;
}

/* ═══════════════════════════════════
   v4 升级：动画与交互效果
═══════════════════════════════════ */
@keyframes brown-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 169, 97, 0.3); }
  50% { box-shadow: 0 0 40px rgba(201, 169, 97, 0.5); }
}

@keyframes gold-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.btn-primary {
  animation: gold-float 3s ease-in-out infinite;
}

.logo-star {
  animation: brown-glow 2s ease-in-out infinite;
}

.value-card:hover, .trust-card:hover {
  border-color: rgba(201, 169, 97, 0.4);
  box-shadow: 0 8px 32px rgba(201, 169, 97, 0.15);
  transform: translateY(-4px);
}

/* ═══════════════════════════════════
   v5 升级：细节与装饰元素
═══════════════════════════════════ */
.hero-deco {
  opacity: 0.6;
}

.deco-ring {
  border: 2px solid rgba(201, 169, 97, 0.3);
}

.deco-center {
  background: linear-gradient(135deg, var(--brown-gold), var(--brown-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  box-shadow: 0 0 40px rgba(201, 169, 97, 0.2);
}

.value-icon, .trust-icon {
  filter: drop-shadow(0 2px 8px rgba(201, 169, 97, 0.15));
}

.step-num {
  background: linear-gradient(135deg, var(--brown-gold), var(--brown-gold-light));
  color: var(--dark-bg);
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.25);
}

.final-cta-inner {
  background: rgba(201, 169, 97, 0.05);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
}

/* 手机端调整 */
@media (max-width:480px) {
  .section-title {
    text-shadow: 0 1px 4px rgba(201, 169, 97, 0.1);
  }

  .btn-primary {
    animation: none;
  }

  .value-card:hover, .trust-card:hover {
    transform: translateY(-2px);
  }
}
