/* roulang page: index */
:root {
      --primary: #A855F7;
      --secondary: #06B6D4;
      --accent: #FACC15;
      --bg-deep: #0B0E14;
      --bg-block: #13161E;
      --card-bg: rgba(255,255,255,0.04);
      --text-primary: #E2E8F0;
      --text-secondary: #94A3B8;
      --text-muted: #64748B;
      --border-card: rgba(168,85,247,0.3);
      --border-glow: rgba(168,85,247,0.6);
      --shadow-card: 0 0 20px rgba(168,85,247,0.15);
      --shadow-hover: 0 0 30px rgba(168,85,247,0.4);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 10px;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
      --font-mono: 'Inter', 'DIN Alternate', monospace;
      --transition: 0.3s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-deep);
      color: var(--text-primary);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
    }

    /* 背景网格纹理 */
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: 
        linear-gradient(rgba(168,85,247,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168,85,247,0.03) 1px, transparent 1px);
      background-size: 40px 40px;
      pointer-events: none;
      z-index: -1;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 50;
      transition: background var(--transition), backdrop-filter var(--transition);
      background: transparent;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    header.scrolled {
      background: rgba(19,22,30,0.85);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 80px;
    }

    .logo {
      font-size: 24px;
      font-weight: 700;
      color: #fff;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo-icon {
      width: 28px;
      height: 28px;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: #fff;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-links a {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
      position: relative;
      padding: 8px 0;
      transition: color var(--transition);
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width var(--transition);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .nav-cta {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: #fff;
      border: none;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition);
      box-shadow: 0 0 15px rgba(168,85,247,0.5);
      text-decoration: none;
      display: inline-block;
    }

    .nav-cta:hover {
      transform: scale(1.05);
      box-shadow: 0 0 25px rgba(168,85,247,0.7);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
      z-index: 60;
    }

    .hamburger span {
      width: 25px;
      height: 3px;
      background: var(--text-primary);
      border-radius: 3px;
      transition: all var(--transition);
    }

    /* 移动端导航 */
    @media (max-width: 768px) {
      .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(19,22,30,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: right 0.4s ease;
        z-index: 55;
      }

      .nav-links.active {
        right: 0;
      }

      .nav-links a {
        font-size: 22px;
        color: var(--text-primary);
      }

      .hamburger {
        display: flex;
      }

      .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }
      .hamburger.active span:nth-child(2) {
        opacity: 0;
      }
      .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
      }
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      background-attachment: fixed;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(0deg, rgba(11,14,20,1) 0%, rgba(11,14,20,0.7) 50%, rgba(11,14,20,0.4) 100%);
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
    }

    .hero h1 {
      font-size: 48px;
      line-height: 1.2;
      font-weight: 700;
      margin-bottom: 24px;
      letter-spacing: -0.5px;
    }

    .hero h1 .highlight {
      color: var(--accent);
      text-shadow: 0 0 8px rgba(250,204,21,0.5);
    }

    .hero p {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 40px;
      max-width: 600px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: #fff;
      border: none;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition);
      box-shadow: 0 0 20px rgba(168,85,247,0.5);
      text-decoration: none;
      display: inline-block;
    }

    .btn-primary:hover {
      transform: scale(1.05);
      box-shadow: 0 0 30px rgba(168,85,247,0.7);
    }

    .btn-outline {
      background: transparent;
      border: 1px solid var(--secondary);
      color: var(--secondary);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition);
      text-decoration: none;
      display: inline-block;
    }

    .btn-outline:hover {
      background: rgba(6,182,212,0.1);
      box-shadow: 0 0 20px rgba(6,182,212,0.5);
    }

    @media (max-width: 768px) {
      .hero h1 {
        font-size: 36px;
      }
      .hero p {
        font-size: 16px;
      }
    }

    /* 板块通用 */
    section {
      padding: 100px 0;
      position: relative;
    }

    .section-title {
      font-size: 36px;
      font-weight: 600;
      margin-bottom: 16px;
      position: relative;
      display: inline-block;
      color: #fff;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 60%;
      height: 2px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
    }

    .section-subtitle {
      color: var(--text-secondary);
      font-size: 18px;
      max-width: 700px;
      margin-bottom: 48px;
    }

    /* 服务卡片 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }

    .service-card {
      background: rgba(19,22,30,0.8);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-card);
      padding: 40px 32px;
      transition: all var(--transition);
      box-shadow: var(--shadow-card);
      position: relative;
      overflow: hidden;
    }

    .service-card:hover {
      border-color: var(--border-glow);
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }

    .service-icon {
      width: 60px;
      height: 60px;
      background: rgba(168,85,247,0.2);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
      font-size: 24px;
      color: var(--primary);
      border: 1px solid rgba(168,85,247,0.4);
    }

    .service-card h3 {
      font-size: 22px;
      font-weight: 500;
      margin-bottom: 16px;
      color: #fff;
    }

    .service-card p {
      color: var(--text-secondary);
    }

    /* 优势数据 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }

    .stat-item {
      padding: 32px 16px;
    }

    .stat-number {
      font-size: 48px;
      font-weight: 700;
      color: var(--accent);
      font-family: var(--font-mono);
      text-shadow: 0 0 12px rgba(250,204,21,0.5);
    }

    .stat-label {
      color: var(--text-secondary);
      margin-top: 8px;
      font-size: 16px;
    }

    /* 案例卡片 */
    .cases-grid {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .case-card {
      display: flex;
      background: rgba(19,22,30,0.8);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-card);
      overflow: hidden;
      transition: all var(--transition);
      box-shadow: var(--shadow-card);
    }

    .case-card:hover {
      border-color: var(--border-glow);
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }

    .case-img {
      width: 40%;
      background: url('/assets/images/coverpic/cover-2.webp') center/cover no-repeat;
      position: relative;
    }

    .case-img::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(19,22,30,0.6);
    }

    .case-text {
      width: 60%;
      padding: 40px;
    }

    .case-text h3 {
      font-size: 24px;
      margin-bottom: 16px;
      color: #fff;
    }

    .case-text p {
      color: var(--text-secondary);
      margin-bottom: 8px;
    }

    /* 解决方案步骤 */
    .steps {
      display: flex;
      flex-direction: column;
      gap: 40px;
      max-width: 800px;
      margin: 0 auto;
    }

    .step {
      display: flex;
      gap: 24px;
      align-items: flex-start;
    }

    .step-icon {
      width: 50px;
      height: 50px;
      background: rgba(168,85,247,0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 20px;
      flex-shrink: 0;
      border: 1px solid rgba(168,85,247,0.5);
      box-shadow: 0 0 15px rgba(168,85,247,0.3);
    }

    .step-content h3 {
      font-size: 20px;
      margin-bottom: 8px;
      color: #fff;
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid rgba(148,163,184,0.2);
      padding: 20px 0;
      cursor: pointer;
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 18px;
      font-weight: 500;
      color: #fff;
      transition: color var(--transition);
    }

    .faq-question:hover {
      color: var(--primary);
    }

    .faq-icon {
      font-size: 24px;
      transition: transform var(--transition);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-secondary);
      line-height: 1.8;
    }

    .faq-item.active .faq-answer {
      max-height: 300px;
      padding-top: 16px;
    }

    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    /* 联系表单 */
    .contact-form {
      max-width: 500px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .contact-form input,
    .contact-form textarea {
      background: #13161E;
      border: 1px solid rgba(148,163,184,0.3);
      border-radius: var(--radius-input);
      padding: 14px 16px;
      color: var(--text-primary);
      font-family: var(--font-sans);
      transition: all var(--transition);
      outline: none;
      resize: vertical;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: var(--secondary);
      box-shadow: 0 0 0 3px rgba(6,182,212,0.25);
    }

    .contact-form button {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: #fff;
      border: none;
      padding: 16px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition);
      box-shadow: 0 0 20px rgba(168,85,247,0.5);
    }

    .contact-form button:hover {
      transform: scale(1.02);
      box-shadow: 0 0 30px rgba(168,85,247,0.7);
    }

    /* 页脚 */
    footer {
      background: #0B0E14;
      padding: 40px 0;
      border-top: 1px solid rgba(255,255,255,0.05);
      text-align: center;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 32px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }

    .footer-links a {
      color: var(--text-secondary);
      text-decoration: none;
      transition: color var(--transition);
    }

    .footer-links a:hover {
      color: var(--primary);
    }

    .copyright {
      color: var(--text-muted);
      font-size: 14px;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
      .case-card {
        flex-direction: column;
      }
      .case-img, .case-text {
        width: 100%;
      }
      .case-img {
        height: 200px;
      }
      .steps {
        padding: 0 16px;
      }
      .hero h1 {
        font-size: 32px;
      }
      section {
        padding: 60px 0;
      }
    }

    @media (max-width: 520px) {
      .stats-grid {
        grid-template-columns: 1fr;
      }
    }
