/* roulang page: index */
/* 全局设计变量 */
    :root {
      --primary: #7B2FFF;
      --secondary: #00F0FF;
      --accent: #FF8C42;
      --bg-deep: #0D0B1E;
      --bg-footer: #08061A;
      --text-main: #F0F0F5;
      --text-muted: #A0A0B0;
      --text-dark: #2A2A3C;
      --card-bg: rgba(255, 255, 255, 0.05);
      --card-border: rgba(255, 255, 255, 0.12);
      --card-hover-border: rgba(255, 255, 255, 0.25);
      --glass-blur: blur(12px);
      --shadow-glow: 0 0 20px rgba(123, 47, 255, 0.6);
      --shadow-glow-soft: 0 0 18px rgba(123, 47, 255, 0.4);
      --radius-lg: 16px;
      --radius-pill: 50px;
      --radius-md: 8px;
      --transition: 0.3s ease;
      --font-stack: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    html {
      scroll-behavior: smooth;
    }
    
    body {
      font-family: var(--font-stack);
      background-color: var(--bg-deep);
      color: var(--text-main);
      line-height: 1.7;
      font-size: 16px;
      overflow-x: hidden;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }
    
    /* 排版 */
    h1, h2, h3 {
      font-weight: 700;
      letter-spacing: 0.05em;
      line-height: 1.3;
    }
    h1 { font-size: 36px; }
    h2 { font-size: 28px; margin-bottom: 24px; }
    h3 { font-size: 20px; }
    p { max-width: 720px; margin-bottom: 16px; }
    .text-muted { color: var(--text-muted); }
    
    /* 导航 - 沉浸式玻璃拟态 */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(13, 11, 30, 0.78);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      z-index: 1000;
      height: 72px;
    }
    nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }
    .logo {
      font-size: 24px;
      font-weight: 700;
      color: white;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: 0.02em;
    }
    .logo i {
      color: var(--secondary);
      font-size: 28px;
    }
    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }
    .nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-weight: 500;
      transition: color var(--transition);
      position: relative;
      padding: 8px 0;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--secondary);
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--secondary);
      box-shadow: 0 0 10px var(--secondary);
      transition: width var(--transition);
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }
    .btn-capsule {
      background: var(--primary);
      color: white;
      padding: 12px 32px;
      border-radius: var(--radius-pill);
      font-weight: 600;
      text-decoration: none;
      display: inline-block;
      box-shadow: var(--shadow-glow);
      transition: background var(--transition), box-shadow var(--transition);
      border: none;
      cursor: pointer;
      font-size: 16px;
    }
    .btn-capsule:hover {
      background: #9b4fff;
      box-shadow: 0 0 30px rgba(123, 47, 255, 0.8), 0 0 0 1px var(--secondary);
    }
    .menu-toggle {
      display: none;
      background: transparent;
      border: none;
      color: white;
      font-size: 28px;
      cursor: pointer;
    }
    
    /* 移动端导航面板 */
    .mobile-panel {
      position: fixed;
      top: 0;
      right: 0;
      width: 75%;
      max-width: 320px;
      height: 100vh;
      background: rgba(13, 11, 30, 0.9);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      z-index: 1001;
      transform: translateX(100%);
      transition: transform 0.4s ease;
      display: flex;
      flex-direction: column;
      padding: 32px 24px;
      gap: 24px;
    }
    .mobile-panel.open {
      transform: translateX(0);
    }
    .mobile-panel a {
      color: var(--text-main);
      font-size: 20px;
      text-decoration: none;
      font-weight: 600;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .close-panel {
      align-self: flex-end;
      background: none;
      border: none;
      color: white;
      font-size: 32px;
      cursor: pointer;
    }
    
    /* Hero 首屏 */
    #home {
      min-height: 90vh;
      display: flex;
      align-items: center;
      position: relative;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      margin-top: 72px;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(13,11,30,0.85) 0%, rgba(13,11,30,0.4) 100%);
      z-index: 1;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 600px;
      padding: 40px 0;
    }
    .hero-content h1 {
      font-size: 42px;
      margin-bottom: 24px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: 32px;
    }
    .btn-outline {
      background: transparent;
      border: 1px solid var(--secondary);
      color: var(--secondary);
      padding: 12px 32px;
      border-radius: var(--radius-pill);
      font-weight: 600;
      text-decoration: none;
      transition: all var(--transition);
    }
    .btn-outline:hover {
      background: rgba(0,240,255,0.1);
      box-shadow: 0 0 15px rgba(0,240,255,0.3);
    }
    
    /* 通用板块 */
    section {
      padding: 100px 0;
    }
    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }
    
    /* 卡片网格 */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .card {
      background: var(--card-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-lg);
      padding: 32px 24px;
      transition: all var(--transition);
    }
    .card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.5), 0 0 20px rgba(123,47,255,0.3);
      border-color: var(--card-hover-border);
    }
    .card i {
      font-size: 40px;
      color: var(--primary);
      margin-bottom: 20px;
    }
    
    /* 服务体系横向滚动 */
    .services-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 16px;
      scrollbar-width: thin;
      scrollbar-color: var(--primary) transparent;
    }
    .service-card {
      min-width: 260px;
      background: var(--card-bg);
      backdrop-filter: var(--glass-blur);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-lg);
      padding: 24px;
      flex-shrink: 0;
    }
    .badge {
      background: var(--secondary);
      color: var(--bg-deep);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 12px;
    }
    
    /* 数据大数字 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      text-align: center;
    }
    .stat-number {
      font-size: 48px;
      font-weight: 700;
      color: var(--primary);
      text-shadow: 0 0 20px rgba(123,47,255,0.7);
      display: block;
    }
    
    /* 证言气泡 */
    .testimonial-card {
      background: var(--card-bg);
      backdrop-filter: var(--glass-blur);
      border-left: 4px solid var(--primary);
      padding: 24px;
      border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    }
    
    /* FAQ 手风琴 */
    .faq-item {
      border-bottom: 1px solid rgba(255,255,255,0.06);
      padding: 16px 0;
    }
    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      cursor: pointer;
      font-size: 18px;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: #B0B0C0;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-top: 12px;
    }
    
    /* 表单 */
    .contact-form {
      background: var(--card-bg);
      backdrop-filter: var(--glass-blur);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-lg);
      padding: 32px;
      max-width: 500px;
      margin: 0 auto;
    }
    input, select, textarea {
      width: 100%;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: var(--radius-md);
      padding: 12px;
      color: white;
      margin-bottom: 16px;
      outline: none;
    }
    input:focus, select:focus, textarea:focus {
      border-color: var(--secondary);
      box-shadow: 0 0 8px rgba(0,240,255,0.3);
    }
    .btn-accent {
      background: var(--accent);
      color: white;
      border: none;
      padding: 14px 28px;
      border-radius: var(--radius-pill);
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 0 18px rgba(255,140,66,0.5);
      width: 100%;
    }
    
    footer {
      background: var(--bg-footer);
      padding: 60px 0 30px;
      color: #808090;
    }
    
    /* 响应式 */
    @media (max-width: 1024px) {
      .grid-3 { grid-template-columns: repeat(2,1fr); }
      .stats-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .menu-toggle { display: block; }
      h1 { font-size: 28px; }
      .grid-3, .stats-grid { grid-template-columns: 1fr; }
      section { padding: 60px 0; }
    }
