/* roulang page: index */
:root {
      --primary-blue: #1A3C6D;
      --accent-red: #E03E2D;
      --data-cyan: #0ABAB5;
      --bg-light: #F8FAFC;
      --bg-card: #FFFFFF;
      --bg-subtle: #EEF2F6;
      --text-heading: #0F172A;
      --text-body: #334155;
      --text-muted: #64748B;
      --border-light: #CBD5E1;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 24px rgba(26,60,109,0.10);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 8px;
      --radius-badge: 16px;
      --nav-height: 64px;
      --section-padding: 80px 0;
      --container-max: 1200px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      background-color: var(--bg-light);
      color: var(--text-body);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      display: block;
    }

    button, input, select {
      font-family: inherit;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: #fff;
      box-shadow: 0 1px 4px rgba(0,0,0,0.04);
      z-index: 1000;
      display: flex;
      align-items: center;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 22px;
      color: var(--primary-blue);
      letter-spacing: 0.5px;
    }

    .logo i {
      font-size: 26px;
      color: var(--accent-red);
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-body);
      padding: 8px 0;
      position: relative;
      transition: color 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary-blue);
    }

    .nav-links a.active::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--primary-blue);
      border-radius: 3px;
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 26px;
      color: var(--text-heading);
      cursor: pointer;
    }

    /* Hero */
    #hero {
      padding: calc(var(--nav-height) + 60px) 0 80px;
      background: linear-gradient(135deg, #F0F4FA 0%, #FFFFFF 100%);
      position: relative;
      overflow: hidden;
    }

    #hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 30% 40%, rgba(10,186,181,0.08) 0%, transparent 60%);
      pointer-events: none;
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 48px;
      position: relative;
    }

    .hero-text {
      flex: 1;
    }

    .hero-text h1 {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.2;
      color: var(--text-heading);
      margin-bottom: 16px;
    }

    .hero-text h1 span {
      color: var(--accent-red);
    }

    .hero-sub {
      font-size: 16px;
      color: #475569;
      margin-bottom: 32px;
      max-width: 500px;
    }

    .cta-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }

    .btn-primary {
      background: var(--accent-red);
      color: #fff;
      border: none;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: background 0.2s, transform 0.1s;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-primary:hover {
      background: #C0392B;
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary-blue);
      color: var(--primary-blue);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-outline:hover {
      background: rgba(26,60,109,0.04);
    }

    .hero-stats {
      display: flex;
      gap: 32px;
      flex-wrap: wrap;
    }

    .stat-item {
      display: flex;
      flex-direction: column;
    }

    .stat-number {
      font-size: 28px;
      font-weight: 800;
      color: var(--data-cyan);
      line-height: 1.1;
    }

    .stat-label {
      font-size: 14px;
      color: var(--text-muted);
    }

    .hero-image {
      flex: 1;
      display: flex;
      justify-content: center;
    }

    .hero-image img {
      max-height: 380px;
      border-radius: 24px;
      box-shadow: var(--shadow-md);
    }

    /* 通用区块 */
    section {
      padding: var(--section-padding);
    }

    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }

    .section-title h2 {
      font-size: 30px;
      font-weight: 700;
      color: var(--text-heading);
      margin-bottom: 12px;
    }

    .section-title p {
      color: var(--text-muted);
      max-width: 600px;
      margin: 0 auto;
    }

    /* 数据看板 */
    #data-dashboard {
      background: var(--bg-card);
    }

    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .data-card {
      background: #fff;
      border-radius: var(--radius-badge);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      position: relative;
      overflow: hidden;
      transition: box-shadow 0.2s, transform 0.2s;
      border-left: 4px solid var(--data-cyan);
    }

    .data-card:nth-child(2) {
      border-left-color: var(--accent-red);
    }

    .data-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }

    .data-icon {
      font-size: 24px;
      color: var(--data-cyan);
      margin-bottom: 12px;
    }

    .data-label {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .data-value {
      font-size: 40px;
      font-weight: 800;
      color: var(--text-heading);
      line-height: 1.1;
    }

    .trend {
      font-size: 14px;
      margin-top: 8px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .trend.up {
      color: #10B981;
    }

    .trend.down {
      color: #EF4444;
    }

    .update-time {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 16px;
      text-align: right;
    }

    /* 服务矩阵 */
    #services {
      background: var(--bg-light);
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .service-card {
      background: #fff;
      border-radius: var(--radius-card);
      padding: 24px 24px 32px;
      box-shadow: var(--shadow-sm);
      transition: transform 0.2s, box-shadow 0.2s;
      display: flex;
      flex-direction: column;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .service-img {
      width: 100%;
      height: 140px;
      object-fit: cover;
      border-radius: 12px;
      margin-bottom: 20px;
    }

    .service-icon {
      font-size: 28px;
      color: var(--primary-blue);
      margin-bottom: 12px;
    }

    .service-card h3 {
      font-size: 20px;
      font-weight: 600;
      color: var(--text-heading);
      margin-bottom: 8px;
    }

    .service-card p {
      font-size: 14px;
      color: var(--text-muted);
      flex: 1;
      margin-bottom: 16px;
    }

    .text-link {
      color: var(--primary-blue);
      font-weight: 600;
      font-size: 14px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    /* 案例对比 */
    #cases {
      background: #fff;
    }

    .compare-wrapper {
      display: flex;
      align-items: center;
      gap: 24px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .compare-card {
      background: #F8FAFC;
      border-radius: var(--radius-card);
      padding: 32px;
      flex: 1;
      min-width: 260px;
    }

    .compare-card h4 {
      font-size: 18px;
      margin-bottom: 16px;
      color: var(--text-heading);
    }

    .compare-list {
      list-style: none;
    }

    .compare-list li {
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .old {
      text-decoration: line-through;
      color: var(--text-muted);
    }

    .new {
      font-weight: 700;
      color: var(--data-cyan);
    }

    .vs-badge {
      background: var(--accent-red);
      color: #fff;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 18px;
    }

    .client-logos {
      display: flex;
      justify-content: center;
      gap: 40px;
      margin-top: 40px;
      flex-wrap: wrap;
    }

    .client-logos img {
      height: 32px;
      filter: grayscale(1);
      opacity: 0.7;
      transition: filter 0.2s;
    }

    .client-logos img:hover {
      filter: none;
    }

    /* FAQ */
    #faq {
      background: var(--bg-light);
    }

    .faq-container {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      background: #fff;
      border-radius: var(--radius-card);
      margin-bottom: 16px;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
    }

    .faq-question {
      padding: 20px 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 600;
      font-size: 18px;
      cursor: pointer;
      background: #fff;
      border: none;
      width: 100%;
      text-align: left;
    }

    .q-badge {
      background: var(--accent-red);
      color: #fff;
      width: 28px;
      height: 28px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      font-weight: 700;
    }

    .faq-answer {
      padding: 0 24px 20px;
      font-size: 15px;
      color: var(--text-body);
      background: #F8FAFC;
      display: none;
      transition: all 0.3s ease;
    }

    .faq-item.open .faq-answer {
      display: block;
    }

    /* 转化表单 */
    #contact {
      background: #fff;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
    }

    .contact-form input,
    .contact-form select {
      width: 100%;
      padding: 14px 16px;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-input);
      font-size: 15px;
      margin-bottom: 16px;
      background: #fff;
      transition: border 0.2s;
    }

    .contact-form input:focus,
    .contact-form select:focus {
      outline: none;
      border-color: var(--primary-blue);
      box-shadow: 0 0 0 3px rgba(26,60,109,0.1);
    }

    .trust-info {
      background: #F8FAFC;
      padding: 32px;
      border-radius: var(--radius-card);
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
      font-weight: 500;
    }

    .privacy-note {
      font-size: 13px;
      color: var(--text-muted);
      margin-top: 12px;
    }

    /* 页脚 */
    #footer {
      background: #0F172A;
      color: #CBD5E1;
      padding: 48px 0 24px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 32px;
      margin-bottom: 32px;
    }

    .footer-logo {
      font-size: 22px;
      font-weight: 700;
      color: #fff;
    }

    .footer-links a {
      display: block;
      margin-bottom: 8px;
      color: #CBD5E1;
    }

    .copyright {
      border-top: 1px solid #334155;
      padding-top: 24px;
      text-align: center;
      font-size: 14px;
      color: #94A3B8;
    }

    /* 移动端 */
    @media (max-width: 1024px) {
      .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      :root {
        --section-padding: 48px 0;
      }

      .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        gap: 20px;
      }

      .nav-links.active {
        display: flex;
      }

      .menu-toggle {
        display: block;
      }

      .hero-grid {
        flex-direction: column;
      }

      .hero-text h1 {
        font-size: 28px;
      }

      .services-grid {
        grid-template-columns: 1fr;
      }

      .dashboard-grid {
        grid-template-columns: 1fr;
        overflow-x: auto;
        display: flex;
        gap: 16px;
      }

      .data-card {
        min-width: 200px;
        flex-shrink: 0;
      }

      .contact-grid {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
