/* ===== 智利铜金矿 RWA 项目 - 高端矿业风格 ===== */
:root {
  --ink: #0a0e14;
  --ink-2: #111823;
  --ink-3: #1a2535;
  --gold: #c9a24b;
  --gold-light: #e4c878;
  --gold-dark: #8a6f2f;
  --copper: #c86a2b;
  --text: #e8edf2;
  --text-dim: #a7b4c4;
  --text-mute: #6f7e91;
  --line: rgba(201, 162, 75, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 矿物纹理背景 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(200,106,43,0.08), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(201,162,75,0.06), transparent 45%),
    linear-gradient(180deg, #0a0e14 0%, #0d121c 50%, #0a0e14 100%);
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.015) 0, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.012) 0, transparent 1px);
  background-size: 60px 60px, 90px 90px;
  z-index: -1;
  pointer-events: none;
}

/* ===== 导航栏 ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10,14,20,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: all .3s;
}
.nav.scrolled { padding: 12px 0; }
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text);
  text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(201,162,75,0.15), transparent);
  position: relative;
}
.logo-mark::before {
  content: "CGT";
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -1px;
}
.logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .3px;
  transition: color .25s;
  position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--gold) !important;
  font-size: 14px !important;
  transition: all .3s;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--ink) !important;
}

/* ===== 通用容器 ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 110px 0; position: relative; }
.sec-tag {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.sec-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .5px;
  margin-bottom: 22px;
}
.sec-title .em { color: var(--gold); }
.sec-desc {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 720px;
  line-height: 1.85;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: rgba(201,162,75,0.08);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--gold-light);
  margin-bottom: 30px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }
.hero h1 {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .5px;
  margin-bottom: 28px;
}
.hero h1 .em {
  background: linear-gradient(135deg, var(--gold) 0%, var(--copper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18.5px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(201,162,75,0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,162,75,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(231,237,242,0.25);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Hero 可视化 - 真实矿石照片 */
.hero-visual {
  position: relative;
  height: 460px;
  display: grid;
  place-items: center;
}
.ore-core {
  width: 300px; height: 300px;
  border-radius: 50%;
  background-color: #2a2010;
  background-image: url('ore.svg'), url('mining.jpg');
  background-size: cover, cover;
  background-position: center, center;
  box-shadow:
    0 0 0 1px rgba(201,162,75,0.35),
    0 0 90px rgba(200,106,43,0.3),
    0 24px 70px rgba(0,0,0,0.6);
  position: relative;
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}
.ore-core::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, transparent 55%, rgba(10,14,20,0.55) 100%);
}
.hero-visual .label {
  z-index: 3;
}
.ore-ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.ore-ring.r1 { width: 340px; height: 340px; animation: spin 30s linear infinite; }
.ore-ring.r2 { width: 400px; height: 400px; animation: spin 45s linear infinite reverse; border-style: dashed; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual .label {
  position: absolute;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
}
.hero-visual .label.t1 { top: 40px; left: 20px; }
.hero-visual .label.t2 { bottom: 60px; right: 10px; }

/* ===== 核心数据条 ===== */
.stats {
  background: linear-gradient(180deg, transparent, rgba(201,162,75,0.03), transparent);
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px; top: 20%;
  width: 1px; height: 60%;
  background: var(--line);
}
.stat-num {
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-light), var(--copper));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.stat-num small { font-size: 20px; }
.stat-label { font-size: 14px; color: var(--text-mute); letter-spacing: 1px; }

/* ===== 项目介绍 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.about-text { padding-right: 20px; }
.about-text p {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.9;
}
.about-text .lead {
  font-size: 18px;
  color: var(--text);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin-bottom: 28px;
}

/* 信息卡 */
.cards { display: grid; gap: 16px; }
.info-card {
  background: linear-gradient(135deg, rgba(26,37,53,0.8), rgba(17,24,35,0.6));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  transition: all .35s;
}
.info-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(201,162,75,0.08), rgba(17,24,35,0.6));
}
.info-card .ic-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.info-card .ic-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(201,162,75,0.1);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.info-card h4 { font-size: 17px; font-weight: 700; }
.info-card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.75; }

/* ===== 资源储量 ===== */
.resources { background: linear-gradient(180deg, transparent, rgba(200,106,43,0.04), transparent); }
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.res-card {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all .35s;
}
.res-card:hover { border-color: var(--gold); transform: translateY(-5px); }
.res-card.featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(201,162,75,0.1), var(--ink-2));
}
.res-card.featured::before {
  content: "核心资产";
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  letter-spacing: 1px;
  background: var(--gold);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 700;
}
.res-metal {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
}
.res-tonnes {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.res-tonnes small { font-size: 16px; color: var(--text-mute); font-weight: 600; }
.res-grade {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.res-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.res-bar span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--copper));
}

/* ===== RWA 代币化设计 ===== */
.token-section { }
.token-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 55px;
  align-items: stretch;
}
.flow-step {
  text-align: center;
  padding: 28px 16px;
  position: relative;
}
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -8px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--gold);
  z-index: 2;
}
.flow-num {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(201,162,75,0.3);
}
.flow-step h5 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.flow-step p { font-size: 13.5px; color: var(--text-mute); line-height: 1.65; }

/* 分层卡片 */
.tranche-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 55px;
}
.tranche {
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--line);
}
.tranche.senior {
  background: linear-gradient(160deg, rgba(201,162,75,0.09), var(--ink-2));
  border-color: var(--gold);
}
.tranche.junior {
  background: linear-gradient(160deg, rgba(200,106,43,0.09), var(--ink-2));
  border-color: var(--copper);
}
.tranche .t-type {
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 8px;
}
.tranche.senior .t-type { color: var(--gold); }
.tranche.junior .t-type { color: var(--copper); }
.tranche h4 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.tranche .t-target {
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 22px;
}
.tranche ul { list-style: none; }
.tranche li {
  font-size: 14.5px;
  color: var(--text-dim);
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.tranche li:last-child { border: none; }
.tranche li .check {
  color: var(--gold);
  font-weight: 800;
  flex-shrink: 0;
}

/* ===== 融资计划 ===== */
.funding { background: linear-gradient(180deg, transparent, rgba(201,162,75,0.04), transparent); }
.fund-amount {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 40px 0 14px;
}
.fund-amount .num {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-light), var(--copper));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fund-amount .unit { font-size: 22px; color: var(--text-dim); font-weight: 600; }
.fund-note { color: var(--text-mute); font-size: 15px; margin-bottom: 50px; }

.allocation { margin-top: 20px; }
.alloc-item { margin-bottom: 26px; }
.alloc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.alloc-head .name { font-size: 16px; font-weight: 600; }
.alloc-head .pct { font-size: 15px; color: var(--gold); font-weight: 700; }
.alloc-bar {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}
.alloc-bar span {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--gold), var(--copper));
}

/* 路线图 */
.roadmap {
  margin-top: 70px;
  position: relative;
  padding-left: 40px;
}
.roadmap::before {
  content: "";
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.rm-item { position: relative; margin-bottom: 40px; }
.rm-item::before {
  content: "";
  position: absolute;
  left: -34px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,75,0.15);
}
.rm-phase {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.rm-item h5 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.rm-item ul { list-style: none; }
.rm-item li {
  font-size: 14.5px;
  color: var(--text-dim);
  padding: 3px 0;
  position: relative;
  padding-left: 18px;
}
.rm-item li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--copper);
}

/* ===== 合规与治理 ===== */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.comp-card {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
  transition: all .3s;
}
.comp-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.comp-card .c-icon {
  font-size: 30px;
  margin-bottom: 16px;
}
.comp-card h5 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.comp-card p { font-size: 14px; color: var(--text-dim); line-height: 1.75; }

/* ===== CTA / 联系 ===== */
.cta {
  text-align: center;
  padding: 130px 0;
  position: relative;
  background-image: linear-gradient(180deg, rgba(10,14,20,0.92), rgba(10,14,20,0.96)), url('copper_mine.jpg'), url('ore.svg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta h2 { font-size: 42px; font-weight: 800; margin-bottom: 20px; }
.cta h2 .em { color: var(--gold); }
.cta p { font-size: 17px; color: var(--text-dim); max-width: 560px; margin: 0 auto 38px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== 页脚 ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  background: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 45px;
}
.footer .logo { margin-bottom: 18px; }
.footer-about { color: var(--text-mute); font-size: 14px; max-width: 320px; line-height: 1.8; }
.footer h6 { font-size: 14px; font-weight: 700; margin-bottom: 18px; color: var(--text); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--text-mute); text-decoration: none; font-size: 14px; transition: color .25s; }
.footer li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--text-mute); }
.footer-disclaimer {
  font-size: 12px !important;
  color: var(--text-mute) !important;
  max-width: 900px;
  line-height: 1.8;
  margin-top: 20px;
}

/* ===== 滚动出现动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: all .8s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat:not(:last-child)::after { display: none; }
  .res-grid, .compliance-grid { grid-template-columns: 1fr; }
  .token-flow { grid-template-columns: 1fr; }
  .flow-step:not(:last-child)::after { display: none; }
  .tranche-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: 42px; }
  .sec-title { font-size: 32px; }
  .fund-amount .num { font-size: 52px; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  section { padding: 70px 0; }
}
