/* roulang page: index */
:root {
      --primary: #7B2FBE;
      --secondary: #00D4FF;
      --accent: #FF6B35;
      --dark: #0A0E27;
      --light-bg: #F5F3FF;
      --text-dark: #1A1A2E;
      --text-light: #FFFFFF;
      --border: rgba(123, 47, 190, 0.15);
      --radius-lg: 20px;
      --radius-md: 12px;
      --radius-sm: 8px;
      --shadow-card: 0 4px 20px rgba(123, 47, 190, 0.08);
      --shadow-hover: 0 12px 32px rgba(123, 47, 190, 0.2);
      --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --container: 1280px;
      --header-height: 72px;
      --mobile-nav-height: 80px;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
      background-color: var(--light-bg);
      color: var(--text-dark);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 40px;
    }

    /* 数字专用字体 */
    .stat-num, .data-badge {
      font-family: 'DIN Alternate', 'PingFang SC', sans-serif;
      font-weight: 700;
    }

    /* -------- 导航 -------- */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      transition: background 0.3s, backdrop-filter 0.3s;
      padding: 0 24px;
    }
    
    .navbar.scrolled {
      background: rgba(10, 14, 39, 0.92);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }

    .nav-container {
      width: 100%;
      max-width: var(--container);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      font-size: 24px;
      font-weight: 700;
      background: linear-gradient(135deg, #7B2FBE, #00D4FF);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .logo-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, #7B2FBE, #00D4FF);
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 2L3 14h6l-2 8 10-12h-6l2-8z"/></svg>') center/cover;
      -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 2L3 14h6l-2 8 10-12h-6l2-8z"/></svg>') center/cover;
      background-color: #7B2FBE;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .nav-links a {
      color: #E0E0E0;
      text-decoration: none;
      font-weight: 500;
      font-size: 15px;
      transition: color 0.2s;
      position: relative;
    }
    .nav-links a:hover, .nav-links a.active {
      color: var(--secondary);
    }
    .cta-btn-nav {
      background: var(--accent);
      color: white !important;
      padding: 10px 22px !important;
      border-radius: var(--radius-md);
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    }
    .cta-btn-nav:hover {
      background: #e55a2b;
      color: white !important;
    }

    /* 移动端底部胶囊导航 */
    .mobile-nav {
      display: none;
      position: fixed;
      bottom: 16px;
      left: 16px;
      right: 16px;
      height: 64px;
      background: rgba(10, 14, 39, 0.95);
      backdrop-filter: blur(12px);
      border-radius: 32px;
      z-index: 1001;
      padding: 0 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }
    .mobile-nav-items {
      display: flex;
      align-items: center;
      justify-content: space-around;
      height: 100%;
      position: relative;
    }
    .mobile-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #aaa;
      text-decoration: none;
      font-size: 12px;
      gap: 4px;
    }
    .mobile-nav-item i {
      font-size: 20px;
    }
    .mobile-cta {
      position: absolute;
      top: -16px;
      left: 50%;
      transform: translateX(-50%);
      width: 56px;
      height: 56px;
      background: var(--accent);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 18px rgba(255,107,53,0.6);
      color: white;
      font-size: 24px;
    }

    /* -------- Hero -------- */
    .hero {
      height: 100vh;
      min-height: 700px;
      background: var(--dark);
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      top:0;left:0;right:0;bottom:0;
      background: radial-gradient(circle at 30% 40%, rgba(123,47,190,0.25) 0%, transparent 60%),
                  radial-gradient(circle at 70% 60%, rgba(0,212,255,0.2) 0%, transparent 60%);
      z-index: 0;
    }
    .particles {
      position: absolute;
      width: 100%;
      height: 100%;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="10" cy="10" r="2" fill="rgba(123,47,190,0.4)"/><circle cx="50" cy="30" r="1.5" fill="rgba(0,212,255,0.3)"/></svg>');
      opacity: 0.6;
      z-index: 1;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      padding: 0 24px;
    }
    .hero h1 {
      font-size: 48px;
      font-weight: 700;
      background: linear-gradient(135deg, #7B2FBE, #00D4FF, #7B2FBE);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 16px;
    }
    .hero .sub {
      font-size: 18px;
      font-weight: 300;
      color: rgba(255,255,255,0.85);
      margin-bottom: 40px;
    }
    .btn-group {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: linear-gradient(135deg, #7B2FBE, #00D4FF);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-md);
      font-weight: 600;
      text-decoration: none;
      transition: 0.3s;
      box-shadow: 0 8px 20px rgba(0,212,255,0.25);
      border: none;
      cursor: pointer;
    }
    .btn-primary:hover {
      filter: brightness(1.1);
      transform: translateY(-2px);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid transparent;
      background-clip: padding-box;
      border-image: linear-gradient(135deg, #7B2FBE, #00D4FF) 1;
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-md);
      font-weight: 600;
      text-decoration: none;
      transition: 0.3s;
    }
    .btn-outline:hover {
      background: linear-gradient(135deg, #7B2FBE, #00D4FF);
      border-color: transparent;
    }

    /* Section 通用 */
    section {
      padding: 80px 0;
    }
    .section-title {
      font-size: 36px;
      font-weight: 600;
      margin-bottom: 16px;
      position: relative;
      display: inline-block;
    }
    .section-title::before {
      content: '';
      width: 40px;
      height: 5px;
      background: linear-gradient(90deg, #7B2FBE, #00D4FF);
      display: block;
      margin-bottom: 12px;
      border-radius: 4px;
    }
    .center {
      text-align: center;
    }

    /* 服务卡片非对称 */
    .service-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1.2fr;
      gap: 24px;
      margin-top: 40px;
    }
    .service-card {
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(10px);
      border-radius: var(--radius-lg);
      padding: 28px;
      box-shadow: var(--shadow-card);
      transition: var(--transition);
      border: 1px solid transparent;
    }
    .service-card:hover {
      transform: translateY(-8px);
      border-color: var(--primary);
      box-shadow: var(--shadow-hover);
    }
    .service-img {
      height: 180px;
      background-size: cover;
      background-position: center;
      border-radius: var(--radius-md);
      margin-bottom: 20px;
      position: relative;
      overflow: hidden;
    }
    .badge {
      background: var(--accent);
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 13px;
      display: inline-block;
    }

    /* 优势带 */
    .stats {
      background: var(--dark);
      padding: 60px 0;
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      text-align: center;
    }
    .stat-item {
      color: white;
      padding: 20px;
    }
    .stat-num {
      font-size: 48px;
    }

    /* 案例2x2 */
    .case-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-top: 32px;
    }
    .case-card {
      background: white;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0,0,0,0.05);
      transition: 0.3s;
    }
    .case-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 30px rgba(123,47,190,0.15);
    }
    .case-img {
      height: 200px;
      background-size: cover;
    }
    .case-info {
      padding: 20px;
    }

    /* FAQ */
    .faq-item {
      background: white;
      border-radius: var(--radius-md);
      margin-bottom: 12px;
      border-left: 4px solid var(--primary);
      padding: 16px ;
      cursor: pointer;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: #555;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      margin-top: 10px;
    }

    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, #0A0E27, #1b1f3b);
      color: white;
      border-radius: var(--radius-lg);
      margin: 40px 0;
      display: flex;
      flex-wrap: wrap;
      padding: 48px;
    }
    .cta-left, .cta-right {
      flex: 1;
    }
    .input-field {
      width: 100%;
      padding: 14px;
      margin-bottom: 16px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: var(--radius-md);
      color: white;
    }
    .footer {
      background: var(--dark);
      color: #ccc;
      padding: 40px 0 20px;
    }

    @media (max-width: 1024px) {
      .container { padding: 0 24px; }
      .service-grid { grid-template-columns: 1fr 1fr; }
      .case-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .navbar { display: none; }
      .mobile-nav { display: flex; }
      .hero h1 { font-size: 32px; }
      .section-title { font-size: 26px; }
      .service-grid { grid-template-columns: 1fr; }
      .btn-group { flex-direction: column; align-items: center; }
      .cta-section { flex-direction: column; padding: 30px; }
    }
