/* roulang page: index */
:root {
      --primary: #E8532E;
      --primary-dark: #C4421F;
      --secondary: #1A1C23;
      --bg-warm: #F5F3EE;
      --accent: #F9A826;
      --text-main: #1E1E1E;
      --text-muted: #5A5C63;
      --border-light: #E8E5DF;
      --success: #2D9F4E;
      --danger: #D32F2F;
      --card-radius: 12px;
      --btn-radius: 8px;
      --tag-radius: 6px;
      --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
      --shadow-hover: 0 8px 24px rgba(232,83,46,0.12);
      --font-mono: 'Roboto Mono', 'Courier New', monospace;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
      --section-gap: 100px;
      --mobile-gap: 64px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg-warm);
      color: var(--text-main);
      line-height: 1.75;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      padding-bottom: 70px; /* 移动端底部导航高度 */
    }
    h1, h2, h3, h4 { font-weight: 600; color: var(--text-main); }
    h1 { font-size: 36px; line-height: 1.2; letter-spacing: -0.5px; font-weight: 700; }
    h2 { font-size: 28px; line-height: 1.3; margin-bottom: 1.5rem; }
    h3 { font-size: 20px; line-height: 1.4; font-weight: 500; }
    .text-muted { color: var(--text-muted); }
    .font-mono { font-family: var(--font-mono); }
    a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
    a:hover { color: var(--primary-dark); }
    img { max-width: 100%; height: auto; display: block; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

    /* 导航 */
    .desktop-nav {
      background: #fff;
      height: 64px;
      display: flex;
      align-items: center;
      box-shadow: 0 1px 0 var(--border-light);
      position: sticky;
      top: 0;
      z-index: 50;
      transition: box-shadow 0.2s;
    }
    .desktop-nav.scrolled { box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    .logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo i { font-size: 1.8rem; }
    .nav-links { display: flex; gap: 2rem; list-style: none; }
    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-main);
      padding: 8px 0;
      position: relative;
      transition: color 0.2s;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 3px;
      background: var(--primary);
      transition: width 0.2s;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--primary); }
    .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

    /* 移动底部导航 */
    .mobile-bottom-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 62px;
      background: #fff;
      border-top: 1px solid var(--border-light);
      z-index: 60;
      justify-content: space-around;
      align-items: center;
      padding: 0 10px;
      box-shadow: 0 -4px 12px rgba(0,0,0,0.04);
    }
    .mobile-bottom-nav a {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: var(--text-muted);
      font-size: 11px;
      gap: 4px;
      transition: color 0.2s;
    }
    .mobile-bottom-nav a i { font-size: 20px; }
    .mobile-bottom-nav a.active { color: var(--primary); }

    /* 按钮 */
    .btn-primary {
      background: var(--primary);
      color: #fff;
      border: none;
      padding: 14px 32px;
      border-radius: var(--btn-radius);
      font-weight: 600;
      font-size: 16px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      transition: all 0.2s;
      box-shadow: 0 4px 12px rgba(232,83,46,0.2);
    }
    .btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,83,46,0.3); color: #fff; }
    .btn-secondary {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 12px 32px;
      border-radius: var(--btn-radius);
      font-weight: 600;
      font-size: 16px;
      transition: all 0.2s;
    }
    .btn-secondary:hover { background: rgba(232,83,46,0.05); color: var(--primary-dark); }

    .btn-accent {
      background: var(--accent);
      color: var(--secondary);
      border: none;
      padding: 14px 32px;
      border-radius: var(--btn-radius);
      font-weight: 700;
      font-size: 16px;
      cursor: pointer;
      transition: filter 0.2s, transform 0.2s;
    }
    .btn-accent:hover { filter: brightness(1.1); transform: translateY(-2px); }

    /* 卡片 */
    .card {
      background: #fff;
      border-radius: var(--card-radius);
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-card);
      padding: 24px;
      transition: all 0.25s ease;
    }
    .card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
      border-color: var(--primary);
    }

    /* Hero */
    .hero {
      padding: 4rem 0;
      background: linear-gradient(135deg, #F5F3EE 0%, #FDE7DE 100%);
    }
    .hero-grid { display: flex; align-items: center; gap: 3rem; }
    .hero-left { flex: 7; }
    .hero-right { flex: 5; }
    .mini-scoreboard {
      background: #fff;
      border-radius: 16px;
      padding: 20px;
      box-shadow: 0 12px 28px rgba(0,0,0,0.08);
      border: 1px solid var(--border-light);
      font-family: var(--font-mono);
    }
    .live-badge {
      background: var(--danger);
      color: #fff;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 13px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 12px;
      animation: pulse 1.5s infinite;
    }
    @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.7; } 100% { opacity: 1; } }
    .score-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 28px;
      font-weight: 700;
    }
    .highlight-change {
      background: var(--accent);
      color: #1A1C23;
      padding: 2px 8px;
      border-radius: 4px;
    }

    /* 数据看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 2rem;
    }
    .data-card {
      background: #fff;
      border-radius: var(--card-radius);
      border-left: 4px solid var(--primary);
      padding: 20px;
      box-shadow: var(--shadow-card);
    }
    .stat-number { font-family: var(--font-mono); font-size: 24px; font-weight: 700; }

    /* 服务矩阵 */
    .service-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }
    .service-img {
      height: 180px;
      background: #e9e5df;
      border-radius: 8px 8px 0 0;
      overflow: hidden;
      position: relative;
    }
    .service-img img { width: 100%; height: 100%; object-fit: cover; }

    /* 对比区 */
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 20px;
      align-items: center;
    }
    .vs-badge {
      background: var(--primary);
      color: #fff;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 20px;
    }

    /* FAQ */
    .accordion-title {
      font-size: 18px;
      font-weight: 500;
      border: none !important;
      background: #fff;
      padding: 16px 20px;
      border-radius: 8px;
      margin-bottom: 8px;
    }
    .accordion-title::before { display: none; }
    .accordion-item.is-active .accordion-title { background: #FDF2EE; border-left: 3px solid var(--primary); }

    /* CTA 深色区 */
    .cta-dark {
      background: var(--secondary);
      color: #fff;
      border-radius: 20px;
      padding: 60px 40px;
      text-align: center;
    }
    .cta-input {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .cta-input input {
      padding: 14px 20px;
      border-radius: 8px;
      border: 1px solid #ddd;
      min-width: 280px;
    }

    /* 页脚 */
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    @media (max-width: 1024px) {
      .desktop-nav { display: none; }
      .mobile-bottom-nav { display: flex; }
      body { padding-bottom: 70px; }
      .hero-grid { flex-direction: column; }
      .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
      .service-grid { grid-template-columns: 1fr; }
      .compare-grid { grid-template-columns: 1fr; }
      .vs-badge { margin: 20px auto; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
      h1 { font-size: 30px; }
      .dashboard-grid { grid-template-columns: 1fr; }
      .cta-input { flex-direction: column; align-items: center; }
      .footer-grid { grid-template-columns: 1fr; }
    }
    .section { padding: var(--section-gap) 0; }
    @media (max-width: 640px) { .section { padding: var(--mobile-gap) 0; } }
