:root {
    --bg: #1a1d2e;
    --panel: #252a3d;
    --panel-soft: #202438;
    --accent: #f5a623;
    --accent-strong: #ffc05a;
    --text: #e8e8e8;
    --muted: #aeb4c7;
    --line: rgba(232, 232, 232, 0.12);
    --shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(26, 29, 46, 0.94);
    backdrop-filter: blur(14px);
}
.nav-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.04em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 0.92rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent-strong); }
.nav-download, .button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--accent);
    color: #171a27;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease;
}
.nav-download:hover, .button-primary:hover { transform: translateY(-2px); background: var(--accent-strong); }
.button-secondary {
    display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px;
    border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: transparent;
}
.button-secondary:hover { border-color: var(--accent); color: var(--accent-strong); }

.hero { padding: 84px 0 68px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: .86rem; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 10em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.16rem; }
.hero-copy { margin: 20px 0 28px; color: var(--muted); max-width: 660px; font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card { position: relative; min-height: 360px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #2c3045, #1f2336); overflow: hidden; box-shadow: var(--shadow); }
.hero-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -80px; border: 1px solid rgba(245,166,35,.38); border-radius: 50%; box-shadow: 0 0 0 24px rgba(245,166,35,.06), 0 0 0 48px rgba(245,166,35,.04); }
.hero-screen-image { position: absolute; left: 50%; top: 50%; height: 330px; width: auto; max-width: 80%; transform: translate(-50%, -50%) rotate(3deg); border: 8px solid #151827; border-radius: 22px; box-shadow: 0 22px 42px rgba(0,0,0,.42); object-fit: contain; }
.hero-device { position: absolute; left: 50%; top: 50%; width: 210px; aspect-ratio: 9 / 16; transform: translate(-50%, -48%) rotate(5deg); border: 8px solid #151827; border-radius: 26px; background: #121521; box-shadow: 0 22px 42px rgba(0,0,0,.42); overflow: hidden; }
.hero-device .screen { height: 100%; padding: 14px 12px; background: linear-gradient(180deg, #2c2940, #191c2a 68%); }
.screen-top { display: flex; justify-content: space-between; color: #f8c873; font-size: .65rem; }
.screen-title { margin-top: 36px; color: #f6d29d; font-size: 1.2rem; font-weight: 700; }
.screen-line { height: 7px; margin-top: 14px; border-radius: 99px; background: #4e536a; }
.screen-line.short { width: 62%; }
.screen-panel { height: 108px; margin-top: 22px; border-radius: 10px; background: linear-gradient(145deg, #8d5934, #e5a85a 47%, #47334a); }
.screen-footer { position: absolute; left: 12px; right: 12px; bottom: 15px; display: flex; justify-content: space-between; color: #aeb4c7; font-size: .62rem; }

.section { padding: 76px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head p { margin: 0; color: var(--muted); max-width: 560px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); transition: transform .2s ease, border-color .2s ease; }
.work-card:hover { transform: translateY(-4px); border-color: rgba(245,166,35,.55); }
.cover { aspect-ratio: 4 / 3; overflow: hidden; background: #111522; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.work-body { padding: 18px; }
.work-body p { margin: 8px 0 0; color: var(--muted); font-size: .93rem; }
.card-link { display: inline-flex; margin-top: 14px; color: var(--accent-strong); font-size: .9rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 22px; border-left: 2px solid var(--accent); background: var(--panel-soft); }
.stat strong { display: block; color: var(--accent-strong); font-size: 1.9rem; line-height: 1.15; }
.stat span { color: var(--muted); font-size: .9rem; }
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: start; }
.preview-grid figure { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.preview-grid img { width: 100%; max-width: 400px; margin: 0 auto; border-radius: 7px; }
.preview-grid figcaption { padding: 10px 2px 2px; color: var(--muted); font-size: .83rem; }

.feature-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; }
.feature-intro { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.feature-intro p { color: var(--muted); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-item { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-soft); }
.feature-item span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 7px; background: rgba(245,166,35,.16); color: var(--accent-strong); font-weight: 700; }
.feature-item p { margin: 7px 0 0; color: var(--muted); font-size: .92rem; }

.deep-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.deep-card { display: flex; justify-content: space-between; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.deep-card p { margin: 8px 0 0; color: var(--muted); }
.text-link { flex: 0 0 auto; align-self: end; color: var(--accent-strong); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
blockquote { margin: 0; padding: 24px; border-top: 2px solid var(--accent); background: var(--panel); color: var(--text); }
blockquote p { margin: 0 0 12px; }
blockquote cite { color: var(--muted); font-size: .88rem; font-style: normal; }
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); font-size: .93rem; }
.download-band { padding: 34px; border: 1px solid rgba(245,166,35,.35); border-radius: 12px; background: linear-gradient(120deg, rgba(245,166,35,.18), rgba(37,42,61,.9)); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.download-band p { margin: 8px 0 0; color: var(--muted); }
.site-footer { padding: 30px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-row p { margin: 6px 0; }
.disclaimer { max-width: 760px; }

.article-hero { padding: 72px 0 42px; border-bottom: 1px solid var(--line); }
.article-hero p { max-width: 760px; margin: 18px 0 0; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 34px; padding: 48px 0 78px; }
.article-content { min-width: 0; }
.article-content h2 { margin: 38px 0 14px; font-size: 1.65rem; }
.article-content h3 { margin: 24px 0 8px; font-size: 1.12rem; color: var(--accent-strong); }
.article-content p { margin: 0 0 16px; color: #d0d2db; }
.article-content ul { margin: 0 0 18px; padding-left: 20px; color: #d0d2db; }
.article-content li { margin: 5px 0; }
.article-aside { position: sticky; top: 96px; align-self: start; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.article-aside h3 { margin-bottom: 12px; }
.article-aside a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .91rem; }
.article-aside a:hover { color: var(--accent-strong); }
.callout { margin: 24px 0; padding: 20px; border-left: 3px solid var(--accent); background: rgba(245,166,35,.09); color: #f0d29f; }

@media (max-width: 900px) {
    .hero-grid, .feature-layout, .article-grid { grid-template-columns: 1fr; }
    .hero-card { min-height: 300px; max-width: 520px; }
    .article-aside { position: static; }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .preview-grid { grid-template-columns: repeat(4, minmax(120px, 1fr)); overflow-x: auto; }
}
@media (max-width: 680px) {
    .wrap { width: min(100% - 28px, 560px); }
    .nav-row { min-height: 64px; }
    .nav-links { gap: 12px; font-size: .8rem; }
    .nav-links a:nth-child(-n+2) { display: none; }
    .nav-download { min-height: 38px; padding: 0 12px; font-size: .82rem; }
    .hero { padding: 58px 0 48px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions a { width: 100%; }
    .work-grid, .stats, .feature-list, .deep-grid, .quotes, .faq-list { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .section-head { display: block; }
    .section-head p { margin-top: 10px; }
    .download-band { padding: 24px; display: block; }
    .download-band .button-primary { margin-top: 18px; width: 100%; }
}
