:root {
  --color-bg: #faf9f7;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-secondary: #555;
  --color-primary: #ff6b35;
  --color-primary-hover: #e85a2a;
  --color-border: #e8e8e8;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-card: 0 4px 16px rgba(0,0,0,0.05);
  --shadow-hover: 0 8px 24px rgba(255,107,53,0.12);
  --font-base: system-ui, -apple-system, "PingFang SC", "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; width: 100%; overflow-x: hidden; }
body { font-family: var(--font-base); background: var(--color-bg); color: var(--color-text); line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; transition: color 0.2s; }
.wrap, .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 5vw, 24px); }

/* 导航与页脚基础结构 */
header { background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--color-border); }
.nav-inner, .nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; }
.brand img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
nav ul { display: flex; gap: 28px; list-style: none; }
nav a { font-weight: 500; font-size: 0.95rem; opacity: 0.75; position: relative; }
nav a:hover, nav a[aria-current="page"] { opacity: 1; color: var(--color-primary); }
nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: -6px; left: 0; width: 100%; height: 2px; background: var(--color-primary); border-radius: 2px; }
footer { background: #111; color: #aaa; padding: 48px 0 32px; margin-top: 80px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a:hover { color: #fff; }
.copyright { text-align: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid #333; color: #666; }

/* 通用组件 */
.section { padding: 80px 0; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; margin-bottom: 12px; text-wrap: balance; }
.section-desc { font-size: 1.05rem; color: var(--color-text-secondary); margin-bottom: 48px; max-width: 720px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 32px; align-items: center; }
.card { background: var(--color-surface); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); border: 1px solid var(--color-border); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 36px; background: linear-gradient(135deg, #ff7a45, #ff5e3d); color: #fff; border-radius: 48px; font-weight: 600; font-size: 1.05rem; border: none; cursor: pointer; transition: filter 0.2s, transform 0.2s; text-wrap: balance; width: fit-content; max-width: 100%; }
.btn:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(255,110,60,0.5); outline-offset: 3px; }
.btn--outline { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn--outline:hover { background: rgba(255,110,60,0.08); }

/* 下载页专用布局 */
.hero { padding: 100px 0 80px; background: radial-gradient(circle at 70% 30%, rgba(255,160,120,0.15) 0%, transparent 60%), radial-gradient(circle at 20% 80%, rgba(255,100,180,0.1) 0%, transparent 50%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-meta { display: flex; gap: 16px; margin: 24px 0 32px; flex-wrap: wrap; }
.badge { background: #f0f0f0; padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; color: #444; }
.install-steps { counter-reset: step; }
.step-item { position: relative; padding-left: 40px; margin-bottom: 28px; }
.step-item::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; background: var(--color-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; }
.step-title { font-weight: 600; margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 300px; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--color-border); white-space: normal; word-break: break-word; }
th { background: #fafafa; font-weight: 600; white-space: nowrap; }
details { margin-bottom: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
summary { padding: 18px 24px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.2rem; transition: transform 0.2s; font-weight: 400; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 20px; margin: 0; color: var(--color-text-secondary); }
.news-card time { display: block; font-size: 0.85rem; color: #888; margin-bottom: 8px; }
.read-more { display: inline-block; margin-top: 12px; font-weight: 500; color: var(--color-primary); text-decoration: underline; text-underline-offset: 4px; }
.related-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.related-item { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); transition: border-color 0.2s; }
.related-item:hover { border-color: var(--color-primary); }
.related-item span { font-size: 0.9rem; color: var(--color-text-secondary); }

/* SVG 动效系统 */
.glow-sweep { pathLength: 1; stroke-dasharray: 1; stroke-dashoffset: 0; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes drawLine { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.animate-draw { animation: drawLine 5s ease-in-out infinite alternate; }
@keyframes sweepGlow {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.sweep-glow { animation: sweepGlow 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-gentle { animation: float 6s ease-in-out infinite; }

@media (max-width: 900px) {
  .hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { text-align: center; }
  .hero-meta, .btn-group { justify-content: center; }
  nav ul { gap: 16px; }
  .section { padding: 60px 0; }
  .card { padding: 24px; }
}
@media (max-width: 480px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 16px; }
  .hero { padding: 60px 0 40px; }
  .hero-grid { gap: 32px; }
  nav ul { gap: 12px; }
  .step-item { padding-left: 32px; }
  .step-item::before { width: 24px; height: 24px; font-size: 0.8rem; }
  table { font-size: 0.85rem; }
  th, td { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .animate-draw, .float-gentle, .sweep-glow { animation: none; opacity: 1; }
}
