/* FinCat landing page (zh/index.html, en/index.html): dark instrument-panel look */
:root { --lp-bg: #050B14; --lp-panel: rgba(10,24,38,.82); --lp-line: rgba(103,232,249,.2); --lp-text: #F1F5F9; --lp-mute: #AFC0D0;
        --lp-cyan: #22D3EE; --lp-gold: #FDE68A; --lp-amber: #F59E0B; --lp-mono: 'JetBrains Mono', Consolas, monospace; }
body { margin: 0; font-family: 'Montserrat', "Microsoft JhengHei", sans-serif; }
#site-header { --bg-card: #07121E; --text-primary: #E2E8F0; --border-color: rgba(103,232,249,.2); }
#ticker-container { --bg-card: #FFFFFF; }   /* the price widget is drawn for a light background */
.lp * { box-sizing: border-box; }
.lp { background: var(--lp-bg); color: var(--lp-text);
      background-image: linear-gradient(rgba(34,211,238,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(34,211,238,.05) 1px, transparent 1px);
      background-size: 44px 44px; }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.lp .lp-mono { font-family: var(--lp-mono); letter-spacing: 1px; }

/* Hero */
.lp-hero { padding: 56px 0 64px; background: radial-gradient(760px 480px at 78% 30%, rgba(34,211,238,.13), transparent 70%); }
.lp-hero .lp-wrap { display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: center; }
.lp-hero .lp-wrap > *, .lp-grid > *, .lp-flow > * { min-width: 0; }
.lp-logo { display: block; width: 132px; height: auto; margin: 0 0 18px -8px;   /* same teal as the header logo, with a glow */
           filter: brightness(0) saturate(100%) invert(86%) sepia(21%) saturate(1209%) hue-rotate(100deg) brightness(105%) contrast(103%) drop-shadow(0 0 16px rgba(45,212,191,.55)); }
.lp .lp-eyebrow { margin: 0 0 16px !important; color: var(--lp-cyan) !important; font-size: .82rem !important; font-weight: 700 !important; }
.lp .lp-hero h1 { margin: 0 0 18px !important; color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; background: none !important; font-size: clamp(2.1rem, 4.6vw, 3.5rem) !important; line-height: 1.16 !important; font-weight: 800 !important; }
.lp .lp-hero h1 em { font-style: normal; color: var(--lp-gold) !important; -webkit-text-fill-color: var(--lp-gold) !important; }
.lp .lp-lead { margin: 0 0 26px !important; max-width: 560px; color: var(--lp-mute) !important; font-size: 1.08rem !important; line-height: 1.75 !important; font-weight: 500 !important; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 30px; border: 0; border-radius: 8px; font: inherit; font-size: 1.05rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.lp-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(245,158,11,.35); }
.lp-btn:focus-visible, .lp select:focus-visible, .lp-link:focus-visible { outline: 3px solid var(--lp-cyan); outline-offset: 2px; }
.lp-btn.gold { background: linear-gradient(90deg, var(--lp-gold), var(--lp-amber)); color: #0A1730; }
.lp .lp-free { margin: 0 0 12px !important; width: fit-content; padding: 7px 14px; border-radius: 6px; background: linear-gradient(90deg, var(--lp-gold), var(--lp-amber)); color: #0A1730 !important; font-size: 1rem !important; font-weight: 800 !important; }
.lp-cta-gps, .lp-gps-only { display: none; }
.lp-gps .lp-cta-gps { display: inline-flex; }
.lp-gps .lp-cta-plan { display: none; }
.lp-gps .lp-gps-only { display: block; }
.lp .lp-trust { margin: 12px 0 0 !important; color: var(--lp-mute) !important; font-size: .9rem !important; font-weight: 600 !important; }
.lp .lp-note { margin: 8px 0 0 !important; color: #8FA3B5 !important; font-size: .8rem !important; line-height: 1.55 !important; }

/* Five-axis locator */
.lp-hud { position: relative; padding: 18px 20px 20px; background: var(--lp-panel); border: 1px solid var(--lp-line); border-radius: 10px; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.lp-hud::before, .lp-hud::after { content: ''; position: absolute; width: 20px; height: 20px; border: 2px solid var(--lp-cyan); }
.lp-hud::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.lp-hud::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.lp-hud-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--lp-line); color: var(--lp-cyan); font-size: .74rem; }
.lp-hud-top i { font-style: normal; color: #86EFAC; }
.lp-hud-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; padding-top: 12px; }
#lp-radar { display: block; width: 100%; max-width: 280px; margin: 0 auto; }
#lp-radar text { font-family: "Microsoft JhengHei", 'Montserrat', sans-serif; font-size: 12px; font-weight: 800; fill: #E2E8F0; text-anchor: middle; dominant-baseline: middle; }
#lp-sweep { transform-origin: 140px 140px; animation: lpSpin 5s linear infinite; }
#lp-shape { transition: all .5s; }
@keyframes lpSpin { to { transform: rotate(360deg); } }
.lp .lp-hud label { display: block; margin-bottom: 6px; color: var(--lp-mute) !important; font-size: .8rem !important; font-weight: 700 !important; }
.lp .lp-hud select { width: 100%; min-height: 46px; padding: 8px 10px; background: #050F1A !important; color: #F8FAFC !important; -webkit-text-fill-color: #F8FAFC !important; border: 1px solid rgba(103,232,249,.55) !important; border-radius: 6px; font: inherit; font-size: 1rem; font-weight: 700; }
.lp .lp-hud select option { background: #0B1B36; color: #F8FAFC; }
.lp-read { margin: 12px 0 0; }
.lp-read div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(148,163,184,.25); }
.lp .lp-read dt { color: #8FA3B5; font-size: .78rem; }
.lp .lp-read dd { margin: 0; color: var(--lp-text); font-size: .88rem; font-weight: 700; text-align: right; }
.lp .lp-read dd.big { color: var(--lp-gold); font-size: 1rem; }
.lp .lp-hud .lp-caption { margin: 10px 0 0 !important; color: #8FA3B5 !important; font-size: .76rem !important; line-height: 1.5 !important; }

/* Sections */
.lp-sec { padding: 60px 0; border-top: 1px solid rgba(103,232,249,.1); }
.lp .lp-kicker { margin: 0 0 8px !important; text-align: center; color: var(--lp-cyan) !important; font-size: .78rem !important; }
.lp .lp-sec h2 { margin: 0 0 10px !important; text-align: center; color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; background: none !important; font-size: clamp(1.5rem, 3vw, 2.1rem) !important; font-weight: 800 !important; }
.lp .lp-sub { margin: 0 auto 34px !important; max-width: 660px; text-align: center; color: var(--lp-mute) !important; font-size: 1rem !important; line-height: 1.7 !important; }

/* Method pipeline */
.lp-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.lp-flow li { position: relative; padding: 18px; background: var(--lp-panel); border: 1px solid var(--lp-line); border-radius: 8px; }
.lp-flow li:not(:last-child)::after { content: '›'; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--lp-cyan); font-size: 22px; font-weight: 800; }
.lp .lp-flow span { display: block; margin-bottom: 8px; color: var(--lp-cyan); font-size: .74rem; }
.lp .lp-flow b { display: block; margin-bottom: 6px; color: #FFFFFF; font-size: 1.05rem; }
.lp .lp-flow p { margin: 0 !important; color: var(--lp-mute) !important; font-size: .88rem !important; line-height: 1.6 !important; }
.lp .lp-method { margin: 18px 0 0 !important; padding: 12px 16px; border-left: 3px solid var(--lp-gold); background: rgba(253,230,138,.07); color: #E2E8F0 !important; font-size: .9rem !important; line-height: 1.6 !important; }

/* Cards */
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-card { display: flex; flex-direction: column; padding: 24px; background: var(--lp-panel); border: 1px solid var(--lp-line); border-radius: 8px; }
.lp .lp-tag { margin: 0 0 8px !important; color: var(--lp-cyan) !important; font-size: .76rem !important; }
.lp .lp-card h3 { margin: 0 0 10px !important; color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; background: none !important; font-size: 1.22rem !important; font-weight: 800 !important; }
.lp .lp-card p { margin: 0 0 14px !important; color: var(--lp-mute) !important; font-size: .94rem !important; line-height: 1.65 !important; }
.lp-card ul { list-style: none; margin: 0 0 16px; padding: 0; flex-grow: 1; }
.lp .lp-card li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(148,163,184,.2); color: #CBD5E1 !important; font-size: .9rem !important; font-weight: 600; }
.lp .lp-card li b { color: var(--lp-gold) !important; white-space: nowrap; }
.lp-link { color: var(--lp-cyan); font-size: .95rem; font-weight: 800; text-decoration: none; }
.lp-link:hover { text-decoration: underline; }
.lp-final { text-align: center; }

/* Risk */
.lp-risk { padding: 24px 0; border-top: 1px solid rgba(103,232,249,.1); background: #03070D; }
.lp .lp-risk p { margin: 0 !important; color: #B6C4D3 !important; font-size: .86rem !important; line-height: 1.7 !important; }
.lp .lp-risk a { color: var(--lp-cyan) !important; }

@media (max-width: 900px) {
  .lp-hero { padding: 30px 0 40px; }
  .lp-logo { width: 96px; margin-bottom: 12px; }
  .lp-hero .lp-wrap, .lp-grid { grid-template-columns: 1fr; gap: 24px; }
  .lp-flow { grid-template-columns: 1fr 1fr; }
  .lp-flow li::after { display: none; }
  .lp-sec { padding: 44px 0; }
}
@media (max-width: 600px) {
  .lp-gps .wgps-badge { bottom: 74px; }   /* clear of the AI Radar pill */
}
@media (max-width: 480px) {
  .lp-wrap { padding: 0 16px; }
  .lp-hero .lp-btn { width: 100%; }
  .lp-hud-body, .lp-flow { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  #lp-sweep { animation: none; }
  #lp-shape { transition: none; }
}
