/* 美股可以入场了吗？— cy.mg21.com styles */
:root {
  --red: #d23c3c;
  --red-dark: #b02e2e;
  --green: #1a9e54;
  --ink: #1c2333;
  --muted: #6b7280;
  --bg: #f5f6f8;
  --card: #ffffff;
  --line: #e8eaee;
  --navy: #141b2c;
  --radius: 12px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
.wrap { width: min(1080px, 94%); margin: 0 auto; }
img { display: block; max-width: 100%; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.header-inner { width: min(1180px, 96%); margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand-name { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: 2px; line-height: 1.2; }
.brand-name small { display: block; font-size: 11px; font-weight: 400; letter-spacing: 3px; color: #9fb0c8; }
.top-links { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.top-links a { color: #dfe6f2; font-size: 14.5px; padding: 8px 14px; border-radius: 8px; transition: all .2s; white-space: nowrap; }
.top-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.top-links a.hot { background: var(--red); color: #fff; font-weight: 700; }
.top-links a.hot:hover { background: var(--red-dark); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #fdf2f2 0%, #ffffff 55%, #f2fbf5 100%); border-bottom: 1px solid var(--line); padding: 56px 0 44px; text-align: center; }
.hero-kicker { display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--red); border: 1px solid rgba(210,60,60,.4); background: rgba(210,60,60,.06); padding: 6px 18px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 900; letter-spacing: 2px; margin-bottom: 16px; }
.hero h1 .q { color: var(--red); }
.hero .lead { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 16.5px; }
.hero .lead b { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: 26px; font-weight: 800; letter-spacing: 1px; padding-left: 14px; border-left: 5px solid var(--red); margin-bottom: 8px; }
.section-head p { color: var(--muted); font-size: 15px; }

/* Live quote + chart */
.live-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 28px rgba(20,27,44,.07); overflow: hidden; }
.live-head { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.live-head h3 { font-size: 18px; font-weight: 800; }
.live-head .sym { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(26,158,84,.5);} 70% { box-shadow: 0 0 0 9px rgba(26,158,84,0);} 100% { box-shadow: 0 0 0 0 rgba(26,158,84,0);} }
.live-tag { margin-left: auto; font-size: 12.5px; color: var(--green); font-weight: 700; letter-spacing: 1px; }
.tv-box { padding: 8px 12px 0; }
.chart-box { height: 520px; padding: 6px 12px 12px; }
.tv-fallback { display: none; padding: 34px 20px; text-align: center; color: var(--muted); font-size: 14.5px; }
.tv-fallback.show { display: block; }
.data-note { padding: 12px 24px 18px; font-size: 13px; color: var(--muted); }

/* Signal zones */
.zones { display: grid; gap: 14px; }
.zone { display: grid; grid-template-columns: 130px 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.zone .band { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 17px; letter-spacing: 1px; padding: 20px 8px; text-align: center; }
.zone .desc { padding: 18px 22px; }
.zone .desc h4 { font-size: 16.5px; margin-bottom: 6px; }
.zone .desc p { font-size: 14.5px; color: var(--muted); }
.z1 .band { background: linear-gradient(135deg, #e5484d, #c23338); }
.z2 .band { background: linear-gradient(135deg, #f59e0b, #d97f06); }
.z3 .band { background: linear-gradient(135deg, #eab308, #c99a06); }
.z4 .band { background: linear-gradient(135deg, #4caf6d, #2f8f52); }
.z5 .band { background: linear-gradient(135deg, #22a355, #157a3e); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(135deg, var(--navy) 0%, #1e2a44 100%); border-radius: var(--radius); padding: 44px 36px; text-align: center; color: #fff; }
.cta h2 { font-size: 26px; margin-bottom: 10px; letter-spacing: 1px; }
.cta p { color: #aeb9cf; margin-bottom: 26px; font-size: 15px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btns a { padding: 13px 30px; border-radius: 999px; font-weight: 700; font-size: 15.5px; transition: transform .2s, box-shadow .2s; }
.cta-btns a.primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(210,60,60,.4); }
.cta-btns a.primary:hover { transform: translateY(-2px); background: var(--red-dark); color: #fff; }
.cta-btns a.ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.cta-btns a.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Disclaimer */
.disclaimer { background: #fff; border: 1px dashed #c9cdd6; border-radius: var(--radius); padding: 26px 28px; margin-top: 8px; }
.disclaimer h3 { font-size: 16px; margin-bottom: 10px; letter-spacing: 2px; }
.disclaimer p { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.disclaimer p:last-child { margin-bottom: 0; }

/* Footer */
footer { background: var(--navy); color: #8e9bb5; margin-top: 56px; padding: 36px 0 24px; }
.footer-inner { width: min(1080px, 94%); margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-inner img { height: 40px; }
.footer-links { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #8e9bb5; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.copyright { width: min(1080px, 94%); margin: 20px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: #5d6b84; text-align: center; }

@media (max-width: 760px) {
  .zone { grid-template-columns: 1fr; }
  .zone .band { padding: 12px; }
  .steps { grid-template-columns: 1fr; }
  .chart-box { height: 420px; }
  .top-links a { padding: 7px 10px; font-size: 13.5px; }
  .brand-name { font-size: 16px; }
}
