/* roulang page: index */
:root {
      --primary-deep: #0A0E17;
      --primary-card: #1A1F2B;
      --border-color: #2A2F3C;
      --highlight: #00F0A8;
      --warm: #FF4D2E;
      --text-light: #B0B8C5;
      --text-white: #FFFFFF;
      --bg-light: #F2F4F6;
      --font-mono: 'Roboto Mono', 'Courier New', monospace;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
      --shadow-light: 0 2px 12px rgba(0,0,0,0.06);
      --radius-card: 12px;
      --radius-btn: 6px;
      --radius-tag: 4px;
      --transition: 0.25s ease-out;
      --nav-width: 72px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--primary-deep);
      color: #E0E4EB;
      line-height: 1.7;
      overflow-x: hidden;
      display: flex;
      min-height: 100vh;
    }

    h1, h2, h3, h4 {
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.2;
      color: var(--text-white);
    }

    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; margin-bottom: 0.8rem; }
    h3 { font-size: 1.25rem; }

    p {
      color: var(--text-light);
      max-width: 72ch;
      margin-bottom: 1rem;
    }

    .mono {
      font-family: var(--font-mono);
    }

    /* 左侧App Shell导航 */
    .app-nav {
      position: fixed;
      top: 0;
      left: 0;
      width: var(--nav-width);
      height: 100vh;
      background-color: var(--primary-deep);
      border-right: 1px solid var(--border-color);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      padding: 1.2rem 0;
      z-index: 1050;
      transition: transform 0.3s ease;
    }

    .nav-logo {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.3rem;
    }

    .logo-icon {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, var(--highlight), #00c98b);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary-deep);
      font-weight: 700;
      font-size: 1.3rem;
    }

    .logo-text {
      writing-mode: vertical-rl;
      font-size: 11px;
      letter-spacing: 0.08em;
      color: var(--text-light);
      font-weight: 500;
    }

    .nav-items {
      display: flex;
      flex-direction: column;
      gap: 1.8rem;
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .nav-item {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      color: #5A6070;
      font-size: 1.4rem;
      transition: var(--transition);
      cursor: pointer;
      border-radius: 8px;
      text-decoration: none;
    }

    .nav-item.active {
      color: var(--highlight);
    }

    .nav-item.active::before {
      content: '';
      position: absolute;
      left: -12px;
      top: 50%;
      transform: translateY(-50%);
      width: 3px;
      height: 24px;
      background: var(--highlight);
      border-radius: 0 4px 4px 0;
    }

    .nav-item:hover {
      color: var(--highlight);
      background: rgba(0,240,168,0.08);
    }

    .nav-bottom {
      color: #5A6070;
      font-size: 1.3rem;
    }

    /* 移动端顶部栏 */
    .mobile-header {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 56px;
      background: var(--primary-deep);
      border-bottom: 1px solid var(--border-color);
      align-items: center;
      justify-content: space-between;
      padding: 0 1.2rem;
      z-index: 1040;
    }

    .burger-btn {
      background: none;
      border: none;
      color: white;
      font-size: 1.6rem;
    }

    .mobile-logo {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 700;
      color: white;
    }

    /* 主内容区 */
    .main-content {
      margin-left: var(--nav-width);
      flex: 1;
      width: calc(100% - var(--nav-width));
      background: var(--primary-deep);
    }

    .section {
      padding: 5rem 2rem;
    }

    .container-custom {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
    }

    /* Hero */
    .hero {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2.5rem;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
      min-height: 85vh;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: rgba(10,14,23,0.75);
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 560px;
    }

    .hero-title {
      font-size: 3rem;
      font-weight: 700;
    }

    .score-panel {
      background: rgba(26,31,43,0.8);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(0,240,168,0.2);
      border-radius: 20px;
      padding: 1.8rem;
      position: relative;
      z-index: 2;
      min-width: 280px;
    }

    .live-dot {
      width: 10px;
      height: 10px;
      background: var(--warm);
      border-radius: 50%;
      display: inline-block;
      margin-right: 8px;
      animation: pulse 1.2s infinite;
    }

    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.2); }
      100% { opacity: 1; transform: scale(1); }
    }

    .score-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.8rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .btn-primary-custom {
      background: var(--highlight);
      color: var(--primary-deep);
      font-weight: 700;
      padding: 0.8rem 2rem;
      border-radius: var(--radius-btn);
      border: none;
      transition: var(--transition);
    }

    .btn-primary-custom:hover {
      background: #00e09a;
      box-shadow: 0 0 18px rgba(0,240,168,0.4);
    }

    .btn-outline-custom {
      border: 1.5px solid var(--highlight);
      color: var(--highlight);
      background: transparent;
      padding: 0.7rem 1.8rem;
      border-radius: var(--radius-btn);
      transition: var(--transition);
    }

    .btn-outline-custom:hover {
      border-color: var(--warm);
      color: var(--warm);
      background: rgba(255,77,46,0.05);
    }

    .card-dark {
      background: var(--primary-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-card);
      padding: 2rem;
      transition: var(--transition);
      box-shadow: var(--shadow-card);
    }

    .card-dark:hover {
      transform: translateY(-6px);
      border-color: var(--highlight);
    }

    .light-bg {
      background: var(--bg-light);
      color: #1A1F2B;
    }

    .stat-number {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--highlight);
      font-family: var(--font-mono);
    }

    .faq-item {
      border-bottom: 1px solid #ddd;
      padding: 1rem 0;
    }

    @media (max-width: 992px) {
      .app-nav {
        transform: translateX(-100%);
      }
      .app-nav.mobile-open {
        transform: translateX(0);
        box-shadow: 4px 0 20px rgba(0,0,0,0.6);
      }
      .mobile-header {
        display: flex;
      }
      .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 56px;
      }
      .hero {
        flex-direction: column;
        text-align: center;
      }
    }

    @media (max-width: 768px) {
      .card-dark, .testimonial-card {
        margin-bottom: 1.5rem;
      }
      .hero-title { font-size: 2rem; }
    }
