/* AramHex 官网：深色底 + 金色点缀。不用外部字体、框架和 CDN，国内打开快、流量小。 */
:root {
  --bg: #0a0e15;
  --bg2: #0f1520;
  --card: #141c2a;
  --card2: #182233;
  --line: #222d40;
  --line2: #33425c;
  --text: #e8ebf1;
  --muted: #98a2b4;
  --faint: #66728a;
  --gold: #e8c45c;
  --gold2: #c99a2e;
  --blue: #62a8ff;
  --green: #4fd18b;
  --red: #ff7a6b;
  --radius: 14px;
  --font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font: 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(232, 196, 92, .35); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
h1, h2, h3 { line-height: 1.25; margin: 0; }
h2 { font-size: clamp(26px, 3.2vw, 36px); text-align: center; margin-bottom: 44px; }
.kicker { text-align: center; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .22em; margin: 0 0 10px; }

/* 导航 */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(10, 14, 21, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.nav.scrolled { border-color: var(--line); background: rgba(10, 14, 21, .92); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: .01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { position: relative; color: var(--muted); font-size: 15px; padding: 6px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); text-decoration: none; }
.links a.on { color: var(--gold); }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; margin: 0 auto; border-radius: 2px; background: currentColor; position: relative; transition: transform .2s, background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 11px; font-weight: 700; font-size: 16px; line-height: 1.2; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s, color .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(180deg, #f3d474, var(--gold2)); color: #1a1406; box-shadow: 0 8px 24px rgba(232, 196, 92, .22), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-gold:hover { box-shadow: 0 10px 30px rgba(232, 196, 92, .36), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { border: 1px solid var(--line2); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 15px 32px; font-size: 17px; }

/* 首屏 */
.hero { position: relative; overflow: hidden; padding: 80px 0 96px;
  background:
    radial-gradient(900px 520px at 80% 18%, rgba(98, 168, 255, .13), transparent 60%),
    radial-gradient(720px 480px at 8% 92%, rgba(232, 196, 92, .12), transparent 60%),
    var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32L0 82V66l28 16 28-16v16L28 98z' fill='none' stroke='%23e8c45c' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero-in > *, .grid4 > *, .showcase > *, .stats > *, .dl > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: .08em; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px; background: rgba(232, 196, 92, .08); border: 1px solid rgba(232, 196, 92, .22); }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); letter-spacing: .02em; }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, #ffe08a, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: #c3cad6; font-size: 19px; margin: 20px 0 32px; }
.lead b { color: var(--gold); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trust li { font-size: 13px; color: #b8c2d3; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.trust li::before { content: "✓ "; color: var(--green); }
.hero-shot { position: relative; }
.hero-shot::before { content: ""; position: absolute; inset: 8% 4% -6%; border-radius: 40px; background: radial-gradient(closest-side, rgba(79, 209, 139, .22), transparent); filter: blur(30px); z-index: -1; }
.shot { border-radius: 14px; border: 1px solid #2f3e58; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.float-tag { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: rgba(13, 19, 30, .92); border: 1px solid rgba(79, 209, 139, .55); box-shadow: 0 14px 34px rgba(0, 0, 0, .5); font-size: 14px; white-space: nowrap; animation: floaty 4s ease-in-out infinite; pointer-events: none; }
.float-tag b { color: var(--green); }
.float-tag i { font-style: normal; color: var(--muted); font-size: 13px; }
.float-tag.t1 { right: -10px; top: -22px; }
.float-tag.t2 { left: -14px; bottom: -20px; border-color: rgba(232, 196, 92, .5); animation-delay: -2s; }
.float-tag.t2 b { color: var(--gold); }
@keyframes floaty { 50% { transform: translateY(-6px); } }

/* 区块 */
.section { padding: 96px 0; }
.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid4 .card { transition: border-color .2s, transform .2s, box-shadow .2s; }
.grid4 .card:hover { border-color: var(--line2); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(180deg, rgba(232, 196, 92, .18), rgba(232, 196, 92, .05)); border: 1px solid rgba(232, 196, 92, .25); margin-bottom: 18px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; align-items: start; }
.showcase figure { margin: 0; }
.showcase img { border-radius: 12px; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.showcase img:hover, .shot:hover { border-color: #4a5d80; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.showcase figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; }

/* 数据 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 12px; }
.stat b { display: block; font-size: clamp(30px, 4vw, 44px); color: var(--gold); line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }
.data-shot { display: block; max-width: 960px; margin: 40px auto 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); transition: transform .25s, border-color .25s; }
.data-shot:hover { transform: translateY(-3px); border-color: #4a5d80; }
.center { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 36px 0 0; }

/* 下载 */
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.dl-card { position: relative; padding: 32px; }
.dl-card.best { border-color: rgba(232, 196, 92, .55); box-shadow: 0 0 0 1px rgba(232, 196, 92, .12), 0 20px 50px rgba(0, 0, 0, .35); }
.tag { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; color: #1a1406; background: var(--gold); padding: 3px 10px; border-radius: 999px; }
.dl-card h3 { font-size: 24px; margin-bottom: 6px; }
.size { font-family: Consolas, "Cascadia Mono", monospace; font-size: 13px; color: #8391a7 !important; margin: 14px 0 20px !important; }
.dl-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }
.latest { max-width: 920px; margin: 32px auto 0; padding: 22px 28px; }
.latest h3 { font-size: 17px; margin-bottom: 4px; }
.latest h3 span { color: var(--gold); }
.latest ul { margin: 6px 0 12px; padding-left: 20px; color: #c3cad6; font-size: 15px; }
.latest a { font-size: 14px; }

/* 常见问题 */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin: 12px 0; padding: 0 22px; transition: border-color .2s, background .2s; }
details:hover { border-color: var(--line2); }
details[open] { border-color: var(--line2); background: var(--card2); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details p { color: var(--muted); margin: 0 0 18px; animation: fadein .25s ease-out; }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } }

/* 页脚 */
.foot { border-top: 1px solid var(--line); padding: 40px 0 28px; background: #070a10; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; gap: 10px; align-items: center; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.disclaim { color: var(--faint); font-size: 13px; margin-top: 24px; }

/* 回到顶部 */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 15; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(20, 28, 42, .9); color: var(--text); font-size: 18px; cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s, border-color .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--gold); color: var(--gold); }

/* 滚动出现 */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .6s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

/* 点图放大：电脑上从原位置浮起来；手机上全屏左右滑动 */
img[data-big] { cursor: zoom-in; }
.zoom-bg { position: fixed; inset: 0; z-index: 50; background: rgba(5, 8, 13, 0); transition: background .25s, backdrop-filter .25s; cursor: zoom-out; }
.zoom-bg.on { background: rgba(5, 8, 13, .66); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.zoom-img { position: fixed; z-index: 51; border-radius: 12px; border: 1px solid #3a4a64; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); transform-origin: 0 0; transition: transform .3s cubic-bezier(.2, .8, .2, 1); cursor: zoom-out; }
.zoom-m { position: fixed; inset: 0; z-index: 50; background: rgba(5, 8, 13, .95); overflow: auto; -webkit-overflow-scrolling: touch; animation: fadein .2s ease-out; }
.zoom-m-in { min-height: 100%; display: flex; align-items: center; padding: 16px; width: max-content; }
.zoom-m img { width: 220vw; max-width: none; border-radius: 10px; }
.zoom-m-tip { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #c3cad6; font-size: 13px; white-space: nowrap; pointer-events: none; }

/* 页面切换：支持的浏览器跨页过渡（导航栏不动），不支持的内容淡入 */
@view-transition { navigation: auto; }
.nav { view-transition-name: nav; }
::view-transition-old(root) { animation: .18s ease-in both vt-out; }
::view-transition-new(root) { animation: .28s ease-out both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
body > main { animation: page-in .35s ease-out; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }

/* 窄屏和手机 */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 48px; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .links { position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: #0a0e15; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav.open .links { transform: none; opacity: 1; pointer-events: auto; }
  .links a { padding: 12px 8px; font-size: 16px; border-bottom: 1px solid #161f2e; border-radius: 0; }
  .nav-in > .btn-sm { display: none; }
  .grid4, .showcase, .dl { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .cta .btn, .dl-btns .btn { flex: 1; }
  .lead { font-size: 17px; }
  .float-tag { font-size: 12px; padding: 6px 10px; }
  .float-tag.t1 { right: 6px; top: -16px; }
  .float-tag.t2 { left: 6px; bottom: -16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
