/* roulang page: index */
/* ----- 设计变量与全局重置 ----- */
    :root {
      --primary: #E3001B;
      --primary-dark: #B80015;
      --secondary: #0A0E27;
      --secondary-light: #1A1F3A;
      --accent: #00E5FF;
      --text-light: #FFFFFF;
      --text-dark: #1A1A1A;
      --text-muted: #B0B8C1;
      --bg-light: #F4F6FA;
      --border-dark: #2A2F45;
      --border-light: #E0E4EA;
      --gradient-red: linear-gradient(135deg, #E3001B 0%, #FF4D6A 100%);
      --gradient-dark: linear-gradient(180deg, #0A0E27 0%, #1A1F3A 100%);
      --card-shadow: 0 8px 32px rgba(0,0,0,0.18);
      --card-shadow-hover: 0 16px 48px rgba(0,0,0,0.28);
      --btn-shadow: 0 4px 16px rgba(227,0,27,0.35);
      --btn-shadow-hover: 0 8px 24px rgba(227,0,27,0.5);
      --radius-card: 20px;
      --radius-btn: 12px;
      --radius-input: 10px;
      --radius-badge: 14px;
      --font-inter: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
      --container-max: 1200px;
      --section-gap: 120px;
      --card-gap: 32px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-inter);
      color: var(--text-dark);
      background-color: #fff;
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      display: block;
    }

    button, input, textarea {
      font-family: inherit;
    }

    /* 标题默认 */
    h1, h2, h3 {
      font-weight: 700;
    }

    /* ----- 导航 (沉浸式固定顶栏) ----- */
    #nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      transition: background 0.3s ease, backdrop-filter 0.3s ease;
      background: transparent;
      backdrop-filter: blur(0px);
    }

    #nav.scrolled {
      background: rgba(10, 14, 39, 0.92);
      backdrop-filter: blur(16px);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 18px 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 24px;
      color: #fff;
      letter-spacing: -0.3px;
    }
    .logo i {
      color: var(--primary);
      font-size: 28px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      color: #FFFFFF;
      font-weight: 500;
      font-size: 15px;
      transition: color 0.2s;
      position: relative;
    }

    .nav-links a:hover {
      color: #fff;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.2s;
    }
    .nav-links a:hover::after {
      width: 100%;
    }

    .btn-nav {
      background: var(--gradient-red);
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      color: #fff !important;
      font-weight: 600;
      box-shadow: var(--btn-shadow);
      transition: all 0.3s ease;
      margin-left: 8px;
    }
    .btn-nav:hover {
      box-shadow: var(--btn-shadow-hover);
      transform: translateY(-1px);
    }

    .hamburger {
      display: none;
      background: none;
      border: none;
      color: #fff;
      font-size: 28px;
      cursor: pointer;
    }

    /* 移动端导航面板 */
    .mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(10,14,39,0.96);
      backdrop-filter: blur(20px);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 36px;
      z-index: 999;
      list-style: none;
    }
    .mobile-menu.active {
      display: flex;
    }
    .mobile-menu a {
      color: #fff;
      font-size: 22px;
      font-weight: 500;
    }

    /* ----- 首屏 Hero ----- */
    #hero {
      height: 100vh;
      min-height: 700px;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    #hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(10,14,39,0.75);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      padding: 0 24px;
    }
    .hero-content h1 {
      font-size: 48px;
      font-weight: 700;
      color: #fff;
      letter-spacing: -0.5px;
      margin-bottom: 20px;
    }
    .hero-sub {
      font-size: 18px;
      color: rgba(255,255,255,0.85);
      margin-bottom: 32px;
    }
    .badge-group {
      display: flex;
      justify-content: center;
      gap: 28px;
      margin-bottom: 40px;
      flex-wrap: wrap;
    }
    .data-badge {
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(8px);
      border-radius: var(--radius-badge);
      padding: 16px 24px;
      color: #fff;
      border: 1px solid rgba(255,255,255,0.12);
    }
    .data-badge .number {
      font-family: 'Inter', sans-serif;
      font-size: 32px;
      font-weight: 700;
      color: var(--accent);
      display: block;
    }
    .hero-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--gradient-red);
      border: none;
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      color: #fff;
      font-weight: 600;
      font-size: 16px;
      box-shadow: var(--btn-shadow);
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .btn-primary:hover {
      box-shadow: var(--btn-shadow-hover);
      transform: translateY(-2px);
    }
    .btn-ghost {
      background: transparent;
      border: 2px solid #FFFFFF;
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      color: #fff;
      font-weight: 600;
      cursor: pointer;
      transition: 0.3s;
    }
    .btn-ghost:hover {
      background: #fff;
      color: var(--secondary);
    }

    /* ----- 通用区块标题 ----- */
    .section-title {
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 16px;
      text-align: center;
    }
    .section-desc {
      text-align: center;
      color: var(--text-muted);
      max-width: 700px;
      margin: 0 auto 48px;
    }

    /* ----- 数据看板区 ----- */
    #dashboard {
      background: var(--gradient-dark);
      padding: var(--section-gap) 0;
      color: #fff;
    }
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--card-gap);
    }
    .dash-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      text-align: center;
      transition: 0.3s;
    }
    .dash-card:hover {
      border-color: rgba(255,255,255,0.2);
      transform: translateY(-4px);
    }
    .dash-number {
      font-size: 40px;
      font-weight: 700;
      color: var(--accent);
    }
    .progress-bar {
      height: 10px;
      background: #2A2F45;
      border-radius: 5px;
      margin-top: 16px;
      overflow: hidden;
    }
    .progress-fill {
      height: 100%;
      width: 0%;
      background: var(--accent);
      border-radius: 5px;
      transition: width 1.2s ease;
    }

    /* ----- 服务矩阵 ----- */
    #services {
      padding: var(--section-gap) 0;
      background: #fff;
    }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--card-gap);
    }
    .service-card {
      background: #fff;
      border-radius: var(--radius-card);
      padding: 36px 28px;
      box-shadow: var(--card-shadow);
      transition: all 0.3s ease;
    }
    .service-card:hover {
      box-shadow: var(--card-shadow-hover);
      transform: translateY(-4px);
    }
    .service-icon {
      font-size: 36px;
      color: var(--primary);
      margin-bottom: 20px;
    }
    .service-card h3 {
      font-size: 22px;
      margin-bottom: 12px;
    }

    /* ----- 对比区 ----- */
    #compare {
      padding: var(--section-gap) 0;
      background: var(--bg-light);
    }
    .compare-row {
      display: flex;
      align-items: center;
      gap: 40px;
    }
    .compare-col {
      flex: 1;
      background: #fff;
      border-radius: var(--radius-card);
      padding: 32px;
    }
    .vs-badge {
      font-size: 28px;
      font-weight: 700;
      color: var(--primary);
    }
    .compare-bar {
      height: 10px;
      background: #E0E4EA;
      border-radius: 5px;
      margin: 12px 0;
    }
    .bar-fill {
      height: 10px;
      border-radius: 5px;
    }

    /* ----- FAQ ----- */
    #faq {
      padding: var(--section-gap) 0;
      background: #fff;
    }
    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 20px 0;
    }
    .faq-question {
      font-weight: 600;
      font-size: 18px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: #555;
    }

    /* ----- CTA ----- */
    #cta {
      background: var(--gradient-red);
      padding: 80px 0;
      color: #fff;
      text-align: center;
    }
    .cta-form {
      display: flex;
      gap: 16px;
      max-width: 600px;
      margin: 32px auto 0;
      flex-wrap: wrap;
      justify-content: center;
    }
    .cta-form input {
      padding: 14px 18px;
      border-radius: var(--radius-input);
      border: none;
      flex: 1;
    }

    /* ----- 页脚 ----- */
    #footer {
      background: var(--secondary);
      color: #B0B8C1;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 30px;
    }

    @media (max-width: 1024px) {
      .dashboard-grid, .services-grid { grid-template-columns: repeat(2,1fr); }
      .compare-row { flex-direction: column; }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: block; }
      .dashboard-grid, .services-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      h1 { font-size: 32px; }
    }
