/* roulang page: index */
:root {
      --primary: #7B2FBE;
      --primary-glow: #9a4dda;
      --accent: #C7F950;
      --accent-hover: #D9FF6B;
      --dark-bg: #1E1E24;
      --card-bg: #FFFFFF;
      --body-bg: #F4F2F8;
      --text-main: #1E1E24;
      --text-secondary: #6B6B7B;
      --border-light: #E8E6F0;
      --shadow-sm: 0 4px 20px rgba(30,30,36,0.08);
      --shadow-hover: 0 8px 30px rgba(123,47,190,0.15);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-pill: 20px;
      --font-heading: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      --font-data: "Inter", "SF Mono", "PingFang SC", sans-serif;
    }
    * {
      box-sizing: border-box;
    }
    body {
      font-family: var(--font-heading);
      background-color: var(--body-bg);
      color: var(--text-main);
      margin: 0;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    h1, h2, h3, h4, .data-number {
      font-family: var(--font-heading);
    }
    .data-number {
      font-family: var(--font-data);
    }
    a {
      color: var(--primary);
      text-decoration: none;
      transition: color 0.2s ease, background-color 0.2s;
    }
    a:hover {
      color: var(--primary-glow);
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }
    /* 导航 */
    .header {
      background: #fff;
      border-bottom: 1px solid var(--border-light);
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
      position: sticky;
      top: 0;
      z-index: 50;
      height: 64px;
      display: flex;
      align-items: center;
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
    .logo-area {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .logo-icon {
      font-size: 28px;
      color: var(--primary);
    }
    .logo-text {
      font-weight: 700;
      font-size: 20px;
      color: var(--text-main);
      letter-spacing: 0.5px;
    }
    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
      margin: 0;
    }
    .nav-links a {
      font-size: 15px;
      color: var(--text-secondary);
      font-weight: 500;
      padding: 0.25rem 0;
      border-bottom: 2px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }
    .search-box {
      display: flex;
      align-items: center;
      background: #f4f2f8;
      border-radius: var(--radius-pill);
      padding: 0.4rem 1rem;
      margin-right: 1rem;
    }
    .search-box input {
      border: none;
      background: transparent;
      outline: none;
      font-size: 14px;
      width: 140px;
      color: var(--text-main);
    }
    .search-box i {
      color: var(--text-secondary);
      font-size: 14px;
    }
    .btn-primary {
      background: var(--accent);
      color: var(--dark-bg);
      font-weight: 600;
      padding: 0.6rem 1.5rem;
      border-radius: var(--radius-btn);
      border: none;
      cursor: pointer;
      transition: all 0.25s;
      font-size: 14px;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      text-decoration: none;
    }
    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(199,249,80,0.3);
      color: var(--dark-bg);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      font-weight: 600;
      padding: 0.55rem 1.5rem;
      border-radius: var(--radius-btn);
      transition: all 0.25s;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      text-decoration: none;
    }
    .btn-outline:hover {
      background: var(--primary);
      color: #fff;
      transform: translateY(-2px);
    }
    .hamburger {
      display: none;
      font-size: 24px;
      background: none;
      border: none;
      color: var(--text-main);
      cursor: pointer;
    }
    /* Hero */
    .hero {
      min-height: 100vh;
      background: linear-gradient(135deg, rgba(30,30,36,0.85) 0%, rgba(123,47,190,0.7) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #fff;
      position: relative;
    }
    .hero-content {
      max-width: 800px;
      padding: 2rem;
    }
    .hero h1 {
      font-size: 2.8rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      line-height: 1.2;
      color: #fff;
      text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    }
    .hero .subtitle {
      font-size: 1.2rem;
      opacity: 0.85;
      margin-bottom: 2.5rem;
      font-weight: 400;
    }
    .hero-actions {
      display: flex;
      gap: 1.2rem;
      justify-content: center;
      flex-wrap: wrap;
    }
    .scroll-indicator {
      position: absolute;
      bottom: 25px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 28px;
      color: #fff;
      opacity: 0.7;
      animation: bounce 2s infinite;
    }
    @keyframes bounce {
      0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
      40% { transform: translateX(-50%) translateY(-10px); }
      60% { transform: translateX(-50%) translateY(-5px); }
    }
    /* 通用板块 */
    section {
      padding: 5rem 0;
    }
    .section-title {
      text-align: center;
      margin-bottom: 3rem;
    }
    .section-title h2 {
      font-size: 2rem;
      font-weight: 600;
      color: var(--text-main);
    }
    .section-title p {
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0.8rem auto 0;
      font-size: 1.1rem;
    }
    .bg-dark {
      background: var(--dark-bg);
      color: #fff;
    }
    .bg-dark .section-title h2 {
      color: #fff;
    }
    /* 数据看板 */
    .stats-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
    }
    .stat-item {
      flex: 1 1 180px;
      text-align: center;
      background: rgba(255,255,255,0.05);
      border-radius: var(--radius-card);
      padding: 1.8rem 1rem;
      backdrop-filter: blur(4px);
    }
    .data-number {
      font-size: 3rem;
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
      margin-bottom: 0.5rem;
    }
    .stat-label {
      font-size: 0.95rem;
      opacity: 0.75;
      letter-spacing: 0.3px;
    }
    /* 服务卡片 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .service-card {
      background: #fff;
      border-radius: var(--radius-card);
      padding: 2rem 1.5rem;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s;
      text-align: center;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }
    .service-icon {
      font-size: 2.6rem;
      color: var(--primary);
      margin-bottom: 1.2rem;
    }
    .service-card h3 {
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 0.8rem;
    }
    .service-card p {
      color: var(--text-secondary);
      font-size: 0.95rem;
      margin-bottom: 1.2rem;
    }
    .text-link {
      font-weight: 600;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
    }
    /* 对比模块 */
    .compare-container {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
      background: rgba(255,255,255,0.05);
      border-radius: var(--radius-card);
      padding: 2.5rem;
      backdrop-filter: blur(2px);
    }
    .compare-col {
      flex: 1 1 280px;
    }
    .compare-col h3 {
      font-size: 1.6rem;
      font-weight: 600;
      margin-bottom: 1.8rem;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .compare-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.4rem;
      font-size: 1rem;
    }
    .bar-bg {
      background: #2e2e36;
      height: 8px;
      border-radius: 10px;
      flex: 1;
      margin: 0 1rem;
      overflow: hidden;
    }
    .bar-fill {
      height: 100%;
      background: var(--accent);
      border-radius: 10px;
      width: 0%;
    }
    .value {
      font-weight: 700;
      color: var(--accent);
      min-width: 50px;
      text-align: right;
    }
    /* FAQ */
    .accordion-item {
      background: #fff;
      border-radius: var(--radius-card);
      margin-bottom: 1rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      overflow: hidden;
    }
    .accordion-title {
      background: var(--dark-bg);
      color: #fff;
      padding: 1rem 1.8rem;
      font-weight: 600;
      font-size: 1.05rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border: none;
      width: 100%;
      text-align: left;
    }
    .accordion-title i {
      transition: transform 0.3s;
    }
    .accordion-content {
      padding: 0 1.8rem;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.3s;
      background: #fff;
      color: var(--text-secondary);
    }
    .accordion-item.active .accordion-content {
      padding: 1.2rem 1.8rem;
      max-height: 300px;
    }
    .accordion-item.active .accordion-title i {
      transform: rotate(45deg);
    }
    /* CTA 表单 */
    .cta-form {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      margin-top: 2rem;
    }
    .cta-form input, .cta-form textarea {
      background: #fff;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-btn);
      padding: 0.8rem 1.2rem;
      font-size: 1rem;
      outline: none;
      flex: 1 1 200px;
      transition: border 0.2s;
    }
    .cta-form input:focus, .cta-form textarea:focus {
      border-color: var(--primary);
    }
    .cta-form button {
      flex: 0 0 auto;
      padding: 0.8rem 2.2rem;
      font-size: 1rem;
    }
    /* Footer */
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      color: #ddd;
    }
    .footer-grid h4 {
      color: #fff;
      margin-bottom: 1.2rem;
      font-weight: 600;
    }
    .footer-links {
      list-style: none;
      padding: 0;
    }
    .footer-links li {
      margin-bottom: 0.6rem;
    }
    .footer-links a {
      color: #aaa;
      font-size: 0.95rem;
    }
    .copyright {
      border-top: 1px solid #3a3a44;
      margin-top: 2.5rem;
      padding-top: 1.8rem;
      text-align: center;
      font-size: 0.85rem;
      color: #999;
    }
    /* 响应式 */
    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .nav-links, .search-box { display: none; }
      .hamburger { display: block; }
      .header-inner { flex-wrap: wrap; }
      .hero h1 { font-size: 2rem; }
      .services-grid { grid-template-columns: 1fr; }
      .stats-grid { gap: 1rem; }
      .compare-container { flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr; }
      .cta-form { flex-direction: column; align-items: stretch; }
      .hero { min-height: 70vh; }
    }
