/* roulang page: index */
:root {
      --primary: #10B981;
      --primary-hover: #059669;
      --primary-glow: #00F59B;
      --secondary: #0F172A;
      --dark-card: #1E293B;
      --accent: #F97316;
      --accent-hover: #EA580C;
      --bg-light: #F8FAFC;
      --bg-dark: #0B0F19;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --border-subtle: rgba(15, 23, 42, 0.08);
      --border-dark: rgba(255, 255, 255, 0.1);
      --radius-sm: 8px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --radius-pill: 9999px;
      --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
      --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.25);
    }

    /* 基础 Reset 覆写与排版 */
    *, *::before, *::after {
      box-sizing: border-box;
    }
    body {
      font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
      color: var(--text-main);
      background-color: #FFFFFF;
      line-height: 1.75;
      letter-spacing: -0.01em;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }
    h1, h2, h3, h4, h5, h6 {
      color: var(--secondary);
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 0.75rem;
    }
    p {
      margin-bottom: 1.25rem;
    }
    a {
      text-decoration: none;
      transition: all 0.25s ease;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* 顶栏与双行导航 */
    .top-bar {
      background-color: #070B13;
      color: #94A3B8;
      font-size: 0.825rem;
      padding: 6px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .top-bar .status-indicator {
      display: inline-block;
      width: 7px;
      height: 7px;
      background-color: var(--primary-glow);
      border-radius: 50%;
      margin-right: 6px;
      box-shadow: 0 0 8px var(--primary-glow);
    }
    .navbar-wrapper {
      position: sticky;
      top: 0;
      z-index: 1050;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(15, 23, 42, 0.06);
      transition: all 0.3s ease;
    }
    .site-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--secondary);
      letter-spacing: -0.02em;
    }
    .site-brand-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, var(--primary), #059669);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #FFFFFF;
      font-weight: 900;
      font-size: 1.15rem;
      box-shadow: var(--shadow-glow);
    }
    .nav-tabs-segmented {
      display: flex;
      background: #F1F5F9;
      padding: 4px;
      border-radius: var(--radius-pill);
      gap: 2px;
    }
    .nav-tabs-segmented .nav-link-chip {
      color: #475569;
      font-size: 0.875rem;
      font-weight: 600;
      padding: 6px 16px;
      border-radius: var(--radius-pill);
      transition: all 0.2s ease;
    }
    .nav-tabs-segmented .nav-link-chip:hover {
      color: var(--secondary);
      background-color: rgba(255, 255, 255, 0.6);
    }
    .nav-tabs-segmented .nav-link-chip.active {
      color: #FFFFFF;
      background-color: var(--secondary);
      box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
    }

    /* 按钮与交互徽章 */
    .btn-brand-primary {
      background: linear-gradient(135deg, var(--primary), #059669);
      color: #FFFFFF;
      font-weight: 600;
      padding: 10px 24px;
      border-radius: var(--radius-pill);
      border: none;
      box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .btn-brand-primary:hover {
      background: linear-gradient(135deg, #059669, #047857);
      color: #FFFFFF;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    }
    .btn-brand-accent {
      background: linear-gradient(135deg, var(--accent), #EA580C);
      color: #FFFFFF;
      font-weight: 600;
      padding: 10px 24px;
      border-radius: var(--radius-pill);
      border: none;
      box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-brand-accent:hover {
      background: linear-gradient(135deg, #EA580C, #C2410C);
      color: #FFFFFF;
      transform: translateY(-2px);
    }
    .btn-brand-ghost {
      background: transparent;
      color: var(--secondary);
      border: 1px solid var(--border-subtle);
      font-weight: 600;
      padding: 10px 22px;
      border-radius: var(--radius-pill);
    }
    .btn-brand-ghost:hover {
      background-color: #F8FAFC;
      border-color: #CBD5E1;
      color: var(--secondary);
    }

    .badge-soft {
      display: inline-flex;
      align-items: center;
      padding: 4px 12px;
      border-radius: var(--radius-pill);
      font-size: 0.8rem;
      font-weight: 600;
      background: rgba(16, 185, 129, 0.12);
      color: #047857;
      border: 1px solid rgba(16, 185, 129, 0.25);
    }
    .badge-soft-dark {
      display: inline-flex;
      align-items: center;
      padding: 4px 12px;
      border-radius: var(--radius-pill);
      font-size: 0.8rem;
      font-weight: 600;
      background: rgba(255, 255, 255, 0.1);
      color: var(--primary-glow);
      border: 1px solid rgba(255, 255, 255, 0.15);
    }

    /* 板块结构与通用修饰 */
    .app-section {
      padding: 96px 0;
      position: relative;
    }
    .app-section-sm {
      padding: 64px 0;
    }
    .bg-light-surface {
      background-color: var(--bg-light);
      border-top: 1px solid var(--border-subtle);
      border-bottom: 1px solid var(--border-subtle);
    }
    .bg-dark-surface {
      background-color: var(--bg-dark);
      color: #F8FAFC;
    }
    .bg-dark-surface h2, 
    .bg-dark-surface h3, 
    .bg-dark-surface h4 {
      color: #FFFFFF;
    }
    .section-header {
      margin-bottom: 56px;
    }
    .section-header .section-subtitle {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 680px;
      margin: 12px auto 0;
    }

    /* 卡片系统 */
    .glass-card {
      background: #FFFFFF;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-sm);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
      overflow: hidden;
      height: 100%;
    }
    .glass-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
      border-color: rgba(16, 185, 129, 0.3);
    }
    .dark-card-item {
      background: var(--dark-card);
      border-radius: var(--radius-md);
      border: 1px solid var(--border-dark);
      transition: transform 0.3s ease, border-color 0.3s ease;
      height: 100%;
    }
    .dark-card-item:hover {
      transform: translateY(-4px);
      border-color: var(--primary);
    }

    /* 1. Hero 样式（双栏门户，左主张右快捷入口网格） */
    .hero-portal {
      position: relative;
      background: radial-gradient(circle at 15% 30%, rgba(16, 185, 129, 0.08), transparent 45%),
                  radial-gradient(circle at 85% 70%, rgba(15, 23, 42, 0.03), transparent 50%),
                  #FFFFFF;
      padding: 100px 0 80px;
      overflow: hidden;
    }
    .hero-portal .hero-badge {
      margin-bottom: 20px;
    }
    .hero-portal h1 {
      font-size: 3rem;
      line-height: 1.18;
      font-weight: 800;
      color: var(--secondary);
      margin-bottom: 24px;
    }
    .hero-portal h1 .highlight-text {
      background: linear-gradient(135deg, #10B981, #047857);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-portal .hero-lead {
      font-size: 1.125rem;
      color: #475569;
      line-height: 1.8;
      margin-bottom: 32px;
      max-width: 580px;
    }
    .hero-action-group {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 40px;
    }
    .portal-quick-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    .quick-entry-card {
      background: #FFFFFF;
      padding: 24px;
      border-radius: var(--radius-md);
      border: 1px solid rgba(15, 23, 42, 0.08);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
      transition: all 0.25s ease;
      text-decoration: none;
      display: block;
    }
    .quick-entry-card:hover {
      border-color: var(--primary);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(16, 185, 129, 0.1);
    }
    .quick-entry-icon {
      width: 44px;
      height: 44px;
      background: #ECFDF5;
      color: var(--primary);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.25rem;
      margin-bottom: 14px;
    }
    .quick-entry-title {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--secondary);
      margin-bottom: 6px;
    }
    .quick-entry-desc {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin: 0;
    }

    /* 2. 实时指标看板 */
    .metric-box {
      background: #FFFFFF;
      border-radius: var(--radius-md);
      padding: 30px 24px;
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-sm);
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .metric-box::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--primary), var(--primary-glow));
    }
    .metric-value {
      font-size: 2.75rem;
      font-weight: 800;
      color: var(--secondary);
      line-height: 1.1;
      margin-bottom: 8px;
    }
    .metric-value span {
      font-size: 1.25rem;
      color: var(--primary);
      margin-left: 2px;
    }
    .metric-label {
      font-size: 0.95rem;
      font-weight: 600;
      color: #334155;
      margin-bottom: 4px;
    }
    .metric-sub {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin: 0;
    }

    /* 3. 算法架构双栏排版 */
    .arch-flow-diagram {
      background: #0F172A;
      border-radius: var(--radius-lg);
      padding: 36px;
      color: #F8FAFC;
      border: 1px solid rgba(255, 255, 255, 0.1);
      position: relative;
    }
    .diagram-step {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 24px;
      position: relative;
    }
    .diagram-step:last-child {
      margin-bottom: 0;
    }
    .diagram-step-num {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(16, 185, 129, 0.2);
      color: var(--primary-glow);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 0.9rem;
      flex-shrink: 0;
      border: 1px solid var(--primary);
    }
    .diagram-step-content h5 {
      color: #FFFFFF;
      font-size: 1rem;
      margin-bottom: 4px;
    }
    .diagram-step-content p {
      color: #94A3B8;
      font-size: 0.85rem;
      margin: 0;
      line-height: 1.6;
    }

    /* 4. 优势矩阵卡片 */
    .advantage-card {
      padding: 32px;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .advantage-icon-wrapper {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.03));
      border: 1px solid rgba(16, 185, 129, 0.2);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.35rem;
      font-weight: 800;
      margin-bottom: 20px;
    }

    /* 5. 热门矩阵卡片 */
    .solution-item-card {
      border-radius: var(--radius-lg);
      padding: 36px 30px;
      background: #FFFFFF;
      border: 1px solid var(--border-subtle);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .solution-item-card.highlighted {
      border: 2px solid var(--primary);
      box-shadow: 0 16px 32px -8px rgba(16, 185, 129, 0.15);
      position: relative;
    }
    .solution-item-badge {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--primary);
      color: #FFFFFF;
      padding: 4px 16px;
      border-radius: var(--radius-pill);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.05em;
    }

    /* 6. 对比表格组件 */
    .contrast-board {
      background: #FFFFFF;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-subtle);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .contrast-header {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      padding: 20px 28px;
      background: #F8FAFC;
      border-bottom: 1px solid var(--border-subtle);
      font-weight: 700;
      color: var(--secondary);
    }
    .contrast-row {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      padding: 20px 28px;
      border-bottom: 1px solid rgba(15, 23, 42, 0.05);
      align-items: center;
    }
    .contrast-row:last-child {
      border-bottom: none;
    }
    .contrast-cell-title {
      font-weight: 600;
      color: var(--secondary);
    }
    .contrast-cell-title small {
      display: block;
      color: var(--text-muted);
      font-weight: normal;
      font-size: 0.8rem;
    }
    .cell-legacy {
      color: #64748B;
      font-size: 0.9rem;
    }
    .cell-smart {
      color: #047857;
      font-weight: 600;
      font-size: 0.95rem;
    }

    /* 7. 深色 AI 核心展示 */
    .deep-ai-section {
      background: radial-gradient(circle at 50% 20%, #1E293B, #0B0F19 80%);
      color: #FFFFFF;
      padding: 100px 0;
    }
    .terminal-window {
      background: #090D16;
      border-radius: var(--radius-md);
      border: 1px solid rgba(255, 255, 255, 0.12);
      padding: 24px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      font-size: 0.85rem;
      line-height: 1.7;
      color: #94A3B8;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }
    .terminal-window .keyword {
      color: #38BDF8;
    }
    .terminal-window .string {
      color: var(--primary-glow);
    }
    .terminal-window .param {
      color: #FBBF24;
    }

    /* 8. 里程碑时间线 */
    .timeline-wrap {
      position: relative;
      padding: 20px 0;
    }
    .timeline-wrap::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 2px;
      background: #E2E8F0;
      transform: translateX(-50%);
    }
    .timeline-node {
      position: relative;
      margin-bottom: 40px;
    }
    .timeline-node:last-child {
      margin-bottom: 0;
    }
    .timeline-node-marker {
      position: absolute;
      top: 24px;
      left: 50%;
      width: 16px;
      height: 16px;
      background: var(--primary);
      border: 3px solid #FFFFFF;
      box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      z-index: 2;
    }
    .timeline-content-card {
      width: 44%;
      background: #FFFFFF;
      border-radius: var(--radius-md);
      padding: 24px;
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-sm);
    }
    .timeline-node.left .timeline-content-card {
      margin-right: auto;
    }
    .timeline-node.right .timeline-content-card {
      margin-left: auto;
    }

    /* 9 & 10. 用户评价与案例 */
    .user-story-card {
      border-radius: var(--radius-md);
      background: #FFFFFF;
      border: 1px solid var(--border-subtle);
      padding: 28px;
      height: 100%;
    }
    .user-avatar-tag {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }
    .user-avatar-placeholder {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #E2E8F0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: #475569;
    }

    /* 11. 资讯列表与科研图文 */
    .insight-card {
      background: #FFFFFF;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-subtle);
      overflow: hidden;
      height: 100%;
      transition: all 0.3s ease;
    }
    .insight-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .insight-card-img {
      height: 190px;
      object-fit: cover;
      width: 100%;
    }
    .insight-card-body {
      padding: 24px;
    }

    /* 12. 平台保障徽章栏 */
    .trust-badges-bar {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      gap: 24px;
      align-items: center;
      background: #FFFFFF;
      border-radius: var(--radius-lg);
      padding: 32px 40px;
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-sm);
    }
    .trust-badge-item {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .trust-badge-icon {
      width: 40px;
      height: 40px;
      background: #F0FDF4;
      color: #10B981;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
    }

    /* 13. FAQ 手风琴深度覆写 */
    .accordion-custom .accordion-item {
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md) !important;
      margin-bottom: 14px;
      overflow: hidden;
    }
    .accordion-custom .accordion-button {
      font-weight: 600;
      font-size: 1.05rem;
      color: var(--secondary);
      background-color: #FFFFFF;
      padding: 20px 24px;
      box-shadow: none;
    }
    .accordion-custom .accordion-button:not(.collapsed) {
      color: var(--primary);
      background-color: #F8FAFC;
    }
    .accordion-custom .accordion-button:focus {
      box-shadow: none;
      border-color: rgba(16, 185, 129, 0.5);
    }
    .accordion-custom .accordion-body {
      padding: 20px 24px;
      color: #475569;
      background-color: #F8FAFC;
      border-top: 1px solid rgba(15, 23, 42, 0.05);
      font-size: 0.95rem;
      line-height: 1.8;
    }

    /* 14. 转化表单 */
    .lead-capture-box {
      background: linear-gradient(135deg, #0F172A, #1E293B);
      border-radius: var(--radius-lg);
      padding: 48px;
      color: #FFFFFF;
      box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.3);
    }
    .lead-form-input {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: var(--radius-sm);
      color: #FFFFFF;
      padding: 12px 16px;
    }
    .lead-form-input:focus {
      background: rgba(255, 255, 255, 0.1);
      border-color: var(--primary-glow);
      color: #FFFFFF;
      box-shadow: none;
    }
    .lead-form-input::placeholder {
      color: #94A3B8;
    }

    /* 底部统一页脚 */
    .site-footer {
      background: #090D16;
      color: #94A3B8;
      padding: 72px 0 28px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.9rem;
    }
    .footer-col-title {
      color: #FFFFFF;
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .footer-links-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links-list li {
      margin-bottom: 10px;
    }
    .footer-links-list a {
      color: #94A3B8;
    }
    .footer-links-list a:hover {
      color: var(--primary-glow);
      padding-left: 4px;
    }
    .footer-bottom-line {
      margin-top: 56px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      font-size: 0.8rem;
    }

    /* 响应式断点适配 */
    @media (max-width: 991.98px) {
      .hero-portal h1 {
        font-size: 2.35rem;
      }
      .timeline-wrap::before {
        left: 20px;
      }
      .timeline-node-marker {
        left: 20px;
      }
      .timeline-content-card {
        width: calc(100% - 48px);
        margin-left: 48px !important;
      }
      .contrast-header, .contrast-row {
        grid-template-columns: 1fr;
        gap: 8px;
      }
    }
    @media (max-width: 767.98px) {
      .app-section {
        padding: 60px 0;
      }
      .portal-quick-grid {
        grid-template-columns: 1fr;
      }
      .nav-tabs-segmented {
        display: none;
      }
      .lead-capture-box {
        padding: 30px 20px;
      }
    }
