/* ============================================================
   同花顺财经 · 官方网站风格（第 5 套：清新绿色系）
   ============================================================ */
:root {
  --green-900: #0b5a3a;
  --green-700: #0f8a55;
  --green-600: #16a866;
  --green-500: #2ec981;
  --green-100: #e5f8ee;
  --green-50: #f3fcf7;
  --up: #e5484d;
  --down: #16a866;
  --ink-900: #1c2b26;
  --ink-700: #46564f;
  --ink-500: #7c8a83;
  --line: #dcf0e4;
  --bg: #ffffff;
  --radius-xl: 24px;
  --radius-l: 18px;
  --radius-m: 12px;
  --shadow: 0 10px 30px rgba(15,138,85,0.1);
  --max-w: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: var(--ink-900); background: var(--bg); line-height: 1.75; font-size: 15px; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* 导航 */
.g-nav { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 12px rgba(15,138,85,0.06); }
.g-nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.g-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--green-700); }
.g-logo svg { width: 34px; height: 34px; }
.g-links { display: flex; align-items: center; gap: 4px; }
.g-links a { padding: 10px 16px; font-size: 14.5px; font-weight: 600; color: var(--ink-700); border-radius: 999px; transition: background 0.2s ease, color 0.2s ease; }
.g-links a:hover { background: var(--green-50); color: var(--green-700); }
.g-links a.active { background: var(--green-100); color: var(--green-700); }
.g-cta { background: var(--green-600) !important; color: #fff !important; font-weight: 700 !important; padding: 10px 22px !important; box-shadow: 0 6px 16px rgba(22,168,102,0.35); }
.g-cta:hover { background: var(--green-700) !important; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; font-size: 15px; font-weight: 700; border-radius: 999px; border: none; cursor: pointer; font-family: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.btn:disabled { opacity: 0.65; cursor: not-allowed; }
.btn-green { background: var(--green-600); color: #fff; box-shadow: 0 10px 26px rgba(22,168,102,0.32); }
.btn-green:hover:not(:disabled) { background: var(--green-700); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--green-700); border: 1.5px solid var(--green-500); }
.btn-outline:hover:not(:disabled) { background: var(--green-50); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* Hero */
.g-hero { background: radial-gradient(circle at 15% 15%, var(--green-100), #fff 55%); padding: 76px 0 60px; }
.g-hero-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.g-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--green-100); color: var(--green-700); font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; }
.g-hero h1 { font-size: 40px; font-weight: 800; color: var(--ink-900); line-height: 1.35; margin-bottom: 18px; }
.g-hero h1 b { color: var(--green-600); }
.g-hero p.lead { font-size: 16.5px; color: var(--ink-500); margin-bottom: 32px; }
.g-hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Section 通用 */
section { padding: 68px 0; }
.g-alt { background: var(--green-50); }
.g-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.g-head .tag { display: inline-block; color: var(--green-600); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.g-head h2 { font-size: 29px; font-weight: 800; margin-bottom: 12px; }
.g-head p { color: var(--ink-500); font-size: 14.5px; }

/* 多平台下载：前置于Hero后 */
.g-platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.g-plat { background: #fff; border-radius: var(--radius-xl); padding: 28px 22px; text-align: center; box-shadow: var(--shadow); }
.g-plat svg.icon { width: 46px; height: 46px; margin: 0 auto 16px; color: var(--green-600); }
.g-plat h3 { font-size: 16px; margin-bottom: 6px; }
.g-plat p { font-size: 13px; color: var(--ink-500); margin-bottom: 18px; min-height: 38px; }

/* 特性卡片：圆润 */
.g-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g-feature { background: var(--green-50); border-radius: var(--radius-xl); padding: 30px 26px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.g-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: #fff; }
.g-feature .ic { width: 54px; height: 54px; border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(15,138,85,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.g-feature .ic svg { width: 28px; height: 28px; color: var(--green-600); }
.g-feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.g-feature p { color: var(--ink-500); font-size: 14px; }

/* 功能详解：手风琴 */
.g-acc { max-width: 840px; margin: 0 auto; }
.g-acc-item { background: #fff; border-radius: var(--radius-l); margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; }
.g-acc-item input { display: none; }
.g-acc-q { display: flex; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; }
.g-acc-q .badge { width: 42px; height: 42px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.g-acc-q h3 { font-size: 17px; font-weight: 700; flex: 1; }
.g-acc-q svg.arrow { width: 18px; height: 18px; color: var(--green-600); flex-shrink: 0; transition: transform 0.2s ease; }
.g-acc-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 24px; }
.g-acc-a p { font-size: 14px; color: var(--ink-500); margin-bottom: 8px; padding-bottom: 22px; }
.g-acc-item input:checked ~ .g-acc-a { max-height: 300px; }
.g-acc-item input:checked ~ .g-acc-q svg.arrow { transform: rotate(180deg); }

/* 数据统计 */
.g-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.g-stat { background: linear-gradient(160deg, var(--green-600), var(--green-700)); border-radius: var(--radius-xl); padding: 30px; text-align: center; color: #fff; }
.g-stat .num { font-size: 34px; font-weight: 800; margin-bottom: 6px; }
.g-stat .label { font-size: 13px; color: rgba(255,255,255,0.85); }

/* 用户评价 */
.g-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-review { background: #fff; border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow); }
.g-review .stars { display: flex; gap: 3px; margin-bottom: 10px; }
.g-review .stars svg { width: 14px; height: 14px; color: #f5a623; }
.g-review p.txt { font-size: 13.5px; color: var(--ink-700); margin-bottom: 16px; }
.g-review .who { display: flex; align-items: center; gap: 10px; }
.g-review .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.g-review .name { font-size: 13px; font-weight: 700; }
.g-review .role { font-size: 12px; color: var(--ink-500); }

/* 对比表 */
.g-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.g-table th, .g-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: center; }
.g-table th { background: var(--green-50); color: var(--ink-700); }
.g-table td:first-child, .g-table th:first-child { text-align: left; font-weight: 600; }
.g-table .col-hl { background: var(--green-100); color: var(--green-700); font-weight: 800; }
.g-table tr:last-child td { border-bottom: none; }
.g-yes { color: var(--green-700); font-weight: 800; }
.g-no { color: var(--ink-500); font-weight: 800; }

/* FAQ */
.g-faq { max-width: 780px; margin: 0 auto; }
.g-faq-item { background: var(--green-50); border-radius: var(--radius-m); margin-bottom: 12px; overflow: hidden; }
.g-faq-item input { display: none; }
.g-faq-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 15px; }
.g-faq-q svg { width: 18px; height: 18px; color: var(--green-600); flex-shrink: 0; transition: transform 0.2s ease; }
.g-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 22px; font-size: 14px; color: var(--ink-500); }
.g-faq-item input:checked ~ .g-faq-a { max-height: 300px; padding: 0 22px 20px; }
.g-faq-item input:checked ~ .g-faq-q svg { transform: rotate(180deg); }

/* 下载页 */
.g-dl-hero { background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: #fff; padding: 58px 0; border-radius: 0 0 40px 40px; }
.g-dl-hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.g-dl-hero h1 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.g-dl-hero p { color: rgba(255,255,255,0.9); margin-bottom: 22px; }
.g-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; font-size: 13px; }
.g-tags span { background: rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 999px; }
.g-dl-hero .btn-green { background: #fff; color: var(--green-700); }
.g-win-panel { background: rgba(255,255,255,0.15); border-radius: var(--radius-l); padding: 22px; font-size: 13px; }
.g-win-panel li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.25); }
.g-win-panel li:last-child { border-bottom: none; }

.g-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.g-step { text-align: center; background: #fff; border-radius: var(--radius-l); padding: 24px 16px; box-shadow: var(--shadow); }
.g-step .circle { width: 42px; height: 42px; border-radius: 50%; background: var(--green-600); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.g-step h4 { font-size: 14px; margin-bottom: 6px; }
.g-step p { font-size: 12.5px; color: var(--ink-500); }

.g-req-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.g-req-table th, .g-req-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; text-align: left; }
.g-req-table th { background: var(--green-50); }
.g-req-table tr:last-child td { border-bottom: none; }

.g-changelog { max-width: 760px; margin: 0 auto; }
.g-change-item { display: grid; grid-template-columns: 130px 1fr; gap: 20px; background: #fff; border-radius: var(--radius-l); padding: 20px 22px; margin-bottom: 14px; box-shadow: var(--shadow); }
.g-change-item .ver { font-weight: 800; color: var(--green-700); }
.g-change-item .date { font-size: 12px; color: var(--ink-500); }
.g-change-item li { font-size: 13.5px; color: var(--ink-700); padding: 3px 0 3px 14px; position: relative; }
.g-change-item li::before { content: "✓"; color: var(--green-600); position: absolute; left: 0; }

.g-security { display: flex; gap: 16px; align-items: center; background: var(--green-50); border-radius: var(--radius-l); padding: 24px; }
.g-security svg { width: 40px; height: 40px; color: var(--green-600); flex-shrink: 0; }
.g-security p { font-size: 13.5px; color: var(--ink-700); }

/* 中文页 */
.g-article h2 { font-size: 22px; margin: 30px 0 14px; font-weight: 800; }
.g-article h3 { font-size: 17px; margin: 20px 0 10px; font-weight: 700; }
.g-article p { color: var(--ink-700); margin-bottom: 12px; }
.g-article li { color: var(--ink-700); padding-left: 20px; position: relative; margin-bottom: 6px; }
.g-article li::before { content: "🌿"; position: absolute; left: 0; font-size: 12px; }
.g-article li::before { content: "●"; color: var(--green-600); font-size: 10px; top: 6px; }

.g-cta-banner { text-align: center; background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: #fff; border-radius: var(--radius-xl); padding: 50px 32px; }
.g-cta-banner h2 { font-size: 26px; margin-bottom: 12px; }
.g-cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.g-cta-banner .btn-green { background: #fff; color: var(--green-700); }

/* 页脚 */
.g-footer { background: var(--ink-900); color: rgba(255,255,255,0.7); padding: 48px 0 24px; margin-top: 20px; }
.g-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.g-footer-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.g-footer-brand svg { width: 24px; height: 24px; }
.g-footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.g-footer-col a { display: block; font-size: 13px; padding: 5px 0; color: rgba(255,255,255,0.65); }
.g-footer-col a:hover { color: var(--green-500); }
.g-footer-security { display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; font-size: 13px; }
.g-footer-security svg { width: 18px; height: 18px; color: var(--green-500); flex-shrink: 0; }
.g-footer-bottom { text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.8; padding-top: 8px; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .g-platforms, .g-features, .g-stats, .g-reviews { grid-template-columns: repeat(2, 1fr); }
  .g-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .g-steps { grid-template-columns: repeat(2, 1fr); }
  .g-dl-hero .wrap { grid-template-columns: 1fr; }
  .g-links { display: none; }
}
@media (max-width: 600px) {
  .g-hero h1 { font-size: 28px; }
  .g-platforms, .g-features, .g-stats, .g-reviews { grid-template-columns: 1fr; }
  .g-footer-grid { grid-template-columns: 1fr; }
  .g-steps { grid-template-columns: 1fr; }
  .g-change-item { grid-template-columns: 1fr; }
}
