/* roulang page: index */
:root {
      --primary-deep: #0B1A2F;
      --accent-cyan: #00F0FF;
      --accent-red: #FF3C00;
      --neutral-ice: #F0F4F8;
      --gray-blue: #1E2F44;
      --glass-bg: rgba(255, 255, 255, 0.03);
      --glass-border: rgba(0, 240, 255, 0.15);
      --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
      --glass-hover-shadow: 0 16px 48px rgba(0, 240, 255, 0.15);
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-sm: 8px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --font-mono: "DIN Alternate", "Roboto Mono", monospace;
      --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --container-max: 1280px;
      --header-height: 64px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--primary-deep);
      color: rgba(240, 244, 248, 0.9);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: var(--header-height);
      z-index: 100;
      background: rgba(11, 26, 47, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(0, 240, 255, 0.1);
      display: flex;
      align-items: center;
      transition: background 0.3s ease;
    }

    .navbar.scrolled {
      background: rgba(11, 26, 47, 0.95);
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .logo {
      font-weight: 800;
      font-size: 1.4rem;
      color: var(--accent-cyan);
      text-decoration: none;
      letter-spacing: 0.02em;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo i {
      font-size: 1.6rem;
      color: var(--accent-cyan);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .nav-links a {
      color: var(--neutral-ice);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      padding: 6px 0;
      transition: color 0.2s;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      background: var(--accent-cyan);
      transition: width 0.3s ease;
    }

    .nav-links a:hover {
      color: var(--accent-cyan);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .btn-primary-sm {
      background: var(--accent-cyan);
      color: var(--primary-deep);
      border: none;
      padding: 8px 20px;
      border-radius: var(--radius-md);
      font-weight: 700;
      font-size: 0.85rem;
      cursor: pointer;
      box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
      transition: all var(--transition-smooth);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .btn-primary-sm:hover {
      box-shadow: 0 0 30px rgba(0, 240, 255, 0.7);
      background: #33F5FF;
      transform: translateY(-1px);
    }

    .hamburger {
      display: none;
      font-size: 1.6rem;
      color: var(--neutral-ice);
      cursor: pointer;
      background: none;
      border: none;
    }

    .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 280px;
      height: 100vh;
      background: rgba(11, 26, 47, 0.96);
      backdrop-filter: blur(20px);
      padding: 80px 30px 30px;
      display: flex;
      flex-direction: column;
      gap: 24px;
      transition: right 0.4s ease;
      z-index: 99;
      border-left: 1px solid rgba(0, 240, 255, 0.2);
    }

    .mobile-menu.active {
      right: 0;
    }

    .mobile-menu a {
      color: var(--neutral-ice);
      font-size: 1.2rem;
      text-decoration: none;
      font-weight: 500;
    }

    /* Hero 分屏 */
    .hero {
      display: flex;
      min-height: 100vh;
      padding-top: var(--header-height);
    }

    .hero-left {
      width: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0 40px 0 24px;
    }

    .hero-right {
      width: 50%;
      position: relative;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-right::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(11,26,47,0.8) 0%, rgba(0,240,255,0.1) 100%);
      backdrop-filter: blur(2px);
    }

    .hero-dashboard {
      position: relative;
      z-index: 2;
      width: 85%;
      max-width: 500px;
      animation: glowPulse 3s infinite alternate;
    }

    .hero-dashboard img {
      width: 100%;
      height: auto;
      border-radius: var(--radius-lg);
      box-shadow: 0 0 60px rgba(0, 240, 255, 0.3);
    }

    @keyframes glowPulse {
      0% { filter: drop-shadow(0 0 15px rgba(0,240,255,0.4)); }
      100% { filter: drop-shadow(0 0 35px rgba(0,240,255,0.8)); }
    }

    h1 {
      font-weight: 700;
      font-size: clamp(2.5rem, 6vw, 4rem);
      letter-spacing: -0.02em;
      line-height: 1.15;
      color: white;
      margin-bottom: 20px;
    }

    .hero-sub {
      font-size: 1.1rem;
      color: rgba(240, 244, 248, 0.85);
      margin-bottom: 32px;
      max-width: 480px;
    }

    .trust-badge {
      display: flex;
      gap: 20px;
      margin-top: 24px;
      font-size: 0.85rem;
      color: rgba(240,244,248,0.7);
      align-items: center;
    }

    .btn-secondary {
      background: transparent;
      border: 1px solid var(--accent-red);
      color: var(--accent-red);
      padding: 12px 28px;
      border-radius: var(--radius-md);
      font-weight: 600;
      margin-left: 16px;
      cursor: pointer;
      transition: all var(--transition-smooth);
      text-decoration: none;
    }

    .btn-secondary:hover {
      background: rgba(255, 60, 0, 0.1);
      border-color: #ff5a2b;
    }

    /* 通用区块 */
    section {
      padding: 100px 0;
    }

    h2 {
      font-weight: 600;
      font-size: clamp(1.75rem, 4vw, 2.5rem);
      letter-spacing: -0.01em;
      margin-bottom: 48px;
      color: white;
      text-align: center;
    }

    /* 指标看板 */
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .metric-card {
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius-lg);
      padding: 28px 20px;
      box-shadow: var(--glass-shadow);
      transition: all var(--transition-smooth);
      text-align: center;
    }

    .metric-card:hover {
      transform: translateY(-6px);
      border-color: var(--accent-cyan);
      box-shadow: var(--glass-hover-shadow);
    }

    .metric-number {
      font-family: var(--font-mono);
      font-size: 2.8rem;
      font-weight: 700;
      color: white;
    }

    .trend-up { color: var(--accent-cyan); }
    .trend-down { color: var(--accent-red); }

    /* 服务矩阵 非对称 */
    .services-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 24px;
    }

    .service-card {
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--glass-shadow);
      transition: all var(--transition-smooth);
    }

    .service-card:hover {
      transform: translateY(-6px);
      border-color: var(--accent-cyan);
    }

    .service-featured {
      position: relative;
    }

    .service-featured img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      display: block;
    }

    .service-featured .card-text {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 24px;
      background: linear-gradient(transparent, rgba(11,26,47,0.9));
      color: white;
    }

    .service-normal {
      padding: 32px 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .service-icon {
      font-size: 2rem;
      color: var(--accent-cyan);
    }

    /* 对比 */
    .compare-panel {
      display: flex;
      gap: 24px;
      align-items: stretch;
    }

    .compare-left, .compare-right {
      flex: 1;
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      border-radius: var(--radius-lg);
      padding: 32px;
      border: 1px solid var(--glass-border);
    }

    .compare-left {
      background: #1E2F44;
    }

    .compare-right {
      border-color: var(--accent-cyan);
    }

    .compare-row {
      display: flex;
      justify-content: space-between;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid rgba(255,255,255,0.08);
      margin-bottom: 8px;
    }

    .faq-question {
      width: 100%;
      background: transparent;
      border: none;
      color: var(--neutral-ice);
      padding: 20px 0;
      font-size: 1.1rem;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      text-align: left;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      background: rgba(0,240,255,0.02);
      padding-left: 12px;
    }

    .faq-answer p {
      padding: 0 0 16px;
      color: rgba(240,244,248,0.8);
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
    }

    .faq-item.active .faq-question {
      color: var(--accent-cyan);
    }

    /* 表单 */
    .contact-form {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
    }

    .input-field {
      background: #1E2F44;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: var(--radius-md);
      padding: 14px 18px;
      color: white;
      font-size: 1rem;
      flex: 1 1 200px;
      transition: 0.2s;
    }

    .input-field:focus {
      outline: none;
      border-color: var(--accent-cyan);
      box-shadow: 0 0 12px rgba(0,240,255,0.3);
    }

    .btn-submit {
      background: var(--accent-cyan);
      color: #0B1A2F;
      font-weight: 700;
      padding: 14px 36px;
      border: none;
      border-radius: var(--radius-md);
      cursor: pointer;
      box-shadow: 0 0 20px rgba(0,240,255,0.5);
      transition: all var(--transition-smooth);
    }

    .btn-submit:hover {
      box-shadow: 0 0 35px rgba(0,240,255,0.8);
      transform: translateY(-2px);
    }

    .footer {
      background: #060F1A;
      border-top: 1px solid rgba(0,240,255,0.1);
      padding: 32px 0;
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }

    @media (max-width: 1024px) {
      .hero {
        flex-direction: column;
      }
      .hero-left, .hero-right {
        width: 100%;
      }
      .hero-right {
        height: 45vh;
      }
      .metrics-grid {
        grid-template-columns: repeat(2,1fr);
      }
      .services-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: block; }
      .services-grid {
        grid-template-columns: 1fr;
      }
      .compare-panel {
        flex-direction: column;
      }
      .metrics-grid {
        grid-template-columns: 1fr;
      }
    }
