/* 合众云擎官网视觉 — 数字权益门户 */
:root {
  --cq-orange: #ff6600;
  --cq-orange-dark: #e55a00;
  --cq-orange-light: #fff4eb;
  --cq-text: #222;
  --cq-text-muted: #666;
  --cq-text-light: #999;
  --cq-border: #eee;
  --cq-bg: #f7f7f7;
  --cq-white: #fff;
  --cq-dark: #0c1222;
  --cq-container: 1200px;
  --cq-header-h: 72px;
  --cq-radius: 8px;
  --cq-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.cq-page {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cq-text);
  background: var(--cq-white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.cq-container {
  width: min(var(--cq-container), calc(100% - 48px));
  margin: 0 auto;
}

/* ========== Header ========== */
.cq-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--cq-header-h);
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}

.cq-header.is-transparent {
  background: transparent;
}

.cq-header.is-transparent .cq-logo-text strong,
.cq-header.is-transparent .cq-nav a,
.cq-header.is-transparent .cq-menu-toggle span {
  color: #fff;
}

.cq-header.is-transparent .cq-logo-mark {
  background: #fff;
  color: var(--cq-orange);
}

.cq-header.is-transparent .cq-btn-trial-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  background: transparent;
}

.cq-header.is-solid,
.cq-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--cq-border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.cq-header.is-solid .cq-logo-text strong,
.cq-header.is-scrolled .cq-logo-text strong {
  color: var(--cq-text);
}

.cq-header.is-solid .cq-nav a,
.cq-header.is-scrolled .cq-nav a {
  color: var(--cq-text);
}

.cq-header.is-solid .cq-logo-mark,
.cq-header.is-scrolled .cq-logo-mark {
  background: linear-gradient(135deg, #ff8533, var(--cq-orange));
  color: #fff;
}

.cq-header.is-solid .cq-btn-trial-outline,
.cq-header.is-scrolled .cq-btn-trial-outline {
  color: var(--cq-orange);
  border-color: var(--cq-orange);
}

.cq-header.is-solid .cq-menu-toggle span,
.cq-header.is-scrolled .cq-menu-toggle span {
  background: var(--cq-text);
}

.cq-header-inner {
  height: var(--cq-header-h);
  display: flex;
  align-items: center;
  gap: 36px;
}

.cq-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cq-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff8533, var(--cq-orange));
  color: #fff;
}

.cq-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.cq-logo-text strong {
  font-size: 20px;
  font-weight: 700;
}

.cq-logo-text small {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--cq-text-light);
  font-weight: 500;
}

.cq-header.is-transparent .cq-logo-text small {
  color: rgba(255, 255, 255, 0.7);
}

.cq-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.cq-nav a {
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.2s;
  opacity: 0.92;
}

.cq-nav a:hover,
.cq-nav a.is-active {
  color: var(--cq-orange) !important;
  opacity: 1;
}

.cq-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.2s;
}

.cq-btn-trial {
  height: 40px;
  padding: 0 24px;
  background: var(--cq-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.cq-btn-trial:hover { background: var(--cq-orange-dark); }

.cq-btn-trial-outline {
  height: 36px;
  padding: 0 18px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 14px;
  border-radius: 4px;
}

.cq-btn-trial-outline:hover {
  background: var(--cq-orange);
  border-color: var(--cq-orange);
  color: #fff !important;
}

.cq-btn-outline-light {
  height: 44px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
  border-radius: 4px;
}

.cq-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cq-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.cq-menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: 0.2s;
}

.cq-mobile-nav {
  display: none;
  position: fixed;
  top: var(--cq-header-h);
  left: 0; right: 0;
  z-index: 999;
  background: #fff;
  padding: 12px 24px 20px;
  box-shadow: var(--cq-shadow);
  flex-direction: column;
  gap: 4px;
}

.cq-mobile-nav.is-open { display: flex; }

.cq-mobile-nav a {
  padding: 12px 8px;
  font-size: 15px;
  border-bottom: 1px solid var(--cq-border);
  color: var(--cq-text);
}

.cq-mobile-nav a:last-child {
  border: none;
  color: var(--cq-orange);
  font-weight: 600;
}

/* ========== Hero ========== */
.cq-hero {
  position: relative;
  min-height: 78vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--cq-dark);
}

.cq-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255, 102, 0, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(40, 80, 160, 0.35), transparent 50%),
    linear-gradient(160deg, #070b16 0%, #121a2e 45%, #1a1528 100%);
}

.cq-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.cq-hero-slides {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--cq-header-h) + 48px) 0 80px;
}

.cq-hero-slide {
  display: none;
  text-align: center;
  animation: cqFade 0.6s ease;
}

.cq-hero-slide.is-active { display: block; }

@keyframes cqFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.cq-hero-slide h1 {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.cq-hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.cq-hero-dots button {
  width: 28px;
  height: 3px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: 0.2s;
}

.cq-hero-bg.is-muted {
  opacity: 0.35;
}

.cq-hero-slide.has-image {
  position: relative;
  min-height: 560px;
  display: none;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cq-hero-slide.has-image.is-active {
  display: flex;
}

.cq-hero-slide.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.55), rgba(7, 11, 22, 0.72));
  pointer-events: none;
}

.cq-hero-slide.has-image .cq-container,
.cq-hero-slide-link {
  position: relative;
  z-index: 1;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.cq-solution-visual.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cq-partner-item.has-icon {
  gap: 12px;
  padding: 0 16px;
  height: 88px;
}

.cq-partner-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.cq-partner-item.has-icon span {
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
}

/* ========== Sections ========== */
.cq-section { padding: 72px 0; }
.cq-section.is-gray { background: var(--cq-bg); }

.cq-section-head {
  text-align: center;
  margin-bottom: 48px;
}

.cq-section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--cq-text);
  line-height: 1.35;
}

.cq-section-head p {
  margin: 0;
  font-size: 16px;
  color: var(--cq-text-muted);
}

.cq-link {
  color: var(--cq-orange);
  font-size: 14px;
  font-weight: 500;
}

.cq-link:hover { text-decoration: underline; }

/* ========== Products ========== */
.cq-product-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px 48px;
  margin-bottom: 36px;
}

.cq-product-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--cq-text-muted);
  padding: 8px;
  transition: color 0.2s;
}

.cq-product-icon em {
  font-style: normal;
  font-size: 15px;
}

.cq-hex {
  width: 72px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f1f3;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  color: #8a8f98;
  transition: 0.25s;
}

.cq-hex svg { width: 36px; height: 36px; }

.cq-product-icon.is-active,
.cq-product-icon:hover {
  color: var(--cq-orange);
}

.cq-product-icon.is-active .cq-hex,
.cq-product-icon:hover .cq-hex {
  background: var(--cq-orange-light);
  color: var(--cq-orange);
}

.cq-product-panels { max-width: 720px; margin: 0 auto; text-align: center; }

.cq-product-panel { display: none; }
.cq-product-panel.is-active { display: block; animation: cqFade 0.35s ease; }

.cq-product-desc {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--cq-text-muted);
  line-height: 1.8;
}

.cq-product-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.cq-product-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--cq-text);
}

.cq-product-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cq-orange);
}

/* ========== Brand cards ========== */
.cq-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cq-brand-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--cq-shadow);
  transition: transform 0.25s;
}

.cq-brand-card:hover { transform: translateY(-4px); }

.cq-brand-cover {
  height: 180px;
  padding: 28px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.cq-brand-cover h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
}

.cq-brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cq-brand-tags span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.cq-brand-cover-a {
  background: linear-gradient(135deg, #ff8533 0%, #ff4d00 100%);
}

.cq-brand-cover-b {
  background: linear-gradient(135deg, #ff9a3c 0%, #e54800 55%, #2a1a40 140%);
}

.cq-brand-cover-c {
  background: linear-gradient(135deg, #ffa64d 0%, #ff6600 50%, #1a3a5c 130%);
}

.cq-brand-body { padding: 24px; }

.cq-brand-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--cq-orange);
}

.cq-brand-body p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--cq-text-muted);
  line-height: 1.75;
  min-height: 68px;
}

.cq-brand-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.cq-brand-body li {
  font-size: 13px;
  color: var(--cq-text);
  padding-left: 12px;
  position: relative;
}

.cq-brand-body li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--cq-orange);
  font-weight: 700;
}

/* ========== Solutions ========== */
.cq-solution-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.cq-solution-tabs button {
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--cq-border);
  background: #fff;
  border-radius: 20px;
  color: var(--cq-text-muted);
  cursor: pointer;
  transition: 0.2s;
}

.cq-solution-tabs button.is-active,
.cq-solution-tabs button:hover {
  background: var(--cq-orange);
  border-color: var(--cq-orange);
  color: #fff;
}

.cq-solution-panel {
  display: none;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--cq-shadow);
}

.cq-solution-panel.is-active {
  display: grid;
  animation: cqFade 0.35s ease;
}

.cq-solution-visual {
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

.cq-sol-bank {
  background: linear-gradient(145deg, #1a2744, #ff6600 160%);
}
.cq-sol-insure {
  background: linear-gradient(145deg, #2a1840, #ff8533 150%);
}
.cq-sol-internet {
  background: linear-gradient(145deg, #0d2a3a, #ff6600 140%);
}
.cq-sol-telecom {
  background: linear-gradient(145deg, #1a2030, #e55a00 130%);
}
.cq-sol-retail {
  background: linear-gradient(145deg, #2a1a18, #ff9a3c 140%);
}
.cq-sol-life {
  background: linear-gradient(145deg, #182838, #ff6600 135%);
}

.cq-solution-copy { padding: 36px 40px 36px 8px; }

.cq-solution-copy > p:first-child {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--cq-text-muted);
  line-height: 1.85;
}

.cq-solution-offer-label {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--cq-text);
  font-weight: 600;
}

.cq-solution-offer {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--cq-orange);
  font-weight: 600;
}

/* ========== News ========== */
.cq-news-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.cq-news-feature {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--cq-shadow);
  transition: transform 0.2s;
}

.cq-news-feature:hover { transform: translateY(-2px); }

.cq-news-thumb {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.cq-news-thumb-1 {
  background: linear-gradient(120deg, #1a2744, #ff6600 90%);
}

.cq-news-feature-body { padding: 22px 24px 26px; }

.cq-news-feature-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--cq-text);
}

.cq-news-feature-body p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--cq-text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cq-news-feature-body time,
.cq-news-side time {
  font-size: 12px;
  color: var(--cq-text-light);
}

.cq-news-side {
  background: #fff;
  border-radius: 12px;
  padding: 8px 4px;
  box-shadow: var(--cq-shadow);
}

.cq-news-side li {
  border-bottom: 1px dashed var(--cq-border);
}

.cq-news-side li:last-child { border-bottom: none; }

.cq-news-side a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  align-items: flex-start;
}

.cq-news-side a span {
  flex: 1;
  font-size: 14px;
  color: var(--cq-text);
  line-height: 1.5;
}

.cq-news-side a:hover span { color: var(--cq-orange); }

.cq-news-side time { flex-shrink: 0; white-space: nowrap; }

/* ========== Partners ========== */
.cq-partner-switch {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}

.cq-partner-switch button {
  height: 42px;
  padding: 0 28px;
  border: 1px solid var(--cq-border);
  background: #fff;
  color: var(--cq-text-muted);
  cursor: pointer;
}

.cq-partner-switch button:first-child {
  border-radius: 4px 0 0 4px;
}

.cq-partner-switch button:last-child {
  border-radius: 0 4px 4px 0;
  border-left: none;
}

.cq-partner-switch button.is-active {
  background: var(--cq-orange);
  border-color: var(--cq-orange);
  color: #fff;
}

.cq-partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.cq-partner-item {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--cq-border);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cq-text-muted);
  transition: 0.2s;
}

.cq-partner-item:hover {
  border-color: var(--cq-orange);
  color: var(--cq-orange);
}

.cq-feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cq-feature-item {
  text-align: center;
  padding: 24px 12px;
  background: var(--cq-orange-light);
  border-radius: 10px;
}

.cq-feature-item strong {
  display: block;
  font-size: 18px;
  color: var(--cq-orange);
  margin-bottom: 6px;
}

.cq-feature-item span {
  font-size: 13px;
  color: var(--cq-text-muted);
}

/* ========== CTA ========== */
.cq-cta-section {
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(255, 102, 0, 0.35), transparent 55%),
    linear-gradient(120deg, #0c1222 0%, #1a1528 100%);
  color: #fff;
  text-align: center;
}

.cq-cta-inner h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.cq-cta-inner > p {
  margin: 0 auto 28px;
  max-width: 640px;
  opacity: 0.85;
  font-size: 15px;
  line-height: 1.8;
}

.cq-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========== Footer ========== */
.cq-footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 28px;
}

.cq-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.cq-footer h4 {
  margin: 0 0 16px;
  font-size: 15px;
  color: #fff;
  font-weight: 600;
}

.cq-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.cq-footer-links a:hover { color: var(--cq-orange); }

.cq-footer-friends {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.cq-footer-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-bottom: 20px;
}

.cq-footer-contact h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #fff;
}

.cq-footer-contact p {
  margin: 0;
  font-size: 13px;
  opacity: 0.7;
}

.cq-footer-copy {
  font-size: 12px;
  opacity: 0.45;
  line-height: 1.8;
}

.cq-footer-copy a.cq-footer-filing {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.9;
}

.cq-footer-copy a.cq-footer-filing:hover {
  color: var(--cq-orange);
  opacity: 1;
}

.cq-backtop {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--cq-orange);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}

.cq-backtop.is-show {
  opacity: 1;
  pointer-events: auto;
}

/* ========== Modal / Login ========== */
.cq-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 102, 0, 0.18), transparent 42%),
    rgba(8, 12, 22, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: cqOverlayIn 0.28s ease;
}

.cq-modal-overlay.is-open { display: flex; }

@keyframes cqOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cqModalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cq-modal {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  animation: cqModalIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cq-login-modal {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
}

@media (min-width: 820px) {
  .cq-login-modal {
    grid-template-columns: 0.92fr 1.08fr;
    min-height: 480px;
  }
}

.cq-login-brand {
  display: none;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(155deg, #1a120c 0%, #2a1608 38%, #ff6600 120%);
  padding: 36px 32px;
}

@media (min-width: 820px) {
  .cq-login-brand { display: flex; align-items: flex-end; }
}

.cq-login-brand-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 90, 0.45), transparent 68%);
  pointer-events: none;
  animation: cqGlowPulse 4.5s ease-in-out infinite;
}

@keyframes cqGlowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.cq-login-brand-inner {
  position: relative;
  z-index: 1;
}

.cq-login-brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-weight: 800;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 16px;
}

.cq-login-brand-name {
  display: block;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.cq-login-brand-en {
  margin: 6px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.72;
}

.cq-login-brand-tagline {
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.cq-login-brand-points {
  margin: 28px 0 0;
  display: grid;
  gap: 10px;
}

.cq-login-brand-points li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.cq-login-brand-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb347;
  box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.25);
}

.cq-login-panel {
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
}

@media (min-width: 820px) {
  .cq-login-panel { padding: 36px 40px 32px; }
}

.cq-login-panel-head { margin-bottom: 18px; padding-right: 36px; }

.cq-login-kicker {
  margin: 0 0 8px;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cq-orange);
}

.cq-login-panel-head h2 {
  margin: 0 0 8px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #14181f;
  letter-spacing: 0.02em;
}

.cq-login-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--cq-text-muted);
}

.cq-login-panel-body { flex: 1; }

.cq-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 0;
}

.cq-modal-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--cq-text);
}

.cq-modal-head p {
  margin: 0;
  font-size: 13px;
  color: var(--cq-text-muted);
}

.cq-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: #f4f5f7;
  border-radius: 10px;
  cursor: pointer;
  color: var(--cq-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 2;
}

.cq-modal-close:hover {
  background: #ebecef;
  color: var(--cq-text);
  transform: rotate(90deg);
}

.cq-modal-body { padding: 20px 24px 28px; }

.api-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--cq-text-muted);
  margin-bottom: 14px;
  padding: 10px 12px;
  background: #f7f8fa;
  border: 1px solid #eceff3;
  border-radius: 10px;
}

.api-status.ok {
  color: #0f7a3c;
  background: #f0faf3;
  border-color: #c6ebd4;
}

.api-status.fail {
  color: #b42318;
  background: #fff5f4;
  border-color: #ffd5d1;
}

.api-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9cdd4;
  flex-shrink: 0;
}

.api-status.ok .api-status-dot { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
.api-status.fail .api-status-dot { background: #ef4444; }

.login-alert {
  display: none;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: #fff1f0;
  color: #cf1322;
  border: 1px solid #ffccc7;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.login-alert.show { display: block; }

.login-field { margin-bottom: 14px; }

.login-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #1f2430;
  font-weight: 600;
}

.login-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e3e6ec;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #fbfcfe;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.login-field input:hover { border-color: #d0d5dd; }

.login-field input:focus {
  border-color: var(--cq-orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.14);
}

.login-field-hint {
  margin: -4px 0 14px;
  font-size: 12px;
  color: var(--cq-text-light);
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 16px;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--cq-text-muted);
  cursor: pointer;
  user-select: none;
}

.login-secure-hint {
  font-size: 11px;
  color: #6b7280;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  letter-spacing: 0.02em;
}

.login-submit {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff7a1a 0%, #ff6600 55%, #e85a00 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 102, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.login-submit:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 102, 0, 0.34);
}

.login-submit:active { transform: translateY(0); }

.login-submit:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.login-footnote {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--cq-text-light);
}

@media (prefers-reduced-motion: reduce) {
  .cq-modal-overlay,
  .cq-modal,
  .cq-login-brand-glow,
  .cq-modal-close,
  .login-submit {
    animation: none !important;
    transition: none !important;
  }
}

/* ========== Article page ========== */
.cq-article-body {
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(255, 102, 0, 0.08), transparent 55%),
    linear-gradient(180deg, #f4f5f7 0%, #eef0f3 100%);
}

.cq-article-page {
  padding: calc(var(--cq-header-h) + 8px) 0 72px;
  min-height: 70vh;
}

.cq-article-hero {
  height: clamp(160px, 28vw, 280px);
  margin: 0 0 -72px;
  background-color: #1a120c;
  background-size: cover;
  background-position: center;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.cq-article-hero.is-show {
  opacity: 1;
  transform: translateY(0);
}

.cq-article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 20, 0.15) 0%, rgba(244, 245, 247, 0.92) 88%, #f4f5f7 100%);
}

.cq-article-layout {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.cq-article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 18px 0 16px;
  color: var(--cq-orange);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s;
}

.cq-article-back:hover {
  transform: translateX(-2px);
  opacity: 0.9;
}

.cq-article-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 36px 40px 40px;
  box-shadow: 0 18px 48px rgba(20, 24, 32, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  animation: cqModalIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cq-article-loading,
.cq-article-state {
  text-align: center;
  padding: 48px 16px;
  color: var(--cq-text-muted);
}

.cq-article-state h1 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--cq-text);
}

.cq-article-state p { margin: 0 0 20px; }

.cq-article-spinner {
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  display: block;
  border: 2px solid #eee;
  border-top-color: var(--cq-orange);
  border-radius: 50%;
  animation: cqSpin 0.8s linear infinite;
}

@keyframes cqSpin {
  to { transform: rotate(360deg); }
}

.cq-article-head { margin-bottom: 22px; }

.cq-article-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cq-orange-light);
  color: var(--cq-orange-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.cq-article-wrap h1,
.cq-article-head h1 {
  margin: 0 0 14px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.35;
  font-weight: 700;
  color: #14181f;
  letter-spacing: 0.01em;
}

.cq-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--cq-text-light);
}

.cq-article-cover {
  margin: 0 0 28px;
  border-radius: 14px;
  overflow: hidden;
  background: #f0f1f3;
}

.cq-article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.cq-article-content {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #2a303a;
}

.cq-article-content > :first-child { margin-top: 0; }

.cq-article-content p {
  margin: 0 0 1.1em;
}

.cq-article-content .cq-article-empty {
  color: var(--cq-text-light);
}

.cq-article-figure {
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f8fa;
}

.cq-article-content img,
.cq-article-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.cq-article-foot {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #eceff3;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cq-article-more {
  color: var(--cq-orange);
  font-weight: 600;
  font-size: 14px;
}

.cq-article-more:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .cq-article-wrap {
    padding: 24px 18px 28px;
    border-radius: 14px;
  }
  .cq-article-hero { margin-bottom: -48px; }
  .cq-article-foot { flex-direction: column; align-items: stretch; }
  .cq-article-foot .cq-btn { text-align: center; }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .cq-brand-grid { grid-template-columns: 1fr; }
  .cq-solution-panel.is-active { grid-template-columns: 1fr; }
  .cq-solution-visual { min-height: 200px; }
  .cq-solution-copy { padding: 24px; }
  .cq-news-layout { grid-template-columns: 1fr; }
  .cq-partner-grid { grid-template-columns: repeat(2, 1fr); }
  .cq-feature-row { grid-template-columns: repeat(2, 1fr); }
  .cq-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .cq-nav { display: none; }
  .cq-menu-toggle { display: flex; }
  .cq-header-actions .cq-btn-trial-outline { display: none; }
  .cq-hero { min-height: 70vh; }
  .cq-product-icons { gap: 16px 24px; }
  .cq-hex { width: 56px; height: 64px; }
  .cq-hex svg { width: 28px; height: 28px; }
  .cq-feature-row,
  .cq-partner-grid,
  .cq-footer-grid { grid-template-columns: 1fr 1fr; }
}
