/* roulang page: index */
:root {
      --primary: #1A56DB;
      --primary-hover: #1E40AF;
      --accent: #00BA88;
      --bg-main: #F8FAFC;
      --bg-white: #FFFFFF;
      --bg-dark: #0F172A;
      --text-main: #0F172A;
      --text-body: #334155;
      --text-muted: #64748B;
      --border-color: #E2E8F0;
      --border-dark: rgba(255, 255, 255, 0.1);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-sm: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
      --shadow-hover: 0 12px 30px -4px rgba(26, 86, 219, 0.12);
      --font-stack: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      --container-max: 1200px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-stack);
      font-size: 16px;
      line-height: 1.7;
      color: var(--text-body);
      background-color: var(--bg-main);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.25s ease;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input {
      font-family: inherit;
      font-size: inherit;
    }

    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 双行导航 */
    .top-toolbar {
      background: #0B132B;
      color: #94A3B8;
      font-size: 13px;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .top-toolbar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }
    .top-info-left, .top-info-right {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #38BDF8;
    }
    .status-badge::before {
      content: "";
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
      display: inline-block;
      box-shadow: 0 0 8px var(--accent);
    }

    .main-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
      transition: all 0.3s;
    }
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 22px;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }
    .brand-logo svg {
      width: 32px;
      height: 32px;
      fill: var(--primary);
    }
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
    }
    .nav-item a {
      font-weight: 500;
      color: var(--text-body);
      font-size: 15px;
      position: relative;
      padding: 6px 0;
    }
    .nav-item a:hover, .nav-item a.active {
      color: var(--primary);
    }
    .nav-item a.active::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
    }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 22px;
      font-size: 15px;
      font-weight: 600;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all 0.2s ease;
      border: 1px solid transparent;
      outline: none;
    }
    .btn:active {
      transform: scale(0.98);
    }
    .btn-primary {
      background-color: var(--primary);
      color: #FFF;
      box-shadow: 0 4px 14px rgba(26, 86, 219, 0.25);
    }
    .btn-primary:hover {
      background-color: var(--primary-hover);
      color: #FFF;
    }
    .btn-outline {
      background: transparent;
      border-color: var(--border-color);
      color: var(--text-body);
    }
    .btn-outline:hover {
      border-color: var(--primary);
      color: var(--primary);
      background: #F0F5FF;
    }
    .btn-accent {
      background: var(--accent);
      color: #FFF;
    }
    .btn-accent:hover {
      background: #00996F;
      color: #FFF;
    }

    /* 板块基类 */
    section {
      padding: 90px 0;
      position: relative;
    }
    .section-dark {
      background-color: var(--bg-dark);
      color: #F8FAFC;
    }
    .section-white {
      background-color: var(--bg-white);
    }
    .section-gray {
      background-color: #F1F5F9;
    }

    .section-header {
      text-align: center;
      max-width: 780px;
      margin: 0 auto 56px auto;
    }
    .section-tag {
      display: inline-block;
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--primary);
      background: rgba(26, 86, 219, 0.08);
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 14px;
    }
    .section-dark .section-tag {
      background: rgba(56, 189, 248, 0.15);
      color: #38BDF8;
    }
    .section-title {
      font-size: 34px;
      font-weight: 800;
      line-height: 1.3;
      color: var(--text-main);
      margin-bottom: 16px;
    }
    .section-dark .section-title {
      color: #FFF;
    }
    .section-desc {
      font-size: 16px;
      line-height: 1.8;
      color: var(--text-muted);
    }
    .section-dark .section-desc {
      color: #94A3B8;
    }

    /* 板块 1：Hero */
    .hero-section {
      position: relative;
      background: #060B18 url('/assets/images/cd9eac9e2b704682.webp') center/cover no-repeat;
      padding: 120px 0 100px 0;
      color: #FFF;
      overflow: hidden;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(6, 11, 24, 0.94) 0%, rgba(15, 23, 42, 0.88) 100%);
      z-index: 1;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 860px;
    }
    .hero-badge-wrap {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      padding: 6px 14px;
      border-radius: 30px;
      margin-bottom: 24px;
      font-size: 14px;
    }
    .hero-badge-icon {
      width: 8px;
      height: 8px;
      background: var(--accent);
      border-radius: 50%;
    }
    .hero-title {
      font-size: 46px;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 24px;
      letter-spacing: -0.5px;
      color: #FFF;
    }
    .hero-desc {
      font-size: 18px;
      line-height: 1.8;
      color: #CBD5E1;
      margin-bottom: 36px;
      max-width: 800px;
    }
    .hero-btn-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-stats-panel {
      position: relative;
      z-index: 2;
      margin-top: 60px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-md);
      padding: 24px;
      backdrop-filter: blur(8px);
    }
    .h-stat-item h4 {
      font-size: 30px;
      font-weight: 800;
      color: #38BDF8;
      margin-bottom: 4px;
    }
    .h-stat-item p {
      font-size: 13px;
      color: #94A3B8;
    }

    /* 板块 2：产品架构 */
    .intro-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }
    .intro-visual img {
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-hover);
      border: 1px solid var(--border-color);
      width: 100%;
      height: 380px;
      object-fit: cover;
    }
    .spec-table {
      margin-top: 24px;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      overflow: hidden;
      background: #FFF;
    }
    .spec-row {
      display: flex;
      padding: 12px 18px;
      border-bottom: 1px solid var(--border-color);
      font-size: 14px;
    }
    .spec-row:last-child {
      border-bottom: none;
    }
    .spec-label {
      width: 140px;
      font-weight: 600;
      color: var(--text-main);
    }
    .spec-val {
      color: var(--text-body);
      flex: 1;
    }

    /* 板块 3：核心功能 6卡片 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .feature-card {
      background: var(--bg-white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 32px 26px;
      transition: all 0.3s ease;
      box-shadow: var(--shadow-sm);
    }
    .feature-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
      border-color: rgba(26, 86, 219, 0.3);
    }
    .feature-icon {
      width: 48px;
      height: 48px;
      background: #EFF6FF;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--primary);
    }
    .feature-card h3 {
      font-size: 19px;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text-main);
    }
    .feature-card p {
      font-size: 14px;
      color: var(--text-body);
      line-height: 1.7;
    }

    /* 板块 4：产品矩阵 3卡片 */
    .engine-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }
    .engine-card {
      background: #FFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;
    }
    .engine-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-hover);
    }
    .engine-media img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .engine-body {
      padding: 28px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .engine-tag {
      font-size: 12px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 10px;
      display: inline-block;
    }
    .engine-body h3 {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 14px;
    }
    .engine-body p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 24px;
      flex: 1;
    }

    /* 板块 5：深色技术案例 */
    .case-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }
    .code-box {
      background: #020617;
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-md);
      padding: 24px;
      font-family: Consolas, monospace;
      font-size: 13px;
      color: #E2E8F0;
      line-height: 1.6;
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .code-box .c-keyword { color: #F43F5E; }
    .code-box .c-string { color: #38BDF8; }
    .code-box .c-var { color: #34D399; }
    .code-box .c-comment { color: #64748B; }

    /* 板块 6：应用场景 */
    .scenario-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .scenario-card {
      background: #FFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 30px;
      box-shadow: var(--shadow-sm);
    }
    .scenario-role {
      font-size: 13px;
      font-weight: 700;
      color: var(--primary);
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .scenario-card h3 {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 12px;
    }
    .scenario-card p {
      font-size: 14px;
      color: var(--text-body);
      line-height: 1.7;
    }

    /* 板块 7：数据指标统计条 */
    .metrics-bar {
      background: linear-gradient(90deg, #1E40AF 0%, #1A56DB 100%);
      color: #FFF;
      padding: 60px 0;
    }
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    .metric-item .m-num {
      font-size: 42px;
      font-weight: 800;
      margin-bottom: 6px;
      letter-spacing: -1px;
    }
    .metric-item .m-title {
      font-size: 15px;
      color: #DBEAFE;
    }

    /* 板块 8：评价墙 */
    .review-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
    }
    .review-card {
      background: var(--bg-white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px;
      box-shadow: var(--shadow-sm);
    }
    .review-stars {
      color: #F59E0B;
      font-size: 15px;
      margin-bottom: 14px;
      letter-spacing: 2px;
    }
    .review-text {
      font-size: 14px;
      color: var(--text-body);
      line-height: 1.7;
      margin-bottom: 20px;
    }
    .reviewer-info {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .reviewer-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: #E2E8F0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--primary);
    }
    .reviewer-meta h4 {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-main);
    }
    .reviewer-meta p {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 板块 9：价格与API套餐 */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      align-items: stretch;
    }
    .pricing-card {
      background: #FFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 36px 30px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      position: relative;
    }
    .pricing-card.featured {
      border: 2px solid var(--primary);
      box-shadow: 0 10px 30px rgba(26, 86, 219, 0.15);
      transform: translateY(-8px);
    }
    .pricing-badge {
      position: absolute;
      top: -14px;
      right: 24px;
      background: var(--primary);
      color: #FFF;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 12px;
    }
    .pricing-header h3 {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 12px;
    }
    .pricing-price {
      font-size: 34px;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 20px;
    }
    .pricing-price span {
      font-size: 14px;
      font-weight: 400;
      color: var(--text-muted);
    }
    .pricing-features {
      list-style: none;
      margin-bottom: 30px;
      flex: 1;
    }
    .pricing-features li {
      font-size: 14px;
      color: var(--text-body);
      padding: 8px 0;
      border-bottom: 1px dashed var(--border-color);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .pricing-features li::before {
      content: "✓";
      color: var(--accent);
      font-weight: 800;
    }

    /* 板块 10：研报资讯 */
    .article-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .article-card {
      background: #FFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .article-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }
    .article-body {
      padding: 22px;
    }
    .article-date {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    .article-body h3 {
      font-size: 17px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 10px;
      line-height: 1.4;
    }
    .article-body p {
      font-size: 13px;
      color: var(--text-body);
      line-height: 1.6;
    }

    /* 板块 11：手风琴 FAQ */
    .faq-wrapper {
      max-width: 860px;
      margin: 0 auto;
    }
    .faq-item {
      background: #FFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      margin-bottom: 16px;
      overflow: hidden;
      transition: all 0.3s;
    }
    .faq-item.active {
      border-color: var(--primary);
    }
    .faq-question {
      padding: 20px 24px;
      font-size: 17px;
      font-weight: 700;
      color: var(--text-main);
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      user-select: none;
    }
    .faq-arrow {
      width: 18px;
      height: 18px;
      transition: transform 0.3s;
    }
    .faq-item.active .faq-arrow {
      transform: rotate(180deg);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      background: #FAFBFD;
      color: var(--text-body);
      font-size: 15px;
      line-height: 1.8;
      padding: 0 24px;
    }
    .faq-item.active .faq-answer {
      padding: 0 24px 20px 24px;
      max-height: 250px;
    }

    /* 板块 12：认证背书墙 */
    .partner-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .partner-item {
      background: #FFF;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 20px;
      text-align: center;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 80px;
    }

    /* 板块 13：底部转化 CTA */
    .cta-banner {
      background: linear-gradient(135deg, #1E40AF 0%, #0F172A 100%);
      border-radius: var(--radius-lg);
      padding: 60px 48px;
      color: #FFF;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 40px;
    }
    .cta-info {
      max-width: 580px;
    }
    .cta-info h2 {
      font-size: 32px;
      font-weight: 800;
      margin-bottom: 16px;
    }
    .cta-info p {
      font-size: 16px;
      color: #CBD5E1;
      line-height: 1.8;
    }
    .cta-form {
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
      max-width: 380px;
    }
    .cta-input {
      padding: 14px 18px;
      border-radius: var(--radius-sm);
      border: 1px solid #475569;
      background: rgba(255, 255, 255, 0.08);
      color: #FFF;
      outline: none;
      font-size: 15px;
      transition: all 0.25s ease;
    }
    .cta-input:focus {
      border-color: #38BDF8;
      box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
      background: rgba(255, 255, 255, 0.12);
    }
    .cta-input::placeholder {
      color: #94A3B8;
    }

    /* 页脚 */
    .site-footer {
      background: #0B132B;
      color: #94A3B8;
      padding: 70px 0 24px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 50px;
    }
    .footer-brand h3 {
      color: #FFF;
      font-size: 20px;
      font-weight: 800;
      margin-bottom: 16px;
    }
    .footer-brand p {
      font-size: 14px;
      line-height: 1.8;
      color: #94A3B8;
      max-width: 320px;
    }
    .footer-col h4 {
      color: #FFF;
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 18px;
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-links a {
      font-size: 14px;
      color: #94A3B8;
    }
    .footer-links a:hover {
      color: #38BDF8;
    }
    .footer-contact-item {
      font-size: 14px;
      margin-bottom: 10px;
      line-height: 1.6;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding-top: 24px;
      text-align: center;
      font-size: 13px;
      color: #64748B;
    }

    /* 移动端菜单按钮与响应式 */
    .mobile-menu-btn {
      display: none;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 6px;
      color: var(--text-main);
    }
    .mobile-menu-btn svg {
      width: 28px;
      height: 28px;
    }

    @media (max-width: 1024px) {
      .features-grid, .engine-grid, .scenario-grid, .review-grid, .pricing-grid, .article-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .partner-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .intro-grid, .case-container, .cta-banner {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      .hero-stats-panel {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .top-toolbar {
        display: none;
      }
      .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #FFF;
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        gap: 16px;
      }
      .nav-menu.open {
        display: flex;
      }
      .mobile-menu-btn {
        display: block;
      }
      .header-actions .btn {
        padding: 8px 14px;
        font-size: 13px;
      }
      .hero-title {
        font-size: 32px;
      }
      .hero-desc {
        font-size: 15px;
      }
      .hero-stats-panel {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      .features-grid, .engine-grid, .scenario-grid, .review-grid, .pricing-grid, .article-grid, .partner-grid {
        grid-template-columns: 1fr;
      }
      .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
      }
      .cta-banner {
        padding: 36px 24px;
      }
      .cta-info h2 {
        font-size: 24px;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
      }
    }
