/* roulang page: index */
:root {
      --bg-primary: #0d1117;
      --bg-secondary: #161b22;
      --bg-card: rgba(22, 27, 34, 0.85);
      --border-color: rgba(240, 246, 252, 0.12);
      --border-accent: #2ea043;
      --text-main: #f0f6fc;
      --text-muted: #8b949e;
      --text-title: #ffffff;
      --terminal-green: #2ea043;
      --terminal-green-bright: #3fb950;
      --signal-cyan: #06b6d4;
      --accent-glow: rgba(46, 160, 67, 0.18);
      --font-code: "JetBrains Mono", Consolas, "SF Mono", monospace;
      --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", sans-serif;
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    html {
      scroll-behavior: smooth;
      background-color: var(--bg-primary);
      color: var(--text-main);
      font-family: var(--font-base);
      font-size: 16px;
      line-height: 1.6;
    }
    body {
      overflow-x: hidden;
      background-color: var(--bg-primary);
      background-image: radial-gradient(rgba(240, 246, 252, 0.04) 1px, transparent 1px);
      background-size: 24px 24px;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.2s ease;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    .container {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;
    }
    .font-mono {
      font-family: var(--font-code);
    }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      border-radius: 4px;
      font-size: 0.825rem;
      font-weight: 500;
      background: rgba(46, 160, 67, 0.12);
      color: var(--terminal-green-bright);
      border: 1px solid rgba(46, 160, 67, 0.3);
    }
    .badge-cyan {
      background: rgba(6, 182, 212, 0.12);
      color: var(--signal-cyan);
      border-color: rgba(6, 182, 212, 0.3);
    }
    .section-title-wrap {
      margin-bottom: 40px;
    }
    .section-title {
      font-size: 2.1rem;
      font-weight: 700;
      color: var(--text-title);
      margin-bottom: 12px;
      letter-spacing: -0.5px;
    }
    .section-desc {
      color: var(--text-muted);
      font-size: 1.05rem;
      max-width: 820px;
      line-height: 1.7;
    }
    .site-topbar {
      height: 38px;
      background: #080b0f;
      border-bottom: 1px solid rgba(240, 246, 252, 0.08);
      font-size: 0.8rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
    }
    .topbar-flex {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .status-indicator {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--terminal-green-bright);
      box-shadow: 0 0 8px var(--terminal-green-bright);
      animation: pulse 2s infinite ease-in-out;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.85); }
    }
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(13, 17, 23, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      transition: background 0.3s;
    }
    .nav-flex {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }
    .logo-box {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--text-title);
    }
    .logo-icon {
      width: 36px;
      height: 36px;
      background: rgba(46, 160, 67, 0.15);
      border: 1px solid var(--terminal-green);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--terminal-green-bright);
      font-size: 1.1rem;
    }
    .nav-links {
      display: flex;
      gap: 28px;
      list-style: none;
    }
    .nav-links a {
      color: var(--text-muted);
      font-size: 0.95rem;
      font-weight: 500;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--terminal-green-bright);
    }
    .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 42px;
      padding: 0 20px;
      background: var(--terminal-green);
      color: #ffffff;
      border-radius: 6px;
      font-weight: 600;
      font-size: 0.9rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 4px 14px var(--accent-glow);
    }
    .nav-cta:hover {
      background: var(--terminal-green-bright);
      transform: translateY(-1px);
    }
    .menu-toggle {
      display: none;
      background: transparent;
      border: none;
      color: var(--text-main);
      font-size: 1.5rem;
      cursor: pointer;
    }
    .hero-angled-section {
      position: relative;
      background: #090d13;
      padding: 90px 0 110px;
      overflow: hidden;
      border-bottom: 1px solid var(--border-color);
    }
    .hero-angled-bg {
      position: absolute;
      top: -20%;
      right: -10%;
      width: 65%;
      height: 140%;
      background: linear-gradient(135deg, rgba(46, 160, 67, 0.12) 0%, rgba(6, 182, 212, 0.03) 60%, transparent 100%);
      transform: skewX(-14deg);
      border-left: 1px solid rgba(46, 160, 67, 0.25);
      pointer-events: none;
    }
    .hero-grid {
      position: relative;
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 48px;
      align-items: center;
    }
    .hero-title {
      font-size: 3rem;
      line-height: 1.18;
      font-weight: 800;
      color: #ffffff;
      margin: 18px 0 22px;
      letter-spacing: -1px;
    }
    .hero-title span {
      color: var(--terminal-green-bright);
    }
    .hero-lead {
      color: #c9d1d9;
      font-size: 1.1rem;
      line-height: 1.75;
      margin-bottom: 34px;
    }
    .hero-action-row {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      height: 48px;
      padding: 0 28px;
      background: var(--terminal-green);
      color: #fff;
      font-weight: 600;
      border-radius: 6px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 4px 18px var(--accent-glow);
    }
    .btn-primary:hover {
      background: var(--terminal-green-bright);
      transform: translateY(-2px);
    }
    .btn-outline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      height: 48px;
      padding: 0 24px;
      background: rgba(22, 27, 34, 0.8);
      color: var(--text-main);
      font-weight: 500;
      border-radius: 6px;
      border: 1px solid var(--border-color);
    }
    .btn-outline:hover {
      background: rgba(240, 246, 252, 0.08);
      border-color: var(--terminal-green);
      color: #fff;
    }
    .hero-stage-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      padding: 24px;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
      position: relative;
    }
    .stage-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--border-color);
      padding-bottom: 14px;
      margin-bottom: 18px;
    }
    .console-dots {
      display: flex;
      gap: 6px;
    }
    .console-dots span {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(240, 246, 252, 0.2);
    }
    .console-dots span:nth-child(1) { background: #ff5f56; }
    .console-dots span:nth-child(2) { background: #ffbd2e; }
    .console-dots span:nth-child(3) { background: #27c93f; }
    .node-stat-stream {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .stat-row-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 14px;
      border-radius: 6px;
      background: #0d1117;
      border: 1px solid rgba(240, 246, 252, 0.06);
      font-size: 0.88rem;
    }
    .stat-chain-tag {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 600;
    }
    .section-wrap {
      padding: 85px 0;
      position: relative;
      border-bottom: 1px solid var(--border-color);
    }
    .section-alt {
      background: var(--bg-secondary);
    }
    .search-filter-box {
      background: #11161d;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 20px 24px;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
      margin-top: 10px;
    }
    .filter-input-wrap {
      flex: 1;
      min-width: 260px;
      position: relative;
    }
    .filter-input-wrap i {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
    }
    .filter-input {
      width: 100%;
      height: 44px;
      background: #0d1117;
      border: 1px solid var(--border-color);
      border-radius: 6px;
      padding: 0 16px 0 42px;
      color: #fff;
      font-size: 0.92rem;
      outline: none;
    }
    .filter-input:focus {
      border-color: var(--terminal-green);
    }
    .chain-quick-tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .quick-tag-btn {
      padding: 6px 14px;
      background: rgba(240, 246, 252, 0.04);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      font-size: 0.84rem;
      color: var(--text-muted);
    }
    .quick-tag-btn.active, .quick-tag-btn:hover {
      background: rgba(46, 160, 67, 0.15);
      border-color: var(--terminal-green);
      color: var(--terminal-green-bright);
    }
    .matrix-grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .matrix-card {
      background: #0d1117;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 24px;
      transition: all 0.25s ease;
    }
    .matrix-card:hover {
      border-color: var(--terminal-green);
      transform: translateY(-3px);
      box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.6);
    }
    .matrix-icon {
      font-size: 1.8rem;
      color: var(--terminal-green-bright);
      margin-bottom: 16px;
    }
    .matrix-card h3 {
      font-size: 1.15rem;
      color: #fff;
      margin-bottom: 10px;
    }
    .matrix-card p {
      color: var(--text-muted);
      font-size: 0.9rem;
      line-height: 1.6;
    }
    .curated-card-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .curated-card {
      background: #11161d;
      border: 1px solid var(--border-color);
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.25s ease, border-color 0.25s ease;
    }
    .curated-card:hover {
      transform: translateY(-4px);
      border-color: var(--terminal-green);
    }
    .curated-card.highlight {
      border: 1px solid var(--terminal-green);
      position: relative;
      box-shadow: 0 0 20px rgba(46, 160, 67, 0.15);
    }
    .popular-ribbon {
      position: absolute;
      top: 12px;
      right: 12px;
      background: var(--terminal-green);
      color: #fff;
      font-size: 0.72rem;
      padding: 2px 8px;
      border-radius: 4px;
      font-weight: 600;
    }
    .curated-head {
      padding: 28px 24px 20px;
      border-bottom: 1px solid var(--border-color);
    }
    .curated-head h3 {
      font-size: 1.3rem;
      color: #fff;
      margin: 8px 0;
    }
    .curated-head p {
      font-size: 0.88rem;
      color: var(--text-muted);
    }
    .curated-body {
      padding: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .spec-list {
      list-style: none;
      margin-bottom: 24px;
    }
    .spec-list li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.88rem;
      color: #c9d1d9;
      margin-bottom: 12px;
    }
    .spec-list li i {
      color: var(--terminal-green-bright);
      font-size: 0.85rem;
    }
    .table-container {
      background: #0d1117;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      overflow-x: auto;
    }
    .network-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 0.92rem;
    }
    .network-table th {
      background: #161b22;
      color: var(--text-muted);
      font-weight: 600;
      padding: 14px 20px;
      border-bottom: 1px solid var(--border-color);
      white-space: nowrap;
    }
    .network-table td {
      padding: 16px 20px;
      border-bottom: 1px solid rgba(240, 246, 252, 0.06);
      color: #f0f6fc;
      white-space: nowrap;
    }
    .network-table tr:last-child td {
      border-bottom: none;
    }
    .network-table tr:hover td {
      background: rgba(255, 255, 255, 0.02);
    }
    .rank-bar-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
    .rank-column-card {
      background: #11161d;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 24px;
    }
    .rank-column-card h3 {
      font-size: 1.15rem;
      color: #fff;
      margin-bottom: 18px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .rank-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid rgba(240, 246, 252, 0.06);
    }
    .rank-item:last-child {
      border-bottom: none;
    }
    .rank-index {
      width: 24px;
      height: 24px;
      border-radius: 4px;
      background: rgba(240, 246, 252, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--text-muted);
      margin-right: 12px;
    }
    .rank-item:nth-child(1) .rank-index {
      background: var(--terminal-green);
      color: #fff;
    }
    .rank-item:nth-child(2) .rank-index {
      background: rgba(6, 182, 212, 0.8);
      color: #fff;
    }
    .resource-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .resource-card {
      background: #0d1117;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 24px;
      display: flex;
      flex-direction: column;
    }
    .resource-tag {
      font-size: 0.78rem;
      color: var(--signal-cyan);
      margin-bottom: 10px;
      font-family: var(--font-code);
    }
    .resource-card h3 {
      font-size: 1.15rem;
      color: #fff;
      margin-bottom: 12px;
    }
    .resource-card p {
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-bottom: 16px;
      flex: 1;
    }
    .resource-link {
      font-size: 0.88rem;
      color: var(--terminal-green-bright);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-weight: 500;
    }
    .article-item {
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 24px;
      background: #11161d;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 20px;
      align-items: center;
    }
    .article-img-wrap {
      height: 100%;
      min-height: 170px;
      position: relative;
    }
    .article-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .article-content {
      padding: 20px 24px 20px 0;
    }
    .article-date {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 6px;
      font-family: var(--font-code);
    }
    .article-content h3 {
      font-size: 1.2rem;
      color: #fff;
      margin-bottom: 8px;
    }
    .article-content p {
      font-size: 0.9rem;
      color: #c9d1d9;
      line-height: 1.6;
      margin-bottom: 12px;
    }
    .metric-bar-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .metric-card-item {
      background: #0d1117;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 28px 20px;
      text-align: center;
    }
    .metric-num {
      font-size: 2.6rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.1;
      margin-bottom: 6px;
      font-family: var(--font-code);
    }
    .metric-label {
      font-size: 0.88rem;
      color: var(--text-muted);
    }
    .step-timeline-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      position: relative;
    }
    .step-item-card {
      background: #11161d;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 24px;
      position: relative;
    }
    .step-number {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--terminal-green);
      font-family: var(--font-code);
      margin-bottom: 12px;
    }
    .step-item-card h3 {
      font-size: 1.1rem;
      color: #fff;
      margin-bottom: 8px;
    }
    .step-item-card p {
      font-size: 0.86rem;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .case-split-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
    .case-box {
      background: #0d1117;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 28px;
    }
    .case-box h3 {
      font-size: 1.25rem;
      color: #fff;
      margin-bottom: 12px;
    }
    .case-box p {
      font-size: 0.92rem;
      color: #c9d1d9;
      line-height: 1.7;
      margin-bottom: 18px;
    }
    .case-data-row {
      display: flex;
      gap: 20px;
      border-top: 1px solid var(--border-color);
      padding-top: 16px;
    }
    .case-data-item strong {
      display: block;
      font-size: 1.4rem;
      color: var(--terminal-green-bright);
      font-family: var(--font-code);
    }
    .case-data-item span {
      font-size: 0.8rem;
      color: var(--text-muted);
    }
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .testimonial-card {
      background: #11161d;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .testimonial-card blockquote {
      font-size: 0.92rem;
      color: #f0f6fc;
      line-height: 1.65;
      margin-bottom: 20px;
    }
    .author-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      border-top: 1px solid rgba(240, 246, 252, 0.06);
      padding-top: 14px;
    }
    .author-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #161b22;
      border: 1px solid var(--terminal-green);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--terminal-green-bright);
      font-weight: 700;
    }
    .author-info h4 {
      font-size: 0.92rem;
      color: #fff;
    }
    .author-info p {
      font-size: 0.78rem;
      color: var(--text-muted);
    }
    .faq-accordion-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .faq-item-box {
      background: #0d1117;
      border: 1px solid var(--border-color);
      border-radius: 6px;
      overflow: hidden;
    }
    .faq-question-btn {
      width: 100%;
      text-align: left;
      background: transparent;
      border: none;
      padding: 18px 20px;
      font-size: 0.98rem;
      font-weight: 600;
      color: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
    }
    .faq-answer-content {
      padding: 0 20px 18px;
      color: #8b949e;
      font-size: 0.9rem;
      line-height: 1.65;
      display: block;
    }
    .cta-conversion-box {
      background: radial-gradient(circle at top right, rgba(46, 160, 67, 0.15), transparent 70%), #11161d;
      border: 1px solid var(--terminal-green);
      border-radius: 10px;
      padding: 48px 40px;
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 40px;
      align-items: center;
    }
    .cta-form-panel {
      background: #0d1117;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 24px;
    }
    .form-group-item {
      margin-bottom: 14px;
    }
    .form-group-item label {
      display: block;
      font-size: 0.82rem;
      color: var(--text-muted);
      margin-bottom: 6px;
    }
    .form-group-item input,
    .form-group-item select {
      width: 100%;
      height: 42px;
      background: #161b22;
      border: 1px solid var(--border-color);
      border-radius: 6px;
      padding: 0 12px;
      color: #fff;
      font-size: 0.9rem;
      outline: none;
    }
    .form-group-item input:focus,
    .form-group-item select:focus {
      border-color: var(--terminal-green);
    }
    .site-footer {
      background: #090d13;
      border-top: 1px solid var(--border-color);
      padding: 60px 0 30px;
      color: var(--text-muted);
      font-size: 0.9rem;
    }
    .footer-columns {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-col h4 {
      color: #fff;
      font-size: 1rem;
      margin-bottom: 16px;
    }
    .footer-col ul {
      list-style: none;
    }
    .footer-col ul li {
      margin-bottom: 10px;
    }
    .footer-col ul li a:hover {
      color: var(--terminal-green-bright);
    }
    .footer-bottom-row {
      border-top: 1px solid rgba(240, 246, 252, 0.08);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 0.82rem;
    }
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .matrix-grid-4 { grid-template-columns: repeat(2, 1fr); }
      .curated-card-grid { grid-template-columns: repeat(2, 1fr); }
      .resource-grid { grid-template-columns: repeat(2, 1fr); }
      .step-timeline-grid { grid-template-columns: repeat(2, 1fr); }
      .cta-conversion-box { grid-template-columns: 1fr; }
      .footer-columns { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .hero-title { font-size: 2.2rem; }
      .nav-links { display: none; }
      .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #0d1117;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        gap: 16px;
      }
      .menu-toggle { display: block; }
      .rank-bar-layout { grid-template-columns: 1fr; }
      .case-split-grid { grid-template-columns: 1fr; }
      .faq-accordion-grid { grid-template-columns: 1fr; }
      .article-item { grid-template-columns: 1fr; }
      .article-img-wrap { min-height: 200px; }
      .article-content { padding: 20px; }
      .metric-bar-grid { grid-template-columns: repeat(2, 1fr); }
      .testimonial-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 520px) {
      .hero-title { font-size: 1.85rem; }
      .matrix-grid-4 { grid-template-columns: 1fr; }
      .curated-card-grid { grid-template-columns: 1fr; }
      .resource-grid { grid-template-columns: 1fr; }
      .step-timeline-grid { grid-template-columns: 1fr; }
      .metric-bar-grid { grid-template-columns: 1fr; }
      .footer-columns { grid-template-columns: 1fr; }
    }
