/* roulang page: index */
:root {
      --primary: #FF8C00;
      --primary-dark: #E07800;
      --accent-blue: #2E5CB8;
      --bg: #F5F6FA;
      --text: #1F2329;
      --text-secondary: #86909C;
      --card-shadow: 0 4px 16px rgba(0,0,0,0.04);
      --card-radius: 12px;
      --white: #FFFFFF;
      --border-light: #E8ECF1;
      --footer-bg: #1F2329;
      --footer-text: #B0B8C1;
      --success: #00B578;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
    }
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 32px;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }
    button, input, textarea {
      font-family: inherit;
    }
    /* 导航栏 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 64px;
      background: var(--white);
      border-bottom: 1px solid var(--border-light);
      z-index: 1000;
      display: flex;
      align-items: center;
      transition: box-shadow 0.2s ease;
    }
    .navbar.scrolled {
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .navbar .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 20px;
      color: var(--text);
    }
    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--primary);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      font-size: 18px;
    }
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }
    .nav-menu a {
      font-size: 16px;
      color: var(--text);
      padding: 8px 0;
      position: relative;
      font-weight: 500;
      transition: color 0.2s;
    }
    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--primary);
    }
    .nav-menu a.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      border-radius: 1px;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 10px 24px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 16px;
      border: none;
      cursor: pointer;
      transition: background 0.15s, transform 0.15s;
      display: inline-block;
      text-align: center;
    }
    .btn-primary:hover {
      background: var(--primary-dark);
      transform: scale(1.02);
    }
    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      padding: 10px 24px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.15s, transform 0.15s;
      display: inline-block;
      text-align: center;
    }
    .btn-outline:hover {
      background: rgba(255,140,0,0.1);
    }
    .btn-white {
      background: white;
      color: var(--primary);
      font-weight: 600;
      padding: 12px 28px;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s;
    }
    .btn-white:hover {
      background: #f0f0f0;
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
    }
    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: all 0.2s;
    }
    /* 移动端导航 */
    .mobile-nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(8px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
      z-index: 999;
      transform: translateX(100%);
      transition: transform 0.3s ease;
    }
    .mobile-nav.open {
      transform: translateX(0);
    }
    .mobile-nav a {
      font-size: 20px;
      font-weight: 500;
      color: var(--text);
    }
    .mobile-nav .close-btn {
      position: absolute;
      top: 24px;
      right: 24px;
      font-size: 28px;
      background: none;
      border: none;
      cursor: pointer;
    }
    /* Hero */
    .hero {
      min-height: 70vh;
      display: flex;
      align-items: center;
      padding-top: 64px;
      background: var(--white);
    }
    .hero .container {
      display: flex;
      align-items: center;
      gap: 48px;
      width: 100%;
    }
    .hero-text {
      flex: 1;
      animation: fadeInLeft 0.6s ease;
    }
    .hero-text h1 {
      font-size: 40px;
      font-weight: 700;
      line-height: 1.3;
      color: var(--text);
      margin-bottom: 16px;
    }
    .hero-text p {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
      line-height: 1.6;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-image {
      flex: 1;
      animation: fadeInRight 0.6s ease;
    }
    .hero-image img {
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
      width: 100%;
      height: auto;
      object-fit: cover;
    }
    @keyframes fadeInLeft {
      from { opacity: 0; transform: translateX(-20px); }
      to { opacity: 1; transform: translateX(0); }
    }
    @keyframes fadeInRight {
      from { opacity: 0; transform: translateX(20px); }
      to { opacity: 1; transform: translateX(0); }
    }
    /* 区块通用 */
    section {
      padding: 80px 0;
    }
    .section-title {
      font-size: 28px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 16px;
      text-align: center;
      position: relative;
    }
    .section-title::after {
      content: '';
      display: block;
      width: 40px;
      height: 4px;
      background: var(--primary);
      margin: 12px auto 0;
      border-radius: 2px;
    }
    .section-subtitle {
      text-align: center;
      color: var(--text-secondary);
      max-width: 700px;
      margin: 0 auto 48px;
      font-size: 16px;
    }
    /* 优势卡片 */
    .advantages-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .advantage-card {
      background: var(--white);
      padding: 32px 24px;
      border-radius: var(--card-radius);
      box-shadow: var(--card-shadow);
      transition: all 0.2s ease;
      text-align: center;
    }
    .advantage-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .advantage-icon {
      width: 48px;
      height: 48px;
      background: rgba(255,140,0,0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      color: var(--primary);
      font-size: 24px;
    }
    .advantage-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    .advantage-card p {
      color: var(--text-secondary);
      font-size: 15px;
    }
    /* 服务卡片 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .service-card {
      background: var(--white);
      border-radius: var(--card-radius);
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: all 0.2s ease;
    }
    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .service-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .service-body {
      padding: 20px;
    }
    .service-body h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }
    .service-body p {
      color: var(--text-secondary);
      font-size: 14px;
      margin-bottom: 16px;
    }
    .text-link {
      color: var(--accent-blue);
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: transform 0.2s;
    }
    .text-link:hover {
      transform: translateX(4px);
      text-decoration: underline;
    }
    /* 数据区 */
    .stats-bar {
      background: #F0F3FF;
      padding: 48px 0;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    .stat-item .number {
      font-size: 32px;
      font-weight: 700;
      color: var(--primary);
    }
    .stat-item .label {
      font-size: 14px;
      color: var(--text-secondary);
    }
    /* 案例横向滚动 */
    .cases-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 16px;
      scroll-snap-type: x mandatory;
    }
    .cases-scroll::-webkit-scrollbar {
      display: none;
    }
    .case-card {
      flex: 0 0 calc(33.333% - 16px);
      min-width: 280px;
      background: white;
      border-radius: var(--card-radius);
      overflow: hidden;
      box-shadow: var(--card-shadow);
      scroll-snap-align: start;
      transition: transform 0.2s;
    }
    .case-card:hover img {
      transform: scale(1.03);
    }
    .case-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      transition: transform 0.2s;
    }
    .case-info {
      padding: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .case-info span {
      font-weight: 600;
    }
    .tag {
      background: rgba(255,140,0,0.15);
      color: var(--primary);
      padding: 2px 12px;
      border-radius: 16px;
      font-size: 13px;
    }
    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border-light);
    }
    .faq-question {
      width: 100%;
      background: none;
      border: none;
      padding: 16px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      text-align: left;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }
    .faq-answer-content {
      padding-left: 16px;
      border-left: 3px solid var(--primary);
      color: var(--text-secondary);
      margin-bottom: 16px;
      line-height: 1.6;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
    }
    .arrow {
      transition: transform 0.3s;
    }
    .faq-item.active .arrow {
      transform: rotate(180deg);
    }
    /* CTA */
    .cta-section {
      background: var(--primary);
      color: white;
    }
    .cta-grid {
      display: flex;
      align-items: center;
      gap: 48px;
    }
    .cta-text h2 {
      font-size: 28px;
      margin-bottom: 12px;
    }
    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid var(--border-light);
      border-radius: 8px;
      margin-bottom: 16px;
      font-size: 16px;
      transition: border 0.2s, box-shadow 0.2s;
    }
    .contact-form input:focus,
    .contact-form textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(255,140,0,0.15);
    }
    /* Footer */
    .footer {
      background: var(--footer-bg);
      color: var(--footer-text);
      padding: 48px 0 24px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 32px;
    }
    .footer a {
      color: var(--footer-text);
    }
    .footer a:hover {
      color: var(--primary);
    }
    .copyright {
      border-top: 1px solid rgba(255,255,255,0.1);
      margin-top: 32px;
      padding-top: 16px;
      text-align: center;
      font-size: 14px;
    }
    /* 响应式 */
    @media (max-width: 1024px) {
      .advantages-grid,
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .cases-scroll .case-card {
        flex: 0 0 45%;
      }
    }
    @media (max-width: 768px) {
      .container {
        padding: 0 16px;
      }
      .nav-menu {
        display: none;
      }
      .hamburger {
        display: flex;
      }
      .hero .container {
        flex-direction: column;
      }
      .hero-text h1 {
        font-size: 28px;
      }
      .advantages-grid,
      .services-grid {
        grid-template-columns: 1fr;
      }
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .cases-scroll .case-card {
        flex: 0 0 80%;
      }
      .cta-grid {
        flex-direction: column;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
