/* roulang page: index */
:root {
      --primary: #7B2CBF;
      --primary-light: #9d4edd;
      --secondary: #FF007F;
      --accent: #00F5D4;
      --bg-dark: #0B0C10;
      --bg-surface: #131720;
      --bg-card: rgba(255, 255, 255, 0.035);
      --border-card: rgba(255, 255, 255, 0.08);
      --text-main: #FFFFFF;
      --text-muted: #C5C6C7;
      --text-dim: #7f8a96;
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 22px;
      --font-stack: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      --transition-base: cubic-bezier(0.16, 1, 0.3, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-stack);
      background-color: var(--bg-dark);
      color: var(--text-main);
      line-height: 1.65;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Topbar */
    .topbar {
      background-color: #07080a;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 13px;
      color: var(--text-dim);
      padding: 8px 0;
    }
    .topbar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .topbar-meta {
      display: flex;
      gap: 20px;
    }

    /* Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(11, 12, 16, 0.85);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .nav-wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 76px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 22px;
      font-weight: 700;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }
    .logo-badge {
      width: 34px;
      height: 34px;
      background: linear-gradient(135deg, var(--secondary), var(--primary));
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 18px;
      font-weight: 900;
      box-shadow: 0 4px 14px rgba(255, 0, 127, 0.35);
    }
    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      color: var(--text-muted);
      font-size: 15px;
      font-weight: 500;
      transition: color 0.25s var(--transition-base);
    }
    .nav-links a:hover {
      color: var(--accent);
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 24px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s var(--transition-base);
      border: 1px solid transparent;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--secondary), var(--primary));
      color: #fff;
      box-shadow: 0 8px 24px -4px rgba(255, 0, 127, 0.35);
    }
    .btn-primary:hover {
      box-shadow: 0 12px 30px -2px rgba(255, 0, 127, 0.6);
      transform: translateY(-2px);
    }
    .btn-accent {
      background: var(--accent);
      color: #051a16;
      font-weight: 700;
    }
    .btn-accent:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 245, 212, 0.4);
    }
    .btn-outline {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.15);
      color: var(--text-main);
    }
    .btn-outline:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: var(--text-main);
    }

    /* Section Global */
    section {
      padding: 90px 0;
      position: relative;
    }
    .section-header {
      margin-bottom: 54px;
    }
    .section-header.center {
      text-align: center;
      max-width: 720px;
      margin-left: auto;
      margin-right: auto;
    }
    .section-tag {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent);
      background: rgba(0, 245, 212, 0.08);
      border: 1px solid rgba(0, 245, 212, 0.2);
      padding: 4px 12px;
      border-radius: 999px;
      margin-bottom: 14px;
    }
    .section-title {
      font-size: 34px;
      line-height: 1.25;
      margin-bottom: 14px;
      font-weight: 700;
    }
    .section-desc {
      color: var(--text-muted);
      font-size: 16px;
      line-height: 1.7;
    }

    /* Section 1 - Hero (Developer/API Blueprint Spec) */
    .hero-section {
      padding: 100px 0 80px;
      background: radial-gradient(circle at 80% 20%, rgba(123, 44, 191, 0.25) 0%, transparent 60%),
                  radial-gradient(circle at 10% 80%, rgba(255, 0, 127, 0.15) 0%, transparent 50%),
                  var(--bg-dark);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 50px;
      align-items: center;
    }
    .hero-content h1 {
      font-size: 48px;
      line-height: 1.15;
      font-weight: 800;
      margin-bottom: 24px;
      letter-spacing: -1px;
    }
    .hero-content h1 span {
      background: linear-gradient(90deg, #fff, var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-lead {
      color: var(--text-muted);
      font-size: 17px;
      line-height: 1.75;
      margin-bottom: 32px;
      max-width: 620px;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
      margin-bottom: 40px;
    }
    .hero-meta-strip {
      display: flex;
      gap: 30px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .hero-meta-item strong {
      display: block;
      font-size: 20px;
      color: var(--text-main);
    }
    .hero-meta-item span {
      font-size: 13px;
      color: var(--text-dim);
    }
    .code-console-panel {
      background: #0f1218;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-md);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
      overflow: hidden;
    }
    .code-console-header {
      background: #181d27;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .dots {
      display: flex;
      gap: 6px;
    }
    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #394251;
    }
    .dot:nth-child(1) { background: #ff5f56; }
    .dot:nth-child(2) { background: #ffbd2e; }
    .dot:nth-child(3) { background: #27c93f; }
    .code-console-body {
      padding: 20px;
      font-family: Consolas, Monaco, "Courier New", monospace;
      font-size: 13px;
      line-height: 1.6;
      color: #9cdcfe;
    }
    .code-tag { color: var(--secondary); }
    .code-attr { color: var(--accent); }
    .code-val { color: #ce9178; }

    /* Section 2 - 卖点三连 (Selling Points Trio) */
    .trio-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .trio-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-md);
      padding: 36px 28px;
      transition: all 0.35s var(--transition-base);
    }
    .trio-card:hover {
      transform: translateY(-6px);
      border-color: rgba(255, 0, 127, 0.4);
      background: rgba(255, 255, 255, 0.05);
    }
    .trio-icon {
      width: 52px;
      height: 52px;
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(123, 44, 191, 0.2), rgba(255, 0, 127, 0.2));
      border: 1px solid rgba(255, 0, 127, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 22px;
      font-size: 24px;
    }
    .trio-card h3 {
      font-size: 20px;
      margin-bottom: 12px;
      color: #fff;
    }
    .trio-card p {
      color: var(--text-muted);
      font-size: 15px;
      line-height: 1.65;
    }

    /* Section 3 - 入口矩阵 (Hub Matrix) */
    .hub-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .hub-item {
      background: var(--bg-surface);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--radius-sm);
      padding: 24px;
      transition: all 0.3s;
    }
    .hub-item:hover {
      border-color: var(--accent);
      background: #171d28;
    }
    .hub-item h4 {
      font-size: 17px;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .hub-item p {
      font-size: 13px;
      color: var(--text-dim);
      line-height: 1.6;
    }

    /* Section 4 - 最新发布 (Latest Releases) */
    .release-box {
      background: linear-gradient(135deg, #151922, #0d1017);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-lg);
      padding: 40px;
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 40px;
      align-items: center;
    }
    .release-badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 4px;
      background: var(--secondary);
      font-size: 12px;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .release-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .release-item {
      padding-left: 20px;
      position: relative;
      font-size: 15px;
      color: var(--text-muted);
    }
    .release-item::before {
      content: "•";
      color: var(--accent);
      position: absolute;
      left: 0;
      top: -2px;
      font-size: 20px;
    }

    /* Section 5 - 热门专题 (Special Topics / Scenes) */
    .topics-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .topic-card {
      background: #11141c;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.06);
      display: flex;
      flex-direction: column;
    }
    .topic-img-wrap {
      height: 200px;
      position: relative;
      overflow: hidden;
    }
    .topic-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s var(--transition-base);
    }
    .topic-card:hover .topic-img-wrap img {
      transform: scale(1.06);
    }
    .topic-body {
      padding: 24px;
      flex-grow: 1;
    }
    .topic-body h4 {
      font-size: 18px;
      margin-bottom: 10px;
    }
    .topic-body p {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 16px;
    }
    .topic-badge {
      font-size: 12px;
      color: var(--accent);
      font-weight: 600;
    }

    /* Section 6 - 资讯列表 (Industry News) */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .news-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-md);
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .news-meta {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: var(--text-dim);
      margin-bottom: 14px;
    }
    .news-card h4 {
      font-size: 17px;
      margin-bottom: 12px;
      line-height: 1.45;
    }
    .news-card p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 20px;
    }
    .news-action {
      font-size: 13px;
      font-weight: 600;
      color: var(--accent);
    }

    /* Section 7 - 数据指标 (Metrics Bar) */
    .metrics-bar {
      background: linear-gradient(90deg, #10141f, #1b202e);
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 60px 0;
    }
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      text-align: center;
    }
    .metric-val {
      font-size: 44px;
      font-weight: 800;
      color: var(--accent);
      line-height: 1.1;
      margin-bottom: 8px;
      font-variant-numeric: tabular-nums;
    }
    .metric-label {
      font-size: 14px;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* Section 8 - 社区口碑 (Reviews & Testimonials) */
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .review-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-md);
      padding: 28px;
      position: relative;
    }
    .review-stars {
      color: #ffb703;
      margin-bottom: 12px;
      font-size: 14px;
    }
    .review-card blockquote {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
      margin-bottom: 20px;
    }
    .review-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .author-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 14px;
    }
    .author-name {
      font-size: 14px;
      font-weight: 600;
    }
    .author-title {
      font-size: 12px;
      color: var(--text-dim);
    }

    /* Section 9 - 精选问答 (FAQ) */
    .faq-container {
      max-width: 860px;
      margin: 0 auto;
    }
    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-sm);
      margin-bottom: 14px;
      overflow: hidden;
    }
    .faq-question {
      padding: 20px 24px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      user-select: none;
    }
    .faq-question::after {
      content: "+";
      font-size: 20px;
      color: var(--accent);
      transition: transform 0.3s;
    }
    .faq-item.active .faq-question::after {
      content: "-";
    }
    .faq-answer {
      display: none;
      padding: 0 24px 22px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
      border-top: 1px solid rgba(255, 255, 255, 0.04);
      margin-top: 10px;
    }
    .faq-item.active .faq-answer {
      display: block;
    }

    /* Section 10 - 全链路安全保障 (Security & Compliance) */
    .security-bar {
      background: #0d1017;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding: 60px 0;
    }
    .security-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .security-item {
      text-align: center;
      padding: 20px;
    }
    .security-icon {
      font-size: 28px;
      margin-bottom: 12px;
      display: inline-block;
    }
    .security-item h5 {
      font-size: 16px;
      margin-bottom: 6px;
    }
    .security-item p {
      font-size: 13px;
      color: var(--text-dim);
    }

    /* Section 11 - 联系与下载入口 (Contact & Access) */
    .cta-banner {
      background: radial-gradient(circle at center, rgba(123, 44, 191, 0.35) 0%, rgba(11, 12, 16, 0.95) 70%),
                  url('/assets/images/256c6a8fd904c787.webp') center/cover no-repeat;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-lg);
      padding: 80px 40px;
      text-align: center;
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    }
    .cta-banner h2 {
      font-size: 38px;
      margin-bottom: 16px;
      font-weight: 800;
    }
    .cta-banner p {
      max-width: 640px;
      margin: 0 auto 36px;
      color: var(--text-muted);
      font-size: 16px;
    }
    .cta-button-group {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    /* Global Footer */
    .site-footer {
      background: #060709;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding: 70px 0 30px;
      font-size: 14px;
      color: var(--text-dim);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
      gap: 40px;
      margin-bottom: 50px;
    }
    .footer-col h5 {
      color: var(--text-main);
      font-size: 16px;
      margin-bottom: 20px;
      font-weight: 600;
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .footer-links a:hover {
      color: var(--accent);
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 13px;
    }

    /* 移动端固定浮动条 */
    .mobile-float-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(11, 12, 16, 0.95);
      backdrop-filter: blur(12px);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 10px 16px;
      z-index: 999;
      justify-content: space-between;
      align-items: center;
    }
    .mobile-float-info {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .mobile-float-btn {
      padding: 8px 18px;
      font-size: 13px;
    }

    /* 响应式断点 */
    @media (max-width: 1024px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }
      .trio-grid {
        grid-template-columns: 1fr;
      }
      .hub-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .topics-grid, .news-grid, .reviews-grid {
        grid-template-columns: 1fr;
      }
      .release-box {
        grid-template-columns: 1fr;
      }
      .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
      }
      .security-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .topbar {
        display: none;
      }
      .nav-links {
        display: none;
      }
      .site-header {
        height: 64px;
      }
      .nav-wrap {
        height: 64px;
      }
      .hero-section {
        padding: 50px 0 40px;
      }
      .hero-content h1 {
        font-size: 32px;
      }
      .section-title {
        font-size: 26px;
      }
      .hub-grid {
        grid-template-columns: 1fr;
      }
      .metrics-grid {
        grid-template-columns: 1fr;
      }
      .security-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .mobile-float-bar {
        display: flex;
      }
      body {
        padding-bottom: 60px;
      }
    }
