/* OpenScreen 中文站 - style.css
   品牌: 黑底绿光 logo → 主绿 #00A63E / 深绿 #00602E / 墨黑 #101010
   风格: 扁平现代专业, 浅色主题 */
:root {
  --green: #00A63E;
  --green-deep: #00602E;
  --green-mid: #008C36;
  --green-light: #E6F6EC;
  --green-border: #BCE5C8;
  --ink: #101010;
  --text: #2A332C;
  --muted: #6B7670;
  --bg: #FFFFFF;
  --bg-soft: #F5F8F6;
  --line: #E4EAE6;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(16, 32, 24, 0.08);
  --maxw: 1140px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { color: var(--green); }
ul { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; height: 64px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); }
.brand img { flex: none; border-radius: 6px; display: block; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 8px; padding: 10px 22px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-mid); color: #fff; box-shadow: 0 6px 18px rgba(0, 166, 62, 0.3); }
.btn-ghost { background: transparent; color: var(--green-deep); border: 1.5px solid var(--green); }
.btn-ghost:hover { background: var(--green-light); color: var(--green-deep); }
.btn-lg { padding: 14px 32px; font-size: 17px; border-radius: 10px; }
.btn .icon { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; background:
  radial-gradient(1000px 420px at 85% -10%, rgba(0, 166, 62, 0.08), transparent 65%),
  linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.3; color: var(--ink); font-weight: 700; letter-spacing: -0.5px; }
.hero h1 .accent { color: var(--green); }
.hero p.lead { margin: 18px 0 28px; color: var(--muted); font-size: 17px; max-width: 34em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.hero-meta .icon { width: 15px; height: 15px; color: var(--green); }
.hero-figure { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-video { display: block; width: 100%; height: auto; background: #101010; }

/* ---------- 徽章条 ---------- */
.badge-bar { border-bottom: 1px solid var(--line); background: #fff; }
.badge-bar .container { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; align-items: center; justify-content: center; }
.badge-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.badge-item strong { color: var(--text); font-weight: 600; }
.badge-item .icon { width: 16px; height: 16px; color: var(--green); }

/* ---------- 通用 Section ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .kicker { display: inline-block; color: var(--green); font-weight: 600; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: 30px; color: var(--ink); line-height: 1.35; }
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--green-border); transform: translateY(-3px); }
.card .icon-wrap {
  width: 46px; height: 46px; border-radius: 10px; background: var(--green-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--green);
}
.card .icon-wrap .icon { width: 24px; height: 24px; }
.card h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 特性大区块 ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 36px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row .visual {
  border-radius: 12px; border: 1px solid var(--line); background: #fff;
  min-height: 230px; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.feature-row h2 { font-size: 22px; color: var(--ink); margin-bottom: 12px; }
.feature-row h3 { font-size: 22px; color: var(--ink); margin-bottom: 12px; }
.feature-row p { color: var(--muted); }
.feature-row ul.checks { margin-top: 16px; display: grid; gap: 9px; }
.feature-row ul.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15px; }
.feature-row ul.checks .icon { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 4px; }
.feature-row.rev .visual { order: 2; }
/* 简易界面示意 */
.ui-demo { width: 100%; display: grid; gap: 10px; }
.ui-demo .bar { display: flex; gap: 6px; align-items: center; }
.ui-demo .dot { width: 10px; height: 10px; border-radius: 50%; background: #D8E0DB; }
.ui-demo .dot.g { background: var(--green); }
.ui-demo .screen { border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, #F7FBF8, #EDF5EF); min-height: 120px; display: flex; align-items: center; justify-content: center; position: relative; }
.ui-demo .screen .rec { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.ui-demo .screen .rec::after { content: ""; width: 18px; height: 18px; border-radius: 4px; background: #fff; }
.ui-demo .timeline { display: flex; gap: 4px; align-items: center; }
.ui-demo .pill { height: 10px; border-radius: 5px; background: var(--green-light); border: 1px solid var(--green-border); flex: 1; }
.ui-demo .pill.g { background: var(--green); border-color: var(--green); }
.zoom-demo { text-align: center; }
.zoom-demo .frame { display: inline-block; border: 3px solid var(--green); border-radius: 10px; padding: 22px 34px; background: var(--green-light); position: relative; }
.zoom-demo .frame::after { content: ""; position: absolute; inset: -12px; border: 2px dashed var(--green-border); border-radius: 14px; }
.zoom-demo .icon { width: 46px; height: 46px; color: var(--green-deep); }
.caption-demo { text-align: center; }
.caption-demo .line { display: inline-block; background: var(--green-light); border: 1px solid var(--green-border); color: var(--green-deep); border-radius: 8px; padding: 10px 20px; font-size: 15px; font-weight: 600; margin: 6px; }
.export-demo { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.export-demo .chip { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 16px; font-size: 13.5px; color: var(--text); display: inline-flex; align-items: center; gap: 7px; }
.export-demo .chip .icon { width: 15px; height: 15px; color: var(--green); }

/* ---------- 场景卡片 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scene-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow 0.2s, transform 0.2s; }
.scene-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.scene-card .num { font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: 2px; margin-bottom: 10px; }
.scene-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.scene-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 优势 ---------- */
.adv-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.adv-item:last-child { border-bottom: none; }
.adv-item .icon-wrap { width: 44px; height: 44px; border-radius: 10px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; flex: none; }
.adv-item .icon-wrap .icon { width: 22px; height: 22px; }
.adv-item h3 { font-size: 17px; color: var(--ink); margin-bottom: 5px; }
.adv-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- 下载弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(10, 18, 14, 0.55);
  display: flex; align-items: center; justify-content: center; z-index: 1000;
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.modal-mask.open { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: 16px; max-width: 640px; width: calc(100% - 40px);
  padding: 36px 36px 30px; position: relative; box-shadow: 0 24px 64px rgba(6, 24, 14, 0.25);
  transform: translateY(14px); transition: transform 0.25s;
}
.modal-mask.open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: none; background: var(--bg-soft); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.modal-close:hover { background: var(--line); color: var(--ink); }
.modal-close .icon { width: 16px; height: 16px; }
.modal h3 { font-size: 21px; color: var(--ink); text-align: center; }
.modal .modal-sub { text-align: center; color: var(--muted); font-size: 14px; margin: 8px 0 26px; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qr-box { border: 1.5px dashed var(--green-border); background: var(--bg-soft); border-radius: 12px; padding: 22px 16px 18px; text-align: center; }
.qr-placeholder { width: 168px; height: 168px; margin: 0 auto 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #B7C2BB; }
.qr-img { width: 168px; height: 168px; margin: 0 auto 14px; display: block; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.qr-placeholder .icon { width: 44px; height: 44px; }
.qr-box .qr-label { font-size: 14.5px; font-weight: 600; color: var(--text); }
.modal-tips { margin-top: 24px; font-size: 12.5px; color: var(--muted); text-align: center; background: var(--bg-soft); border-radius: 8px; padding: 10px 14px; }

/* ---------- 下载页 ---------- */
.dl-platform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; position: relative; }
.dl-card .icon-wrap { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 14px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; }
.dl-card .icon-wrap .icon { width: 30px; height: 30px; }
.dl-card h2 { font-size: 19px; color: var(--ink); }
.dl-card h3 { font-size: 19px; color: var(--ink); }
.dl-card .dl-meta { font-size: 13px; color: var(--muted); margin: 6px 0 18px; }
.dl-card .btn { width: 100%; }
.dl-card .dl-alt { margin-top: 12px; font-size: 13px; color: var(--muted); }
.dl-card .dl-alt a { color: var(--green-deep); }
.dl-req { margin-top: 40px; }
.table-wrap { overflow-x: auto; }
table.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: 14.5px; }
table.spec th { background: var(--bg-soft); text-align: left; padding: 12px 18px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.spec td { padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--text); }
table.spec tr:last-child td { border-bottom: none; }

/* ---------- 指南页 ---------- */
.guide-layout { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.toc { position: sticky; top: 88px; border-left: 2px solid var(--line); padding-left: 18px; display: grid; gap: 10px; font-size: 14px; }
.toc a { color: var(--muted); padding: 2px 0; display: block; }
.toc a:hover, .toc a.active { color: var(--green); }
.guide-section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.guide-section:last-child { border-bottom: none; }
.guide-section h2 { font-size: 22px; color: var(--ink); margin-bottom: 12px; scroll-margin-top: 88px; }
.guide-section h3 { font-size: 16.5px; color: var(--ink); margin: 18px 0 8px; }
.guide-section p { color: var(--text); margin-bottom: 10px; }
.guide-section ol, .guide-section ul { margin: 8px 0 14px 20px; color: var(--text); }
.guide-section ol li, .guide-section ul li { margin-bottom: 6px; }
.guide-note { background: var(--green-light); border: 1px solid var(--green-border); border-radius: 10px; padding: 14px 18px; font-size: 14px; color: var(--green-deep); margin: 14px 0; }
code.inline { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; font-family: "SF Mono", Consolas, monospace; font-size: 13px; color: var(--green-deep); }
kbd { background: #fff; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 7px; font-size: 12.5px; font-family: "SF Mono", Consolas, monospace; color: var(--ink); }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--green-deep), var(--green)); color: #fff; border-radius: 16px; padding: 52px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; color: #fff; }
.cta-band p { margin-top: 8px; color: rgba(255, 255, 255, 0.85); font-size: 15px; }
.cta-band .btn { background: #fff; color: var(--green-deep); }
.cta-band .btn:hover { background: var(--green-light); }

/* ---------- FAQ ---------- */
details.faq { border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 12px; overflow: hidden; }
details.faq summary { padding: 16px 20px; font-weight: 600; color: var(--ink); cursor: pointer; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 20px; color: var(--green); font-weight: 400; }
details.faq[open] summary::after { content: "−"; }
details.faq .faq-body { padding: 0 20px 16px; color: var(--muted); font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #A9B3AC; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding: 52px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 19px; margin-bottom: 14px; }
.footer-brand img { flex: none; border-radius: 5px; display: block; }
.site-footer p { font-size: 13.5px; line-height: 1.8; }
.site-footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer ul a { color: #A9B3AC; font-size: 13.5px; }
.site-footer ul a:hover { color: var(--green); }
.footer-note { border-top: 1px solid #263029; padding: 20px 0; font-size: 12.5px; color: #7C867F; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-note .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; width: 100%; }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 18px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumb ol { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb li+li::before { content: "/"; margin-right: 8px; color: #C4CCC7; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb [aria-current] { color: var(--text); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 8px; font-size: 14px;
  opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 1200; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .grid-3, .grid-4, .scene-grid, .dl-platform { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 26px; }
  .feature-row.rev .visual { order: 0; }
  .guide-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 27px; }
  .grid-3, .grid-4, .scene-grid, .dl-platform { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
