/* ==========================================================
   Robot Nextwin 宣传页样式 —— 深色极简科技风（统一观感）
   配色：深底 #070B12 / 蓝 #3B82F6 / 青 #22D3EE
   ========================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #070b12;
  color: #e2e8f0;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; }

/* --- 全屏 Canvas 粒子背景 --- */
#bgCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
}

/* --- 导航栏：深色毛玻璃 --- */
.navbar {
  position: fixed;
  top: 0; width: 100%;
  z-index: 100;
  background: rgba(7, 11, 18, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo,
.logo:visited,
.logo:hover {
  text-decoration: none;
}

.nav-links a {
  color: #94a3b8;
  text-decoration: none;
  margin: 0 14px;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: #22d3ee; }

.btn-nav {
  background: linear-gradient(90deg, #2563eb, #0891b2);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s;
}
.btn-nav:hover { opacity: 0.85; }

/* 导航右侧操作区：下载按钮 + 汉堡按钮 */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 汉堡菜单按钮：桌面端隐藏 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 36px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #94a3b8;
  transition: transform 0.2s, opacity 0.2s;
}

/* --- 首屏 Hero：左侧文案 + 右侧"视频"画面 --- */
.hero {
  min-height: 100vh;
  padding: 110px 40px 70px;
  position: relative;
  background: radial-gradient(ellipse at 70% 45%, rgba(37, 99, 235, 0.18), transparent 60%);
}

.hero-main {
  max-width: 1140px;
  margin: 0 auto;
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

/* 右侧"视频"画布：圆角 + 蓝色描边，像一块屏幕 */
#videoCanvas {
  width: min(560px, 44vw);
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.25), 0 12px 40px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.hero-content {
  max-width: 560px;
  text-align: left;
}

/* 底部滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #64748b;
  font-size: 13px;
  letter-spacing: 2px;
  animation: hintFloat 1.6s ease-in-out infinite;
}

@keyframes hintFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 999px;
  color: #22d3ee;
  font-size: 14px;
  margin-bottom: 24px;
  background: rgba(34, 211, 238, 0.06);
}

.hero h1 {
  font-size: 72px;
  letter-spacing: 3px;
  color: #f8fafc;
}

.hero h1 em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 28px;
  letter-spacing: 1px;
  color: #cbd5e1;
}
.hero h1 span {
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 26px;
  margin: 20px 0 12px;
  color: #e2e8f0;
}

.hero-desc {
  font-size: 16px;
  color: #94a3b8;
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-desc strong { color: #22d3ee; font-size: 20px; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-start; }

.hero-download {
  max-width: 760px;
  margin: 26px auto 0;
  padding: 22px 24px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 14, 24, 0.92), rgba(7, 11, 18, 0.88));
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.06), 0 16px 48px rgba(0, 0, 0, 0.28);
}

.hero-download-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-download-label {
  color: #f8fafc;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.hero-download-tip {
  color: #64748b;
  font-size: 13px;
}

.hero-download-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 16px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

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

.download-btn-primary {
  background: linear-gradient(90deg, #2563eb, #0891b2);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
}

.download-btn-primary:hover {
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.4);
}

.download-btn-secondary {
  background: linear-gradient(90deg, #2563eb, #0891b2);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
}

.download-btn-secondary:hover {
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.4);
}

.download-btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-btn-primary .download-btn-icon {
  background: rgba(255, 255, 255, 0.14);
}

.download-btn-secondary .download-btn-icon {
  background: rgba(255, 255, 255, 0.14);
}

.download-btn-icon svg {
  width: 22px;
  height: 22px;
}

.download-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.download-btn-text strong {
  font-size: 16px;
  font-weight: bold;
}

.download-btn-text small {
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.82;
}

/* --- 产品介绍板块 --- */
.intro-box {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 14px;
  padding: 40px 44px;
  backdrop-filter: blur(6px);
  text-align: center;
}

.intro-box p {
  color: #cbd5e1;
  font-size: 16px;
  margin-bottom: 14px;
}

.intro-chips {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.intro-chips span {
  font-size: 13px;
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.06);
  border-radius: 999px;
  padding: 6px 18px;
}

/* --- 三大优势板块 --- */
.why-row {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto 24px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 26px 36px;
  backdrop-filter: blur(6px);
  transition: transform 0.2s, border-color 0.2s;
}

.why-row:hover {
  transform: translateX(6px);
  border-color: rgba(34, 211, 238, 0.45);
}

.why-num {
  font-size: 44px;
  font-weight: bold;
  background: linear-gradient(180deg, #3b82f6, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}

.why-row h3 { font-size: 20px; color: #f1f5f9; margin-bottom: 6px; }
.why-row p { font-size: 14px; color: #94a3b8; }

/* --- 按钮 --- */
.btn-primary, .btn-ghost {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(90deg, #2563eb, #0891b2);
  color: #fff;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5);
}

.btn-ghost {
  background: transparent;
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.45);
}
.btn-ghost:hover { background: rgba(34, 211, 238, 0.08); }

/* --- 数据滚动条 --- */
.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 48px 24px;
  background: rgba(15, 23, 42, 0.5);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(6px);
}

.stat { text-align: center; }

.stat-num {
  font-size: 40px;
  font-weight: bold;
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label { color: #94a3b8; font-size: 14px; margin-top: 4px; }

/* --- 通用区块 --- */
.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 90px 24px;
}

.section-title {
  font-size: 34px;
  text-align: center;
  margin-bottom: 14px;
  color: #f1f5f9;
  letter-spacing: 1px;
}

/* 标题下方的渐变细线，科技感的点睛之笔 */
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
}

.section-sub {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 56px;
}

/* --- 数据依据区 --- */
.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.data-list {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 12px 24px;
  backdrop-filter: blur(6px);
}

.data-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
}
.data-item:last-child { border-bottom: none; }

.data-icon { font-size: 28px; }

.data-item h3 { font-size: 17px; color: #60a5fa; margin-bottom: 4px; }
.data-item p { font-size: 14px; color: #94a3b8; }

.chart-box {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(6px);
}

.chart-box h3 { font-size: 15px; color: #cbd5e1; margin-bottom: 12px; text-align: center; }

#chartCanvas { width: 100%; height: auto; }

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  margin-top: 8px;
}
.legend-on { color: #3b82f6; }
.legend-off { color: #64748b; }

/* --- 优势卡片：深色玻璃卡片 --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 28px 24px;
  backdrop-filter: blur(6px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.18);
}

.card-icon { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 18px; color: #60a5fa; margin-bottom: 8px; }
.card p { font-size: 14px; color: #94a3b8; }

/* --- 在线演示区 --- */
.demo-box {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(6px);
}

#demoCanvas {
  width: 100%;
  max-width: 860px;
  background: #0b1220;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.demo-controls {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.demo-status { color: #94a3b8; font-size: 14px; }

.demo-tags {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-tags span {
  font-size: 12px;
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.06);
  border-radius: 999px;
  padding: 4px 14px;
}

/* --- 价格方案 --- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(6px);
}

.price-card.hot {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 44px rgba(37, 99, 235, 0.22);
  transform: scale(1.03);
}

.hot-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #2563eb, #0891b2);
  color: #fff;
  font-size: 12px;
  padding: 4px 16px;
  border-radius: 999px;
}

.price-card h3 { font-size: 20px; color: #cbd5e1; }

.price {
  font-size: 42px;
  font-weight: bold;
  margin: 16px 0 20px;
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price span { font-size: 16px; -webkit-text-fill-color: #94a3b8; }

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  flex-grow: 1;
}

.price-card li {
  font-size: 14px;
  color: #94a3b8;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(59, 130, 246, 0.15);
}
.price-card li::before { content: "✓ "; color: #22d3ee; font-weight: bold; }

.btn-plan {
  display: block;
  padding: 12px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 8px;
  color: #22d3ee;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-plan:hover { background: rgba(34, 211, 238, 0.08); }

.btn-block { display: block; }

/* --- 结尾 CTA --- */
.final-cta {
  text-align: center;
  padding: 100px 24px;
  background: radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.15), transparent 65%);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.final-cta h2 { font-size: 32px; margin-bottom: 28px; color: #f1f5f9; }

/* --- 联系方式 --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.2s, border-color 0.2s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.45);
}

.contact-icon { font-size: 32px; margin-bottom: 10px; }

.contact-card h3 { font-size: 18px; color: #f1f5f9; margin-bottom: 10px; }

.contact-value {
  font-size: 22px;
  font-weight: bold;
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.qr-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 8px;
}

.contact-tip { font-size: 13px; color: #64748b; }

.page-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.page-hero {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.page-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  background: rgba(34, 211, 238, 0.06);
  color: #22d3ee;
  font-size: 13px;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: 42px;
  color: #f8fafc;
  margin-bottom: 14px;
}

.page-lead {
  max-width: 760px;
  margin: 0 auto;
  color: #94a3b8;
  font-size: 17px;
}

.page-panel {
  margin-bottom: 34px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-bottom: 34px;
}

.info-card,
.faq-item {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 14px;
  padding: 28px 24px;
  backdrop-filter: blur(6px);
}

.info-card h2,
.faq-item h2,
.faq-item h3 {
  color: #f1f5f9;
  margin-bottom: 12px;
  font-size: 22px;
}

.content-list {
  margin-left: 18px;
  color: #cbd5e1;
}

.content-list li + li {
  margin-top: 10px;
}

.ordered-list {
  list-style: decimal;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item p {
  color: #94a3b8;
  font-size: 15px;
}

.faq-item a,
.info-card a {
  color: #22d3ee;
  text-decoration: none;
}

.faq-item a:hover,
.info-card a:hover {
  text-decoration: underline;
}

.compact-faq .faq-item h3 {
  font-size: 18px;
}

.page-download {
  max-width: none;
  margin-top: 0;
}

.faq-home-actions {
  margin-top: 26px;
  text-align: center;
}

#home-faq {
  max-width: 1180px;
  margin: 0 auto;
}

#home-faq .section-sub {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

#home-faq .faq-list {
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

#home-faq .faq-item {
  min-height: 100%;
  padding: 30px 30px 26px;
  border-color: rgba(59, 130, 246, 0.2);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(8, 15, 30, 0.68));
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.28);
  text-align: center;
}

#home-faq .faq-item h3 {
  font-size: 19px;
  line-height: 1.45;
}

#home-faq .faq-item p {
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.9;
}

/* --- 页脚 --- */
.footer {
  text-align: center;
  padding: 36px 20px;
  color: #94a3b8;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #22d3ee;
}

.copyright { font-size: 13px; margin-top: 6px; color: #475569; }

/* --- 手机端适配 --- */
@media (max-width: 768px) {
  .hero-main { flex-direction: column-reverse; text-align: center; gap: 32px; min-height: auto; }
  .hero-content { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-download { text-align: center; }
  .hero-download-head { justify-content: center; }
  .hero-download-actions { grid-template-columns: 1fr; }
  #videoCanvas { width: 92vw; }
  .hero h1 { font-size: 44px; }
  .hero h1 em { font-size: 20px; }
  .hero-sub { font-size: 20px; }
  .page-shell { padding-top: 104px; }
  .page-hero h1 { font-size: 32px; }
  #home-faq .faq-list { grid-template-columns: 1fr; }
  #home-faq .faq-item { padding: 24px 22px; }
  .data-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { gap: 28px; }
  /* 移动端导航：隐藏横向链接，改用汉堡按钮 + 下拉菜单 */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 11, 18, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.12);
    padding: 10px 24px 18px;
  }
  .navbar.open .nav-links { display: flex; }
  .nav-links a { margin: 10px 0; font-size: 16px; }
  /* 汉堡按钮打开时变叉号 */
  .navbar.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navbar.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .navbar.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .price-card.hot { transform: none; }
  .why-row { flex-direction: column; text-align: center; gap: 12px; }
}
