:root {
  --bg: #f4f8fd;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --surface-3: #eef5ff;
  --line: #e6ebf3;
  --line-strong: #cfd8e7;
  --text: #181f2f;
  --muted: #596579;
  --dim: #8b97aa;
  --accent: #1366ec;
  --accent-2: #00a3ff;
  --orange: #ff6a00;
  --cyan: #00b7c9;
  --max: 1200px;
  --radius: 4px;
  color-scheme: light;
}

html {
  scroll-snap-type: none;
  scroll-padding-top: 72px;
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(19, 102, 236, 0.12), transparent 32rem),
    linear-gradient(180deg, #f7fbff 0%, #f4f8fd 34%, #ffffff 100%);
  color: var(--text);
  overflow-x: hidden;
}

.loader {
  background: #f7fbff;
  color: var(--muted);
}

.loader-line {
  height: 2px;
  background: #dfe8f6;
}

.loader-line::after {
  background: linear-gradient(90deg, transparent, var(--accent), var(--orange));
}

.site-header {
  height: 64px;
  padding: 0 max(32px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(229, 235, 245, 0.92);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 20px rgba(33, 68, 122, 0.06);
}

.brand {
  color: #111827;
  font-size: 16px;
  font-weight: 700;
}

.brand-logo {
  width: 33px;
  height: 26px;
  filter: drop-shadow(0 5px 12px rgba(19, 102, 236, 0.16));
}

.main-nav {
  gap: 28px;
  color: #3b4658;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a::after {
  bottom: -20px;
  height: 2px;
  background: var(--accent);
}

.main-nav a:hover {
  color: var(--accent);
}

.primary-link,
.button {
  border-radius: 2px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.primary-link {
  min-height: 36px;
  padding: 0 18px;
  background: linear-gradient(135deg, #775cff 0%, #2c7cff 54%, #14b8ff 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(44, 124, 255, 0.28);
}

.primary-link:hover,
.button:hover {
  transform: translateY(-1px);
}

.section-rail {
  display: none;
}

main {
  overflow: visible;
}

.section {
  width: min(var(--max), calc(100vw - 48px));
  min-height: auto;
  padding: 86px 0;
  scroll-snap-align: none;
}

.section:not(.hero-section):not(.contact-section) {
  justify-content: flex-start;
}

.section:not(.hero-section)::after {
  display: none;
}

.hero-section {
  left: auto;
  width: 100%;
  min-height: 650px;
  margin-left: 0;
  padding: 122px max(24px, calc((100vw - var(--max)) / 2)) 78px;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(244, 249, 255, 0.86), rgba(232, 242, 255, 0.72)),
    radial-gradient(circle at 74% 18%, rgba(19, 102, 236, 0.2), transparent 28rem),
    #f5f9ff;
  color: var(--text);
  text-align: left;
}

.hero-backdrop {
  display: none;
}

.hero-section::before {
  opacity: 0.42;
  background:
    linear-gradient(rgba(19, 102, 236, 0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(19, 102, 236, 0.05) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 80%, transparent);
}

.hero-section::after {
  inset: 64px max(24px, calc((100vw - var(--max)) / 2)) auto auto;
  width: min(470px, 36vw);
  height: min(470px, 36vw);
  border-radius: 50%;
  opacity: 0.62;
  background:
    radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.8), transparent 26%),
    radial-gradient(circle at 58% 58%, rgba(19, 102, 236, 0.2), transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(68, 163, 255, 0.16));
  box-shadow: inset 0 0 0 1px rgba(19, 102, 236, 0.08);
  animation: none;
}

.hero-field span {
  background: linear-gradient(90deg, transparent, rgba(19, 102, 236, 0.2), rgba(0, 183, 201, 0.28), transparent);
  opacity: 0.34;
}

.hero-glow span {
  background: rgba(19, 102, 236, 0.2);
  opacity: 0.18;
  filter: blur(78px);
}

.hero-glow span:nth-child(2) {
  background: rgba(0, 183, 201, 0.2);
}

.hero-glow span:nth-child(3) {
  background: rgba(255, 106, 0, 0.12);
}

.hero-copy {
  width: min(1180px, 100%);
  grid-template-columns: minmax(0, 0.78fr) minmax(620px, 1.05fr);
  justify-items: start;
  align-items: center;
  column-gap: 54px;
  row-gap: 0;
  margin-top: 0;
  text-align: left;
}

.hero-copy::before {
  display: none;
}

.hero-copy h1,
.hero-lede,
.hero-actions {
  grid-column: 1;
}

h1 {
  max-width: 620px;
  margin-bottom: 14px;
  color: #101828;
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1.08;
  font-weight: 780;
}

h2 {
  max-width: none;
  color: #111827;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.16;
  font-weight: 760;
}

h3 {
  color: #111827;
  font-size: clamp(24px, 2.2vw, 32px);
}

h4 {
  color: #111827;
}

.hero-lede {
  max-width: 600px;
  margin-bottom: 28px;
  color: #42506a;
  font-size: clamp(16px, 1.22vw, 18px);
  line-height: 1.72;
}

.hero-actions {
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 0;
}

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, #775cff 0%, #2c7cff 54%, #14b8ff 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(44, 124, 255, 0.28);
}

.button-primary:hover {
  background: linear-gradient(135deg, #684cff 0%, #166ced 52%, #00a3ff 100%);
  box-shadow: 0 18px 36px rgba(44, 124, 255, 0.34);
}

.button-secondary {
  border-color: #b9c6da;
  background: #fff;
  color: #1f2a3d;
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-showcase {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(19, 102, 236, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 32px 80px rgba(26, 68, 128, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  transform: none;
}

.showcase-toolbar {
  color: #60708b;
  font-size: 13px;
}

.showcase-toolbar strong {
  color: var(--accent);
}

.showcase-grid {
  grid-template-columns: minmax(250px, 1.08fr) minmax(150px, 0.72fr) minmax(150px, 0.72fr);
  gap: 12px;
}

.showcase-command,
.showcase-metric,
.showcase-flow {
  border-color: #e5ecf5;
  background:
    linear-gradient(180deg, #fff, #f9fbff);
  box-shadow: 0 10px 26px rgba(23, 51, 92, 0.06);
}

.showcase-metric {
  min-width: 0;
  padding: 18px 16px;
  overflow: hidden;
}

.command-icon,
.metric-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(19, 102, 236, 0.2);
  border-radius: 10px;
  background: #eef5ff;
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transform: translateY(-2px);
}

.command-icon {
  margin-bottom: 18px;
}

.metric-icon {
  margin-bottom: 18px;
}

.command-icon svg,
.metric-icon svg {
  width: 25px;
  height: 25px;
}

.command-icon svg *,
.metric-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.showcase-command {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 26px;
}

.command-icon {
  margin-bottom: 18px;
  border-color: rgba(19, 102, 236, 0.2);
  background: #eef5ff;
  color: var(--accent);
}

.command-icon svg,
.line-icon svg,
.contact-icon svg {
  stroke: currentColor;
}

.showcase-command p,
.showcase-metric span {
  display: block;
  color: #75839b;
}

.showcase-command p {
  transform: none;
}

.showcase-command strong,
.showcase-metric strong {
  color: #111827;
}

.showcase-metric strong {
  white-space: nowrap;
  max-width: 100%;
  font-size: clamp(20px, 1.45vw, 25px);
  letter-spacing: 0;
}

.showcase-metric.highlight {
  border-color: rgba(19, 102, 236, 0.32);
  background: linear-gradient(180deg, #f4f9ff, #ffffff);
}

.showcase-metric.highlight .metric-icon {
  border-color: rgba(19, 102, 236, 0.34);
  background:
    radial-gradient(circle at 55% 48%, rgba(20, 184, 255, 0.16), transparent 58%),
    #eef5ff;
}

.showcase-metric {
  align-content: start;
  padding-top: 26px;
}

.showcase-metric .metric-icon,
.showcase-metric.highlight .metric-icon {
  display: inline-grid;
  color: var(--accent);
  margin-bottom: 18px;
  transform: translateY(-2px);
}

.showcase-metric .metric-icon svg {
  color: inherit;
}

.showcase-metric.highlight strong {
  color: var(--accent);
}

.showcase-flow {
  grid-column: 1 / -1;
  height: 74px;
}

.showcase-flow span {
  background: linear-gradient(90deg, rgba(19, 102, 236, 0.12), rgba(0, 183, 201, 0.75));
}

.section-heading {
  margin-bottom: 28px;
}

.centered-heading {
  justify-content: center;
  text-align: center;
}

.section-note,
.section-lede,
.section-heading p,
.focus-panel p,
.outcome-card p,
.timeline-detail p,
.contact-copy p,
.team-panel p,
.solution-detail p,
.hero-lede {
  color: var(--muted);
}

.section-note {
  margin-top: 12px;
  color: #5d6b83;
}

.panel-kicker,
.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.tabs {
  width: fit-content;
  margin: 0 auto 26px;
  padding: 4px;
  border: 1px solid #dce5f1;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(22, 58, 112, 0.08);
}

.tab {
  min-height: 36px;
  padding: 0 20px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #44536a;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.tab.active {
  background: var(--accent);
  color: #fff;
}

.data-panel,
.solution-detail,
.product-shell,
.contact-form,
.modal-card {
  border: 1px solid #dce5f1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(23, 51, 92, 0.08);
}

.data-panel {
  grid-template-columns: 0.78fr 1.22fr;
  padding: 30px;
  background:
    linear-gradient(135deg, #ffffff 0%, #ffffff 58%, #f2f7ff 100%);
}

.data-panel.compare-mode {
  grid-template-columns: 0.45fr 1.55fr;
}

.chart-copy {
  padding: 24px;
  border-radius: 4px;
  background: #f7faff;
}

.chart-copy h3 {
  margin-bottom: 14px;
}

.bar-visual {
  min-height: 300px;
  border: 1px solid #e2e9f4;
  border-radius: 4px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.bar-row span {
  color: #41516a;
}

.bar-row span em {
  margin-left: 10px;
  padding: 3px 8px;
  border: 1px solid rgba(19, 102, 236, 0.18);
  border-radius: 999px;
  background: #eef5ff;
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.bar-track {
  background: #e5ebf4;
}

.bar-track i {
  background: linear-gradient(90deg, var(--accent), #4da0ff);
}

.bar-row strong {
  color: #111827;
}

.compare-head strong,
.compare-metric h4,
.compare-pair strong {
  color: #111827;
}

.compare-grid {
  gap: 18px;
}

.compare-metric {
  padding: 0 12px;
  border-left: 0;
}

.compare-legend,
.compare-pair span {
  color: #66758d;
}

.compare-bar.before {
  background: #c7d3e6;
}

.compare-bar.after {
  background: linear-gradient(180deg, #65a4ff, var(--accent));
}

#solutions {
  width: min(1280px, calc(100vw - 48px));
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.solution-card {
  position: relative;
  min-height: 154px;
  padding: 22px 24px;
  border: 1px solid #dfe7f3;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 51, 92, 0.06);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.solution-card::after {
  content: "查看方案";
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.solution-card:hover,
.solution-card.active {
  border-color: rgba(19, 102, 236, 0.42);
  box-shadow: 0 18px 40px rgba(19, 102, 236, 0.12);
  transform: translateY(-2px);
}

.solution-card.active {
  background: linear-gradient(135deg, #f3f8ff, #ffffff);
}

.solution-card span {
  color: #6a7890;
}

.solution-card strong {
  color: #111827;
  font-size: 24px;
}

.solution-detail {
  padding: 30px;
  background:
    linear-gradient(135deg, #ffffff 0%, #ffffff 60%, #f2f7ff 100%);
}

.solution-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.solution-detail-grid > div {
  position: relative;
  min-height: 210px;
  padding: 28px 220px 28px 28px;
  border: 1px solid #e1e8f2;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.detail-bg-icon {
  right: 30px;
  bottom: 24px;
  width: 150px;
  height: 150px;
  opacity: 0.18;
}

.solution-detail-grid > div > .detail-bg-icon {
  right: 30px;
  top: 50%;
  bottom: auto;
  width: 150px;
  transform: translateY(-50%);
}

.detail-bg-icon svg {
  color: var(--accent);
}

.detail-bg-icon .icon-grid {
  stroke: #9db8e5;
}

.detail-bg-icon .icon-shell {
  stroke: var(--accent);
}

.detail-bg-icon .icon-accent {
  stroke: var(--orange);
}

.mini-grid {
  gap: 10px;
}

.mini-grid span {
  border-color: #dfe7f3;
  background: #f7faff;
  color: #45546d;
}

#products {
  width: min(1280px, calc(100vw - 48px));
  padding-top: 52px;
}

#products .section-heading {
  margin-bottom: 18px;
}

.product-shell {
  padding: 20px 24px 24px;
  background:
    linear-gradient(180deg, #ffffff, #f7faff);
}

.product-tabs {
  margin-bottom: 18px;
}

.pricing-card-grid {
  gap: 16px;
}

.pricing-card {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 1px solid #dbe4f0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(23, 51, 92, 0.08);
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #45a5ff);
}

.pricing-card:hover {
  border-color: rgba(19, 102, 236, 0.44);
  box-shadow: 0 22px 46px rgba(19, 102, 236, 0.16);
  transform: translateY(-3px);
}

.pricing-card-head {
  padding: 24px 22px 14px;
  background: linear-gradient(180deg, #f3f8ff, #fff);
}

.pricing-card-head h3 {
  color: #111827;
  font-size: 28px;
}

.pricing-card-head p {
  min-height: 38px;
  color: #5f6f88;
}

.pricing-specs {
  margin: 0;
  padding: 0 22px;
}

.pricing-specs div {
  border-color: #e7edf5;
  padding: 11px 0;
}

.pricing-specs dt {
  color: #7a8799;
}

.pricing-specs dd {
  color: #111827;
}

.pricing-specs div:nth-child(2) dd,
.pricing-specs div:nth-child(3) dd {
  color: var(--accent);
  font-size: 21px;
}

.discount-badge {
  margin-left: 8px;
  border-radius: 2px;
  background: #fff3e8;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.pricing-actions,
.product-actions {
  padding: 16px 22px 22px;
  gap: 10px;
}

.pricing-actions .button,
.product-actions .button {
  min-width: 104px;
  min-height: 38px;
}

.product-copy-panel {
  width: min(940px, 100%);
  margin: 0 auto;
  border: 1px solid #dfe7f3;
  border-radius: 4px;
  background: #fff;
}

.product-copy-row {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  border-color: #e5ebf3;
}

.product-copy-row span {
  color: var(--accent);
  font-size: 14px;
}

.product-copy-row p {
  color: #253047;
  font-size: clamp(16px, 1.15vw, 18px);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.7fr);
  gap: 64px;
  min-height: auto;
  align-items: center;
  padding-bottom: 100px;
}

.contact-copy {
  color: var(--text);
}

.contact-copy h2 {
  max-width: 620px;
}

.contact-copy p {
  max-width: 650px;
  color: #526179;
  line-height: 1.9;
}

.line-icon {
  border: 1px solid #d9e5f3;
  border-radius: 4px;
  background: #fff;
  color: var(--accent);
  box-shadow: 0 14px 30px rgba(19, 102, 236, 0.12);
}

.contact-email {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid #dce5f1;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 51, 92, 0.06);
}

.contact-email span {
  color: #77859b;
}

.contact-email a {
  color: var(--accent);
}

.contact-form {
  padding: 28px;
}

.contact-form label > span {
  color: #66758d;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #d8e1ef;
  border-radius: 2px;
  background: #fff;
  color: #111827;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9aa7b8;
}

.form-status {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #77859b;
}

.form-status[data-state="success"] {
  color: #15803d;
}

.form-status[data-state="error"] {
  color: #dc2626;
}

.contact-form .button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.site-footer {
  width: 100%;
  padding: 48px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid #dfe7f0;
  background: #f7f9fc;
  color: #4b5a70;
}

.site-footer .brand {
  color: #111827;
}

.footer-brand p,
.footer-note {
  color: #66758d;
}

.footer-links a:hover {
  color: var(--accent);
}

.modal::backdrop {
  background: rgba(17, 24, 39, 0.28);
}

.modal-card {
  color: var(--text);
}

.modal-card p {
  color: var(--muted);
}

.modal-close {
  color: #66758d;
}

.reveal {
  opacity: 1;
  filter: none;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

body:not(.ready) .reveal,
.reveal.visible {
  filter: none;
}

.section-visible .reveal {
  animation: aliyunReveal 620ms ease both;
}

@keyframes aliyunReveal {
  from {
    opacity: 0;
    filter: none;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    filter: none;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .hero-copy {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy h1,
  .hero-lede,
  .hero-actions,
  .hero-showcase {
    grid-column: 1;
  }

  .hero-showcase {
    grid-row: auto;
  }

  .data-panel,
  .data-panel.compare-mode,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .pricing-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    height: auto;
    min-height: 64px;
    grid-template-columns: 1fr auto;
    padding: 12px 18px;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 66px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 124px 18px 64px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .showcase-grid,
  .solution-grid,
  .solution-detail-grid,
  .pricing-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    row-gap: 6px;
  }

  h1 {
    margin-bottom: 8px;
  }

  .solution-detail-grid > div {
    padding: 22px;
  }

  .solution-detail-grid > div > .detail-bg-icon {
    position: static;
    width: 112px;
    margin: 18px 0 0 auto;
    transform: none;
  }

  .showcase-flow {
    height: 64px;
  }

  .product-shell,
  .data-panel,
  .solution-detail,
  .contact-form {
    padding: 20px;
  }

  .tabs {
    width: 100%;
    overflow-x: auto;
  }

  .tab {
    white-space: nowrap;
  }

  .product-copy-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Product background, chart motion, and hero atmosphere polish. */
.hero-section {
  background:
    linear-gradient(180deg, rgba(245, 250, 255, 0.8), rgba(232, 242, 255, 0.66)),
    radial-gradient(circle at 18% 24%, rgba(125, 92, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 72% 14%, rgba(19, 102, 236, 0.22), transparent 28rem),
    radial-gradient(circle at 66% 64%, rgba(139, 92, 246, 0.16), transparent 26rem),
    #f5f9ff;
}

.hero-section::after {
  background:
    radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.78), transparent 26%),
    radial-gradient(circle at 54% 48%, rgba(129, 92, 255, 0.2), transparent 46%),
    radial-gradient(circle at 58% 58%, rgba(19, 102, 236, 0.2), transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), rgba(68, 163, 255, 0.15));
}

.hero-glow span:nth-child(3) {
  background: rgba(125, 92, 255, 0.24);
  opacity: 0.2;
}

#products {
  position: relative;
}

.product-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(246, 251, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 45%, rgba(230, 244, 255, 0.92) 100%);
  box-shadow:
    0 28px 70px rgba(38, 88, 166, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.product-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background:
    linear-gradient(128deg, transparent 0 58%, rgba(93, 156, 255, 0.13) 59%, rgba(255, 255, 255, 0.62) 64%, rgba(54, 189, 255, 0.08) 70%, transparent 76%),
    radial-gradient(circle at 92% 4%, rgba(20, 184, 255, 0.16), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(119, 92, 255, 0.09), transparent 30%);
}

.product-shell::after {
  content: "";
  position: absolute;
  right: -84px;
  top: -78px;
  width: 320px;
  height: 320px;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(88, 145, 235, 0.16);
  background:
    radial-gradient(circle, rgba(51, 151, 255, 0.1), transparent 62%),
    conic-gradient(from 128deg, transparent, rgba(119, 92, 255, 0.1), transparent 46%);
  filter: blur(0.2px);
}

.product-shell:hover::before {
  opacity: 1;
}

.product-shell > * {
  position: relative;
  z-index: 1;
}

.section-visible .bar-track i,
.data-panel.is-switching .bar-track i {
  transform-origin: left center;
  animation: barGrow 760ms cubic-bezier(0.18, 0.82, 0.24, 1) both;
}

.section-visible .bar-row:nth-child(2) .bar-track i,
.data-panel.is-switching .bar-row:nth-child(2) .bar-track i {
  animation-delay: 70ms;
}

.section-visible .bar-row:nth-child(3) .bar-track i,
.data-panel.is-switching .bar-row:nth-child(3) .bar-track i {
  animation-delay: 140ms;
}

.compare-bar {
  overflow: visible;
  transform-origin: bottom center;
  will-change: transform, opacity;
}

.section-visible .compare-bar,
.data-panel.is-switching .compare-bar {
  animation: chartRiseHeight 780ms cubic-bezier(0.18, 0.82, 0.24, 1) both;
}

.section-visible .compare-metric:nth-child(2) .compare-bar,
.data-panel.is-switching .compare-metric:nth-child(2) .compare-bar {
  animation-delay: 70ms;
}

.section-visible .compare-metric:nth-child(3) .compare-bar,
.data-panel.is-switching .compare-metric:nth-child(3) .compare-bar {
  animation-delay: 140ms;
}

.section-visible .compare-metric:nth-child(4) .compare-bar,
.data-panel.is-switching .compare-metric:nth-child(4) .compare-bar {
  animation-delay: 210ms;
}

@keyframes barGrow {
  from {
    opacity: 0.42;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes chartRiseHeight {
  from {
    opacity: 0.42;
    transform: scaleY(0.08);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-visible .bar-track i,
  .data-panel.is-switching .bar-track i,
  .section-visible .compare-bar,
  .data-panel.is-switching .compare-bar {
    animation: none;
  }
}

/* Fine tune: compact chart badge, solution card decoration, and stronger logo gradient. */
.brand-logo {
  position: relative;
  background: transparent;
  filter: none;
}

.brand-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(135deg, #775cff 0%, #2f78ff 48%, #12b9ff 100%);
  -webkit-mask: url("./assets/minghe-logo.png") center / contain no-repeat;
  mask: url("./assets/minghe-logo.png") center / contain no-repeat;
  filter: drop-shadow(0 5px 12px rgba(47, 120, 255, 0.2));
}

.brand-logo img {
  opacity: 0;
}

.bar-row {
  grid-template-columns: minmax(172px, 0.38fr) minmax(180px, 1fr) 56px;
}

.bar-row span {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.bar-row span em {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  margin-top: 0 !important;
  margin-left: 0;
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1;
}

.solution-card::after,
.solution-card:hover::after,
.solution-card.active::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 820px) {
  .bar-row {
    grid-template-columns: minmax(150px, 0.48fr) minmax(110px, 1fr) 42px;
    gap: 8px;
  }

  .bar-row span {
    gap: 6px;
    font-size: 12px;
  }

  .bar-row span em {
    padding: 3px 6px;
    font-size: 11px;
  }
}

/* Fine tune NVIDIA comparison chart density and value colors. */
.compare-grid {
  gap: 14px;
}

.compare-metric {
  padding: 0 4px;
}

.compare-pairs {
  gap: 10px;
}

.compare-bars {
  gap: 7px;
}

.compare-bar {
  width: 34px;
}

.compare-bar.before b {
  color: #aebbd0;
}

.compare-bar.after b {
  color: #76a9ff;
}

@media (max-width: 820px) {
  .compare-grid {
    gap: 22px;
  }

  .compare-bar {
    width: 32px;
  }

  .compare-bars {
    gap: 7px;
  }
}

/* Hero console icon parity: command, before and after are the same component tier. */
.showcase-command .command-icon,
.showcase-metric .metric-icon,
.showcase-metric.highlight .metric-icon {
  width: 38px !important;
  height: 38px !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 38px !important;
  margin: 0 0 18px !important;
  border: 1px solid rgba(19, 102, 236, 0.2) !important;
  border-radius: 10px !important;
  background: #eef5ff !important;
  color: var(--accent) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  transform: translateY(-2px) !important;
}

.showcase-command .command-icon svg,
.showcase-metric .metric-icon svg,
.showcase-metric.highlight .metric-icon svg {
  width: 25px !important;
  height: 25px !important;
  display: block !important;
  color: inherit !important;
  overflow: visible !important;
}

.showcase-command .command-icon svg *,
.showcase-metric .metric-icon svg *,
.showcase-metric.highlight .metric-icon svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.55 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
}

/* Product pricing hierarchy: three-year service is the primary price. */
.pricing-specs div:first-child dd {
  color: var(--accent) !important;
  font-size: 22px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
}

.pricing-specs div:nth-child(2) dd,
.pricing-specs div:nth-child(3) dd {
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.pricing-actions,
.product-actions {
  display: flex !important;
  justify-content: center !important;
  grid-template-columns: none !important;
}

.pricing-actions .button,
.product-actions .button {
  min-width: 120px !important;
}

/* Use provided bitmap console icons without adding a second border. */
.showcase-command .console-png-icon,
.showcase-metric .console-png-icon,
.showcase-metric.highlight .console-png-icon {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.console-png-icon img {
  width: 38px !important;
  height: 38px !important;
  display: block !important;
  object-fit: contain !important;
}
