/* roulang page: index */
:root {
      --primary: #4E6EF2;
      --primary-light: #6688FF;
      --primary-bg: #EEF1FE;
      --accent: #FF6B35;
      --success: #00B578;
      --warning: #FF9F0A;
      --error: #FA5151;
      --text-main: #1F2329;
      --text-secondary: #86909C;
      --bg-page: #F5F6FA;
      --bg-card: #FFFFFF;
      --border-light: #E5E8EF;
      --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.06);
      --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.08);
      --radius-card: 12px;
      --radius-btn: 24px;
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --max-width: 1200px;
      --space-section: 80px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-page);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 64px;
      background: #FFFFFF;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
      z-index: 1000;
      display: flex;
      align-items: center;
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: 0.5px;
    }

    .logo i {
      color: var(--primary);
      font-size: 24px;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-menu a {
      font-size: 14px;
      color: var(--text-main);
      padding: 8px 0;
      border-bottom: 2px solid transparent;
      transition: all 0.2s ease;
      font-weight: 500;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    .nav-cta {
      background: var(--primary);
      color: #fff;
      padding: 8px 20px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 14px;
      transition: background 0.2s ease;
      margin-left: 16px;
    }

    .nav-cta:hover {
      background: var(--primary-light);
    }

    .hamburger {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      color: var(--text-main);
      cursor: pointer;
    }

    /* 移动端导航 */
    @media (max-width: 768px) {
      .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
      }
      .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
      }
      .hamburger {
        display: block;
      }
      .nav-cta {
        margin-left: 0;
        text-align: center;
        display: block;
      }
    }

    /* 板块通用 */
    section {
      padding: var(--space-section) 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }

    .section-title h2 {
      font-size: 32px;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 12px;
    }

    .section-title p {
      font-size: 16px;
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0 auto;
    }

    /* Hero */
    .hero {
      padding: 120px 0 80px;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
      color: #fff;
      background-color: #1F2329;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(30, 35, 45, 0.65);
      backdrop-filter: blur(1px);
    }

    .hero .container {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      gap: 48px;
    }

    .hero-content {
      flex: 1;
    }

    .hero h1 {
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 20px;
      color: #fff;
    }

    .hero .subtitle {
      font-size: 18px;
      color: rgba(255,255,255,0.8);
      margin-bottom: 32px;
      max-width: 500px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: background 0.2s ease, transform 0.2s;
      display: inline-block;
      font-size: 16px;
    }

    .btn-primary:hover {
      background: var(--primary-light);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid #fff;
      color: #fff;
      padding: 12px 30px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      font-size: 16px;
    }

    .btn-outline:hover {
      background: rgba(255,255,255,0.1);
    }

    .hero-image {
      flex: 1;
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-hover);
    }

    .hero-image img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    @media (max-width: 768px) {
      .hero .container {
        flex-direction: column;
      }
      .hero h1 {
        font-size: 32px;
      }
      .hero-image {
        width: 100%;
      }
      .hero-buttons .btn-primary,
      .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
      }
    }

    /* 服务卡片 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .service-card {
      background: var(--bg-card);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      box-shadow: var(--shadow-card);
      transition: all 0.25s ease;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .service-icon {
      width: 48px;
      height: 48px;
      background: var(--primary-bg);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 24px;
      margin-bottom: 20px;
    }

    .service-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .service-card p {
      color: var(--text-secondary);
      font-size: 16px;
      line-height: 1.6;
    }

    @media (max-width: 768px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 优势数据 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }

    .stat-item .stat-number {
      font-size: 36px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 8px;
    }

    .stat-item .stat-label {
      font-size: 14px;
      color: var(--text-secondary);
    }

    @media (max-width: 768px) {
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* 案例 */
    .case-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .case-card {
      background: var(--bg-card);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: all 0.25s ease;
    }

    .case-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .case-img {
      height: 200px;
      overflow: hidden;
    }

    .case-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .case-card:hover .case-img img {
      transform: scale(1.03);
    }

    .case-content {
      padding: 20px;
    }

    .case-content h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .case-content p {
      color: var(--text-secondary);
      font-size: 14px;
      margin-bottom: 12px;
    }

    .tag {
      background: var(--primary-bg);
      color: var(--primary);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .case-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 流程 */
    .flow-steps {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      position: relative;
    }

    .flow-steps::before {
      content: '';
      position: absolute;
      top: 32px;
      left: 10%;
      width: 80%;
      height: 2px;
      background: var(--border-light);
      z-index: 0;
    }

    .step {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      z-index: 1;
      flex: 1;
    }

    .step-circle {
      width: 48px;
      height: 48px;
      background: var(--bg-card);
      border: 2px solid var(--primary);
      color: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 20px;
      margin-bottom: 16px;
      background: white;
    }

    .step h3 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .step p {
      color: var(--text-secondary);
      font-size: 14px;
    }

    @media (max-width: 768px) {
      .flow-steps {
        flex-direction: column;
        gap: 32px;
      }
      .flow-steps::before {
        display: none;
      }
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      background: var(--bg-card);
      border-radius: var(--radius-card);
      margin-bottom: 12px;
      box-shadow: var(--shadow-card);
      overflow: hidden;
    }

    .faq-question {
      padding: 20px 24px;
      font-weight: 500;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-size: 16px;
    }

    .faq-question i {
      transition: transform 0.2s ease;
      color: var(--primary);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background: #F9FAFB;
      padding: 0 24px;
      color: var(--text-secondary);
      font-size: 14px;
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 16px 24px;
    }

    .faq-item.active .faq-question i {
      transform: rotate(45deg);
    }

    /* CTA */
    .cta-section {
      background: var(--primary);
      color: #fff;
      text-align: center;
      padding: 80px 0;
    }

    .cta-section h2 {
      font-size: 32px;
      font-weight: 600;
      margin-bottom: 16px;
    }

    .cta-section p {
      font-size: 16px;
      opacity: 0.9;
      margin-bottom: 32px;
    }

    .btn-white {
      background: #fff;
      color: var(--primary);
      padding: 14px 40px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      display: inline-block;
      transition: background 0.2s;
    }

    .btn-white:hover {
      background: #F0F2FF;
    }

    /* 联系表单 */
    .contact-form {
      max-width: 600px;
      margin: 40px auto 0;
      background: var(--bg-card);
      padding: 32px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      text-align: left;
    }

    .form-group {
      margin-bottom: 16px;
    }

    .form-group label {
      display: block;
      font-size: 14px;
      font-weight: 500;
      margin-bottom: 6px;
      color: var(--text-main);
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid var(--border-light);
      border-radius: 8px;
      font-size: 16px;
      transition: border 0.2s, box-shadow 0.2s;
      font-family: inherit;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(78,110,242,0.15);
    }

    .btn-submit {
      width: 100%;
      background: var(--primary);
      color: #fff;
      border: none;
      padding: 14px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-submit:hover {
      background: var(--primary-light);
    }

    /* 页脚 */
    .footer {
      background: #1F2329;
      color: #B0B8C1;
      padding: 60px 0 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
      margin-bottom: 40px;
    }

    .footer h4 {
      color: #fff;
      margin-bottom: 16px;
      font-size: 16px;
    }

    .footer a {
      color: #B0B8C1;
      font-size: 14px;
      display: block;
      margin-bottom: 8px;
      transition: color 0.2s;
    }

    .footer a:hover {
      color: var(--primary);
    }

    .copyright {
      border-top: 1px solid #2E333A;
      padding-top: 20px;
      text-align: center;
      font-size: 12px;
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
