/* Base */
:root {
  --bg: #0f1115;
  --bg-soft: #12151b;
  --text: #101317;
  --text-weak: #5b6576;
  --primary: #6c7cff;
  --primary-2: #a88df7;
  --border: #e7eaf0;
  --card: #ffffff;
  --shadow: 0 10px 24px rgba(16, 19, 23, .12);
}

body.light { --bg: #ffffff; --bg-soft:#f7f8fb; --text:#111318; --text-weak:#6b7486; --card:#fff; --border:#e8ecf2; }
body.dark { --bg:#0d0f13; --bg-soft:#0f1217; --text:#e8ecf2; --text-weak:#9aa3b2; --card:#151922; --border:#232a36; }

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Noto Sans SC', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'PingFang SC', 'Microsoft Yahei', sans-serif;
  color: var(--text);
  background: var(--bg);
}
html, body { overflow-x: hidden; }
.container { max-width: 1100px; width: 100%; padding: 0 16px; margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; backdrop-filter: saturate(180%) blur(12px); background: linear-gradient(to bottom, rgba(255,255,255,.7), rgba(255,255,255,.3)); border-bottom: 1px solid var(--border); }
body.dark .site-header { background: linear-gradient(to bottom, rgba(15,17,21,.75), rgba(15,17,21,.35)); }
.nav { display:flex; align-items:center; gap: 24px; padding: 14px 0; }
.brand { display:flex; align-items:center; gap:12px; color:inherit; text-decoration:none; font-weight:700; }
.brand-mark { display:inline-grid; place-items:center; width:32px; height:32px; border-radius:8px; background:#0f1115; color:#fff; font-weight:900; letter-spacing:.5px; }
body.dark .brand-mark { background:#ffffff10; }
.brand-text { font-weight:700; }
/* 新 Logo 图片样式（圆角） */
.brand-avatar { width:32px; height:32px; border-radius:8px; object-fit: contain; display:block; overflow:hidden; background:#0f1115; }
body.dark .brand-avatar { background:#ffffff10; }
.nav-links { display:flex; gap: 18px; margin-left:auto; }
.nav-links a { color: var(--text-weak); text-decoration:none; font-weight:500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display:flex; align-items:center; gap:10px; }
.icon-btn { width:36px; height:36px; border-radius:10px; border:1px solid var(--border); background:var(--card); color:#6b7486; display:inline-grid; place-items:center; box-shadow: var(--shadow); }
.icon-btn:hover { color: var(--text); }
.lang-btn { border:1px solid var(--border); background:var(--card); height:36px; padding:0 12px; border-radius:10px; color:var(--text-weak); }

/* Hero */
.hero { padding: 48px 0 64px; }
.hero-grid { display:grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items:center; }
 /* 防止大图预览网格子项在小屏横向溢出 */
 .hero-grid > * { min-width: 0; }
.free-tip { display:inline-block; padding:6px 12px; border-radius:999px; background:#eaf7f0; color:#1f7a53; font-weight:600; }
body.dark .free-tip { background:#132a20; color:#b8e6c8; }
.hero-title { font-size: 44px; line-height: 1.15; margin: 18px 0; letter-spacing: .5px; }
.hero-sub { color: var(--text-weak); max-width: 560px; }
.primary-btn { margin-top: 22px; padding: 16px 20px; border:0; background: linear-gradient(135deg, #6ee7b7, #34d399); color:#fff; font-weight:700; border-radius: 14px; box-shadow: 0 12px 28px rgba(52, 211, 153, .35); }
.primary-btn:hover { filter: brightness(1.05); }

.hero-right { display:flex; justify-content:center; }
.preview-card { position:relative; width: 560px; border-radius: 18px; overflow:hidden; background:var(--card); box-shadow: 0 24px 60px rgba(64, 80, 160, .25); }
.preview-card::before { content:""; position:absolute; inset:-40px; z-index:-1; border-radius: 28px; background: radial-gradient(60% 60% at 50% 0%, rgba(108,124,255,.35), rgba(168,141,247,.2), transparent 70%); filter: blur(10px); }
.preview-img { display:block; width:100%; height: 320px; object-fit: cover; }
.exif-frame { display:grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items:center; padding: 12px 16px; background:#ffffff; color:#0f1115; font-weight:600; border-top:1px solid #eef1f6; }
body.dark .exif-frame { background:#0f1217; color:#e9edf5; border-top:1px solid #232a36; }
.exif-left { font-size: 12px; opacity:.85; }
.exif-mid { justify-self:center; font-size: 12px; letter-spacing: .6px; }
.exif-right { justify-self: end; font-size: 12px; opacity:.85; }

/* Features */
.features { padding: 30px 0 60px; background: var(--bg-soft); border-top: 1px solid var(--border); }
.section-title { font-size: 32px; margin: 0; }
.section-sub { color: var(--text-weak); margin-top: 6px; }
.features-grid { margin-top: 26px; display:grid; grid-template-columns: 1fr 0.9fr; gap: 36px; align-items:start; }
 /* 防止网格子项在小屏下产生横向溢出 */
 .features-grid > * { min-width: 0; }
 .features-list { display:grid; gap: 16px; width: 100%; max-width: 100%; }
 .feature-item { display:flex; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); width: 100%; max-width: 100%; overflow: hidden; }
 .feature-icon { font-size: 20px; display:inline-grid; place-items:center; width:36px; height:36px; border-radius:10px; background:#eef1ff; color:#4a57d8; }
 body.dark .feature-icon { background:#1b2030; color:#c7ceff; }
.feature-title { font-weight:700; }
.feature-desc { color: var(--text-weak); }

.brands-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); justify-self: start; width: 100%; max-width: 520px; }
.brands-grid { display:grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-chip { display:inline-flex; align-items:center; justify-content:center; padding: 8px 10px; border-radius: 10px; background:#f4f6fb; color:#3a4456; font-weight:700; }
body.dark .brand-chip { background:#1a1f2b; color:#cfd6e3; }

/* FAQ */
.faq { padding: 60px 0; }
.faq-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items:start; }
.help-block { margin-top: 14px; }
.help-title { font-weight:900; margin-bottom:6px; }
.help-desc { color: var(--text-weak); }
.contact { display:flex; gap: 10px; margin-top: 6px; }
.contact-item { width:36px; height:36px; display:inline-grid; place-items:center; border-radius:10px; border:1px solid var(--border); background: var(--card); text-decoration:none; }

.accordion { display:grid; gap: 12px; }
.accordion-item { border:1px solid var(--border); border-radius: 14px; overflow:hidden; background: var(--card); box-shadow: var(--shadow); }
.accordion-header { width:100%; text-align:left; background:transparent; border:0; padding: 16px 16px; font-weight:700; }
.accordion-body { display:none; padding: 0 16px 16px; color: var(--text-weak); }
.accordion-item.open .accordion-body { display:block; }

/* Footer */
.site-footer { padding: 24px 0; border-top: 1px solid var(--border); color: var(--text-weak); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .features-grid, .faq-grid { grid-template-columns: 1fr; }
  .preview-card { width: 100%; }
  .brands-card { width: 100%; max-width: 100%; padding: 16px; }
  .features-list { width: 100%; }
  .feature-item { padding: 12px; }
}

@media (max-width: 480px) {
  .brand-logo { width: clamp(90px, 24vw, 120px); height: 48px; }
  .brand-logo img { max-width: 70px; max-height: 24px; }
  .marquee-track { gap: 12px; }
}

/* 替换为 LOGO 跑马灯 */
.brands-marquee { overflow: hidden; height: 300px; display:flex; align-items:center; }
 .marquee-track { display: inline-flex; align-items: center; gap: 18px; padding: 8px 0; animation: marquee 28s linear infinite reverse; min-width: 100%; }
.brands-marquee:hover .marquee-track { animation-play-state: paused; }
.brand-col { display:flex; flex-direction: column; gap: 14px; }
.brand-logo { width: 140px; height: 56px; display:flex; align-items:center; justify-content:center; border: 1px solid var(--border); background: var(--bg-soft); border-radius: 12px; box-shadow: var(--shadow); }
body.dark .brand-logo { background:#151a24; }
.brand-logo img { max-width: 90px; max-height: 28px; filter: grayscale(10%); opacity: .95; }

@keyframes marquee {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0%); }
}

/* 夜晚模式下让 FAQ 文本为白色 */
body.dark .accordion-header { color: #ffffff; }
body.dark .accordion-body { color: #ffffff; }