/* roulang page: index */
/* 设计变量与基础重置 */
    :root {
      --primary: #4E6EF2;
      --primary-soft: rgba(78,110,242,0.1);
      --green: #00B578;
      --green-soft: rgba(0,181,120,0.1);
      --orange: #FF9F0A;
      --orange-soft: rgba(255,159,10,0.1);
      --red: #FA5151;
      --bg: #F5F6FA;
      --card: #FFFFFF;
      --text: #1F2329;
      --text-secondary: #86909C;
      --border-light: #E8ECF1;
      --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
      --shadow-hover: 0 4px 20px rgba(0,0,0,0.1);
      --shadow-glass: 0 8px 32px rgba(0,0,0,0.08);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-pill: 20px;
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --max-width: 1200px;
      --header-height: 64px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      padding-top: var(--header-height);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    button, input {
      font-family: inherit;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 排版层级 */
    h1 { font-size: 36px; line-height: 1.3; font-weight: 700; }
    h2 { font-size: 28px; line-height: 1.4; font-weight: 600; }
    h3 { font-size: 20px; line-height: 1.5; font-weight: 600; }
    .text-lg { font-size: 16px; line-height: 1.6; }
    .text-sm { font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
    .data-number { font-size: 32px; line-height: 1.2; font-weight: 700; }

    /* 板块间距 */
    section {
      padding: 80px 0;
    }

    @media (max-width: 768px) {
      section { padding: 48px 0; }
      h1 { font-size: 28px; }
      h2 { font-size: 22px; }
      h3 { font-size: 18px; }
      .data-number { font-size: 28px; }
    }

    /* 导航栏 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--card);
      border-bottom: 1px solid var(--border-light);
      height: var(--header-height);
      z-index: 1000;
      backdrop-filter: blur(8px);
      background: rgba(255,255,255,0.92);
    }
    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }
    .logo {
      font-size: 20px;
      font-weight: 600;
      color: var(--primary);
      letter-spacing: -0.3px;
    }
    .nav-menu {
      display: flex;
      gap: 28px;
      align-items: center;
    }
    .nav-link {
      font-size: 14px;
      color: var(--text);
      font-weight: 500;
      padding: 6px 0;
      border-bottom: 2px solid transparent;
      transition: 0.2s;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }
    .search-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--bg);
      color: var(--text-secondary);
      cursor: default;
      transition: 0.2s;
      margin-left: 12px;
    }
    .search-icon:hover {
      box-shadow: 0 0 0 4px rgba(78,110,242,0.2);
      color: var(--primary);
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
    }
    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--text);
      transition: 0.2s;
    }
    .mobile-menu {
      display: none;
      position: fixed;
      top: var(--header-height);
      left: 0;
      width: 100%;
      background: var(--card);
      border-bottom: 1px solid var(--border-light);
      padding: 24px 0;
      flex-direction: column;
      align-items: center;
      gap: 24px;
      z-index: 999;
    }
    .mobile-menu a {
      font-size: 18px;
      font-weight: 500;
    }

    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .search-icon { display: none; }
      .hamburger { display: flex; }
    }

    /* 按钮组件 */
    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-block;
      box-shadow: 0 2px 8px rgba(78,110,242,0.25);
    }
    .btn-primary:hover {
      filter: brightness(1.1);
      box-shadow: 0 4px 16px rgba(78,110,242,0.4);
      transform: translateY(-1px);
    }
    .btn-outline {
      background: transparent;
      border: 1px solid var(--border-light);
      color: var(--text);
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 500;
      transition: 0.2s;
    }
    .btn-outline:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    /* 卡片通用 */
    .card {
      background: var(--card);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      padding: 24px;
      transition: all 0.2s ease;
    }
    .card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }

    /* Hero 区域 */
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }
    .hero-text h1 {
      margin-bottom: 16px;
    }
    .hero-text .subtitle {
      font-size: 16px;
      color: var(--text-secondary);
      margin-bottom: 28px;
    }
    .glass-panel {
      background: rgba(255,255,255,0.75);
      backdrop-filter: blur(16px);
      border-radius: var(--radius-card);
      border: 1px solid rgba(255,255,255,0.5);
      box-shadow: var(--shadow-glass);
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .glass-card {
      background: rgba(255,255,255,0.6);
      backdrop-filter: blur(4px);
      border-radius: 10px;
      padding: 16px;
      border: 1px solid rgba(255,255,255,0.7);
    }
    .match-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .progress-bar {
      height: 4px;
      background: #E8ECF1;
      border-radius: 4px;
      overflow: hidden;
      margin: 8px 0;
    }
    .progress-fill {
      height: 100%;
      width: 58%;
      background: var(--primary);
      border-radius: 4px;
    }

    @media (max-width: 768px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 实时数据看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .live-tag {
      background: var(--orange-soft);
      color: var(--orange);
      font-size: 12px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 10px;
      display: inline-block;
    }
    .score-highlight {
      font-weight: 700;
    }

    @media (max-width: 1024px) {
      .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .dashboard-grid { grid-template-columns: 1fr; }
    }

    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .service-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-size: 28px;
      background: var(--primary-soft);
      color: var(--primary);
      transition: 0.2s;
    }
    .service-card:hover .service-icon {
      transform: scale(1.05);
    }

    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .services-grid { grid-template-columns: 1fr; }
    }

    /* 对比区域 */
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 24px;
      align-items: center;
    }
    .vs-badge {
      font-weight: 700;
      font-size: 24px;
      color: var(--text-secondary);
    }
    .compare-card {
      padding: 24px;
      border-radius: var(--radius-card);
    }
    .compare-left {
      background: #f0f1f5;
      color: var(--text);
    }
    .compare-right {
      background: var(--card);
      border-left: 4px solid var(--primary);
      box-shadow: var(--shadow-card);
    }

    @media (max-width: 768px) {
      .compare-grid {
        grid-template-columns: 1fr;
      }
      .vs-badge { display: none; }
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      background: var(--card);
      border-radius: var(--radius-card);
      margin-bottom: 12px;
      padding: 16px 24px;
      cursor: pointer;
      transition: 0.2s;
    }
    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-secondary);
      font-size: 14px;
      line-height: 1.6;
      margin-top: 0;
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      margin-top: 12px;
    }
    .faq-icon {
      font-size: 20px;
      transition: 0.2s;
    }

    /* CTA 区域 */
    .cta-section {
      background: linear-gradient(135deg, #3A54D4, #4E6EF2);
      color: white;
      text-align: center;
      border-radius: 0;
    }
    .cta-form {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-top: 24px;
      flex-wrap: wrap;
    }
    .cta-input {
      padding: 14px 24px;
      border-radius: 20px;
      border: none;
      width: 320px;
      max-width: 90vw;
      outline: none;
      transition: 0.2s;
    }
    .cta-input:focus {
      box-shadow: 0 0 0 4px rgba(255,255,255,0.4);
    }
    .btn-cta {
      background: white;
      color: var(--primary);
      font-weight: 600;
      padding: 14px 28px;
      border-radius: 20px;
      border: none;
      cursor: pointer;
      transition: 0.2s;
    }
    .btn-cta:hover {
      background: #f0f2ff;
    }

    /* 页脚 */
    .footer {
      background: #1F2329;
      color: #86909C;
      padding: 48px 0 24px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
    }
    .footer a:hover {
      color: white;
    }
    @media (max-width: 768px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
