/* roulang page: index */
:root {
  --bg-dark: #0C0E14;
  --bg-card: #131722;
  --bg-card-hover: #161B26;
  --text-main: #F5F7FA;
  --text-muted: #9EABB8;
  --text-dim: #5C6675;
  --accent-green: #00FF88;
  --accent-green-glow: rgba(0, 255, 136, 0.15);
  --accent-orange: #FF5722;
  --border-color: #202738;
  --border-focus: #00FF88;
  --font-mono: Consolas, "JetBrains Mono", monospace;
  --font-sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius-sm: 4px;
  --shadow-tech: 0 4px 20px rgba(0, 255, 136, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部状态与导航条 */
.top-notice-bar {
  background-color: #07090D;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-dim);
  padding: 8px 0;
}
.notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(12, 14, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.brand-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo span {
  color: var(--accent-green);
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.nav-link {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-green);
}
.btn-nav {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  background-color: transparent;
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-nav:hover {
  background-color: var(--accent-green);
  color: #000;
  box-shadow: 0 0 15px var(--accent-green-glow);
}

/* 布局与通用板块 */
section {
  padding: 90px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.section-alt {
  background-color: var(--bg-card);
}
.section-header {
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent-green);
  font-family: var(--font-mono);
  background: var(--accent-green-glow);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 255, 136, 0.2);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.7;
}

/* 按钮规范 */
.btn-primary {
  display: inline-block;
  background-color: var(--accent-green);
  color: #000;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
  transition: all 0.25s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}
.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--text-main);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}
.btn-secondary:hover {
  border-color: var(--text-muted);
  background-color: rgba(255, 255, 255, 0.04);
}

/* 板块1：Hero 首屏（提问式线索获客首屏） */
#banner-carousel {
  padding: 80px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.05), transparent 50%),
              url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.hero-content h1 {
  font-size: 44px;
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--accent-green);
}
.hero-intro {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.hero-badge-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.badge-item {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  background: rgba(22, 27, 38, 0.8);
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}
.badge-item strong {
  color: var(--accent-green);
}
.hero-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.hero-form-box h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.hero-form-box p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.form-input, .form-select {
  width: 100%;
  padding: 10px 14px;
  background-color: #0C0E14;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 14px;
  outline: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--accent-green);
}

/* 板块2：全球覆盖与防护拓扑 */
.global-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.global-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-sm);
}
.global-card .node-tag {
  font-family: var(--font-mono);
  color: var(--accent-green);
  font-size: 12px;
  margin-bottom: 8px;
}
.global-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}
.global-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 板块3：场景卡 */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.scenario-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}
.scenario-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent-green);
}
.scenario-box .img-wrap {
  height: 160px;
  overflow: hidden;
  position: relative;
}
.scenario-box .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scenario-detail {
  padding: 20px;
}
.scenario-detail h4 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text-main);
}
.scenario-detail p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 板块4：本地化与合规底座能力 */
.base-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.base-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.spec-item {
  background: rgba(12, 14, 20, 0.6);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-sm);
}
.spec-item .num {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent-green);
  font-weight: 700;
}
.spec-item .lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 板块5：核心技术六矩阵 */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}
.matrix-card:hover {
  border-color: var(--accent-green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-tech);
}
.matrix-card .card-code {
  font-family: var(--font-mono);
  color: var(--accent-green);
  font-size: 12px;
  margin-bottom: 12px;
}
.matrix-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}
.matrix-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 板块6：产品方案对比矩阵 */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prod-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}
.prod-card.featured {
  border-color: var(--accent-green);
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.1);
  position: relative;
}
.prod-card .badge-rec {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent-green);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
}
.prod-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}
.prod-card .prod-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 40px;
}
.prod-list {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}
.prod-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.prod-list li strong {
  color: var(--text-main);
}

/* 板块7：深层防御攻防比对 */
.contrast-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contrast-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius-sm);
}
.contrast-box.warn {
  border-left: 4px solid var(--accent-orange);
}
.contrast-box.safe {
  border-left: 4px solid var(--accent-green);
}
.contrast-box h4 {
  font-size: 18px;
  margin-bottom: 16px;
}
.contrast-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}
.contrast-row span {
  color: var(--text-muted);
}
.contrast-row strong {
  font-family: var(--font-mono);
}

/* 板块8：实时攻防数据看板 */
.live-metrics-strip {
  background: #090B10;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 48px 0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.metric-val {
  font-size: 38px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-green);
  line-height: 1;
  margin-bottom: 10px;
}
.metric-name {
  font-size: 14px;
  color: var(--text-muted);
}

/* 板块9：客户案例深度 */
.story-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-content {
  padding: 40px;
}
.story-content h4 {
  font-size: 22px;
  margin-bottom: 14px;
}
.story-quote {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  border-left: 2px solid var(--accent-green);
  padding-left: 16px;
}
.story-metrics-mini {
  display: flex;
  gap: 30px;
}
.story-metrics-mini div strong {
  display: block;
  font-size: 20px;
  font-family: var(--font-mono);
  color: var(--accent-green);
}
.story-metrics-mini div span {
  font-size: 12px;
  color: var(--text-dim);
}

/* 板块10：服务套餐与定价 */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
}
.price-head {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.price-head h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.price-head .cost {
  font-size: 28px;
  font-family: var(--font-mono);
  color: var(--accent-green);
  font-weight: 700;
}
.price-head .cost span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: normal;
}
.price-features {
  list-style: none;
  margin-bottom: 28px;
}
.price-features li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
}

/* 板块11：客户真实反馈评价墙 */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-sm);
}
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #202738;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-green);
}
.reviewer-title h5 {
  font-size: 15px;
  color: var(--text-main);
}
.reviewer-title span {
  font-size: 12px;
  color: var(--text-dim);
}
.review-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 板块12：资讯技术内参 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: all 0.3s ease;
}
.news-card:hover {
  border-color: var(--accent-green);
}
.news-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-green);
  margin-bottom: 8px;
}
.news-card h4 {
  font-size: 17px;
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 板块13：收口联系与部署表单 */
#bottom-cta {
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.08), transparent 70%), #0C0E14;
  border-top: 1px solid var(--border-color);
}
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--accent-green);
  border-radius: var(--radius-sm);
  padding: 48px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
  max-width: 900px;
  margin: 0 auto;
}
.cta-box h3 {
  font-size: 28px;
  margin-bottom: 14px;
}
.cta-box p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.cta-form-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-form-row input, .cta-form-row select {
  padding: 12px 18px;
  background: #0C0E14;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 14px;
  min-width: 200px;
}

/* 页脚样式 */
footer.site-footer {
  background-color: #07090D;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  font-size: 13px;
  color: var(--text-dim);
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h5 {
  color: var(--text-main);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.footer-col p {
  line-height: 1.7;
  color: var(--text-muted);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a:hover {
  color: var(--accent-green);
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* 响应式断点 */
@media (max-width: 1024px) {
  .hero-grid, .base-layout, .story-box {
    grid-template-columns: 1fr;
  }
  .global-grid, .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .matrix-grid, .prod-grid, .price-grid, .review-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .contrast-wrapper {
    grid-template-columns: 1fr;
  }
  .matrix-grid, .prod-grid, .price-grid, .review-grid, .news-grid, .global-grid, .scenario-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .cta-form-row {
    flex-direction: column;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
}
