/* roulang page: index */
:root {
      --bg-dark: #0B0D11;
      --bg-card: #141820;
      --bg-card-hover: #1A202C;
      --accent-neon: #00FF9D;
      --accent-purple: #7000FF;
      --text-main: #F2F5F8;
      --text-muted: #94A3B8;
      --text-dark: #64748B;
      --border-color: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(0, 255, 157, 0.45);
      --box-shadow-glow: 0 12px 30px -10px rgba(0, 255, 157, 0.18);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 20px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-main);
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.7;
      letter-spacing: 0.02em;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.25s ease;
    }

    /* 顶部通告辅助栏 */
    .top-bar {
      background-color: #07080a;
      border-bottom: 1px solid var(--border-color);
      font-size: 0.825rem;
      color: var(--text-muted);
      padding: 6px 0;
    }
    .top-bar a:hover {
      color: var(--accent-neon);
    }

    /* 浮动 Dock 导航架构 */
    .nav-dock-wrapper {
      position: sticky;
      top: 14px;
      z-index: 1050;
      padding: 0 16px;
    }
    .nav-dock {
      max-width: 1140px;
      margin: 0 auto;
      background: rgba(20, 24, 32, 0.88);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 50px;
      padding: 8px 24px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--text-main);
    }
    .nav-logo-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--accent-neon), var(--accent-purple));
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #000;
      font-size: 1rem;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 20px;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .nav-links li a {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-muted);
      padding: 6px 10px;
      border-radius: 6px;
    }
    .nav-links li a:hover, .nav-links li a.active {
      color: var(--accent-neon);
    }
    .btn-dock-action {
      background: var(--accent-neon);
      color: #080a0d;
      font-weight: 700;
      font-size: 0.875rem;
      padding: 7px 18px;
      border-radius: 50px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border: none;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .btn-dock-action:hover {
      background: #33ffb1;
      transform: translateY(-1px);
      box-shadow: 0 4px 15px rgba(0, 255, 157, 0.4);
      color: #000;
    }

    /* 通用板块与排版系统 */
    section {
      padding: 85px 0;
      position: relative;
    }
    .section-alt {
      background-color: #0f1218;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }
    .section-tagline {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent-neon);
      margin-bottom: 12px;
      background: rgba(0, 255, 157, 0.08);
      padding: 4px 12px;
      border-radius: 4px;
      border: 1px solid rgba(0, 255, 157, 0.2);
    }
    .section-title {
      font-size: 2.25rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 14px;
    }
    .section-subtitle {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 720px;
      margin-bottom: 45px;
    }

    /* 按钮规范 */
    .btn-brand-primary {
      background: var(--accent-neon);
      color: #080a0d;
      font-weight: 700;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--accent-neon);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-brand-primary:hover {
      background: #2effad;
      color: #000;
      box-shadow: 0 6px 20px rgba(0, 255, 157, 0.35);
      transform: translateY(-2px);
    }
    .btn-brand-outline {
      background: transparent;
      color: var(--text-main);
      font-weight: 600;
      padding: 12px 26px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-color);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-brand-outline:hover {
      border-color: var(--text-main);
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-main);
    }

    /* 卡片规范 */
    .custom-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px;
      transition: all 0.3s ease;
      height: 100%;
      position: relative;
    }
    .custom-card:hover {
      transform: translateY(-4px);
      border-color: rgba(0, 255, 157, 0.35);
      box-shadow: var(--box-shadow-glow);
    }

    /* 板块 1：Hero 区域 (无大图首屏，图标矩阵 + 状态条 + 短标题) */
    .hero-section {
      padding: 60px 0 75px;
      position: relative;
      background: radial-gradient(circle at 50% 20%, rgba(112, 0, 255, 0.12) 0%, rgba(11, 13, 17, 0) 70%);
    }
    .hero-status-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      background: rgba(20, 24, 32, 0.9);
      border: 1px solid rgba(0, 255, 157, 0.3);
      border-radius: 30px;
      font-size: 0.85rem;
      margin-bottom: 24px;
    }
    .status-dot {
      width: 8px;
      height: 8px;
      background-color: var(--accent-neon);
      border-radius: 50%;
      box-shadow: 0 0 10px var(--accent-neon);
      animation: pulse-dot 2s infinite;
    }
    @keyframes pulse-dot {
      0% { opacity: 0.4; transform: scale(0.9); }
      50% { opacity: 1; transform: scale(1.15); }
      100% { opacity: 0.4; transform: scale(0.9); }
    }
    .hero-h1 {
      font-size: 3.5rem;
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
    }
    .hero-h1 .gradient-text {
      background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-neon) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-desc {
      font-size: 1.1rem;
      color: var(--text-muted);
      max-width: 800px;
      margin: 0 auto 36px;
      line-height: 1.8;
    }
    /* 首屏图标矩阵 */
    .hero-icon-matrix {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      max-width: 980px;
      margin: 40px auto 0;
    }
    .matrix-node {
      background: rgba(20, 24, 32, 0.7);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 18px 14px;
      text-align: center;
      transition: all 0.3s;
    }
    .matrix-node:hover {
      border-color: var(--accent-neon);
      background: rgba(26, 32, 44, 0.9);
      transform: translateY(-2px);
    }
    .matrix-icon {
      font-size: 1.4rem;
      color: var(--accent-neon);
      margin-bottom: 8px;
    }
    .matrix-title {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 2px;
    }
    .matrix-sub {
      font-size: 0.75rem;
      color: var(--text-dark);
    }

    /* 板块 2：架构参数展示 */
    .arch-code-window {
      background: #07090c;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    }
    .arch-window-header {
      background: #11141b;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--border-color);
    }
    .window-dots {
      display: flex;
      gap: 6px;
    }
    .window-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
    .dot-red { background: #ff5f56; }
    .dot-yellow { background: #ffbd2e; }
    .dot-green { background: #27c93f; }
    .arch-body {
      padding: 24px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      font-size: 0.85rem;
      color: #b5c2d3;
      line-height: 1.8;
    }
    .token-hl { color: var(--accent-neon); font-weight: 600; }
    .token-pur { color: #a855f7; }

    /* 板块 4：工具箱大卡片 */
    .module-badge {
      font-size: 0.72rem;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 4px;
      background: rgba(112, 0, 255, 0.15);
      color: #c084fc;
      border: 1px solid rgba(112, 0, 255, 0.3);
    }

    /* 板块 5：案例演示墙 */
    .case-card-img-wrapper {
      position: relative;
      border-radius: var(--radius-sm);
      overflow: hidden;
      margin-bottom: 18px;
      height: 200px;
    }
    .case-card-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .case-card:hover .case-card-img-wrapper img {
      transform: scale(1.04);
    }
    .case-fps-tag {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(4px);
      color: var(--accent-neon);
      font-size: 0.75rem;
      padding: 3px 8px;
      border-radius: 4px;
      font-weight: 700;
      border: 1px solid rgba(0, 255, 157, 0.3);
    }
    .waveform-bar {
      height: 4px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 2px;
      overflow: hidden;
      margin: 12px 0 8px;
    }
    .waveform-progress {
      height: 100%;
      background: linear-gradient(90deg, var(--accent-neon), var(--accent-purple));
    }

    /* 板块 6：实战流程时间轴 */
    .flow-step-number {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: rgba(0, 255, 157, 0.1);
      color: var(--accent-neon);
      border: 1px solid rgba(0, 255, 157, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.15rem;
      font-weight: 800;
      margin-bottom: 18px;
    }

    /* 板块 7：统计计数条 */
    .metric-strip {
      background: #080a0e;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
      padding: 45px 0;
    }
    .metric-val {
      font-size: 3rem;
      font-weight: 800;
      line-height: 1;
      color: var(--accent-neon);
      font-family: ui-monospace, SFMono-Regular, monospace;
      margin-bottom: 6px;
    }
    .metric-label {
      font-size: 0.95rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* 板块 11：合作生态墙 */
    .eco-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;
    }
    .eco-item {
      background: rgba(20, 24, 32, 0.5);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 16px 10px;
      text-align: center;
      color: var(--text-dark);
      font-weight: 600;
      font-size: 0.85rem;
      transition: all 0.25s;
    }
    .eco-item:hover {
      border-color: var(--accent-neon);
      color: var(--text-main);
      background: var(--bg-card);
    }
    .eco-item i {
      font-size: 1.5rem;
      display: block;
      margin-bottom: 8px;
      color: var(--text-muted);
    }
    .eco-item:hover i {
      color: var(--accent-neon);
    }

    /* 板块 12：FAQ 手风琴 */
    .custom-accordion .accordion-item {
      background-color: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      margin-bottom: 12px;
      overflow: hidden;
    }
    .custom-accordion .accordion-button {
      background-color: var(--bg-card);
      color: var(--text-main);
      font-weight: 600;
      padding: 18px 22px;
      box-shadow: none;
    }
    .custom-accordion .accordion-button:not(.collapsed) {
      color: var(--accent-neon);
      background-color: rgba(26, 32, 44, 0.6);
      border-bottom: 1px solid var(--border-color);
    }
    .custom-accordion .accordion-button::after {
      filter: invert(1);
    }
    .custom-accordion .accordion-body {
      color: var(--text-muted);
      padding: 20px 22px;
      font-size: 0.95rem;
      line-height: 1.8;
    }

    /* 页脚 */
    footer {
      background: #050608;
      border-top: 1px solid var(--border-color);
      padding: 70px 0 35px;
      font-size: 0.9rem;
      color: var(--text-muted);
    }
    .footer-col-title {
      color: var(--text-main);
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links li {
      margin-bottom: 10px;
    }
    .footer-links a:hover {
      color: var(--accent-neon);
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      margin-top: 45px;
      padding-top: 25px;
      font-size: 0.8rem;
      color: var(--text-dark);
    }

    /* 响应式优化 */
    @media (max-width: 991px) {
      .hero-h1 { font-size: 2.75rem; }
      .hero-icon-matrix { grid-template-columns: repeat(2, 1fr); }
      .eco-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 767px) {
      .hero-h1 { font-size: 2.15rem; }
      .section-title { font-size: 1.75rem; }
      .nav-dock { border-radius: 16px; padding: 10px 16px; }
      .nav-links { display: none; }
      .hero-icon-matrix { grid-template-columns: 1fr; }
      .eco-grid { grid-template-columns: repeat(2, 1fr); }
      .metric-val { font-size: 2.4rem; }
    }
