/* roulang page: index */
/* ----- 设计变量 ----- */
    :root {
      --deep-space-start: #0B0C10;
      --deep-space-mid: #1A0A2E;
      --deep-space-end: #0F1B4C;
      --star-gold: #F2C94C;
      --star-gold-light: #FFD966;
      --nebula-cyan: #00E5FF;
      --nebula-cyan-dark: #00B8D4;
      --text-primary: #FFFFFF;
      --text-secondary: rgba(255, 255, 255, 0.75);
      --text-muted: rgba(255, 255, 255, 0.5);
      --card-bg: rgba(255, 255, 255, 0.04);
      --card-border: rgba(255, 255, 255, 0.08);
      --card-hover-border: var(--nebula-cyan);
      --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
      --border-radius-lg: 20px;
      --border-radius-xl: 24px;
      --border-radius-sm: 12px;
      --border-radius-pill: 50px;
      --transition-smooth: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'HarmonyOS Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      --container-max: 1280px;
      --section-space: 100px;
    }

    /* ----- 基础重置 ----- */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-sans);
      background: linear-gradient(135deg, #0B0C10 0%, #1A0A2E 45%, #0F1B4C 100%);
      background-attachment: fixed;
      color: var(--text-primary);
      line-height: 1.7;
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition-smooth);
    }

    button, input, textarea {
      font-family: inherit;
      font-size: inherit;
    }

    /* ----- 容器与布局工具 ----- */
    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 星空粒子背景模拟 */
    .star-field {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: -1;
      overflow: hidden;
      background: transparent;
    }

    .star-field::before {
      content: "";
      position: absolute;
      width: 2px;
      height: 2px;
      background: white;
      box-shadow: 100px 200px 0 white, 400px 80px 0 rgba(255,255,255,0.8), 700px 450px 0 white, 200px 650px 0 rgba(255,255,255,0.6), 900px 150px 0 white, 350px 550px 0 white, 1100px 300px 0 rgba(255,255,255,0.7), 550px 780px 0 white, 80px 900px 0 rgba(255,255,255,0.5), 1200px 700px 0 white;
      animation: drift 30s linear infinite;
    }

    @keyframes drift {
      0% { transform: translateY(0px) translateX(0px); opacity: 0.4; }
      50% { transform: translateY(-20px) translateX(10px); opacity: 0.7; }
      100% { transform: translateY(0px) translateX(0px); opacity: 0.4; }
    }

    /* ----- 导航 ----- */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 72px;
      background: rgba(10, 8, 20, 0.7);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(255,255,255,0.06);
      z-index: 50;
      transition: background 0.4s ease;
    }

    .header.scrolled {
      background: rgba(6, 4, 15, 0.9);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: 1px;
      color: var(--star-gold);
      position: relative;
      z-index: 10;
    }

    .logo span {
      color: var(--nebula-cyan);
    }

    .nav-links {
      display: flex;
      gap: 2.5rem;
      align-items: center;
      font-weight: 500;
    }

    .nav-link {
      color: rgba(255, 255, 255, 0.8);
      font-size: 1rem;
      padding: 0.5rem 0;
      position: relative;
    }

    .nav-link:hover {
      color: var(--nebula-cyan);
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0%;
      height: 2px;
      background: var(--nebula-cyan);
      transition: width 0.3s ease;
    }

    .nav-link:hover::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      z-index: 20;
      background: none;
      border: none;
    }

    .hamburger span {
      display: block;
      width: 25px;
      height: 2px;
      background: var(--text-primary);
      transition: 0.3s;
    }

    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }
      .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(8, 6, 25, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.4s ease;
        font-size: 1.25rem;
      }
      .nav-links.active {
        right: 0;
      }
    }

    /* ----- 板块通用标题 ----- */
    .section-title {
      font-size: 2.25rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      color: var(--text-primary);
      letter-spacing: 0.5px;
    }

    @media (max-width: 768px) {
      .section-title {
        font-size: 1.8rem;
      }
    }

    /* ----- Hero 首屏 ----- */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      padding-top: 72px;
      overflow: hidden;
    }

    .hero-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }

    .hero-text h1 {
      font-size: 3rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1.5rem;
      background: linear-gradient(to right, #fff, #d0e0ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-subtitle {
      font-size: 1.2rem;
      color: var(--text-secondary);
      margin-bottom: 2rem;
    }

    .hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 2.5rem;
    }

    .badge {
      background: rgba(242, 201, 76, 0.15);
      color: var(--star-gold);
      padding: 6px 18px;
      border-radius: var(--border-radius-pill);
      font-size: 0.9rem;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 6px;
      border: 1px solid rgba(242,201,76,0.2);
      backdrop-filter: blur(4px);
    }

    .btn-primary {
      background: var(--star-gold);
      color: #0B0C10;
      font-weight: 700;
      padding: 16px 42px;
      border-radius: var(--border-radius-pill);
      border: none;
      cursor: pointer;
      font-size: 1.1rem;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: background 0.3s, box-shadow 0.3s;
      box-shadow: 0 4px 12px rgba(242, 201, 76, 0.3);
    }

    .btn-primary:hover {
      background: var(--star-gold-light);
      box-shadow: 0 8px 20px rgba(242, 201, 76, 0.45);
      color: #0B0C10;
    }

    .hero-image {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: var(--border-radius-xl);
      height: 420px;
      width: 100%;
      box-shadow: 0 0 40px rgba(0, 229, 255, 0.2);
      border: 1px solid rgba(255,255,255,0.1);
      background-color: #1a1030;
    }

    @media (max-width: 1024px) {
      .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .hero-badges {
        justify-content: center;
      }
      .hero-image {
        height: 300px;
        margin-top: 2rem;
      }
    }

    @media (max-width: 768px) {
      .hero-text h1 {
        font-size: 2.2rem;
      }
      .hero-subtitle {
        font-size: 1rem;
      }
    }

    /* ----- 指标看板 ----- */
    .metrics {
      padding: var(--section-space) 0;
    }
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
    }
    .metric-card {
      background: var(--card-bg);
      backdrop-filter: blur(12px);
      border: 1px solid var(--card-border);
      border-radius: var(--border-radius-lg);
      padding: 2rem 1.5rem;
      text-align: center;
      transition: 0.3s;
    }
    .metric-card:hover {
      border-color: var(--nebula-cyan);
      transform: translateY(-4px);
      box-shadow: var(--card-shadow);
    }
    .metric-number {
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--star-gold);
      font-feature-settings: "tnum";
    }
    .metric-label {
      color: var(--text-muted);
      margin-top: 0.5rem;
    }
    @media (max-width: 768px) {
      .metrics-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    /* ----- 服务矩阵 ----- */
    .services {
      padding: var(--section-space) 0;
    }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
    .service-card {
      background: var(--card-bg);
      backdrop-filter: blur(10px);
      border: 1px solid var(--card-border);
      border-radius: var(--border-radius-lg);
      padding: 2rem;
      transition: var(--transition-smooth);
      display: flex;
      flex-direction: column;
    }
    .service-card:hover {
      border-color: var(--card-hover-border);
      box-shadow: var(--card-shadow);
      transform: translateY(-4px);
    }
    .service-img {
      height: 140px;
      background-size: cover;
      background-position: center;
      border-radius: 16px;
      margin-bottom: 1.5rem;
      background-color: #1e1a3a;
    }
    .service-card h3 {
      font-size: 1.35rem;
      margin-bottom: 0.8rem;
    }
    .service-desc {
      color: var(--text-secondary);
      flex:1;
      margin-bottom: 1rem;
    }
    .micro-badge {
      background: rgba(0,229,255,0.12);
      color: var(--nebula-cyan);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      width: fit-content;
    }

    @media (max-width: 1024px) {
      .services-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 768px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
    }

    /* ----- 结果对比 ----- */
    .compare {
      padding: var(--section-space) 0;
    }
    .compare-wrapper {
      display: grid;
      grid-template-columns: 1fr 60px 1fr;
      align-items: start;
      gap: 1rem;
    }
    .vs-badge {
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--star-gold);
      font-size: 1.5rem;
    }
    .compare-panel {
      background: var(--card-bg);
      backdrop-filter: blur(12px);
      border: 1px solid var(--card-border);
      border-radius: var(--border-radius-lg);
      padding: 2rem;
    }
    .compare-panel.star {
      border-color: rgba(0,229,255,0.6);
      background: rgba(0,229,255,0.05);
    }
    .compare-item {
      display: flex;
      justify-content: space-between;
      margin-bottom: 1.2rem;
    }
    .gain {
      color: var(--star-gold);
    }
    @media (max-width: 768px) {
      .compare-wrapper {
        grid-template-columns: 1fr;
      }
      .vs-badge {
        margin: 1rem 0;
      }
    }

    /* ----- FAQ手风琴 ----- */
    .faq {
      padding: var(--section-space) 0;
    }
    .accordion-item {
      border-bottom: 1px solid rgba(255,255,255,0.08);
      padding: 1.2rem 0;
      cursor: pointer;
    }
    .accordion-header {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      font-weight: 600;
      font-size: 1.1rem;
    }
    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-secondary);
      padding-left: 2rem;
    }
    .accordion-item.active .accordion-content {
      max-height: 150px;
      padding-top: 1rem;
    }

    /* ----- 表单 ----- */
    .contact {
      padding: var(--section-space) 0;
    }
    .form-card {
      background: rgba(15, 20, 50, 0.7);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: var(--border-radius-xl);
      padding: 3rem;
    }
    .form-input {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: var(--border-radius-sm);
      padding: 0.9rem 1.2rem;
      width: 100%;
      color: white;
      margin-bottom: 1.2rem;
    }
    .form-input:focus {
      border-color: var(--nebula-cyan);
      outline: none;
      box-shadow: 0 0 0 3px rgba(0,229,255,0.25);
    }
    .footer {
      text-align: center;
      padding: 3rem 0 2rem;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
