/* roulang page: index */
:root {
      --primary: #0A66C2;
      --primary-hover: #084D96;
      --accent: #FF6B35;
      --accent-hover: #E55A2B;
      --bg-light: #F0F4FA;
      --bg-blueish: #EBF2FA;
      --white: #FFFFFF;
      --text-dark: #1A1A2E;
      --text-secondary: #5A5A72;
      --border-light: #E8ECF1;
      --success: #10B981;
      --ongoing: #FF6B35;
      --upcoming: #94A3B8;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
      --shadow-hover: 0 4px 16px rgba(10,102,194,0.12), 0 8px 24px rgba(0,0,0,0.06);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-tag: 6px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
      --font-mono: "DIN Alternate", "Roboto Mono", "SF Mono", monospace;
      --max-width: 1200px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-light);
      color: var(--text-dark);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      scroll-behavior: smooth;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button {
      font-family: inherit;
      cursor: pointer;
    }

    /* 导航栏双层结构 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-light);
    }

    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
      flex-wrap: wrap;
      gap: 16px;
    }

    .logo {
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--primary);
      letter-spacing: -0.3px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .logo span {
      background: var(--primary);
      color: white;
      padding: 2px 10px;
      border-radius: 20px;
      font-size: 0.8rem;
      margin-left: 6px;
      background: var(--accent);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .search-icon {
      font-size: 1.3rem;
      color: var(--text-secondary);
      background: none;
      border: none;
    }

    .btn-download {
      background: var(--primary);
      color: white;
      border: none;
      padding: 10px 22px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 0.9rem;
      transition: 0.2s;
    }

    .btn-download:hover {
      background: var(--primary-hover);
    }

    .channel-tabs {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      white-space: nowrap;
      padding-bottom: 12px;
      scrollbar-width: thin;
      -webkit-overflow-scrolling: touch;
    }

    .channel-tabs::-webkit-scrollbar {
      height: 4px;
    }

    .channel-tabs::-webkit-scrollbar-thumb {
      background: #cbd5e1;
      border-radius: 4px;
    }

    .tab-pill {
      padding: 8px 18px;
      border-radius: 30px;
      font-weight: 500;
      font-size: 0.9rem;
      background: transparent;
      color: var(--text-secondary);
      transition: 0.2s;
      cursor: pointer;
      border: none;
    }

    .tab-pill.active {
      background: var(--primary);
      color: white;
      font-weight: 600;
    }

    .tab-pill:hover:not(.active) {
      background: #e9f0f9;
      color: var(--primary);
    }

    /* Hero */
    #hero {
      background: linear-gradient(135deg, #F0F4FA 0%, #E2E8F0 100%);
      padding: 60px 0 70px;
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 50px;
      flex-wrap: wrap;
    }

    .hero-left {
      flex: 1 1 400px;
    }

    .hero-right {
      flex: 1 1 360px;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: 24px;
      padding: 20px;
      backdrop-filter: blur(4px);
      background-blend-mode: overlay;
      background-color: rgba(10,102,194,0.08);
    }

    h1 {
      font-size: clamp(2.2rem, 5vw, 3.2rem);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 18px;
      color: var(--text-dark);
    }

    .hero-sub {
      font-size: 1.2rem;
      color: var(--text-secondary);
      margin-bottom: 30px;
    }

    .btn-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border: none;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: 0.2s;
    }

    .btn-primary:hover { background: var(--primary-hover); }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: 0.2s;
    }

    .btn-outline:hover {
      background: rgba(10,102,194,0.06);
    }

    .score-mock {
      background: rgba(255,255,255,0.8);
      backdrop-filter: blur(8px);
      border-radius: 16px;
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .score-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-family: var(--font-mono);
      font-weight: 700;
      font-size: 1.5rem;
    }

    .tag {
      font-size: 0.7rem;
      padding: 4px 10px;
      border-radius: 20px;
      font-weight: 600;
      background: #e2e8f0;
    }

    .tag.live { background: var(--ongoing); color: white; }
    .tag.done { background: var(--success); color: white; }

    /* Sections */
    section {
      padding: 70px 0;
    }

    h2 {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 18px;
      color: var(--text-dark);
    }

    .section-intro {
      color: var(--text-secondary);
      max-width: 700px;
      margin-bottom: 40px;
    }

    /* Features 错落布局 */
    .features-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.9fr;
      gap: 28px;
    }

    .feature-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 28px;
      box-shadow: var(--shadow-sm);
      transition: 0.25s;
    }

    .feature-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-3px);
    }

    .feature-large {
      grid-row: span 2;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: white;
    }

    .feature-icon {
      font-size: 2rem;
      margin-bottom: 14px;
    }

    h3 {
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 10px;
    }

    /* Stats */
    #stats {
      background: var(--bg-blueish);
    }

    .stats-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: space-between;
    }

    .stat-item {
      font-family: var(--font-mono);
    }

    .stat-number {
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--primary);
    }

    .stat-label {
      color: var(--text-secondary);
      font-size: 0.95rem;
    }

    /* Showcase 横向滚动 */
    .showcase-scroll {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      padding-bottom: 12px;
      scrollbar-width: thin;
    }

    .showcase-card {
      min-width: 260px;
      background: white;
      border-radius: var(--radius-card);
      padding: 18px;
      box-shadow: var(--shadow-sm);
      transition: 0.2s;
      background-image: url('/assets/images/coverpic/cover-2.webp');
      background-size: cover;
      background-position: center;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .showcase-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    }

    .showcase-content {
      position: relative;
      z-index: 2;
    }

    .showcase-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    /* Workflow */
    .steps {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .step {
      flex: 1 1 180px;
      text-align: center;
    }

    .step-number {
      background: var(--primary);
      color: white;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 14px;
      font-weight: 700;
      font-size: 1.4rem;
    }

    /* FAQ */
    .faq-item {
      background: white;
      border-radius: 12px;
      margin-bottom: 12px;
      box-shadow: var(--shadow-sm);
    }

    .faq-question {
      padding: 18px 24px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      background: transparent;
      border: none;
      width: 100%;
      font-size: 1.1rem;
    }

    .faq-answer {
      padding: 0 24px 20px;
      color: var(--text-secondary);
      display: none;
    }

    .faq-item.open .faq-answer {
      display: block;
    }

    /* CTA */
    #cta {
      background: var(--primary);
      color: white;
      text-align: center;
    }

    .btn-cta {
      background: var(--accent);
      color: white;
      border: none;
      padding: 16px 38px;
      border-radius: var(--radius-btn);
      font-weight: 700;
      font-size: 1.1rem;
      margin-top: 22px;
      transition: 0.2s;
    }

    .btn-cta:hover { background: var(--accent-hover); }

    /* Footer */
    #footer {
      background: #1A1A2E;
      color: #cbd5e1;
      padding: 50px 0 25px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 30px;
    }

    h4 {
      color: white;
      margin-bottom: 14px;
    }

    @media (max-width: 1024px) {
      .features-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 640px) {
      h1 { font-size: 2rem; }
      .hero-grid { flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr; }
    }
