/* roulang page: index */
:root {
      --deep-space: #0B0C10;
      --gold-star: #C9A96E;
      --gold-hover: #D4AF37;
      --silver-milk: #A0AAB5;
      --warm-bg: #F5F3EF;
      --card-white: #FFFFFF;
      --dark-bg: #1A1D24;
      --gray-text: #4A4A4A;
      --light-gray-text: #8A8A8A;
      --border-light: rgba(0,0,0,0.06);
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
      --shadow-md: 0 12px 24px rgba(0,0,0,0.08);
      --gold-glow: 0 0 0 1px rgba(201,169,110,0.3);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 4px;
      --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
      --font-mono: 'SF Pro Display', 'Inter', monospace;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--warm-bg);
      color: var(--deep-space);
      line-height: 1.6;
      -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 0.2s ease;
    }

    button, input, textarea {
      font-family: inherit;
    }

    .container {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 24px;
      padding-right: 24px;
    }

    /* 浮动导航 Dock */
    .nav-dock {
      position: fixed;
      top: 16px;
      left: 50%;
      transform: translateX(-50%);
      width: calc(100% - 32px);
      max-width: 1100px;
      background: rgba(20, 20, 20, 0.88);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 40px;
      padding: 12px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 1000;
      transition: all 0.25s ease;
    }

    .logo-text {
      font-weight: 700;
      font-size: 20px;
      color: var(--gold-star);
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo-svg {
      width: 24px;
      height: 24px;
      stroke: var(--gold-star);
      fill: none;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-link {
      font-size: 15px;
      font-weight: 500;
      color: #B0B0B0;
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--gold-star);
      transition: all 0.3s ease;
      transform: translateX(-50%);
    }

    .nav-link:hover {
      color: var(--gold-star);
    }
    .nav-link:hover::after {
      width: 100%;
    }

    .cta-dock-btn {
      background: var(--gold-star);
      color: var(--deep-space);
      font-weight: 600;
      padding: 10px 22px;
      border-radius: 24px;
      font-size: 14px;
      transition: background 0.2s, transform 0.1s;
      white-space: nowrap;
    }
    .cta-dock-btn:hover {
      background: var(--gold-hover);
    }

    .burger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
    }
    .burger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--gold-star);
      transition: 0.3s;
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 80px;
      left: 0;
      width: 100%;
      height: calc(100vh - 80px);
      background: rgba(10,10,12,0.96);
      backdrop-filter: blur(30px);
      z-index: 999;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 28px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    .mobile-menu.active {
      display: flex;
      opacity: 1;
      pointer-events: auto;
    }
    .mobile-menu a {
      font-size: 24px;
      color: #E0E0E0;
      font-weight: 500;
    }

    /* Hero */
    .hero-section {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: var(--warm-bg);
      position: relative;
      overflow: hidden;
      padding-top: 80px;
    }

    .hero-grid {
      display: flex;
      width: 100%;
      gap: 64px;
    }
    .hero-left {
      flex: 1 1 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .hero-right {
      flex: 1 1 50%;
      position: relative;
      min-height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    h1 {
      font-size: clamp(36px, 5vw, 64px);
      font-weight: 700;
      letter-spacing: -0.5px;
      line-height: 1.2;
      color: var(--deep-space);
      margin-bottom: 20px;
    }
    .hero-sub {
      font-size: 20px;
      color: #4A4A4A;
      margin-bottom: 36px;
      max-width: 500px;
    }
    .btn-group {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }
    .btn-primary {
      background: var(--gold-star);
      color: #0B0C10;
      font-weight: 700;
      padding: 16px 32px;
      border-radius: 8px;
      transition: background 0.2s;
      display: inline-block;
      text-align: center;
    }
    .btn-primary:hover {
      background: #D4AF37;
    }
    .btn-outline {
      border: 1.5px solid var(--gold-star);
      color: var(--gold-star);
      font-weight: 600;
      padding: 16px 32px;
      border-radius: 8px;
      background: transparent;
      transition: background 0.2s, color 0.2s;
    }
    .btn-outline:hover {
      background: rgba(201,169,110,0.1);
    }

    canvas#particleCanvas {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
    }

    /* 通用区块 */
    .section {
      padding: 100px 0;
    }
    .section-title {
      font-size: clamp(32px, 4vw, 42px);
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--deep-space);
    }
    .title-decor {
      width: 50px;
      height: 3px;
      background: var(--gold-star);
      margin-bottom: 48px;
    }
    .center-title {
      text-align: center;
    }
    .center-title .title-decor {
      margin-left: auto;
      margin-right: auto;
    }

    /* 数据看板 */
    .data-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .data-card {
      background: #FFFFFF;
      border-radius: 12px;
      padding: 40px 20px;
      text-align: left;
      box-shadow: 0 4px 12px rgba(0,0,0,0.02);
      border-bottom: 3px solid transparent;
      background-image: linear-gradient(to right, var(--gold-star), var(--gold-star));
      background-size: 100% 3px;
      background-position: bottom;
      background-repeat: no-repeat;
      transition: all 0.25s;
    }
    .data-number {
      font-family: var(--font-mono);
      font-size: 56px;
      font-weight: 600;
      color: var(--gold-star);
      line-height: 1.1;
    }
    .data-unit {
      font-size: 16px;
      color: #8A8A8A;
      margin-top: 8px;
      font-weight: 500;
    }
    .data-desc {
      font-size: 14px;
      color: #6A6A6A;
      margin-top: 12px;
    }

    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }
    .service-card {
      background: #FFFFFF;
      padding: 32px;
      border-radius: 12px;
      transition: transform 0.3s ease, box-shadow 0.3s;
      position: relative;
      box-shadow: 0 2px 12px rgba(0,0,0,0.03);
      cursor: default;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 30px rgba(0,0,0,0.08), 0 0 0 1px rgba(201,169,110,0.25);
    }
    .service-icon {
      width: 48px;
      height: 48px;
      stroke: var(--gold-star);
      margin-bottom: 20px;
    }
    .service-card h3 {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    .service-desc {
      color: #4A4A4A;
      font-size: 16px;
      line-height: 1.6;
    }
    .arrow-icon {
      position: absolute;
      right: 32px;
      bottom: 32px;
      width: 20px;
      height: 20px;
      stroke: #A0AAB5;
      transition: transform 0.2s;
    }
    .service-card:hover .arrow-icon {
      transform: translateX(4px);
      stroke: var(--gold-star);
    }

    /* 案例对比 */
    .compare-block {
      display: flex;
      gap: 40px;
      background: #FFFFFF;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,0.02);
    }
    .compare-left, .compare-right {
      flex:1;
      padding: 40px;
    }
    .compare-left {
      background: #F0EDE8;
      color: #6A6A6A;
    }
    .compare-right {
      background: #FFFFFF;
      color: var(--deep-space);
    }
    .old-data {
      text-decoration: line-through;
      opacity: 0.8;
    }
    .highlight-gold {
      color: var(--gold-star);
      font-weight: 700;
    }
    .progress-bar-bg {
      height: 8px;
      background: #E0DDD5;
      border-radius: 4px;
      margin: 12px 0;
    }
    .progress-fill {
      height: 8px;
      background: var(--gold-star);
      border-radius: 4px;
      width: 92%;
    }
    .progress-gray {
      width: 45%;
      background: #A0AAB5;
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid #E5E2DA;
      padding: 20px 0;
      cursor: pointer;
    }
    .faq-question {
      display: flex;
      align-items: center;
      font-size: 20px;
      font-weight: 600;
      position: relative;
      padding-left: 20px;
    }
    .faq-question::before {
      content: '';
      position: absolute;
      left: 0;
      width: 4px;
      height: 20px;
      background: var(--gold-star);
      border-radius: 2px;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      background: rgba(201,169,110,0.02);
      padding-left: 20px;
      color: #555;
      font-size: 16px;
      margin-top: 8px;
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding-top: 12px;
      padding-bottom: 12px;
    }
    .faq-icon {
      margin-left: auto;
      font-size: 24px;
      color: var(--gold-star);
      transition: transform 0.3s;
    }
    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }

    /* 表单 */
    .contact-form {
      background: #FFFFFF;
      padding: 48px;
      border-radius: 20px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.04);
      max-width: 680px;
      margin: 0 auto;
    }
    .input-line {
      width: 100%;
      border: none;
      border-bottom: 2px solid #D1D1D1;
      padding: 14px 0;
      font-size: 16px;
      background: transparent;
      outline: none;
      transition: border-color 0.2s;
      margin-bottom: 28px;
    }
    .input-line:focus {
      border-bottom-color: var(--gold-star);
    }
    .submit-btn {
      background: var(--gold-star);
      color: #0B0C10;
      font-weight: 700;
      padding: 16px;
      width: 100%;
      border: none;
      border-radius: 8px;
      font-size: 18px;
      cursor: pointer;
      transition: background 0.2s;
    }
    .submit-btn:hover {
      background: #D4AF37;
    }

    footer {
      background: #1A1D24;
      color: #8A8A8A;
      padding: 48px 0;
    }

    @media (max-width: 1024px) {
      .data-grid { grid-template-columns: repeat(2,1fr); }
      .services-grid { grid-template-columns: repeat(2,1fr); }
      .hero-grid { flex-direction: column; }
      .hero-right { min-height: 300px; }
    }
    @media (max-width: 768px) {
      .nav-links, .cta-dock-btn.desktop { display: none; }
      .burger { display: flex; }
      .data-grid { grid-template-columns: 1fr; }
      .services-grid { grid-template-columns: 1fr; }
      .compare-block { flex-direction: column; }
      .section { padding: 64px 0; }
    }
