/* roulang page: index */
:root {
      --bg-dark: #0a0f1d;
      --bg-card: #121a2e;
      --bg-alt: #0d1424;
      --primary: #00e599;
      --primary-hover: #00c784;
      --secondary: #2f80ed;
      --text-main: #f0f4f8;
      --text-muted: #94a3b8;
      --border-color: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(0, 229, 153, 0.5);
      --badge-bg: rgba(0, 229, 153, 0.12);
      --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
      --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.45);
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 20px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      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: 1240px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 顶部导航 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(10, 15, 29, 0.88);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border-color);
      height: 72px;
      display: flex;
      align-items: center;
    }

    .nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.5px;
      color: #fff;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #050b14;
      font-weight: 900;
      font-size: 16px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-link {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-muted);
    }

    .nav-link:hover, .nav-link.active {
      color: var(--primary);
    }

    .nav-action {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.25s ease;
      border: 1px solid transparent;
      white-space: nowrap;
    }

    .btn-primary {
      background-color: var(--primary);
      color: #050b14;
    }

    .btn-primary:hover {
      background-color: var(--primary-hover);
      box-shadow: 0 0 16px rgba(0, 229, 153, 0.4);
      transform: translateY(-1px);
    }

    .btn-outline {
      border-color: var(--border-color);
      color: var(--text-main);
      background: rgba(255, 255, 255, 0.03);
    }

    .btn-outline:hover {
      border-color: var(--primary);
      color: var(--primary);
      background: rgba(0, 229, 153, 0.05);
    }

    /* 板块通用规范 */
    .section-block {
      padding: 96px 0;
      position: relative;
    }

    .section-alt {
      background-color: var(--bg-alt);
    }

    .section-header {
      margin-bottom: 56px;
      text-align: center;
      max-width: 820px;
      margin-left: auto;
      margin-right: auto;
    }

    .section-tag {
      display: inline-block;
      padding: 4px 12px;
      background: var(--badge-bg);
      color: var(--primary);
      font-size: 12px;
      font-weight: 600;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 12px;
      border: 1px solid rgba(0, 229, 153, 0.25);
    }

    .section-title {
      font-size: 34px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 16px;
      color: #fff;
    }

    .section-subtitle {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 首屏前后对比 */
    .hero-section {
      padding: 100px 0 80px;
      background: radial-gradient(circle at 50% 20%, rgba(47, 128, 237, 0.15) 0%, rgba(10, 15, 29, 0) 70%), var(--bg-dark);
      border-bottom: 1px solid var(--border-color);
      position: relative;
    }

    .hero-content {
      text-align: center;
      max-width: 900px;
      margin: 0 auto 56px;
    }

    .hero-title {
      font-size: 46px;
      line-height: 1.25;
      font-weight: 800;
      margin-bottom: 20px;
      letter-spacing: -0.8px;
    }

    .hero-title .highlight {
      background: linear-gradient(120deg, #00e599 0%, #2f80ed 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-desc {
      font-size: 17px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 32px;
    }

    .hero-actions {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-bottom: 48px;
    }

    .compare-stage {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 36px;
      box-shadow: var(--shadow-lg);
    }

    .compare-card {
      background: rgba(10, 15, 29, 0.6);
      border-radius: var(--radius-md);
      padding: 28px;
      border: 1px solid var(--border-color);
      position: relative;
      overflow: hidden;
    }

    .compare-card.before {
      border-left: 4px solid #ef4444;
    }

    .compare-card.after {
      border-left: 4px solid var(--primary);
      background: linear-gradient(180deg, rgba(0, 229, 153, 0.04) 0%, rgba(10, 15, 29, 0.7) 100%);
    }

    .compare-label {
      font-size: 13px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: var(--radius-sm);
      display: inline-block;
      margin-bottom: 16px;
    }

    .label-before {
      background: rgba(239, 68, 68, 0.15);
      color: #f87171;
    }

    .label-after {
      background: var(--badge-bg);
      color: var(--primary);
    }

    .compare-items {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .compare-items li {
      font-size: 14px;
      color: var(--text-muted);
      display: flex;
      align-items: flex-start;
      gap: 10px;
      line-height: 1.5;
    }

    .compare-items li span {
      flex-shrink: 0;
      margin-top: 2px;
    }

    /* 网格与卡片 */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
      align-items: center;
    }

    .feature-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 32px 24px;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .feature-card:hover {
      border-color: rgba(0, 229, 153, 0.4);
      transform: translateY(-4px);
      box-shadow: var(--shadow-sm);
    }

    .card-icon {
      width: 48px;
      height: 48px;
      border-radius: 10px;
      background: rgba(47, 128, 237, 0.15);
      color: var(--secondary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      margin-bottom: 20px;
    }

    .card-title {
      font-size: 19px;
      font-weight: 600;
      margin-bottom: 12px;
      color: #fff;
    }

    .card-text {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* 流程步骤 */
    .steps-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      position: relative;
    }

    .step-box {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px 20px;
      position: relative;
    }

    .step-num {
      font-size: 32px;
      font-weight: 800;
      color: rgba(0, 229, 153, 0.3);
      line-height: 1;
      margin-bottom: 16px;
    }

    .step-title {
      font-size: 17px;
      font-weight: 600;
      margin-bottom: 10px;
      color: #fff;
    }

    .step-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 演示图文卡 */
    .demo-frame {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }

    .demo-img-wrapper {
      position: relative;
      width: 100%;
      height: 460px;
      background-size: cover;
      background-position: center;
      border-bottom: 1px solid var(--border-color);
    }

    .demo-content-bar {
      padding: 28px 36px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(10, 15, 29, 0.7);
    }

    /* 客户证言 */
    .testimonial-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .testimonial-quote {
      font-size: 15px;
      color: var(--text-main);
      line-height: 1.7;
      margin-bottom: 24px;
      font-style: italic;
    }

    .testimonial-user {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .user-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #1e293b;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--primary);
    }

    .user-info h4 {
      font-size: 15px;
      color: #fff;
    }

    .user-info p {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* 套餐选型对比表 */
    .pricing-table-container {
      overflow-x: auto;
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-color);
    }

    .pricing-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }

    .pricing-table th, .pricing-table td {
      padding: 20px 24px;
      border-bottom: 1px solid var(--border-color);
    }

    .pricing-table th {
      background: rgba(255, 255, 255, 0.02);
      font-size: 16px;
      font-weight: 600;
    }

    .pricing-table th.highlight-col, .pricing-table td.highlight-col {
      background: rgba(0, 229, 153, 0.04);
      border-left: 1px solid rgba(0, 229, 153, 0.2);
      border-right: 1px solid rgba(0, 229, 153, 0.2);
    }

    /* 资讯列表 */
    .article-item {
      display: flex;
      gap: 20px;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .article-item:hover {
      border-color: rgba(0, 229, 153, 0.3);
      transform: translateY(-2px);
    }

    .article-img {
      width: 220px;
      height: 140px;
      object-fit: cover;
      flex-shrink: 0;
    }

    .article-info {
      padding: 16px 20px 16px 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .article-date {
      font-size: 12px;
      color: var(--primary);
      margin-bottom: 6px;
    }

    .article-title {
      font-size: 16px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 8px;
      line-height: 1.4;
    }

    .article-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* 数据指标条 */
    .metric-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }

    .metric-box {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 32px 20px;
    }

    .metric-val {
      font-size: 38px;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 8px;
      line-height: 1;
    }

    .metric-name {
      font-size: 14px;
      color: var(--text-muted);
    }

    /* 安全审计摘要卡 */
    .audit-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .audit-item {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }

    .check-mark {
      color: var(--primary);
      font-size: 18px;
      font-weight: bold;
      line-height: 1;
      margin-top: 4px;
    }

    /* 下载引导 & 终端同步 */
    .download-banner {
      background: linear-gradient(135deg, #101c36 0%, #0a1122 100%);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 48px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 40px;
    }

    .download-options {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* 页脚 */
    .site-footer {
      background: #060913;
      border-top: 1px solid var(--border-color);
      padding: 64px 0 32px;
      font-size: 14px;
      color: var(--text-muted);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 48px;
    }

    .footer-col h4 {
      font-size: 15px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 20px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .footer-col a:hover {
      color: var(--primary);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 28px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 13px;
    }

    /* 移动端菜单控制与响应式 */
    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      color: #fff;
      font-size: 24px;
      cursor: pointer;
    }

    @media (max-width: 1024px) {
      .grid-4, .steps-row, .metric-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .grid-3, .audit-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .compare-stage {
        grid-template-columns: 1fr;
      }
      .hero-title {
        font-size: 38px;
      }
    }

    @media (max-width: 768px) {
      .mobile-menu-btn {
        display: block;
      }
      .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #0a0f1d;
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        gap: 20px;
      }
      .nav-links.active {
        display: flex;
      }
      .grid-3, .grid-4, .steps-row, .metric-grid, .audit-grid, .grid-2 {
        grid-template-columns: 1fr;
      }
      .hero-title {
        font-size: 30px;
      }
      .download-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 20px;
      }
      .download-options {
        justify-content: center;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .article-item {
        flex-direction: column;
      }
      .article-img {
        width: 100%;
        height: 180px;
      }
      .article-info {
        padding: 16px;
      }
    }
