:root {
  color-scheme: dark;
  --bg: #050505;
  --text: #f6f1ea;
  --muted: #b8afa6;
  --faint: #716a63;
  --line: rgba(255, 255, 255, 0.12);
  --red: #ff2323;
  --red-2: #d70c0c;
  --gold: #d6a456;
  --green: #20bd72;
  --wrap: min(1640px, calc(100vw - 112px));
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 5, 0.88);
  border-bottom: 1px solid rgba(217, 164, 86, 0.18);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: var(--wrap);
  height: 78px;
  margin: 0 auto;
}

.brand,
.header-actions,
.site-claim,
.hero-actions,
.feature-pills {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: start;
  gap: 8px;
  min-width: max-content;
  cursor: default;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 44px;
  place-items: center;
  color: var(--red);
  overflow: visible;
  animation: fadeUp 0.56s ease-out 0.05s both;
}

.brand-mark svg {
  width: 54px;
  height: 42px;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-line {
  stroke: var(--red);
  stroke-width: 3.9;
  filter: drop-shadow(0 0 7px rgba(255, 35, 35, 0.88));
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation:
    logoTrace 0.88s cubic-bezier(.22, .82, .24, 1) 0.18s forwards,
    logoLineBreath 5.8s ease-in-out 2.05s infinite;
}

.logo-cannon-halo {
  fill: rgba(255, 35, 35, 0.22);
  stroke: rgba(255, 194, 92, 0.62);
  stroke-width: 1;
  filter: drop-shadow(0 0 8px rgba(255, 35, 35, 0.72));
  transform-box: fill-box;
  transform-origin: center;
  animation: logoCannonHalo 5.8s ease-in-out 1.15s infinite;
}

.logo-cannon-ring {
  fill: rgba(5, 5, 5, 0.9);
  stroke: #ffc05b;
  stroke-width: 2.8;
  filter: drop-shadow(0 0 9px rgba(255, 35, 35, 0.96));
  transform-box: fill-box;
  transform-origin: center;
  animation: logoCannonRing 5.8s ease-in-out 1.15s infinite;
}

.logo-cannon-core {
  fill: #fff8ef;
  stroke: var(--red);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: logoCannonCore 5.8s ease-in-out 1.15s infinite;
}

.brand-text {
  color: #fff8ef;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  animation: fadeIn 0.58s ease-out 0.16s both;
}

.brand-text span {
  color: var(--red);
}

.site-claim {
  justify-content: center;
  gap: 12px;
  color: #efe4d8;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: default;
  animation: fadeIn 0.62s ease-out 0.26s both;
}

.site-claim span {
  --claim-delay: 0s;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 2px 8px;
  animation: siteClaimText 9.8s ease-in-out var(--claim-delay) infinite;
}

.site-claim span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 35, 35, 0.7);
  animation: siteClaimLine 9.8s ease-in-out var(--claim-delay) infinite;
}

.site-claim span:nth-of-type(1),
.site-claim span:nth-of-type(3) {
  color: var(--gold);
}

.site-claim span:nth-of-type(2) {
  --claim-delay: 0.9s;
}

.site-claim span:nth-of-type(3) {
  --claim-delay: 1.8s;
}

.site-claim i {
  width: 28px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 35, 35, 0.7), rgba(214, 164, 86, 0.58), transparent);
  opacity: 0.68;
}

.site-claim span,
.feature-pill {
  cursor: default;
}

.header-actions {
  justify-self: end;
  gap: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: white;
  background: linear-gradient(180deg, #ff3030, #d70d0d);
  box-shadow: 0 18px 52px rgba(255, 35, 35, 0.32);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background:
    linear-gradient(105deg, transparent 14%, rgba(255, 255, 255, 0.42) 34%, transparent 54%);
  opacity: 0.16;
  transform: translateX(-118%);
  animation: ctaSheen 8.8s ease-in-out 2.6s infinite;
  pointer-events: none;
}

.btn-primary:hover {
  box-shadow: 0 22px 58px rgba(255, 35, 35, 0.44);
}

.btn-ghost {
  color: #fff6ee;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.02);
}

.btn-large {
  min-width: 184px;
  min-height: 52px;
}

.hero,
.platform-section {
  position: relative;
}

.hero {
  padding: 24px 0 22px;
}

.page-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 36%, rgba(255, 35, 35, 0.13), transparent 30%),
    radial-gradient(circle at 94% 10%, rgba(214, 164, 86, 0.13), transparent 22%),
    linear-gradient(180deg, #050505 0%, #070605 54%, #090604 100%);
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: -18% -8%;
  background:
    linear-gradient(105deg, transparent 12%, rgba(255, 35, 35, 0.075) 42%, transparent 68%),
    radial-gradient(circle at 64% 40%, rgba(214, 164, 86, 0.07), transparent 34%);
  opacity: 0.72;
  transform: translate3d(-4%, 0, 0);
  animation: ambientSweep 18s ease-in-out infinite;
  pointer-events: none;
}

.grid-layer {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 84%, transparent);
  animation: marketGridDrift 18s ease-in-out infinite;
}

.candle-layer {
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  opacity: 0.3;
}

.candle-layer span {
  position: absolute;
  left: var(--x);
  bottom: 0;
  width: 16px;
  height: var(--h);
  background: linear-gradient(180deg, rgba(255, 38, 38, 0.85), rgba(110, 9, 9, 0.18));
  border-left: 1px solid rgba(255, 75, 75, 0.42);
  transform-origin: center bottom;
  animation: candlePulse 5.2s ease-in-out infinite;
  animation-delay: var(--d);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(500px, 0.85fr) minmax(620px, 1.15fr);
  align-items: center;
  gap: 40px;
  width: var(--wrap);
  margin: 0 auto;
}

.hero-copy {
  max-width: 590px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 3.05vw, 56px);
  line-height: 1.18;
  font-weight: 900;
  animation: fadeUp 0.72s cubic-bezier(.22, .82, .24, 1) 0.12s both;
}

.hero-copy h1 span {
  color: var(--red);
}

.hero-lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: #cfc5bb;
  font-size: 19px;
  line-height: 1.78;
  animation: fadeUp 0.7s ease-out 0.26s both;
}

.hero-definition {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  animation: fadeUp 0.7s ease-out 0.38s both;
}

.hero-definition div {
  display: grid;
  grid-template-columns: 50px auto 12px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 46px;
}

.hero-definition i,
.feature-pills svg {
  color: var(--red);
}

.hero-definition i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--red);
  border: 1px solid rgba(214, 164, 86, 0.62);
  border-radius: 50%;
  background: rgba(214, 164, 86, 0.05);
  animation: definitionIconPulse 9.2s ease-in-out infinite;
}

.hero-definition div:nth-child(2) i {
  animation-delay: 1.2s;
}

.hero-definition svg,
.feature-pills svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-definition strong {
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.hero-definition em {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
}

.hero-definition span {
  color: #ded6ce;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.feature-pills {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
  animation: fadeUp 0.7s ease-out 0.5s both;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 10px;
  color: #fff4ec;
  border: 1px solid rgba(214, 164, 86, 0.5);
  border-radius: 7px;
  background: rgba(9, 9, 9, 0.74);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.feature-pills span {
  font-size: 14px;
  font-weight: 800;
}

.feature-pills svg {
  width: 19px;
  height: 19px;
}

.hero-actions {
  gap: 18px;
  margin-top: 22px;
  animation: fadeUp 0.7s ease-out 0.6s both;
}

.hero-note {
  margin: 18px 0 0;
  color: #8f877e;
  font-size: 14px;
  animation: fadeIn 0.7s ease-out 0.7s both;
}

.terminal-card {
  position: relative;
  width: 100%;
  max-width: 820px;
  justify-self: end;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(214, 164, 86, 0.52);
  border-radius: 10px;
  background:
    radial-gradient(circle at 70% 38%, rgba(255, 35, 35, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(19, 18, 17, 0.94), rgba(7, 7, 7, 0.98));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: terminalReveal 0.82s cubic-bezier(.22, .82, .24, 1) 0.18s both;
}

.terminal-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 137, 0.72), transparent);
  opacity: 0.52;
  animation: terminalEdgeGlow 8.6s ease-in-out 2s infinite;
  pointer-events: none;
}

.terminal-top,
.terminal-tabs,
.chart-title,
.stats-strip,
.signal-row {
  display: flex;
  align-items: center;
}

.terminal-top {
  justify-content: space-between;
  height: 38px;
  padding: 0 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stock-code {
  color: #f2e9df;
  font-size: 17px;
  font-weight: 800;
}

.price,
.up {
  margin-left: 24px;
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}

.terminal-tabs {
  gap: 30px;
  height: 40px;
  color: #948b83;
  font-size: 14px;
  font-weight: 700;
}

.terminal-tabs .active {
  position: relative;
  color: white;
}

.terminal-tabs .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 3px;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 35, 35, 0.62);
  animation: tabPulse 7.8s ease-in-out 1.4s infinite;
}

.terminal-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 238px;
  gap: 14px;
}

.chart-panel,
.cannon-spirit,
.stats-strip {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 4, 4, 0.58);
}

.chart-panel {
  display: grid;
  grid-template-rows: auto auto auto;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 28%, rgba(255, 35, 35, 0.11), transparent 38%),
    linear-gradient(180deg, rgba(9, 9, 9, 0.84), rgba(3, 3, 3, 0.92));
}

.chart-title {
  justify-content: space-between;
  padding: 14px 18px 8px;
  color: #aaa198;
  font-size: 14px;
}

.chart-title strong {
  color: var(--red);
}

.chart-svg {
  width: 100%;
  height: 248px;
}

.grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.055);
  stroke-width: 1;
  animation: gridWake 8.8s ease-in-out infinite;
}

.price-line {
  fill: none;
  stroke: rgba(255, 235, 218, 0.68);
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: chartLineDraw 1.05s ease-out 0.46s forwards;
}

.main-line {
  fill: none;
  stroke: url(#lineGlow);
  stroke-width: 6.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  filter: url(#redGlow);
  animation: chartLineDraw 1.18s cubic-bezier(.2, .84, .22, 1) 0.62s forwards;
}

.main-line-sweep {
  fill: none;
  stroke: rgba(255, 211, 128, 0.96);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 76 924;
  stroke-dashoffset: 1000;
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(255, 35, 35, 0.92));
  animation: lineSweep 8.4s ease-in-out 2.35s infinite;
}

.cannon-marker {
  pointer-events: none;
}

.cannon-marker circle,
.cannon-marker rect {
  vector-effect: non-scaling-stroke;
}

.cannon-halo {
  fill: rgba(255, 35, 35, 0.08);
  stroke: rgba(255, 187, 82, 0.58);
  stroke-width: 1.7;
  filter: drop-shadow(0 0 5px rgba(255, 35, 35, 0.72));
  transform-box: fill-box;
  transform-origin: center;
  animation: cannonHaloBreath 8.4s ease-in-out var(--cannon-delay, 0s) infinite;
}

.cannon-ring {
  fill: rgba(8, 6, 5, 0.86);
  stroke: #ff3434;
  stroke-width: 2.8;
  transform-box: fill-box;
  transform-origin: center;
  animation: cannonRingBreath 8.4s ease-in-out var(--cannon-delay, 0s) infinite;
}

.cannon-core {
  fill: #fff7ef;
  stroke: #ff2a2a;
  stroke-width: 1.8;
  transform-box: fill-box;
  transform-origin: center;
  animation: cannonCoreBreath 8.4s ease-in-out var(--cannon-delay, 0s) infinite;
}

.cannon-label-bg {
  fill: rgba(6, 5, 5, 0.84);
  stroke: rgba(255, 42, 42, 0.42);
  stroke-width: 1;
  animation: cannonLabelGlow 8.4s ease-in-out var(--cannon-delay, 0s) infinite;
}

.cannon-label {
  fill: #ff2929;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  animation: cannonTextGlow 8.4s ease-in-out var(--cannon-delay, 0s) infinite;
}

.volume-bars rect {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: volumeBlink 8.6s ease-in-out infinite;
}

.volume-bars rect:nth-child(3n) {
  animation-delay: 0.8s;
}

.volume-bars rect:nth-child(4n) {
  animation-delay: 1.6s;
}

.volume-bars rect:nth-child(5n) {
  animation-delay: 2.4s;
}

.volume-bars rect:nth-child(odd) {
  fill: rgba(255, 66, 44, 0.66);
}

.volume-bars rect:nth-child(even) {
  fill: rgba(30, 188, 105, 0.56);
}

.chart-signal-list {
  display: grid;
  grid-template-columns: 76px repeat(5, minmax(0, 1fr));
  align-items: stretch;
  margin: 0 12px 12px;
  overflow: hidden;
  cursor: default;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(90deg, rgba(255, 35, 35, 0.1), transparent 55%),
    rgba(5, 5, 5, 0.64);
}

.signal-title {
  display: grid;
  place-items: center;
  min-height: 62px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  color: white;
  font-size: 14px;
  font-weight: 900;
}

.signal-row {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  align-items: center;
  justify-items: center;
  justify-content: space-between;
  gap: 2px;
  min-height: 62px;
  padding: 7px 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  animation: signalCellWake 8.8s ease-in-out var(--signal-delay, 0s) infinite;
}

.signal-row:last-child {
  border-right: none;
}

.signal-row span {
  color: #a29990;
}

.signal-row b {
  color: var(--red);
  font-size: 14px;
}

.signal-row em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.signal-row.strong {
  background: linear-gradient(90deg, rgba(255, 35, 35, 0.12), transparent 78%);
}

.cannon-spirit {
  position: relative;
  min-width: 0;
  overflow: hidden;
  cursor: default;
  padding: 16px;
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 35, 35, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(12, 8, 8, 0.9), rgba(4, 4, 4, 0.96));
}

.cannon-spirit::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 35, 35, 0.92), rgba(255, 210, 125, 0.72), transparent);
  opacity: 0;
  filter: drop-shadow(0 0 13px rgba(255, 35, 35, 0.88));
  animation: spiritScan 6.8s ease-in-out 1.4s infinite;
  pointer-events: none;
}

.spirit-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.spirit-title strong {
  color: #fff7ee;
  font-size: 18px;
  font-weight: 900;
}

.spirit-title span {
  padding: 4px 8px;
  color: var(--gold);
  border: 1px solid rgba(214, 164, 86, 0.42);
  border-radius: 999px;
  background: rgba(214, 164, 86, 0.06);
  font-size: 11px;
  font-weight: 800;
}

.spirit-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.spirit-kpis div {
  min-width: 0;
  padding: 8px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.spirit-kpis span {
  display: block;
  color: #8f877e;
  font-size: 10px;
  white-space: nowrap;
}

.spirit-kpis b {
  display: block;
  margin-top: 5px;
  color: #fff1e4;
  font-size: 18px;
  line-height: 1;
}

.spirit-feed {
  display: grid;
  margin-top: 14px;
}

.spirit-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 7px;
  min-height: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  animation: spiritRowWake 9.6s linear var(--spirit-delay, 0s) infinite;
}

.spirit-row span,
.spirit-row b,
.spirit-row em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spirit-row span {
  color: #ff6e5f;
}

.spirit-row b {
  color: var(--red);
  font-weight: 900;
}

.spirit-row em {
  color: #ff7a65;
  font-style: normal;
  text-align: right;
}

.spirit-row.hot span,
.spirit-row.hot b,
.spirit-row.hot em {
  color: #1fd78b;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 14px;
}

.stats-strip div {
  min-height: 68px;
  padding: 12px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.stats-strip div:last-child {
  border-right: none;
}

.stats-strip span {
  display: block;
  color: #948c84;
  font-size: 14px;
}

.stats-strip strong {
  display: block;
  margin-top: 8px;
  color: #fff3e8;
  font-size: 25px;
  font-weight: 900;
}

.platform-section {
  padding: 28px 0 44px;
  border-top: 1px solid rgba(214, 164, 86, 0.36);
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 35, 35, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(9, 8, 7, 0.95), #050505);
}

.platform-inner {
  position: relative;
  width: var(--wrap);
  margin: 0 auto;
}

.platform-inner h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 1.8vw, 34px);
  line-height: 1.18;
  font-weight: 900;
  animation: fadeUp 0.68s ease-out 0.18s both;
}

.platform-line {
  position: absolute;
  left: 21%;
  right: 20%;
  top: 132px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 35, 35, 0.78), transparent);
  overflow: visible;
}

.platform-line::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -80px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 35, 35, 0.08), #fff2df, rgba(255, 35, 35, 0.72), transparent);
  opacity: 0;
  filter: drop-shadow(0 0 14px rgba(255, 35, 35, 0.9));
  animation: syncTrace 9.6s ease-in-out 1s infinite;
  pointer-events: none;
}

.platform-line span {
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff2e8;
  box-shadow: 0 0 18px rgba(255, 35, 35, 0.9);
  animation: syncNode 9.6s ease-in-out infinite;
}

.platform-line span:nth-child(1) { left: 18%; animation-delay: 2.1s; }
.platform-line span:nth-child(2) { left: 50%; animation-delay: 3.05s; }
.platform-line span:nth-child(3) { right: 18%; animation-delay: 4s; }

.platform-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 28px;
}

.platform-card {
  position: relative;
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(214, 164, 86, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(14, 13, 12, 0.9), rgba(5, 5, 5, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  animation: platformWake 9.6s ease-in-out infinite;
}

.platform-card:nth-child(2) {
  animation-delay: 0.95s;
}

.platform-card:nth-child(3) {
  animation-delay: 1.9s;
}

.platform-mobile {
  grid-template-columns: 120px 1fr;
  justify-content: center;
}

.device {
  position: relative;
  align-self: end;
}

.device-screen {
  position: relative;
  height: 128px;
  overflow: hidden;
  border: 1px solid rgba(214, 164, 86, 0.48);
  border-radius: 4px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #070707;
  background-size: 22px 22px;
}

.product-device-monitor .device-screen,
.product-device-wide .device-screen {
  min-width: 255px;
}

.device i {
  display: block;
  width: 76px;
  height: 18px;
  margin: 0 auto;
  border-bottom: 2px solid rgba(214, 164, 86, 0.54);
}

.mini-terminal {
  color: #f8efe5;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 74% 32%, rgba(255, 35, 35, 0.16), transparent 45%),
    #070707;
  background-size: 22px 22px, 22px 22px, auto, auto;
}

.mini-top,
.mini-layout,
.mini-stat-row {
  display: grid;
}

.mini-top {
  grid-template-columns: 1fr auto;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 9px;
  line-height: 1;
}

.mini-top b {
  color: #fff3e9;
  font-weight: 800;
}

.mini-top span {
  color: var(--red);
  font-weight: 900;
}

.mini-layout {
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 9px 0;
}

.mini-quotes-list {
  display: grid;
  gap: 4px;
  align-content: start;
}

.mini-quotes-list i {
  height: 6px;
  border-radius: 1px;
  background:
    linear-gradient(90deg, rgba(214, 164, 86, 0.78) 0 22%, transparent 22% 32%, rgba(255, 35, 35, 0.72) 32% 57%, transparent 57% 66%, rgba(32, 189, 114, 0.7) 66%);
  opacity: 0.86;
}

.mini-quotes-list.dense {
  gap: 3px;
}

.mini-chart {
  position: relative;
  min-width: 0;
}

.mini-chart svg {
  display: block;
  width: 100%;
  height: 86px;
}

.mini-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.075);
  stroke-width: 1;
}

.mini-price,
.mini-main {
  fill: none;
}

.mini-price {
  stroke: rgba(255, 235, 218, 0.7);
  stroke-width: 1.8;
}

.mini-main {
  stroke: var(--red);
  stroke-width: 5.5;
  filter: drop-shadow(0 0 5px rgba(255, 35, 35, 0.8));
  animation: miniMainPulse 8.8s ease-in-out infinite;
}

.mini-cannons circle {
  fill: #fff7ee;
  stroke: var(--red);
  stroke-width: 4;
  filter: drop-shadow(0 0 5px rgba(255, 35, 35, 0.85));
  transform-box: fill-box;
  transform-origin: center;
  animation: miniCannonPulse 8.8s ease-in-out infinite;
}

.mini-cannons text {
  fill: var(--red);
  font-size: 10px;
  font-weight: 900;
  animation: miniTextPulse 8.8s ease-in-out infinite;
}

.mini-bars rect {
  width: 4px;
}

.mini-bars rect:nth-child(odd) {
  fill: rgba(255, 66, 44, 0.7);
}

.mini-bars rect:nth-child(even) {
  fill: rgba(30, 188, 105, 0.58);
}

.mini-bars rect {
  animation: miniBarBlink 8.8s ease-in-out infinite;
}

.mini-bars rect:nth-child(3n) {
  animation-delay: 0.7s;
}

.mini-bars rect:nth-child(4n) {
  animation-delay: 1.4s;
}

.mini-stat-row {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 6px 9px 0;
  color: #d6c8b8;
  font-size: 8px;
  font-weight: 800;
}

.mini-stat-row span {
  min-height: 13px;
  padding: 3px 5px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}

.device-phone {
  position: relative;
  width: 104px;
  height: 184px;
  margin: 0 auto;
  border: 1px solid rgba(214, 164, 86, 0.58);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #070707;
  background-size: 20px 20px;
  box-shadow: 0 0 36px rgba(255, 35, 35, 0.16);
}

.phone-top {
  width: 34px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.phone-screen {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 22px;
  bottom: 11px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-terminal-phone .mini-top {
  height: 22px;
  padding: 0 7px;
  font-size: 8px;
}

.mini-terminal-phone .mini-chart {
  padding: 7px 7px 0;
}

.mini-terminal-phone .mini-chart svg {
  height: 100px;
}

.mini-bars-phone rect {
  width: 3px;
}

.phone-mini-stats {
  display: grid;
  gap: 4px;
  padding: 4px 11px 0;
}

.phone-mini-stats span {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.phone-mini-stats span:nth-child(2) {
  background: rgba(255, 35, 35, 0.48);
}

.platform-copy {
  min-width: 0;
}

.platform-copy h3 {
  margin: 0;
  color: #fff7ee;
  font-size: 26px;
  font-weight: 800;
}

.platform-copy strong {
  display: block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 20px;
  font-weight: 800;
}

.platform-copy strong::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 14px;
  background: var(--red);
}

.platform-copy p {
  max-width: 230px;
  margin: 16px 0 0;
  color: #c9c0b7;
  font-size: 16px;
  line-height: 1.68;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes terminalReveal {
  from { opacity: 0; transform: translateY(14px) scale(0.988); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes siteClaimText {
  0%, 62%, 100% { text-shadow: 0 0 0 rgba(255, 35, 35, 0); }
  70%, 78% { text-shadow: 0 0 14px rgba(255, 35, 35, 0.38); }
}

@keyframes siteClaimLine {
  0%, 62%, 100% { width: 18px; opacity: 0.82; }
  70%, 78% { width: 100%; opacity: 1; }
}

@keyframes logoTrace {
  to { stroke-dashoffset: 0; }
}

@keyframes logoLineBreath {
  0%, 56%, 100% { filter: drop-shadow(0 0 7px rgba(255, 35, 35, 0.78)); stroke-width: 3.9; }
  66%, 76% { filter: drop-shadow(0 0 15px rgba(255, 51, 39, 1)); stroke-width: 4.35; }
}

@keyframes logoCannonHalo {
  0%, 56%, 100% {
    fill: rgba(255, 35, 35, 0.18);
    opacity: 0.66;
    transform: scale(0.96);
    stroke-opacity: 0.58;
  }
  66%, 76% {
    fill: rgba(255, 35, 35, 0.38);
    opacity: 1;
    transform: scale(1.34);
    stroke-opacity: 0.95;
  }
}

@keyframes logoCannonRing {
  0%, 56%, 100% { filter: drop-shadow(0 0 8px rgba(255, 35, 35, 0.74)); transform: scale(1); stroke: #ffc05b; }
  66%, 76% { filter: drop-shadow(0 0 18px rgba(255, 35, 35, 1)); transform: scale(1.09); stroke: #ffe3a2; }
}

@keyframes logoCannonCore {
  0%, 56%, 100% { opacity: 0.9; transform: scale(1); }
  66%, 76% { opacity: 1; transform: scale(1.22); }
}

@keyframes ctaSheen {
  0%, 64%, 100% { opacity: 0; transform: translateX(-118%); }
  70% { opacity: 0.16; }
  82% { opacity: 0.12; transform: translateX(118%); }
}

@keyframes ambientSweep {
  0%, 100% { opacity: 0.56; transform: translate3d(-5%, 0, 0); }
  48% { opacity: 0.78; transform: translate3d(3%, 0, 0); }
}

@keyframes marketGridDrift {
  0%, 100% { opacity: 0.32; background-position: 0 0, 0 0; }
  50% { opacity: 0.42; background-position: 22px 14px, 14px 22px; }
}

@keyframes definitionIconPulse {
  0%, 58%, 100% {
    border-color: rgba(214, 164, 86, 0.54);
    box-shadow: 0 0 0 rgba(255, 35, 35, 0);
  }
  66%, 72% {
    border-color: rgba(255, 194, 92, 0.86);
    box-shadow: 0 0 22px rgba(255, 35, 35, 0.18);
  }
}

@keyframes terminalEdgeGlow {
  0%, 62%, 100% { opacity: 0.34; transform: scaleX(0.86); }
  70%, 78% { opacity: 0.82; transform: scaleX(1); }
}

@keyframes tabPulse {
  0%, 64%, 100% { opacity: 0.82; box-shadow: 0 0 10px rgba(255, 35, 35, 0.5); }
  72%, 78% { opacity: 1; box-shadow: 0 0 17px rgba(255, 35, 35, 0.9); }
}

@keyframes gridWake {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}

@keyframes chartLineDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes lineSweep {
  0%, 58%, 100% { opacity: 0; stroke-dashoffset: 1000; }
  64% { opacity: 0.86; }
  80% { opacity: 0.12; stroke-dashoffset: -76; }
}

@keyframes cannonHaloBreath {
  0%, 61%, 100% { opacity: 0.72; transform: scale(1); stroke-opacity: 0.58; }
  68%, 74% { opacity: 1; transform: scale(1.08); stroke-opacity: 0.92; }
}

@keyframes cannonRingBreath {
  0%, 61%, 100% { transform: scale(1); stroke: #ff3434; }
  68%, 74% { transform: scale(1.05); stroke: #ffc15c; }
}

@keyframes cannonCoreBreath {
  0%, 61%, 100% { transform: scale(1); opacity: 0.95; }
  68%, 74% { transform: scale(1.15); opacity: 1; }
}

@keyframes cannonLabelGlow {
  0%, 61%, 100% { fill: rgba(6, 5, 5, 0.84); stroke: rgba(255, 42, 42, 0.42); }
  68%, 74% { fill: rgba(40, 8, 6, 0.92); stroke: rgba(255, 194, 92, 0.72); }
}

@keyframes cannonTextGlow {
  0%, 61%, 100% { fill: #ff2929; opacity: 0.94; }
  68%, 74% { fill: #ffd77d; opacity: 1; }
}

@keyframes volumeBlink {
  0%, 72%, 100% { opacity: 0.78; }
  80% { opacity: 1; }
}

@keyframes signalCellWake {
  0%, 58%, 100% {
    background: transparent;
    box-shadow: inset 0 0 0 rgba(255, 35, 35, 0);
  }
  66%, 74% {
    background: linear-gradient(180deg, rgba(255, 35, 35, 0.16), transparent 88%);
    box-shadow: inset 0 1px 0 rgba(255, 196, 104, 0.18);
  }
}

@keyframes spiritScan {
  0%, 46%, 100% { opacity: 0; transform: translate3d(0, 0, 0); }
  56% { opacity: 0.46; }
  78% { opacity: 0; transform: translate3d(0, 212px, 0); }
}

@keyframes spiritRowWake {
  0%, 66%, 100% { opacity: 0.86; }
  74%, 82% { opacity: 1; }
}

@keyframes syncTrace {
  0%, 52%, 100% { left: -80px; opacity: 0; }
  60% { opacity: 0.85; }
  82% { left: 100%; opacity: 0; }
}

@keyframes syncNode {
  0%, 64%, 100% { transform: scale(1); box-shadow: 0 0 18px rgba(255, 35, 35, 0.72); }
  70%, 76% { transform: scale(1.42); box-shadow: 0 0 26px rgba(255, 35, 35, 1); }
}

@keyframes platformWake {
  0%, 62%, 100% {
    border-color: rgba(214, 164, 86, 0.34);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }
  70%, 76% {
    border-color: rgba(255, 194, 92, 0.62);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 28px rgba(255, 35, 35, 0.13);
  }
}

@keyframes miniMainPulse {
  0%, 66%, 100% { filter: drop-shadow(0 0 5px rgba(255, 35, 35, 0.76)); }
  74%, 80% { filter: drop-shadow(0 0 11px rgba(255, 35, 35, 0.94)); }
}

@keyframes miniCannonPulse {
  0%, 66%, 100% { transform: scale(1); }
  74%, 80% { transform: scale(1.12); }
}

@keyframes miniTextPulse {
  0%, 66%, 100% { fill: var(--red); }
  74%, 80% { fill: #ffd77d; }
}

@keyframes miniBarBlink {
  0%, 72%, 100% { opacity: 0.72; }
  80% { opacity: 1; }
}

@keyframes candlePulse {
  0%, 100% { opacity: 0.24; transform: scaleY(0.96); }
  50% { opacity: 0.5; transform: scaleY(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .logo-line,
  .price-line,
  .main-line {
    stroke-dashoffset: 0 !important;
  }

  .main-line-sweep,
  .platform-line::after {
    display: none;
  }
}

@media (max-width: 1380px) {
  :root {
    --wrap: min(1240px, calc(100vw - 64px));
  }

  .hero-inner {
    grid-template-columns: minmax(410px, 0.8fr) minmax(600px, 1.2fr);
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 3.2vw, 48px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .feature-pill {
    min-height: 44px;
    padding: 0 9px;
  }

  .feature-pills span {
    font-size: 14px;
  }

  .terminal-card {
    max-width: 735px;
  }

  .chart-svg {
    height: 230px;
  }

  .platform-card {
    grid-template-columns: 1fr;
  }

  .platform-mobile {
    grid-template-columns: 108px 1fr;
  }
}

@media (max-width: 1180px) {
  :root {
    --wrap: min(100vw - 40px, 980px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-claim {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 28px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .terminal-card {
    justify-self: stretch;
    max-width: none;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card,
  .platform-mobile {
    grid-template-columns: minmax(220px, 0.9fr) 1fr;
  }

  .platform-line {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --wrap: calc(100vw - 28px);
  }

  .header-inner {
    height: 68px;
    width: calc(100vw - 28px);
  }

  .brand-mark {
    width: 42px;
    height: 34px;
  }

  .brand-mark svg {
    width: 42px;
    height: 34px;
  }

  .brand-text {
    font-size: 20px;
  }

  .header-actions {
    display: none;
  }

  .hero {
    padding: 34px 0 26px;
  }

  .hero-inner {
    width: 100%;
    padding: 0 14px;
  }

  .hero-copy,
  .hero-lead,
  .hero-definition,
  .feature-pills,
  .hero-actions {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 8.1vw, 34px);
    line-height: 1.16;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.72;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .hero-definition {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-definition div {
    grid-template-columns: 40px 76px 10px 1fr;
    gap: 10px;
  }

  .hero-definition i {
    width: 34px;
    height: 34px;
  }

  .hero-definition svg,
  .feature-pills svg {
    width: 20px;
    height: 20px;
  }

  .hero-definition strong,
  .hero-definition span {
    min-width: 0;
    font-size: 16px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .feature-pill {
    min-width: 0;
  }

  .feature-pills span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .terminal-card {
    width: 100%;
    max-width: 100%;
  }

  .terminal-card,
  .chart-panel {
    min-width: 0;
  }

  .feature-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .feature-pill {
    min-height: 48px;
    padding: 0 12px;
  }

  .feature-pills span {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn-large {
    width: 100%;
  }

  .terminal-card {
    padding: 10px;
  }

  .terminal-top {
    height: auto;
    min-height: 48px;
  }

  .terminal-top > div {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 6px 12px;
    width: 100%;
  }

  .stock-code {
    grid-column: 1 / -1;
    font-size: 14px;
  }

  .price,
  .up {
    margin-left: 0;
    font-size: 16px;
  }

  .terminal-tabs {
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .terminal-main {
    grid-template-columns: 1fr;
  }

  .chart-svg {
    height: 300px;
  }

  .chart-signal-list {
    grid-template-columns: 1fr;
  }

  .signal-title {
    min-height: 34px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .signal-row {
    grid-template-columns: 78px 1fr 56px;
    grid-template-rows: 1fr;
    justify-items: stretch;
    min-height: 30px;
    padding: 0 10px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .signal-row span,
  .signal-row b,
  .signal-row em {
    align-self: center;
  }

  .signal-row b {
    text-align: center;
  }

  .signal-row em {
    text-align: right;
  }

  .cannon-spirit {
    padding: 14px;
  }

  .spirit-row {
    grid-template-columns: 76px minmax(0, 1fr) 64px;
    min-height: 28px;
    font-size: 12px;
  }

  .chart-title {
    padding-left: 12px;
    padding-right: 12px;
  }

  .chart-title strong,
  .cannon-markers text {
    font-size: 14px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip div:nth-child(2) {
    border-right: none;
  }

  .stats-strip div {
    min-height: 66px;
    padding: 12px;
  }

  .stats-strip strong {
    font-size: 20px;
  }

  .platform-section {
    padding: 30px 0 36px;
  }

  .platform-inner h2 {
    font-size: 24px;
  }

  .platform-grid {
    gap: 14px;
  }

  .platform-card,
  .platform-mobile {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
    padding: 18px;
  }

  .product-device-monitor .device-screen,
  .product-device-wide .device-screen {
    min-width: 0;
  }

  .device-screen {
    height: 128px;
  }

  .device-phone {
    width: 112px;
    height: 190px;
  }

  .platform-copy h3 {
    font-size: 22px;
  }

  .platform-copy strong {
    margin-top: 10px;
    font-size: 17px;
  }

  .platform-copy p {
    max-width: none;
    font-size: 15px;
  }
}
