:root {
  --primary: #3c66ff;
  --primary-dark: #2952e6;
  --primary-light: #eef2ff;
  --primary-glow: rgba(60, 102, 255, 0.15);
  --text: #1a1d26;
  --text-secondary: #5c6370;
  --text-muted: #8b93a1;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --border: #e8ecf3;
  --shadow: 0 8px 32px rgba(26, 29, 38, 0.08);
  --shadow-lg: 0 20px 60px rgba(60, 102, 255, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 64px;
  --max-w: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav + Mega Menu ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

.site-nav {
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.site-nav .container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #6b8cff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(60, 102, 255, 0.2);
}

.nav-logo-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-item > a,
.nav-item > button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  font-family: inherit;
}

.nav-item > a:hover,
.nav-item > button:hover,
.nav-item.active > a,
.nav-item.active > button {
  color: var(--primary);
}

.nav-item.active > a,
.nav-item.active > button {
  background: var(--primary-light);
}

.nav-caret {
  font-size: 0.65rem;
  opacity: 0.6;
  transition: transform 0.2s;
}

.nav-item.active .nav-caret { transform: rotate(180deg); }

.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 8px;
  min-width: 720px;
}

.nav-item.active .mega-dropdown { display: block; }

.mega-dropdown-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mega-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.mega-col-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.mega-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-links a {
  display: block;
  padding: 8px 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.mega-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.mega-links a.is-live {
  color: var(--primary);
  font-weight: 600;
}

.mega-links a.is-live::after {
  content: "已上线";
  margin-left: 6px;
  font-size: 0.68rem;
  padding: 1px 6px;
  background: var(--primary-light);
  border-radius: 4px;
  font-weight: 600;
}

.mega-links a.is-soon::after {
  content: "计划中";
  margin-left: 6px;
  font-size: 0.68rem;
  padding: 1px 6px;
  background: #f0f2f6;
  border-radius: 4px;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-console {
  padding: 8px 18px;
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  transition: background 0.2s, border-color 0.2s;
}

.btn-console:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  text-decoration: none;
}

.btn-console-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-console-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* 飞鱼风格：右上角登录/注册 */
.btn-login-register {
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: #8b3dff;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-login-register:hover {
  background: #7c2ef0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* legacy alias */
.nav-links { display: none; }

/* ── Clients Carousel ── */
.clients-section {
  padding: 72px 0;
  background: linear-gradient(180deg, #e8f0fe 0%, #f0f5ff 100%);
  overflow: hidden;
}

.clients-section .section-header { margin-bottom: 40px; }

.clients-marquee {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.clients-row {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: clients-scroll 50s linear infinite;
}

.clients-row:nth-child(2) .clients-track {
  animation-duration: 55s;
  animation-direction: reverse;
}

.clients-row:nth-child(3) .clients-track {
  animation-duration: 60s;
}

.clients-track:hover { animation-play-state: paused; }

@keyframes clients-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  flex-shrink: 0;
  width: 148px;
  height: 64px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(60, 102, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  user-select: none;
}

.client-logo img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-logo-fallback {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover { color: var(--primary); }

/* ── Hero ── */
.hero {
  padding: calc(var(--nav-h) + 72px) 0 80px;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), #6b8cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-mockup {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-body { padding: 24px; }

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.mockup-stat {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.mockup-stat .num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.mockup-stat .lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.mockup-chart {
  height: 120px;
  background: linear-gradient(180deg, var(--primary-light) 0%, transparent 100%);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.mockup-chart::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M0,80 Q50,60 100,70 T200,40 T300,55 T400,20 L400,100 L0,100Z' fill='%233c66ff' opacity='0.2'/%3E%3Cpath d='M0,90 Q50,75 100,80 T200,55 T300,65 T400,35' fill='none' stroke='%233c66ff' stroke-width='2'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: 100% 100%;
}

/* ── Section common ── */
.section {
  padding: 88px 0;
}

.section-alt { background: var(--bg-soft); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

/* ── Workflow (投前/投中/投后 style) ── */
.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.workflow-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.workflow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.workflow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.workflow-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.workflow-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.workflow-card ul {
  margin-top: 14px;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.workflow-card li { margin-bottom: 6px; }

/* ── Highlights ── */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.highlight-card {
  text-align: center;
  padding: 40px 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.highlight-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.highlight-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.highlight-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Products ── */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  align-items: center;
  transition: box-shadow 0.25s;
}

.product-card:hover { box-shadow: var(--shadow); }

.product-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.product-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-info p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}

.product-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-link:hover { text-decoration: underline; }

/* ── Footer (众星云风格) ── */
.site-footer {
  background: #1a2238;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 40px 32px;
  padding: 56px 24px 48px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-logo img {
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo span {
  display: flex;
  flex-direction: column;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.footer-logo small {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.65;
}

.footer-slogan {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-qr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-qr img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  object-fit: contain;
}

.footer-qr span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.7;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.footer-contact-list a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-bottom a:hover { color: rgba(255, 255, 255, 0.85); }

.site-footer a { text-decoration: none; }

/* ── Hero pillars（飞鱼四要素） ── */
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
  max-width: 520px;
}

.hero-pillar {
  padding: 14px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
}

.hero-pillar strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 4px;
}

.hero-pillar span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── Pain points ── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(60, 102, 255, 0.25);
}

.pain-q {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.pain-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}

.pain-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ── Product modules (选号 / 创作) ── */
.product-module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-module-reverse .product-module-grid {
  direction: rtl;
}

.product-module-reverse .product-module-grid > * {
  direction: ltr;
}

.product-module-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin: 12px 0 16px;
  line-height: 1.3;
}

.product-module-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 22px;
}

.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.product-chip {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.product-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.product-chip.is-live {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.product-module-cta { margin-bottom: 12px; }

.product-module-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.module-mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.module-mockup-head {
  padding: 14px 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.module-mockup-rows { padding: 16px 20px; }

.module-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-soft);
}

.module-row:last-child { border-bottom: none; }

.module-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #dce6ff);
  flex-shrink: 0;
}

.module-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), #8aa8ff);
  opacity: 0.7;
}

.module-bar.w80 { max-width: 80%; }
.module-bar.w65 { max-width: 65%; }
.module-bar.w72 { max-width: 72%; }
.module-bar.w58 { max-width: 58%; }

.module-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 36px;
  text-align: right;
}

.module-mockup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.module-mockup-tags span {
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.module-create-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 20px;
}

.module-create-card {
  padding: 20px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.module-create-card span { font-size: 1.5rem; display: block; margin-bottom: 8px; }
.module-create-card b { display: block; font-size: 0.92rem; margin-bottom: 4px; }
.module-create-card small { font-size: 0.75rem; color: var(--text-muted); }

.module-create-card.highlight {
  background: var(--primary-light);
  border-color: rgba(60, 102, 255, 0.3);
}

.module-create-card.highlight b { color: var(--primary); }

/* ── Hero eco mockup ── */
.hero-mockup-eco .mockup-body { padding: 24px 20px; }

.eco-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.eco-node {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  text-align: center;
  min-width: 64px;
}

.eco-node span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
}

.eco-node small {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.eco-node.is-active {
  background: var(--primary-light);
  border-color: rgba(60, 102, 255, 0.35);
  color: var(--primary);
}

.eco-node.is-soon { opacity: 0.65; }

.eco-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.eco-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.eco-metrics b {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
}

.eco-metrics small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── Product matrix ── */
.product-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-eco-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  min-height: 100%;
}

.product-eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(60, 102, 255, 0.25);
  text-decoration: none;
}

.product-eco-card.is-plan { opacity: 0.92; }

.product-eco-status {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.product-eco-status.is-live {
  background: #e8f8f0;
  color: #00a854;
}

.product-eco-status.is-plan {
  background: #f0f2f6;
  color: var(--text-muted);
}

.product-eco-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.product-eco-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.product-eco-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

.product-eco-links {
  list-style: none;
  margin-bottom: 16px;
}

.product-eco-links li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 4px 0 4px 14px;
  position: relative;
}

.product-eco-links li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.product-eco-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── Module status badge ── */
.module-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  margin-left: 8px;
  vertical-align: middle;
}

.module-status.is-live {
  background: #e8f8f0;
  color: #00a854;
}

.module-status.is-plan {
  background: #fff7e6;
  color: #d48806;
}

/* ── Data module mockup ── */
.module-mockup-data .module-data-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px 20px;
}

.module-data-metric {
  padding: 12px;
  background: var(--bg-soft);
  border-radius: 8px;
  text-align: center;
}

.module-data-metric b {
  display: block;
  font-size: 1rem;
  color: var(--primary);
}

.module-data-metric small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.module-data-chart {
  height: 80px;
  margin: 0 20px 20px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(60, 102, 255, 0.12) 0%, transparent 100%);
  border-bottom: 2px solid var(--primary);
}

/* ── Mini program mockup ── */
.module-mockup-mini .module-mini-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.module-mini-tabs span {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-muted);
}

.module-mini-tabs .is-active {
  background: #fff;
  color: #ff5f15;
  font-weight: 600;
}

.module-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
}

.module-mini-item {
  padding: 12px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  background: #fff;
}

.module-mini-item span { font-size: 1.2rem; display: block; margin-bottom: 4px; }
.module-mini-item b { font-size: 0.72rem; font-weight: 600; }

/* ── Live module mockup ── */
.module-mockup-live .module-live-preview {
  padding: 24px 20px;
  text-align: center;
}

.module-live-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: #fff7e6;
  color: #d48806;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.module-live-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.module-live-stats > div {
  padding: 14px 10px;
  background: var(--bg-soft);
  border-radius: 8px;
}

.module-live-stats b {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
}

.module-live-stats small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── About card ── */
.about-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  max-width: 860px;
  margin: 0 auto;
}

.about-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 14px;
}

.about-card p:last-of-type { margin-bottom: 20px; }

.about-card strong { color: var(--text); }

.about-products {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-products span {
  font-size: 0.82rem;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
}

.about-products em {
  font-style: normal;
  margin-left: 6px;
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
}

.cta-banner-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  margin: -12px 0 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-btn-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta-btn-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* ── Mini program QR ── */
.module-mockup-qr .miniprogram-qr-wrap {
  padding: 28px 24px 32px;
  text-align: center;
}

.miniprogram-qr-img {
  display: block;
  width: 220px;
  height: 220px;
  margin: 0 auto 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  object-fit: contain;
}

.miniprogram-qr-tip {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.miniprogram-qr-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

/* ── CTA Banner ── */
.cta-banner {
  padding: 72px 0;
  background: linear-gradient(135deg, #1a1d26 0%, #2d3561 50%, #3c66ff 100%);
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 28px;
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1.05rem;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    align-items: stretch;
  }
  .nav-item { width: 100%; }
  .mega-dropdown {
    position: static;
    transform: none;
    min-width: 0;
    padding-top: 0;
  }
  .nav-item.active .mega-dropdown { display: block; }
  .mega-dropdown-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 12px 0 4px 12px;
    border: none;
    box-shadow: none;
  }
  .nav-toggle { display: block; }
  .btn-console { display: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-pillars { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .product-matrix { grid-template-columns: repeat(2, 1fr); }
  .product-module-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-module-reverse .product-module-grid { direction: ltr; }
  .hero-visual { order: -1; }
  .workflow, .highlights, .features-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding: 40px 24px 36px;
  }
}

@media (max-width: 640px) {
  .nav-actions .btn-primary { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-pillars { grid-template-columns: 1fr 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .product-matrix { grid-template-columns: 1fr; }
  .module-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px 32px;
  }
  .footer-slogan { max-width: none; }
  .product-card { flex-direction: column; text-align: center; }
}
