/* roulang page: index */
:root {
      --primary: #6C3CEC;
      --primary-hover: #5529D9;
      --accent: #FF6B4A;
      --accent-hover: #E55A3A;
      --dark-bg: #1A1A1E;
      --light-bg: #F8F7FC;
      --card-white: #FFFFFF;
      --card-dark-bg: rgba(108, 60, 236, 0.05);
      --text-dark: #2D2D33;
      --text-light: #D0CFD6;
      --success-green: #00C48C;
      --border-light: #E4E1F0;
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-sm: 8px;
      --shadow-sm: 0 4px 20px rgba(108, 60, 236, 0.08);
      --shadow-hover: 0 12px 32px rgba(108, 60, 236, 0.16);
      --font-heading: 'Poppins', 'Noto Sans SC', sans-serif;
      --font-body: 'Inter', 'Noto Sans SC', sans-serif;
      --max-width: 1200px;
      --section-padding: 100px 20px;
      --card-padding: 28px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      background: var(--light-bg);
      color: var(--text-dark);
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, input {
      font-family: inherit;
      border: none;
      outline: none;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
      width: 100%;
    }

    /* 导航栏 */
    .nav-bar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(26, 26, 30, 0.85);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s ease, background 0.3s ease;
    }
    .nav-bar.scrolled {
      border-bottom: 1px solid rgba(108, 60, 236, 0.3);
      background: rgba(26, 26, 30, 0.95);
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
      height: 72px;
    }
    .logo {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.8rem;
      color: #FFFFFF;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .logo span {
      color: var(--accent);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .nav-links a {
      color: var(--text-light);
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0%;
      height: 2px;
      background: var(--primary);
      transition: width 0.2s ease;
    }
    .nav-links a:hover {
      color: #FFFFFF;
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    .nav-cta {
      background: var(--accent);
      color: #FFFFFF !important;
      padding: 10px 22px !important;
      border-radius: var(--radius-sm);
      font-weight: 600;
      transition: background 0.25s, transform 0.25s;
      box-shadow: 0 4px 12px rgba(255, 107, 74, 0.3);
    }
    .nav-cta:hover {
      background: var(--accent-hover);
      transform: translateY(-1px);
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      padding: 8px;
    }
    .hamburger span {
      width: 26px;
      height: 2px;
      background: #FFFFFF;
      border-radius: 2px;
      transition: 0.2s;
    }

    /* 移动端菜单 */
    .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      max-width: 320px;
      height: 100vh;
      background: #1A1A1E;
      z-index: 1100;
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 28px;
      transition: right 0.35s ease;
      box-shadow: -4px 0 24px rgba(0,0,0,0.3);
    }
    .mobile-menu.open {
      right: 0;
    }
    .mobile-menu a {
      font-size: 1.4rem;
      color: #FFFFFF;
      font-weight: 500;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      padding-bottom: 12px;
    }
    .mobile-menu .nav-cta {
      display: inline-block;
      text-align: center;
      margin-top: 12px;
    }
    .overlay {
      position: fixed;
      top:0;left:0;width:100%;height:100%;
      background: rgba(0,0,0,0.5);
      z-index: 1050;
      display: none;
    }
    .overlay.show {
      display: block;
    }

    /* Hero */
    .hero {
      background: var(--dark-bg);
      color: #FFFFFF;
      padding: 140px 20px 100px;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      top:0;left:0;width:100%;height:100%;
      background: radial-gradient(circle at 30% 40%, rgba(108,60,236,0.15), transparent 70%);
      pointer-events: none;
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 48px;
      max-width: var(--max-width);
      margin: 0 auto;
      position: relative;
    }
    .hero-content {
      flex: 1;
    }
    .hero h1 {
      font-family: var(--font-heading);
      font-size: 3rem;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin-bottom: 20px;
      color: #FFFFFF;
    }
    .hero h1 span {
      color: var(--accent);
    }
    .hero-subtitle {
      font-size: 1.2rem;
      color: var(--text-light);
      margin-bottom: 32px;
      line-height: 1.5;
    }
    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--accent);
      color: #FFFFFF;
      padding: 16px 36px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 1rem;
      transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
      box-shadow: 0 8px 18px rgba(255, 107, 74, 0.35);
      cursor: pointer;
      display: inline-block;
    }
    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(255, 107, 74, 0.5);
    }
    .btn-secondary {
      background: transparent;
      border: 2px solid var(--primary);
      color: #FFFFFF;
      padding: 14px 34px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      transition: 0.25s;
    }
    .btn-secondary:hover {
      background: var(--primary);
      border-color: var(--primary);
    }
    .hero-visual {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .hero-image {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: var(--radius-lg);
      height: 300px;
      box-shadow: var(--shadow-hover);
      border: 1px solid rgba(108,60,236,0.3);
    }
    .hero-stats {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }
    .stat-badge {
      background: rgba(255,255,255,0.05);
      backdrop-filter: blur(4px);
      padding: 16px;
      border-radius: var(--radius-md);
      text-align: center;
      flex: 1;
      border: 1px solid rgba(255,255,255,0.08);
    }
    .stat-number {
      font-size: 2rem;
      font-weight: 700;
      color: var(--accent);
      font-family: 'Inter', sans-serif;
    }

    /* 实时指标看板 */
    .dashboard {
      background: var(--dark-bg);
      padding: 80px 20px;
      color: #FFFFFF;
    }
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      max-width: var(--max-width);
      margin: 0 auto;
    }
    .metric-card {
      background: rgba(108,60,236,0.06);
      border-radius: var(--radius-md);
      padding: 24px;
      border: 1px solid rgba(255,255,255,0.05);
      text-align: center;
      transition: 0.2s;
    }
    .metric-card:hover {
      border-color: var(--primary);
    }
    .metric-value {
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--success-green);
      font-family: 'Inter', sans-serif;
    }
    .progress-bar {
      height: 4px;
      background: rgba(255,255,255,0.1);
      border-radius: 10px;
      margin: 12px 0;
      overflow: hidden;
    }
    .progress-fill {
      width: 0%;
      height: 100%;
      background: var(--primary);
      transition: width 1.5s ease;
    }

    /* 核心服务 */
    .services {
      background: var(--light-bg);
      padding: var(--section-padding);
    }
    .section-title {
      font-family: var(--font-heading);
      font-size: 2.2rem;
      font-weight: 600;
      margin-bottom: 40px;
      color: var(--text-dark);
    }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      max-width: var(--max-width);
      margin: 0 auto;
    }
    .service-card {
      background: var(--card-white);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }
    .service-img {
      height: 180px;
      background-size: cover;
      background-position: center;
    }
    .service-body {
      padding: 24px;
    }
    .service-body h3 {
      font-size: 1.4rem;
      margin-bottom: 8px;
    }
    .btn-text {
      color: var(--primary);
      font-weight: 600;
      margin-top: 12px;
      display: inline-block;
      border-bottom: 2px solid transparent;
      transition: 0.2s;
    }
    .btn-text:hover {
      border-bottom-color: var(--primary);
    }

    /* 对比 */
    .compare {
      background: #FFFFFF;
      padding: var(--section-padding);
    }
    .compare-wrapper {
      display: flex;
      gap: 32px;
      max-width: var(--max-width);
      margin: 0 auto;
    }
    .compare-col {
      flex:1;
      padding: 28px;
      border-radius: var(--radius-lg);
    }
    .compare-left {
      background: #f2f2f5;
    }
    .compare-right {
      background: rgba(108,60,236,0.04);
      border: 2px solid var(--primary);
    }
    .compare-item {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 14px 0;
    }

    /* 案例 */
    .cases {
      background: var(--light-bg);
      padding: var(--section-padding);
    }
    .case-grid {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 12px;
    }
    .case-card {
      min-width: 260px;
      background: white;
      border-radius: var(--radius-md);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      border-left: 4px solid var(--primary);
      flex: 1;
    }

    /* FAQ */
    .faq {
      background: white;
      padding: var(--section-padding);
    }
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 18px 0;
      cursor: pointer;
    }
    .faq-question {
      font-weight: 600;
      display: flex;
      justify-content: space-between;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s;
      color: #555;
    }

    /* CTA */
    .cta-block {
      background: var(--dark-bg);
      padding: 80px 20px;
      text-align: center;
      color: white;
    }
    .cta-form {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-top: 24px;
    }
    .cta-input {
      padding: 14px;
      border-radius: var(--radius-sm);
      width: 280px;
    }

    /* Footer */
    .footer {
      background: #111;
      color: #ccc;
      padding: 48px 20px;
    }
    .footer-grid {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 28px;
    }
    .back-top {
      position: fixed;
      bottom: 24px;
      right: 24px;
      background: var(--primary);
      color: white;
      border-radius: 50%;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    @media (max-width: 1024px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero-grid { flex-direction: column; }
      .dashboard-grid { grid-template-columns: repeat(2,1fr); }
      .services-grid { grid-template-columns: 1fr 1fr; }
      .compare-wrapper { flex-direction: column; }
    }
