/* 基础样式 */
:root{
  --bg: #0b0d12;
  --card: #121621;
  --muted: #9aa3af;
  --text: #e5e7eb;
  --primary: #66adff;
  --primary-2: #b8d2ff;
  --border: #1f2737;
  --accent: #20c997;
}
*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 70% -10%, rgba(79,140,255,0.15), transparent 60%),
              radial-gradient(1000px 500px at 20% -20%, rgba(32,201,151,0.15), transparent 55%),
              var(--bg);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration: none; }

.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* 头部 */
.site-header{
  position: sticky; top:0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(8px);
  background: rgba(11,13,18,0.8);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand .logo{ font-weight: 700; letter-spacing: 0.4px; }
.logo-img{ display:block; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.25); }
.menu{ display:flex; gap: 18px; align-items:center; }
.menu a{ color: var(--text); }
.menu a:hover{ color: var(--text); }

/* 按钮 */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding: 12px 16px; border-radius: 10px; border:1px solid var(--border); background: #101522; color: var(--text); transition: all .2s ease; font-weight:600; }
.btn{ min-height: 44px; }
.btn:hover{ transform: translateY(-1px); box-shadow: 0 6px 20px rgba(79,140,255,0.18); }
.btn-sm{ padding: 8px 12px; font-size: 14px; }
.btn-lg{ padding: 14px 18px; font-size: 16px; }
.btn-primary{ background: linear-gradient(180deg, #66adff, #3a7bff); border-color: #1f5eff; color:#fff; text-shadow: 0 1px 0 rgba(0,0,0,0.25); box-shadow: 0 8px 22px rgba(58,123,255,0.35), inset 0 -1px 0 rgba(0,0,0,0.25); }
.btn-primary:hover{ filter: brightness(1.03); box-shadow: 0 10px 26px rgba(58,123,255,0.45), inset 0 -1px 0 rgba(0,0,0,0.25); }
.btn-primary:focus{ outline: 2px solid rgba(99, 166, 255, 0.8); outline-offset: 2px; }
.btn-secondary{ background: #131a2a; }
/* Windows 图标 */
.icon-win{ width:16px; height:16px; display:inline-block; background:#fff; -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><path fill="%23000" d="M0 36l114-16v98H0V36zm122-17l134-19v134H122V19zM0 134h114v98L0 216V134zm122 0h134v134l-134-19V134z"/></svg>') no-repeat center / contain; mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><path fill="%23000" d="M0 36l114-16v98H0V36zm122-17l134-19v134H122V19zM0 134h114v98L0 216V134zm122 0h134v134l-134-19V134z"/></svg>') no-repeat center / contain; }

/* 首屏 */
.hero{ padding: 80px 0 60px; }
.hero-grid{
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center;
}
.hero-text h1{ font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; }
.gradient-text{ background: linear-gradient(92deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge{ display:inline-block; font-size:12px; color:#fff; background: linear-gradient(90deg, #ff7a7a, #ffb86b); padding:6px 10px; border-radius:999px; margin-bottom:10px; box-shadow: 0 6px 16px rgba(255,120,120,0.25); }
.subtitle{ color: var(--muted); line-height: 1.7; margin: 0 0 18px; }
.downloads{ display:flex; gap:12px; margin: 14px 0 8px; flex-wrap: wrap; }
.meta{ color: var(--muted); font-size: 13px; }

.hero-media{ display:flex; justify-content:center; position: relative; }
.decor{ position:absolute; filter: blur(40px); opacity:.35; pointer-events:none; }
.decor-a{ width:200px; height:200px; background: #4f8cff; top:-30px; right: -20px; }
.decor-b{ width:180px; height:180px; background: #20c997; bottom:-20px; left:-10px; }
.mockup{ width: 100%; max-width: 520px; border-radius: 16px; border:1px solid var(--border); background: linear-gradient(180deg,#0f1422,#0b0f19); box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 20px 60px rgba(0,0,0,0.35); }
.float{ animation: float 6s ease-in-out infinite; }
@keyframes float{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-6px); } }
.mockup-top{ height: 38px; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:8px; padding:0 12px; }
.mockup-top span{ width:10px; height:10px; border-radius:50%; background:#2a3347; display:inline-block; }
.mockup-body{ padding: 18px; min-height: 280px; display:flex; flex-direction:column; gap:10px; }
.bubble{ max-width: 86%; padding: 10px 12px; border-radius: 12px; line-height: 1.6; }
.bubble.left{ background:#121a2b; border:1px solid var(--border); color: var(--text); align-self:flex-start; }
.bubble.right{ background:#14311f; border:1px solid rgba(32,201,151,0.35); color:#c5f7e6; align-self:flex-end; }
.ai-tip{ margin-top:auto; font-size:12px; color: var(--primary-2); opacity: .9; }

/* Section 通用 */
.section{ padding: 64px 0; }
.section.alt{ background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); border-top: 1px solid var(--border); border-bottom:1px solid var(--border); position:relative; }
.section.alt:after{ content:""; position:absolute; left:0; right:0; top:-1px; height:1px; background: linear-gradient(90deg, transparent, rgba(79,140,255,0.35), transparent); }
.section h2{ font-size: 24px; margin: 0 0 18px; }

.features-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card{ background: var(--card); border:1px solid var(--border); padding: 16px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); position: relative; }
.card:before{ content:""; position:absolute; inset:0; border-radius:14px; pointer-events:none; box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset; }
.card:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.35); }
.card h3{ margin: 0 0 8px; font-size: 16px; }
.card p{ margin: 0; color: var(--muted); line-height: 1.8; }

.steps{ list-style: none; padding:0; margin: 10px 0 0; display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li{ background: var(--card); border:1px solid var(--border); border-radius: 14px; padding: 14px; }
.steps strong{ display:block; margin-bottom:6px; }
.steps span{ color: var(--muted); font-size: 14px; }
.cta-row{ display:flex; align-items:center; gap:12px; margin-top: 18px; }
.hint{ color: var(--muted); font-size: 14px; }

.logos{ display:flex; gap:10px; flex-wrap: wrap; margin: 10px 0 0; }
.logo-badge{ background:#111828; border:1px solid var(--border); color: var(--primary-2); padding: 8px 12px; border-radius: 999px; font-size: 14px; }
.quote{ margin: 20px 0 0; padding-left: 14px; border-left: 3px solid var(--primary); color: var(--muted); }
.quote cite{ display:block; margin-top: 6px; color: #cbd5e1; font-style: normal; }

/* 页脚 */
.site-footer{ border-top:1px solid var(--border); padding: 28px 0; background: rgba(0,0,0,0.2); }
.footer-grid{ display:flex; align-items:center; justify-content:space-between; gap: 20px; }
.footnote{ color: var(--muted); font-size: 13px; margin-top: 6px; }
.links{ display:flex; gap: 12px; }
.links a{ color: var(--muted); }
.links a:hover{ color: var(--text); }

/* 响应式 */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-text{ text-align:center; }
  .downloads{ justify-content:center; }
}
@media (max-width: 720px){
  .features-grid{ grid-template-columns: 1fr; }
  .mockup{ max-width: 460px; }
}
@media (max-width: 800px){
  .features-grid{ grid-template-columns: 1fr 1fr; }
  .steps{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .menu a:not(.btn){ display:none; }
  .btn{ width: 100%; }
  .downloads{ flex-direction: column; }
  .decor{ display:none; }
  .hero{ padding: 56px 0 44px; }
  .mockup-body{ min-height: 220px; }
}

/* 暗色/浅色自动适配（跟随系统） */
@media (prefers-color-scheme: light){
  :root{
    --bg: #f5f7fb;
    --card: #ffffff;
    --muted: #475569;
    --text: #0f172a;
    --primary: #2f6bff;
    --primary-2: #2458d6;
    --border: #e5e7eb;
    --accent: #16a34a;
  }
  .site-header{ background: rgba(255,255,255,0.9); }
  body{ background: radial-gradient(1200px 600px at 70% -10%, rgba(47,107,255,0.10), transparent 60%),
              radial-gradient(1000px 500px at 20% -20%, rgba(22,163,74,0.10), transparent 55%),
              var(--bg); }
  .btn{ color:#0f172a; }
  .btn:not(.btn-primary){ background:#f3f6fd; }
  .btn-secondary{ background: #eef2ff; }
  .btn-primary{ color:#fff; }
  .bubble.left{ background:#f3f6fd; }
  .bubble.right{ background:#e7f7ef; color:#065f46; border-color:#bbf7d0; }
  .section.alt{ background: #ffffff; }
  .logo-badge{ background:#f8fafc; border-color:#e2e8f0; color:#1e3a8a; }
}

/* 低动效优先：禁用浮动动画 */
@media (prefers-reduced-motion: reduce){
  .float{ animation: none !important; }
  *{ scroll-behavior: auto; }
}


