/* roulang page: index */
:root {
  --bg-main: #121212;
  --bg-surface: #1a1a1a;
  --bg-card: #202020;
  --bg-subtle: #292929;
  --text-primary: #E0E0E0;
  --text-muted: #9E9E9E;
  --text-heading: #FFFFFF;
  --accent-cyan: #00E5FF;
  --accent-red: #FF5F5F;
  --border-color: #333333;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --transition: all 0.3s ease;
  --radius: 4px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
}

.mono {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--accent-cyan);
  border-radius: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  outline: none;
}

.btn-cyan {
  background-color: var(--accent-cyan);
  color: #000000;
}

.btn-cyan:hover {
  background-color: #00b8cc;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-heading);
  font-size: 24px;
  cursor: pointer;
}

/* Base Sections */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface);
}

.section-head {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.section-desc {
  max-width: 760px;
  color: var(--text-muted);
  font-size: 16px;
}

/* 1. Hero Section */
.hero-section {
  padding: 100px 0 110px;
  position: relative;
  background-image: linear-gradient(rgba(18, 18, 18, 0.88), rgba(18, 18, 18, 0.98)), url('/assets/images/全量超高清沉浸互动观赛_移动云VR_换个方式打开世界杯__场景_赛事_直播.png');
  background-size: cover;
  background-position: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-heading);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--accent-cyan);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-card-form {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.form-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-heading);
  font-size: 14px;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

/* 2. 指标看板 */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  background-color: var(--bg-card);
  padding: 28px 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.metric-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 15px;
  color: var(--text-heading);
  font-weight: 600;
  margin-bottom: 6px;
}

.metric-detail {
  font-size: 13px;
  color: var(--text-muted);
}

/* 3. 服务矩阵 */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.matrix-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.matrix-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.matrix-code {
  font-size: 12px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.matrix-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.matrix-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.matrix-spec {
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
}

/* 4. 结果对比 */
.compare-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.compare-col {
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.compare-col.legacy {
  background-color: rgba(32, 32, 32, 0.4);
}

.compare-col.platform {
  background-color: var(--bg-card);
  border-color: var(--accent-cyan);
}

.compare-head {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.compare-head .badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 2px;
}

.badge-gray {
  background: #333;
  color: #bbb;
}

.badge-cyan {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.compare-list {
  list-style: none;
}

.compare-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.compare-item:last-child {
  border-bottom: none;
}

.compare-label {
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.compare-text {
  color: var(--text-muted);
}

/* 5. 里程碑 */
.timeline-flow {
  position: relative;
  border-left: 2px solid var(--border-color);
  margin-left: 20px;
  padding-left: 32px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -39px;
  top: 4px;
  width: 12px;
  height: 12px;
  background-color: var(--bg-main);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
}

.timeline-date {
  font-size: 13px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* 6. 平台保障 */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sec-card {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.sec-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-red);
  margin-bottom: 16px;
}

.sec-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.sec-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 7. 热门测试场景 */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scene-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.scene-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.scene-body {
  padding: 24px;
}

.scene-tag {
  font-size: 12px;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.scene-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.scene-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 8. 资讯动态 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  gap: 24px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.news-date {
  font-size: 13px;
  color: var(--text-muted);
}

.news-cat {
  font-size: 12px;
  padding: 2px 6px;
  background-color: #2c2c2c;
  color: var(--accent-cyan);
  border-radius: 2px;
}

.news-content {
  flex-grow: 1;
}

.news-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.news-summary {
  font-size: 13px;
  color: var(--text-muted);
}

/* 9. 快速解答 */
.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.quick-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.quick-q {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-q::before {
  content: "Q";
  color: var(--accent-cyan);
  font-weight: 800;
}

.quick-a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 10. FAQ 手风琴 */
.faq-box {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: var(--bg-surface);
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle::after {
  content: "+";
  font-size: 20px;
  color: var(--accent-cyan);
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle::after {
  content: "−";
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 28px;
}

.faq-item.active .faq-panel {
  padding-bottom: 24px;
}

.faq-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 11. 底部 CTA */
.cta-box {
  background: linear-gradient(145deg, #1d1d1d, #141414);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius);
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.cta-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-form-row {
  display: flex;
  gap: 12px;
}

/* 12. Footer */
.site-footer {
  background-color: #0b0b0b;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.footer-info {
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-meta-verification {
  display: flex;
  gap: 16px;
}

/* 响应式断点 */
@media (max-width: 1024px) {
  .hero-grid, .cta-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .matrix-grid, .scenarios-grid, .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .compare-container, .quick-grid {
    grid-template-columns: 1fr;
  }
  .matrix-grid, .scenarios-grid, .security-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    flex-direction: column;
    gap: 8px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
