/* roulang page: index */
:root {
      --primary: #E12A2A;
      --primary-dark: #C71F1F;
      --secondary: #1B1E2E;
      --bg: #FAFAFA;
      --card-bg: #FFFFFF;
      --text-primary: #111111;
      --text-body: #444444;
      --text-muted: #777777;
      --success: #0FA958;
      --warning: #F5A623;
      --disabled: #CCCCCC;
      --nav-bg: #FFFFFF;
      --nav-text: #333333;
      --border-light: #E5E5E5;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-container: 16px;
      --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
      --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
      --transition: 0.25s ease;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --font-number: "Inter", "Roboto", sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text-body);
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    img {
      display: block;
      max-width: 100%;
      height: auto;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
    }

    h1, h2, h3 {
      color: var(--text-primary);
    }

    /* 导航 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: var(--nav-bg);
      border-bottom: 1px solid transparent;
      transition: border-color 0.2s, box-shadow 0.2s;
      height: 64px;
      display: flex;
      align-items: center;
    }

    .site-header.scrolled {
      border-bottom-color: var(--border-light);
      box-shadow: 0 1px 8px rgba(0,0,0,0.04);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      font-size: 22px;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: -0.5px;
      white-space: nowrap;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-menu a {
      font-size: 15px;
      color: var(--nav-text);
      font-weight: 500;
      padding: 4px 0;
      border-bottom: 2px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--primary);
    }

    .nav-menu a.active {
      border-bottom-color: var(--primary);
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 14px;
      transition: background var(--transition), transform 0.1s;
      display: inline-block;
      text-align: center;
    }

    .btn-primary:hover {
      background: var(--primary-dark);
    }

    .btn-outline {
      background: transparent;
      color: var(--primary);
      border: 1px solid var(--primary);
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 14px;
      transition: background var(--transition), color var(--transition);
    }

    .btn-outline:hover {
      background: rgba(225, 42, 42, 0.08);
    }

    .btn-large {
      padding: 14px 36px;
      font-size: 16px;
      border-radius: var(--radius-btn);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 24px;
      height: 18px;
      background: transparent;
      border: none;
      cursor: pointer;
    }

    .hamburger span {
      display: block;
      height: 2px;
      background: var(--nav-text);
      border-radius: 2px;
      transition: all 0.25s;
    }

    @media (max-width: 767px) {
      .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        backdrop-filter: blur(6px);
        z-index: 40;
        font-size: 18px;
      }

      .nav-menu.open {
        transform: translateX(0);
      }

      .hamburger {
        display: flex;
      }

      .nav-cta-desktop {
        display: none;
      }
    }

    @media (min-width: 768px) {
      .nav-cta-mobile {
        display: none;
      }
    }

    /* Hero */
    .hero {
      position: relative;
      min-height: 80vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, rgba(225,42,42,0.02) 0%, rgba(27,30,46,0.02) 100%);
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: -1;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      opacity: 0.08;
      pointer-events: none;
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 40px;
      width: 100%;
    }

    .hero-content {
      flex: 1;
    }

    .hero-content h1 {
      font-size: clamp(36px, 5vw, 56px);
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin-bottom: 20px;
      color: var(--text-primary);
    }

    .hero-content .subtitle {
      font-size: clamp(18px, 2.5vw, 24px);
      color: var(--text-body);
      margin-bottom: 32px;
      line-height: 1.6;
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }

    .hero-image {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .hero-image img {
      max-height: 450px;
      object-fit: contain;
      border-radius: var(--radius-container);
      box-shadow: var(--shadow-md);
      width: 100%;
      height: auto;
    }

    @media (max-width: 767px) {
      .hero {
        min-height: 60vh;
        padding: 40px 0;
      }
      .hero-grid {
        flex-direction: column-reverse;
        text-align: center;
      }
      .hero-buttons {
        justify-content: center;
      }
      .hero-image img {
        max-height: 280px;
      }
    }

    /* 通用区块 */
    .section {
      padding: 100px 0;
    }

    @media (max-width: 767px) {
      .section {
        padding: 60px 0;
      }
    }

    .section-title {
      font-size: clamp(28px, 4vw, 36px);
      font-weight: 600;
      margin-bottom: 16px;
      text-align: center;
    }

    .section-subtitle {
      text-align: center;
      color: var(--text-muted);
      max-width: 700px;
      margin: 0 auto 48px;
      font-size: 16px;
    }

    /* 指标看板 */
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .metric-card {
      background: var(--card-bg);
      padding: 28px 20px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
      text-align: center;
      transition: var(--transition);
    }

    .metric-number {
      font-family: var(--font-number);
      font-size: 48px;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: -1px;
      line-height: 1.1;
    }

    .metric-label {
      font-size: 14px;
      color: var(--text-muted);
      margin-top: 8px;
      font-weight: 500;
    }

    @media (max-width: 1023px) {
      .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 520px) {
      .metrics-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .service-card {
      background: var(--card-bg);
      padding: 32px 24px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition);
      border-bottom: 3px solid var(--primary);
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-bottom-width: 6px;
    }

    .service-icon {
      font-size: 36px;
      color: var(--primary);
    }

    .service-card h3 {
      font-size: 20px;
      font-weight: 600;
    }

    @media (max-width: 1023px) {
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 对比表 */
    .compare-table-wrapper {
      overflow-x: auto;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
    }

    .compare-table {
      width: 100%;
      min-width: 700px;
      border-collapse: collapse;
      background: var(--card-bg);
    }

    .compare-table th, .compare-table td {
      padding: 16px 20px;
      text-align: center;
      border-bottom: 1px solid #f0f0f0;
    }

    .compare-table thead th {
      background: #f9f9f9;
      font-weight: 700;
      font-size: 18px;
    }

    .compare-table .highlight-col {
      background: rgba(225,42,42,0.04);
      color: var(--text-primary);
      font-weight: 600;
    }

    .compare-table tbody tr:nth-child(even) {
      background: #fafafa;
    }

    .check { color: var(--success); font-weight: bold; }
    .partial { color: var(--warning); }
    .cross { color: var(--disabled); }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      margin-bottom: 12px;
      box-shadow: 0 1px 6px rgba(0,0,0,0.04);
      overflow: hidden;
    }

    .faq-question {
      width: 100%;
      padding: 16px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 16px;
      background: transparent;
      border: none;
      cursor: pointer;
      color: var(--text-primary);
    }

    .faq-icon {
      font-size: 24px;
      transition: transform 0.2s;
      color: var(--primary);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0 24px;
      color: #555;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      padding-bottom: 20px;
    }

    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }

    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, #1B1E2E 0%, #2A2D3E 100%);
      position: relative;
      z-index: 1;
    }

    .cta-bg {
      position: absolute;
      inset: 0;
      background: url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
      opacity: 0.15;
      z-index: -1;
    }

    .cta-content {
      text-align: center;
      color: #fff;
      padding: 80px 20px;
      position: relative;
    }

    .cta-content h2 {
      color: #fff;
      font-size: clamp(30px, 5vw, 44px);
      margin-bottom: 16px;
    }

    .cta-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      margin: 32px 0;
    }

    .btn-white {
      background: #fff;
      color: var(--primary);
      font-weight: 700;
    }

    .btn-white:hover {
      background: #f0f0f0;
    }

    .btn-ghost {
      border: 1px solid rgba(255,255,255,0.6);
      color: #fff;
      background: transparent;
    }

    .store-badges {
      display: flex;
      gap: 16px;
      justify-content: center;
      margin-top: 24px;
    }

    .badge-placeholder {
      width: 120px;
      height: 40px;
      background: rgba(255,255,255,0.15);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ddd;
      font-size: 12px;
    }

    /* 页脚 */
    .footer {
      background: #1B1E2E;
      color: #AAA;
      padding: 60px 0 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    .footer-logo {
      font-size: 22px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 12px;
    }

    .footer-list {
      list-style: none;
      padding: 0;
    }

    .footer-list li {
      margin-bottom: 8px;
    }

    .footer-list a {
      color: #AAA;
      transition: color 0.2s;
    }

    .footer-list a:hover {
      color: #fff;
    }

    .copyright {
      border-top: 1px solid #333;
      margin-top: 40px;
      padding-top: 20px;
      text-align: center;
      font-size: 13px;
      color: #777;
    }

    @media (max-width: 767px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 480px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
