/* roulang page: index */
:root {
      --primary: #0B3B60;
      --primary-dark: #07253D;
      --accent: #00C48C;
      --accent-hover: #00A876;
      --dark-surface: #0F141C;
      --dark-card: #18202C;
      --bg-light: #F8F9FA;
      --bg-white: #FFFFFF;
      --text-main: #111827;
      --text-muted: #4B5563;
      --text-light: #9CA3AF;
      --border-light: #E5E7EB;
      --border-dark: rgba(255, 255, 255, 0.08);
      --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
      --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 14px rgba(11, 59, 96, 0.08);
      --shadow-lg: 0 12px 30px rgba(11, 59, 96, 0.12);
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 12px;
      --container-max: 1240px;
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }
    body {
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      color: var(--text-main);
      background-color: var(--bg-white);
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }
    .mono-num {
      font-family: var(--font-mono);
      font-variant-numeric: tabular-nums;
    }
    /* 顶部导航 */
    .top-bar {
      background-color: var(--primary-dark);
      color: #94A3B8;
      font-size: 13px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 6px 0;
    }
    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .status-indicator {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #E2E8F0;
    }
    .status-dot {
      width: 8px;
      height: 8px;
      background-color: var(--accent);
      border-radius: 50%;
      box-shadow: 0 0 6px var(--accent);
      display: inline-block;
    }
    .main-nav-wrapper {
      position: sticky;
      top: 0;
      z-index: 100;
      background-color: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-light);
    }
    .main-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 20px;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: -0.5px;
    }
    .logo-badge {
      background-color: var(--primary);
      color: #FFF;
      padding: 3px 8px;
      font-size: 12px;
      border-radius: var(--radius-sm);
      font-family: var(--font-mono);
      font-weight: 600;
    }
    .nav-links {
      display: flex;
      align-items: center;
      list-style: none;
      gap: 28px;
    }
    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-main);
      padding: 8px 0;
      position: relative;
    }
    .nav-links a:hover, .nav-links a.active {
      color: var(--primary);
    }
    .nav-links a.active::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: var(--accent);
    }
    .nav-cta-btn {
      background-color: var(--accent);
      color: #032219;
      font-size: 14px;
      font-weight: 600;
      padding: 10px 20px;
      border-radius: var(--radius-sm);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s ease;
      border: none;
      cursor: pointer;
    }
    .nav-cta-btn:hover {
      background-color: var(--accent-hover);
      transform: translateY(-1px);
      box-shadow: 0 4px 10px rgba(0, 196, 140, 0.25);
    }
    /* 通用排版 */
    .section-padding {
      padding: 96px 0;
    }
    .bg-alt {
      background-color: var(--bg-light);
    }
    .section-head {
      margin-bottom: 56px;
    }
    .section-head.center {
      text-align: center;
      max-width: 780px;
      margin-left: auto;
      margin-right: auto;
    }
    .section-eyebrow {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 8px;
      background: rgba(11, 59, 96, 0.08);
      padding: 4px 10px;
      border-radius: 3px;
    }
    .section-title {
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.5px;
      line-height: 1.25;
      color: var(--text-main);
      margin-bottom: 16px;
    }
    .section-subtitle {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.7;
    }
    /* Hero 双栏门户 */
    #hero-showcase {
      background-color: var(--primary-dark);
      background-image: linear-gradient(135deg, rgba(7, 37, 61, 0.95), rgba(15, 20, 28, 0.92)), url('/assets/images/数据可视化之雷达图_自助数据集处理_完美演绎球员数据可视化---知乎-1.jpg');
      background-size: cover;
      background-position: center;
      color: #FFF;
      padding: 110px 0 100px;
      position: relative;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 50px;
      align-items: center;
    }
    .hero-h1 {
      font-size: 44px;
      line-height: 1.18;
      font-weight: 800;
      letter-spacing: -0.8px;
      margin-bottom: 22px;
    }
    .hero-h1 span {
      color: var(--accent);
    }
    .hero-desc {
      font-size: 16px;
      line-height: 1.75;
      color: #CBD5E1;
      margin-bottom: 32px;
    }
    .hero-cta-group {
      display: flex;
      gap: 16px;
      margin-bottom: 36px;
    }
    .btn-primary {
      background-color: var(--accent);
      color: #032219;
      font-weight: 600;
      padding: 13px 26px;
      border-radius: var(--radius-sm);
      display: inline-block;
      transition: all 0.2s ease;
    }
    .btn-primary:hover {
      background-color: var(--accent-hover);
      transform: translateY(-2px);
    }
    .btn-outline {
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: #FFF;
      font-weight: 500;
      padding: 13px 24px;
      border-radius: var(--radius-sm);
      display: inline-block;
      transition: all 0.2s ease;
    }
    .btn-outline:hover {
      border-color: #FFF;
      background-color: rgba(255, 255, 255, 0.05);
    }
    .hero-metrics-bar {
      display: flex;
      gap: 28px;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      padding-top: 24px;
    }
    .hero-metric-item strong {
      display: block;
      font-size: 24px;
      color: #FFF;
      font-weight: 700;
    }
    .hero-metric-item span {
      font-size: 13px;
      color: #94A3B8;
    }
    /* Hero 右侧快捷入口网格 */
    .portal-quick-grid {
      background: rgba(15, 20, 28, 0.7);
      backdrop-filter: blur(14px);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-md);
      padding: 24px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    .portal-item {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--radius-sm);
      padding: 18px;
      transition: all 0.25s ease;
    }
    .portal-item:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: var(--accent);
      transform: translateY(-2px);
    }
    .portal-tag {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--accent);
      margin-bottom: 6px;
      display: block;
    }
    .portal-title {
      font-size: 16px;
      font-weight: 600;
      color: #FFF;
      margin-bottom: 6px;
    }
    .portal-summary {
      font-size: 13px;
      color: #94A3B8;
      line-height: 1.5;
    }
    /* 2. 核心架构介绍 (双栏图文) */
    .dual-col-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: center;
    }
    .arch-specs {
      list-style: none;
      margin: 24px 0 32px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .arch-specs li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 15px;
      color: var(--text-muted);
    }
    .arch-specs li b {
      color: var(--text-main);
      font-family: var(--font-mono);
    }
    .spec-icon {
      width: 20px;
      height: 20px;
      background: rgba(0, 196, 140, 0.15);
      color: var(--accent);
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .img-box-styled {
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-md);
      position: relative;
    }
    .img-box-styled img {
      width: 100%;
      height: 380px;
      object-fit: cover;
    }
    /* 3. 技术优势 6卡片网格 */
    .grid-3x2 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .tech-card {
      background: var(--bg-white);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 30px;
      transition: all 0.25s ease;
      position: relative;
    }
    .tech-card:hover {
      border-color: #CBD5E1;
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
    }
    .card-idx {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--accent);
      font-weight: 700;
      margin-bottom: 12px;
      display: block;
    }
    .card-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 10px;
    }
    .card-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
    }
    /* 4. 服务器实例矩阵 */
    .matrix-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      align-items: stretch;
    }
    .matrix-card {
      background: var(--bg-white);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 36px 30px;
      display: flex;
      flex-direction: column;
      position: relative;
    }
    .matrix-card.featured {
      border: 2px solid var(--primary);
      box-shadow: var(--shadow-lg);
      transform: scale(1.02);
    }
    .featured-badge {
      position: absolute;
      top: -13px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--primary);
      color: #FFF;
      font-size: 12px;
      font-weight: 600;
      padding: 3px 14px;
      border-radius: 20px;
      letter-spacing: 0.5px;
    }
    .matrix-tier {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .matrix-sub {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 24px;
      min-height: 40px;
    }
    .spec-table-row {
      display: flex;
      justify-content: space-between;
      padding: 10px 0;
      border-bottom: 1px solid var(--border-light);
      font-size: 14px;
    }
    .spec-table-row span:first-child {
      color: var(--text-muted);
    }
    .spec-table-row span:last-child {
      font-weight: 600;
      font-family: var(--font-mono);
    }
    .matrix-card .btn-primary, .matrix-card .btn-outline-dark {
      margin-top: 30px;
      text-align: center;
      width: 100%;
    }
    .btn-outline-dark {
      border: 1px solid var(--border-light);
      color: var(--text-main);
      font-weight: 600;
      padding: 12px 20px;
      border-radius: var(--radius-sm);
      display: inline-block;
      transition: all 0.2s ease;
    }
    .btn-outline-dark:hover {
      border-color: var(--primary);
      color: var(--primary);
    }
    /* 5. 深色低延迟网络与防御专区 */
    #network-security {
      background-color: var(--dark-surface);
      color: #FFF;
    }
    .sec-dark-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }
    .sec-feature-box {
      background: var(--dark-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-md);
      padding: 24px;
      margin-bottom: 20px;
    }
    .sec-feature-box h4 {
      font-size: 16px;
      color: var(--accent);
      margin-bottom: 8px;
    }
    .sec-feature-box p {
      font-size: 14px;
      color: #94A3B8;
      line-height: 1.6;
    }
    /* 6. 客户落地场景叙事 */
    .story-card-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .story-card {
      background: var(--bg-white);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      overflow: hidden;
    }
    .story-img {
      height: 190px;
      width: 100%;
      object-fit: cover;
    }
    .story-body {
      padding: 24px;
    }
    .story-cat {
      font-size: 12px;
      color: var(--primary);
      font-weight: 600;
      margin-bottom: 8px;
      display: block;
    }
    .story-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 12px;
      line-height: 1.4;
    }
    .story-detail {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
    }
    /* 7. 运行指标看板 */
    #live-metrics {
      background-color: var(--primary);
      color: #FFF;
      padding: 60px 0;
    }
    .metrics-bar-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
      text-align: center;
    }
    .metric-data-point {
      font-size: 38px;
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
      margin-bottom: 8px;
    }
    .metric-data-label {
      font-size: 14px;
      color: #CBD5E1;
      letter-spacing: 0.5px;
    }
    /* 8. 运维团队保障评价 */
    .review-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .review-item {
      background: var(--bg-white);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .review-stars {
      color: #F59E0B;
      font-size: 14px;
      margin-bottom: 14px;
      letter-spacing: 2px;
    }
    .review-text {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 20px;
    }
    .review-author {
      display: flex;
      align-items: center;
      gap: 12px;
      border-top: 1px solid var(--border-light);
      padding-top: 16px;
    }
    .author-role {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-main);
    }
    .author-org {
      font-size: 12px;
      color: var(--text-light);
    }
    /* 9. 游戏开服与运维资讯 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .news-card {
      background: var(--bg-white);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 24px;
      transition: all 0.25s ease;
    }
    .news-card:hover {
      border-color: var(--primary);
    }
    .news-date {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--text-light);
      margin-bottom: 8px;
      display: block;
    }
    .news-title {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 10px;
      line-height: 1.45;
    }
    .news-brief {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }
    /* 10. FAQ 手风琴 */
    .faq-container {
      max-width: 820px;
      margin: 0 auto;
    }
    .faq-item {
      border: 1px solid var(--border-light);
      border-radius: var(--radius-sm);
      margin-bottom: 14px;
      background: var(--bg-white);
    }
    .faq-question {
      padding: 18px 24px;
      font-size: 16px;
      font-weight: 600;
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }
    .faq-question::after {
      content: "+";
      font-size: 20px;
      color: var(--text-muted);
      transition: transform 0.2s ease;
    }
    .faq-item.active .faq-question::after {
      content: "-";
      color: var(--primary);
    }
    .faq-answer {
      display: none;
      padding: 0 24px 20px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
    }
    .faq-item.active .faq-answer {
      display: block;
    }
    /* 11. 全周期保障条 */
    .sla-badge-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .sla-badge-card {
      background: var(--bg-white);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-sm);
      padding: 24px;
      text-align: center;
      border-top: 3px solid var(--accent);
    }
    .sla-badge-card h4 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .sla-badge-card p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }
    /* 12. 商业咨询转化表单 */
    .consult-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }
    .consult-form {
      background: var(--bg-white);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 36px;
      box-shadow: var(--shadow-sm);
    }
    .form-group {
      margin-bottom: 20px;
    }
    .form-group label {
      display: block;
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 8px;
    }
    .form-control {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-family: inherit;
    }
    .form-control:focus {
      outline: none;
      border-color: var(--primary);
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    /* Footer */
    .site-footer {
      background-color: var(--dark-surface);
      color: #94A3B8;
      font-size: 14px;
      padding: 60px 0 30px;
      border-top: 1px solid var(--border-dark);
    }
    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 48px;
    }
    .footer-brand {
      color: #FFF;
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .footer-desc {
      font-size: 13px;
      line-height: 1.7;
      color: #64748B;
      margin-bottom: 18px;
    }
    .footer-title {
      color: #FFF;
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 18px;
    }
    .footer-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-list a {
      color: #94A3B8;
      font-size: 13px;
    }
    .footer-list a:hover {
      color: var(--accent);
    }
    .footer-bottom {
      border-top: 1px solid var(--border-dark);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: #64748B;
    }
    .footer-bottom a {
      color: #64748B;
    }
    .footer-bottom a:hover {
      color: #CBD5E1;
    }

    /* 响应式样式 */
    @media (max-width: 1024px) {
      .hero-grid, .dual-col-layout, .sec-dark-grid, .consult-layout {
        grid-template-columns: 1fr;
        gap: 36px;
      }
      .grid-3x2, .matrix-grid, .story-card-grid, .review-grid, .news-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .metrics-bar-grid, .sla-badge-row {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-top {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 768px) {
      .top-bar {
        display: none;
      }
      .main-nav {
        height: 60px;
      }
      .nav-links {
        display: none;
      }
      .hero-h1 {
        font-size: 30px;
      }
      .grid-3x2, .matrix-grid, .story-card-grid, .review-grid, .news-grid, .portal-quick-grid, .metrics-bar-grid, .sla-badge-row, .footer-top {
        grid-template-columns: 1fr;
      }
      .section-padding {
        padding: 56px 0;
      }
      .matrix-card.featured {
        transform: none;
      }
      .form-row {
        grid-template-columns: 1fr;
      }
      .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
      .hero-metrics-bar {
        flex-wrap: wrap;
        gap: 16px;
      }
    }
