/* ==========================================================
   远景公文官网 - 公共样式
   ========================================================== */
:root {
  --primary: #1d4ed8;
  --primary-dark: #173db0;
  --primary-deep: #0f2d7a;
  --accent: #f59e0b;
  --ink: #1e293b;
  --ink-soft: #475569;
  --ink-mute: #64748b;
  --line: #e2e8f0;
  --bg: #f7f9fc;
  --card: #ffffff;
  --green: #059669;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 45, 122, .08);
  --shadow-lg: 0 16px 40px rgba(15, 45, 122, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-logo {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700;
}

.brand-name { font-size: 19px; font-weight: 700; color: var(--primary-deep); letter-spacing: 1px; }
.brand-name small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-mute); letter-spacing: 3px; }

.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink-soft);
  transition: .2s;
}

.nav-links a:hover { color: var(--primary); background: #eef3ff; }
.nav-links a.active { color: #fff; background: var(--primary); }

.nav-toggle {
  display: none;
  border: none; background: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 8px;
}

.nav-toggle svg { width: 24px; height: 24px; stroke: var(--primary-deep); }

/* ---------------- 按钮体系 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: .25s;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(29, 78, 216, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(29, 78, 216, .45); }

.btn-ghost {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .26); }

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: #eef3ff; }

.btn-sm { padding: 9px 22px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(59, 130, 246, .35), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(245, 158, 11, .18), transparent 60%),
    linear-gradient(160deg, #0f2d7a 0%, #1d4ed8 55%, #2f6bf0 100%);
  color: #fff;
  padding: 96px 0 110px;
  overflow: hidden;
}

.hero-inner { max-width: 760px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: 13.5px; letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }

.hero h1 { font-size: 44px; line-height: 1.3; letter-spacing: 2px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #ffd166; }
.hero p.sub { font-size: 18px; color: rgba(255, 255, 255, .85); margin-bottom: 36px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  margin-top: 56px;
}
.hero-stats .stat b { display: block; font-size: 30px; color: #ffd166; }
.hero-stats .stat span { font-size: 13.5px; color: rgba(255, 255, 255, .75); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 84px 0; }
.section.alt { background: #fff; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .kicker {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 4px;
  color: var(--primary);
  background: #e8efff;
  padding: 5px 16px; border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: 32px; color: var(--primary-deep); letter-spacing: 1px; margin-bottom: 12px; }
.section-head p { color: var(--ink-mute); font-size: 16px; }

/* ---------------- 产品卡片 ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: .3s;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c8d8ff; }
.product-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
}
.product-card.coming::before { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }

.product-icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  background: #e8efff;
}
.product-card.coming .product-icon { background: #eef1f6; }

.product-card h3 { font-size: 21px; color: var(--primary-deep); margin-bottom: 6px; }
.product-card .en { font-size: 12.5px; color: var(--ink-mute); letter-spacing: 1px; margin-bottom: 16px; }
.product-card p.desc { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; flex: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  margin-bottom: 18px; width: fit-content;
}
.badge.released { color: var(--green); background: #e7f7f0; }
.badge.released::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.badge.developing { color: #b45309; background: #fdf3e3; }
.badge.developing::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.feature-list { margin-bottom: 24px; }
.feature-list li {
  position: relative; padding-left: 24px;
  color: var(--ink-soft); font-size: 14.5px; margin-bottom: 8px;
}
.feature-list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--primary); font-weight: 700;
}
.product-card.coming .feature-list li::before { content: "…"; color: var(--ink-mute); }

/* ---------------- 特点区 ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }

.feature-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: .3s;
}
.feature-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-item .f-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #e8efff, #f5f9ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.feature-item h4 { font-size: 17px; color: var(--primary-deep); margin-bottom: 8px; }
.feature-item p { font-size: 14.5px; color: var(--ink-mute); }

/* ---------------- 页面横幅 ---------------- */
.page-banner {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(59, 130, 246, .4), transparent 60%),
    linear-gradient(150deg, #0f2d7a, #1d4ed8);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-banner .kicker { color: #ffd166; letter-spacing: 5px; font-size: 13px; margin-bottom: 10px; }
.page-banner h1 { font-size: 36px; letter-spacing: 2px; margin-bottom: 10px; }
.page-banner p { color: rgba(255, 255, 255, .82); font-size: 16px; }

/* ---------------- 产品详情页 ---------------- */
.detail-section { padding: 70px 0; }
.detail-section.alt { background: #fff; }

.detail-flex { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.detail-flex.reverse { grid-template-columns: .9fr 1.1fr; }

.detail-text h2 { font-size: 27px; color: var(--primary-deep); margin-bottom: 16px; letter-spacing: 1px; }
.detail-text p { color: var(--ink-soft); margin-bottom: 14px; font-size: 15.5px; }

.detail-visual {
  border-radius: var(--radius);
  background: linear-gradient(160deg, #eaf1ff, #f8fbff);
  border: 1px solid #dbe6fb;
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.detail-visual .ph {
  text-align: center; color: var(--ink-mute); font-size: 14px;
}
.detail-visual .ph .big { font-size: 56px; margin-bottom: 12px; }

/* ---------------- 下载区 ---------------- */
.download-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px 40px;
  max-width: 720px;
  margin: -90px auto 0;
  position: relative;
  z-index: 5;
  text-align: center;
}
.download-panel h3 { font-size: 24px; color: var(--primary-deep); margin-bottom: 8px; }
.download-panel .version { color: var(--ink-mute); font-size: 14px; margin-bottom: 26px; }
.download-panel .cloud-tip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fdf3e3; color: #b45309;
  font-size: 13.5px;
  padding: 8px 18px; border-radius: 999px;
  margin-bottom: 26px;
}

.dl-meta {
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
  margin-top: 26px; color: var(--ink-mute); font-size: 13.5px;
}

/* ---------------- 时间线（开发中页面） ---------------- */
.timeline { max-width: 680px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: #dbe6fb;
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--primary);
}
.tl-item.done::before { background: var(--primary); }
.tl-item.current::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px #fdf3e3; }
.tl-item .tl-time { font-size: 12.5px; color: var(--ink-mute); letter-spacing: 1px; }
.tl-item h4 { font-size: 17px; color: var(--primary-deep); margin: 4px 0 6px; }
.tl-item p { font-size: 14px; color: var(--ink-mute); }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 18px 24px;
  font-size: 15.5px; font-weight: 700; color: var(--primary-deep);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--primary); transition: .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 18px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------------- CTA 横幅 ---------------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff; text-align: center;
  padding: 68px 24px;
  border-radius: var(--radius);
}
.cta-band h2 { font-size: 28px; letter-spacing: 2px; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-bottom: 30px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0d1f4d; color: #b8c4e0; margin-top: 84px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding: 56px 0 40px;
}
.footer-brand .brand-name { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.9; }
.site-footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { font-size: 13.5px; color: #b8c4e0; transition: .2s; }
.site-footer li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0; text-align: center;
  font-size: 12.5px; color: #8b9ac2;
}

/* ---------------- 二维码卡片 ---------------- */
.qr-grid { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.qr-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  text-align: center; width: 224px; box-shadow: var(--shadow);
}
.qr-card img { width: 150px; height: 150px; margin: 0 auto 14px; object-fit: contain; }
.qr-card h4 { font-size: 15px; color: var(--primary-deep); }
.qr-card p { font-size: 13px; color: var(--ink-mute); margin-top: 4px; }

/* ---------------- 产品截图 ---------------- */
.shot {
  width: 100%; border-radius: var(--radius);
  border: 1px solid #dbe6fb;
  box-shadow: var(--shadow-lg);
}
.shot-caption { text-align: center; font-size: 12.5px; color: var(--ink-mute); margin-top: 10px; }

/* ---------------- 价格卡片 ---------------- */
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px; max-width: 880px; margin: 0 auto;
}
.price-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 24px;
  text-align: center; box-shadow: var(--shadow);
  position: relative; transition: .3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.hot { border: 2px solid var(--primary); }
.price-card .p-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 12px; padding: 3px 14px; border-radius: 999px;
  white-space: nowrap;
}
.price-card .p-name { font-size: 15px; color: var(--ink-mute); }
.price-card .p-price { font-size: 34px; font-weight: 800; color: var(--primary); margin: 8px 0 4px; }
.price-card .p-price small { font-size: 14px; font-weight: 400; color: var(--ink-mute); }
.price-card .p-note { font-size: 13px; color: var(--ink-mute); }

/* ---------------- 网盘提示 ---------------- */
.dl-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 6px; }
.dl-tip { font-size: 13px; color: var(--ink-mute); margin-top: 10px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .detail-flex, .detail-flex.reverse { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .page-banner h1 { font-size: 28px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 10px 4%;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-toggle { display: block; }
  .hero { padding: 64px 0 80px; }
  .section { padding: 60px 0; }
  .hero-stats { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .download-panel { margin-top: -60px; padding: 34px 24px; }
}
