/* 会联星产品内页 — /voting · 蓝黑色系 */

:root {
  --hlx-brand: #2563eb;
  --hlx-brand-dark: #1e40af;
  --hlx-brand-deep: #0f172a;
  --hlx-brand-light: #dbeafe;
  --hlx-brand-muted: #1e3a8a;
  --hlx-indigo: #6366f1;
  --hlx-violet: #8b5cf6;
}

.hlx-hero {
  background: linear-gradient(165deg, #eff6ff 0%, #ffffff 42%, #f1f5f9 100%);
  overflow: visible !important;
  min-height: min(100vh, 920px);
  padding: 120px 0 72px;
}

.hlx-hero-gradient {
  background:
    radial-gradient(ellipse at 18% 12%, rgba(37, 99, 235, 0.2) 0%, transparent 52%),
    radial-gradient(ellipse at 88% 28%, rgba(99, 102, 241, 0.16) 0%, transparent 48%),
    radial-gradient(ellipse at 50% 100%, rgba(15, 23, 42, 0.06) 0%, transparent 55%);
}

.hlx-hero-pattern {
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hlx-hero-gradient-text {
  background: linear-gradient(135deg, #1e40af 0%, #0f172a 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.product-hero.hlx-hero .hero-content {
  max-width: min(560px, 100%);
  flex: 1 1 42%;
  padding: 0 24px 0 max(24px, 4vw);
  z-index: 2;
}

.hlx-hero .hlx-pill-row {
  justify-content: flex-start;
}

.hlx-btn-secondary {
  border-color: #2563eb !important;
  color: #1e40af !important;
}

.hlx-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.hlx-hero-demo {
  flex: 1 1 58%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 max(24px, 3vw) 0 12px;
  z-index: 2;
}

.hlx-browser-mockup {
  position: relative;
  width: min(100%, 680px);
  animation: hlx-float 6s ease-in-out infinite;
}

.hlx-browser-glow {
  position: absolute;
  inset: 8% -6% -10%;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(99, 102, 241, 0.28) 0%, transparent 62%),
    radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.32) 0%, transparent 50%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.hlx-browser-frame {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px rgba(99, 102, 241, 0.14),
    0 40px 80px rgba(15, 23, 42, 0.14);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.hlx-browser-mockup:hover .hlx-browser-frame {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0deg);
  box-shadow:
    0 8px 12px rgba(15, 23, 42, 0.06),
    0 32px 56px rgba(99, 102, 241, 0.18),
    0 48px 96px rgba(37, 99, 235, 0.18);
}

.hlx-browser-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hlx-browser-dots {
  display: inline-flex;
  gap: 6px;
}

.hlx-browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.hlx-browser-dots .r {
  background: #f87171;
}

.hlx-browser-dots .y {
  background: #fbbf24;
}

.hlx-browser-dots .g {
  background: #34d399;
}

.hlx-browser-url {
  flex: 1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  letter-spacing: 0.02em;
}

.hlx-browser-screen {
  background: #f1f5f9;
  line-height: 0;
}

.hlx-browser-screen img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.hlx-float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
}

.hlx-float-chip--ai {
  top: 14%;
  left: -4%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #5b21b6;
}

.hlx-float-chip--ai svg {
  color: #8b5cf6;
}

.hlx-float-chip--live {
  bottom: 12%;
  right: -2%;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  color: #fff;
  border: 1px solid rgba(147, 197, 253, 0.35);
  animation: hlx-float 5s ease-in-out infinite 0.8s;
}

.hlx-hero .hero-badge,
.hlx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.1) !important;
  border-color: rgba(37, 99, 235, 0.28) !important;
  color: #1e40af !important;
}

.hlx-badge-blue {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.28);
  color: #1e40af;
}

.hlx-hero-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.hlx-hero .hlx-hero-title-one-line {
  white-space: nowrap;
}

.hlx-hero .hlx-hero-title-one-line .gradient-text {
  display: inline;
}

.hlx-numbered-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: hlx-step;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.hlx-numbered-list li {
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 14px;
}

.hlx-numbered-list li::before {
  counter-increment: hlx-step;
  content: counter(hlx-step);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  color: #4338ca;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5rem;
  text-align: center;
}

.hlx-numbered-list li strong {
  color: var(--text-primary);
}

.hlx-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.hlx-pill {
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: #1e40af;
}

.hlx-highlights {
  padding: 88px 0;
  background: var(--bg-secondary);
}

.hlx-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hlx-highlight-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hlx-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hlx-highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
}

.hlx-highlight-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hlx-highlight-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hlx-split {
  padding: 88px 0;
}

.hlx-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hlx-split-grid.reverse {
  direction: rtl;
}

.hlx-split-grid.reverse > * {
  direction: ltr;
}

.hlx-mock-panel {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hlx-mock-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
}

.hlx-mock-body {
  padding: 20px;
}

.hlx-ai-cards {
  display: grid;
  gap: 12px;
}

.hlx-ai-card {
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid transparent;
}

.hlx-ai-card.violet {
  background: linear-gradient(135deg, #f5f3ff, #faf5ff);
  border-color: #ddd6fe;
}

.hlx-ai-card.sky {
  background: linear-gradient(135deg, #f0f9ff, #ecfeff);
  border-color: #bae6fd;
}

.hlx-ai-card.amber {
  background: linear-gradient(135deg, #eff6ff, #e0e7ff);
  border-color: #bfdbfe;
}

.hlx-ai-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hlx-ai-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.hlx-drag-zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  min-height: 280px;
}

.hlx-feed-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 13px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hlx-feed-card.is-lifted {
  transform: scale(1.03) rotate(-1deg);
  border-color: var(--hlx-indigo);
  box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.35);
  z-index: 2;
}

.hlx-feed-card .card-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.hlx-feed-card.vote .card-type {
  background: #ecfdf5;
  color: #059669;
}

.hlx-feed-card.qa .card-type {
  background: #eff6ff;
  color: #2563eb;
}

.hlx-feed-card h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.hlx-bar-mini {
  height: 6px;
  background: #f1f5f9;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 4px;
}

.hlx-bar-mini span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--hlx-indigo), #818cf8);
  border-radius: 99px;
}

.hlx-viz-stage {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #0f172a 0%, #1e1b4b 45%, #0c0a1a 100%);
  min-height: 280px;
  overflow: hidden;
}

.hlx-viz-tabs {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hlx-viz-tabs button {
  padding: 6px 10px;
  font-size: 11px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hlx-viz-tabs button.active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.hlx-viz-viewport {
  position: relative;
  z-index: 2;
  min-height: 280px;
}

.hlx-viz-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.hlx-viz-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hlx-viz-panel {
    transition: none;
  }
}

.hlx-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.hlx-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 56px;
}

.hlx-bar-item .num {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.hlx-bar-item .col {
  width: 100%;
  border-radius: 8px 8px 4px 4px;
  box-shadow: 0 0 24px currentColor;
}

.hlx-bar-item .label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.hlx-bar-item.g .col {
  height: 72px;
  background: linear-gradient(180deg, #6ee7b7, #059669);
  color: #34d399;
}

.hlx-bar-item.b .col {
  height: 58px;
  background: linear-gradient(180deg, #7dd3fc, #0284c7);
  color: #38bdf8;
}

.hlx-bar-item.p .col {
  height: 36px;
  background: linear-gradient(180deg, #f9a8d4, #db2777);
  color: #f472b6;
}

.hlx-bubbles {
  position: relative;
  width: 100%;
  height: 200px;
  perspective: 1000px;
  overflow: visible;
}

.hlx-bubble {
  position: absolute;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: hlx-float 4.2s ease-in-out infinite;
  z-index: 1;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.hlx-bubble-svg {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.hlx-bubble-label {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-align: center;
  text-shadow: 0 1px 8px rgba(15, 23, 42, 0.55);
}

.hlx-bubble-label em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.hlx-bubble.lg {
  width: 100px;
  height: 100px;
  left: 8%;
  top: 22%;
  transform: translateZ(32px);
}

.hlx-bubble.md {
  width: 76px;
  height: 76px;
  right: 12%;
  bottom: 18%;
  animation-delay: 0.6s;
  transform: translateZ(18px);
}

.hlx-bubble.sm {
  width: 56px;
  height: 56px;
  left: 46%;
  top: 8%;
  animation-delay: 1.2s;
  transform: translateZ(8px);
}

.hlx-neon {
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  padding-left: 8%;
}

.hlx-neon p {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  margin: 0;
  text-shadow: 0 0 20px currentColor, 0 0 40px currentColor;
}

.hlx-neon .a {
  color: #34d399;
}
.hlx-neon .b {
  color: #38bdf8;
  padding-left: 32px;
}
.hlx-neon .c {
  color: #f472b6;
  padding-left: 64px;
}

.hlx-donut-wrap {
  position: relative;
  width: 140px;
  height: 140px;
}

.hlx-donut {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(#34d399 0deg 164deg, #38bdf8 164deg 295deg, #f472b6 295deg 360deg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  animation: hlx-spin 24s linear infinite;
}

.hlx-donut::after {
  content: '';
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: linear-gradient(165deg, #0f172a, #1e1b4b);
}

.hlx-donut-labels {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: #fff;
  z-index: 1;
}

.hlx-cta-band {
  padding: 88px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
  text-align: center;
  color: #fff;
}

.hlx-cta-band h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}

.hlx-cta-band p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hlx-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hlx-cta-actions .btn-hero-primary {
  background: linear-gradient(135deg, var(--hlx-brand), var(--hlx-brand-dark));
}

.hlx-cta-actions .btn-hero-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

@keyframes hlx-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes hlx-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .product-hero.hlx-hero {
    flex-direction: column;
    min-height: auto;
    padding: 100px 0 56px;
  }

  .product-hero.hlx-hero .hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 100%;
  }

  .hlx-hero .hlx-pill-row {
    justify-content: center;
  }

  .hlx-hero-demo {
    width: 100%;
    padding: 32px 20px 0;
  }

  .hlx-browser-mockup {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .hlx-browser-frame {
    transform: none;
  }

  .hlx-browser-mockup:hover .hlx-browser-frame {
    transform: none;
  }

  .hlx-float-chip--ai {
    left: 4%;
    top: 8%;
  }

  .hlx-float-chip--live {
    right: 4%;
    bottom: 8%;
  }

  .hlx-highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hlx-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hlx-split-grid.reverse {
    direction: ltr;
  }
}

@media (max-width: 640px) {
  .hlx-highlight-grid {
    grid-template-columns: 1fr;
  }
  .hlx-drag-zone {
    grid-template-columns: 1fr;
  }
  .hlx-hero .hlx-hero-title-one-line {
    white-space: normal;
    font-size: clamp(28px, 8vw, 40px);
  }
  .hlx-float-chip {
    font-size: 11px;
    padding: 6px 10px;
  }
  .hlx-browser-mockup {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hlx-browser-mockup,
  .hlx-float-chip--live {
    animation: none;
  }
  .hlx-browser-frame {
    transform: none;
  }
}
