/* roulang page: index */
:root {
      --primary-blue: #4E6EF2;
      --primary-blue-hover: #3A5BDB;
      --success-green: #00B578;
      --warning-orange: #FF9F0A;
      --error-red: #FA5151;
      --text-primary: #1F2329;
      --text-secondary: #86909C;
      --bg-page: #F5F6FA;
      --bg-card: #FFFFFF;
      --border-light: #E5E8EF;
      --shadow-sm: 0 4px 16px rgba(31,35,41,0.04), 0 1px 4px rgba(31,35,41,0.02);
      --shadow-md: 0 8px 24px rgba(31,35,41,0.08);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-capsule: 20px;
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
      --transition: all 0.2s ease;
      --header-height: 64px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-family);
      background-color: var(--bg-page);
      color: var(--text-primary);
      line-height: 1.5;
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    button, input, textarea {
      font-family: inherit;
      font-size: inherit;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(8px);
      box-shadow: 0 1px 0 rgba(0,0,0,0.02);
      z-index: 1000;
      display: flex;
      align-items: center;
      transition: var(--transition);
    }

    .header .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      font-weight: 700;
      font-size: 20px;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--primary-blue);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      font-size: 18px;
      line-height: 1;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-menu {
      display: flex;
      gap: 28px;
      list-style: none;
    }

    .nav-menu a {
      font-size: 14px;
      color: var(--text-primary);
      padding: 8px 0;
      position: relative;
      font-weight: 500;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--primary-blue);
    }

    .nav-menu a.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary-blue);
      border-radius: 1px;
    }

    .btn-primary {
      background: var(--primary-blue);
      color: white;
      border: none;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      transition: var(--transition);
      display: inline-block;
      text-align: center;
    }
    .btn-primary:hover {
      background: var(--primary-blue-hover);
    }

    .btn-outline {
      background: rgba(78,110,242,0.06);
      color: var(--primary-blue);
      border: none;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      transition: var(--transition);
    }
    .btn-outline:hover {
      background: rgba(78,110,242,0.12);
    }

    .hamburger {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      color: var(--text-primary);
      cursor: pointer;
    }

    /* 移动端导航 */
    @media (max-width: 768px) {
      .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 24px;
        transition: height 0.3s ease, padding 0.3s ease;
        box-shadow: var(--shadow-sm);
      }
      .nav.open {
        height: calc(100vh - var(--header-height));
        padding: 24px;
      }
      .nav-menu {
        flex-direction: column;
        gap: 20px;
        width: 100%;
      }
      .nav-menu a {
        font-size: 18px;
        display: block;
        padding: 12px 0;
      }
      .hamburger {
        display: block;
      }
      .header .btn-primary {
        display: none;
      }
      .nav .btn-primary {
        display: block;
        width: 100%;
        margin-top: 24px;
      }
    }

    /* 板块通用 */
    section {
      padding: 80px 0;
    }

    h2 {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 16px;
      line-height: 1.4;
    }
    .section-sub {
      color: var(--text-secondary);
      font-size: 16px;
      margin-bottom: 48px;
    }

    /* Hero */
    .hero {
      padding: 120px 0 80px;
      background: linear-gradient(135deg, rgba(78,110,242,0.04) 0%, rgba(245,246,250,0) 100%);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 5fr 7fr;
      gap: 48px;
      align-items: center;
    }
    .hero h1 {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 20px;
    }
    .hero h1 span {
      color: var(--primary-blue);
    }
    .hero p {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
    }
    .hero-stats {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      margin-bottom: 32px;
    }
    .stat-capsule {
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(4px);
      padding: 12px 20px;
      border-radius: var(--radius-capsule);
      box-shadow: var(--shadow-sm);
      text-align: center;
    }
    .stat-num {
      font-size: 24px;
      font-weight: 700;
      color: var(--primary-blue);
      line-height: 1.2;
    }
    .stat-label {
      font-size: 12px;
      color: var(--text-secondary);
    }
    .hero-image {
      position: relative;
      border-radius: var(--radius-card);
      overflow: hidden;
      background: #EEF1FD;
      aspect-ratio: 16/10;
    }
    .hero-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(78,110,242,0.08) 0%, rgba(245,246,250,0) 100%);
      pointer-events: none;
    }
    .scroll-down {
      text-align: center;
      margin-top: 40px;
      color: var(--text-secondary);
      font-size: 24px;
      animation: bounce 2s infinite;
    }
    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(6px); }
    }

    @media (max-width: 768px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }
      .hero h1 {
        font-size: 28px;
      }
    }

    /* 卡片网格 */
    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .feature-card {
      background: var(--bg-card);
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }
    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .feature-icon {
      width: 48px;
      height: 48px;
      background: #EEF1FD;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      color: var(--primary-blue);
      font-size: 24px;
      transition: var(--transition);
    }
    .feature-card:hover .feature-icon {
      background: var(--primary-blue);
      color: white;
    }
    .feature-card h3 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 8px;
    }
    .feature-card p {
      color: var(--text-secondary);
      font-size: 14px;
    }

    /* 服务矩阵 2x3 */
    .grid-services {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .service-card {
      background: var(--bg-card);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }
    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .service-img {
      aspect-ratio: 16/9;
      background: #EEF1FD;
      overflow: hidden;
    }
    .service-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .service-body {
      padding: 20px 24px 24px;
    }
    .service-body h3 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 8px;
    }
    .service-body p {
      font-size: 14px;
      color: var(--text-secondary);
      margin-bottom: 12px;
    }
    .text-link {
      color: var(--primary-blue);
      font-weight: 500;
      font-size: 14px;
    }

    @media (max-width: 1024px) {
      .grid-4 { grid-template-columns: repeat(2, 1fr); }
      .grid-services { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 640px) {
      .grid-4, .grid-services { grid-template-columns: 1fr; }
    }

    /* 数据看板 */
    .data-bg {
      background: #F0F2F5;
    }
    .data-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .data-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-sm);
    }
    .compare-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }
    .compare-label {
      font-size: 14px;
      color: var(--text-secondary);
    }
    .compare-value {
      font-weight: 600;
      font-size: 16px;
    }
    .old-value {
      color: var(--text-secondary);
    }
    .new-value {
      color: var(--primary-blue);
    }
    .progress-bar {
      height: 6px;
      background: #E5E8EF;
      border-radius: 3px;
      margin-top: 6px;
      width: 100%;
    }
    .progress-fill {
      height: 100%;
      background: var(--primary-blue);
      border-radius: 3px;
    }
    @media (max-width: 768px) {
      .data-grid { grid-template-columns: 1fr; }
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-bottom: 1px solid var(--border-light);
    }
    .faq-question {
      padding: 16px 24px;
      font-weight: 600;
      font-size: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      background: none;
      border: none;
      width: 100%;
      text-align: left;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.2s ease, padding 0.2s ease;
      padding: 0 24px;
      font-size: 14px;
      color: var(--text-secondary);
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding-bottom: 16px;
    }
    .faq-icon {
      font-size: 20px;
      color: var(--text-secondary);
      transition: var(--transition);
    }
    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }

    /* 联系表单 */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }
    .contact-info h2 {
      margin-bottom: 16px;
    }
    .trust-badge {
      background: rgba(78,110,242,0.06);
      padding: 16px;
      border-radius: var(--radius-card);
      color: var(--primary-blue);
      font-weight: 500;
      margin-top: 24px;
      display: inline-block;
    }
    .form-card {
      background: #F7F8FA;
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-sm);
    }
    .form-group {
      margin-bottom: 20px;
    }
    .form-group label {
      display: block;
      font-size: 14px;
      font-weight: 500;
      margin-bottom: 8px;
    }
    .form-input {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-btn);
      background: white;
      transition: var(--transition);
    }
    .form-input:focus {
      outline: none;
      border-color: var(--primary-blue);
      box-shadow: 0 0 0 3px rgba(78,110,242,0.1);
    }
    .btn-submit {
      background: var(--primary-blue);
      color: white;
      border: none;
      padding: 14px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      width: 100%;
      cursor: pointer;
    }
    .btn-submit:hover {
      background: var(--primary-blue-hover);
    }
    @media (max-width: 768px) {
      .contact-grid { grid-template-columns: 1fr; }
    }

    /* 页脚 */
    .footer {
      background: #1F2329;
      color: #86909C;
      padding: 40px 0;
      font-size: 14px;
    }
    .footer-grid {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 24px;
    }
    .footer-links {
      display: flex;
      gap: 24px;
    }
    .footer a {
      color: #86909C;
    }
    .footer a:hover {
      color: white;
    }
    @media (max-width: 640px) {
      .footer-grid {
        flex-direction: column;
        text-align: center;
      }
    }

    :focus-visible {
      outline: 2px solid var(--primary-blue);
      outline-offset: 2px;
    }
