/* roulang page: index */
:root {
      --bg-dark: #0D0E12;
      --surface-dark: #14171F;
      --surface-card: #1B202B;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(0, 229, 153, 0.4);
      --text-main: #F4F5F7;
      --text-muted: #9EABC0;
      --accent: #00E599;
      --accent-glow: rgba(0, 229, 153, 0.15);
      --purple: #7B61FF;
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 14px;
      --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      background-color: var(--bg-dark);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
      line-height: 1.65;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; transition: var(--transition); }
    a:hover { color: var(--accent); }
    img { max-width: 100%; height: auto; display: block; }

    /* 工具栏顶部信息条 */
    .top-toolbar {
      background: #08090C;
      border-bottom: 1px solid var(--border-subtle);
      font-size: 12px;
      color: var(--text-muted);
      padding: 6px 0;
    }
    .status-dot {
      display: inline-block;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent);
      margin-right: 6px;
      box-shadow: 0 0 8px var(--accent);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.85); }
    }

    /* 主导航 */
    .header-nav {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(13, 14, 18, 0.92);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border-subtle);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
    }
    .brand-logo {
      font-size: 19px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .brand-logo i { color: var(--accent); font-size: 22px; }
    .nav-menu {
      display: flex;
      gap: 22px;
      margin: 0;
      list-style: none;
    }
    .nav-menu a {
      font-size: 14px;
      font-weight: 500;
      color: var(--text-muted);
    }
    .nav-menu a:hover, .nav-menu a.active {
      color: var(--accent);
    }
    .nav-tools {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 600;
      padding: 10px 20px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      border: 1px solid transparent;
      transition: var(--transition);
      white-space: nowrap;
    }
    .btn-accent {
      background: var(--accent);
      color: #050E0A;
      box-shadow: 0 4px 14px rgba(0, 229, 153, 0.25);
    }
    .btn-accent:hover {
      background: #1affad;
      transform: translateY(-2px);
      color: #000;
    }
    .btn-outline {
      background: transparent;
      border-color: var(--border-subtle);
      color: var(--text-main);
    }
    .btn-outline:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-2px);
    }

    /* 板块通用间距与交替底色 */
    section {
      padding: 85px 0;
      position: relative;
    }
    .section-alt {
      background-color: var(--surface-dark);
      border-top: 1px solid var(--border-subtle);
      border-bottom: 1px solid var(--border-subtle);
    }
    .section-header {
      margin-bottom: 48px;
    }
    .section-tag {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent);
      margin-bottom: 10px;
      padding: 4px 10px;
      background: var(--accent-glow);
      border-radius: var(--radius-sm);
    }
    .section-title {
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 14px;
      color: var(--text-main);
    }
    .section-desc {
      font-size: 15px;
      color: var(--text-muted);
      max-width: 780px;
      line-height: 1.7;
    }

    /* Hero 斜切与双栏门户 */
    .hero-portal {
      padding: 90px 0 110px;
      background: linear-gradient(180deg, rgba(13,14,18,0.7) 0%, rgba(13,14,18,0.95) 100%),
                  url('/assets/images/efb3a27955fa8ce6.webp') center/cover no-repeat;
      position: relative;
      overflow: hidden;
      clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
      border-bottom: 2px solid var(--accent);
    }
    .hero-h1 {
      font-size: 46px;
      font-weight: 800;
      line-height: 1.18;
      margin-bottom: 20px;
      letter-spacing: -0.03em;
    }
    .hero-h1 span {
      background: linear-gradient(120deg, #00E599 0%, #7B61FF 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-intro {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.75;
      margin-bottom: 30px;
    }
    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .quick-entry-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }
    .entry-card {
      background: rgba(20, 23, 31, 0.75);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 20px;
      backdrop-filter: blur(8px);
      transition: var(--transition);
    }
    .entry-card:hover {
      border-color: var(--border-hover);
      transform: translateY(-3px);
      background: rgba(27, 32, 43, 0.85);
    }
    .entry-card i {
      font-size: 22px;
      color: var(--accent);
      margin-bottom: 12px;
    }
    .entry-card h4 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 6px;
    }
    .entry-card p {
      font-size: 13px;
      color: var(--text-muted);
      margin: 0;
      line-height: 1.5;
    }

    /* 卡片基础系统 */
    .card-item {
      background: var(--surface-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 28px;
      height: 100%;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }
    .card-item:hover {
      border-color: var(--border-hover);
      transform: translateY(-4px);
      box-shadow: 0 16px 32px -8px rgba(0,0,0,0.5);
    }
    .card-icon {
      font-size: 24px;
      color: var(--accent);
      margin-bottom: 18px;
    }
    .card-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .card-text {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
      flex-grow: 1;
    }
    .card-meta {
      margin-top: 16px;
      font-size: 12px;
      color: var(--purple);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* 路线图与步骤 */
    .roadmap-list {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .roadmap-step {
      background: var(--surface-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 24px;
      position: relative;
    }
    .step-number {
      font-size: 32px;
      font-weight: 800;
      color: rgba(255, 255, 255, 0.08);
      line-height: 1;
      margin-bottom: 10px;
    }

    /* 更新日志与数据面板 */
    .changelog-box {
      border-left: 2px solid var(--accent);
      padding-left: 20px;
      margin-bottom: 24px;
    }
    .changelog-version {
      font-size: 14px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 6px;
    }

    /* 指标看板 */
    .metrics-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      background: #090A0E;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 36px;
      text-align: center;
    }
    .metric-value {
      font-size: 42px;
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
      margin-bottom: 8px;
      font-variant-numeric: tabular-nums;
    }
    .metric-label {
      font-size: 14px;
      color: var(--text-muted);
    }

    /* 资讯卡片配图 */
    .news-card-img {
      border-radius: var(--radius-sm);
      margin-bottom: 16px;
      overflow: hidden;
      aspect-ratio: 16/9;
      object-fit: cover;
    }

    /* 会员权益 / 方案对比 */
    .tier-box {
      border: 1px solid var(--border-subtle);
      background: var(--surface-card);
      border-radius: var(--radius-lg);
      padding: 32px;
      height: 100%;
      position: relative;
    }
    .tier-box.featured {
      border-color: var(--accent);
      box-shadow: 0 0 24px rgba(0, 229, 153, 0.12);
    }
    .tier-badge {
      position: absolute;
      top: -12px;
      right: 24px;
      background: var(--accent);
      color: #000;
      font-size: 11px;
      font-weight: 700;
      padding: 2px 10px;
      border-radius: 12px;
    }

    /* 表单控件 */
    .form-dark {
      background: var(--surface-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 36px;
    }
    .form-group {
      margin-bottom: 20px;
    }
    .form-group label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 8px;
      color: var(--text-muted);
    }
    .form-input, .form-select, .form-textarea {
      width: 100%;
      background: #0F1218;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      color: var(--text-main);
      padding: 12px 16px;
      font-size: 14px;
      outline: none;
      transition: var(--transition);
    }
    .form-input:focus, .form-select:focus, .form-textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 10px rgba(0, 229, 153, 0.2);
    }

    /* 页脚 */
    footer {
      background: #07080A;
      border-top: 1px solid var(--border-subtle);
      padding: 60px 0 30px;
      font-size: 14px;
      color: var(--text-muted);
    }
    .footer-col h5 {
      color: var(--text-main);
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 18px;
    }
    .footer-links {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .footer-links li {
      margin-bottom: 10px;
    }
    .footer-bottom {
      margin-top: 50px;
      padding-top: 25px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 13px;
    }

    @media (max-width: 1024px) {
      .roadmap-list { grid-template-columns: repeat(2, 1fr); }
      .metrics-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    }
    @media (max-width: 768px) {
      .hero-h1 { font-size: 34px; }
      .quick-entry-grid { grid-template-columns: 1fr; }
      .roadmap-list { grid-template-columns: 1fr; }
      .metrics-bar { grid-template-columns: 1fr; }
      .nav-menu { display: none; }
      section { padding: 60px 0; }
    }
