/* roulang page: index */
:root {
      --primary: #10B981;
      --primary-dark: #059669;
      --primary-light: #D1FAE5;
      --accent: #0EA5E9;
      --accent-dark: #0284C7;
      --dark-base: #0F172A;
      --dark-card: #1E293B;
      --text-main: #1E293B;
      --text-muted: #64748B;
      --text-light: #94A3B8;
      --bg-light: #F8FAFC;
      --bg-tint: #F0FDF4;
      --white: #FFFFFF;
      --border-color: #E2E8F0;
      --border-dark: #334155;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-full: 9999px;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
      --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
      --shadow-lg: 0 10px 30px -4px rgba(16, 185, 129, 0.15);
      --transition: all 0.25s ease-in-out;
      --max-width: 1240px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      color: var(--text-main);
      background-color: var(--bg-light);
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input, select, textarea {
      font-family: inherit;
    }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin-left: auto;
      margin-right: auto;
      padding-left: 24px;
      padding-right: 24px;
    }

    /* 顶部通告与导航 */
    .top-bar {
      background-color: var(--dark-base);
      color: var(--text-light);
      font-size: 0.8125rem;
      padding: 8px 0;
      border-bottom: 1px solid var(--border-dark);
    }
    .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .top-bar-tag {
      background: rgba(16, 185, 129, 0.2);
      color: var(--primary);
      padding: 2px 8px;
      border-radius: 4px;
      font-weight: 600;
      margin-right: 8px;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .logo-area {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .logo-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white);
      font-weight: 800;
      font-size: 1.1rem;
    }
    .logo-text {
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--dark-base);
    }

    .nav-list {
      display: flex;
      list-style: none;
      gap: 28px;
      align-items: center;
    }
    .nav-link {
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--text-main);
      padding: 6px 0;
      position: relative;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--primary);
    }
    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: var(--primary);
    }

    .header-cta {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    /* 按钮样式体系 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      border: 1px solid transparent;
      text-align: center;
    }
    .btn-primary {
      background-color: var(--primary);
      color: var(--white);
      box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
    }
    .btn-primary:hover {
      background-color: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
    }
    .btn-secondary {
      background-color: var(--white);
      color: var(--dark-base);
      border-color: var(--border-color);
    }
    .btn-secondary:hover {
      border-color: var(--primary);
      color: var(--primary);
      background-color: var(--bg-tint);
    }
    .btn-outline-light {
      background-color: transparent;
      color: var(--white);
      border-color: rgba(255,255,255,0.3);
    }
    .btn-outline-light:hover {
      background-color: rgba(255,255,255,0.1);
      border-color: var(--white);
    }

    /* 板块通用规范 */
    .section-block {
      padding: 80px 0;
      scroll-margin-top: 80px;
    }
    .bg-white { background-color: var(--white); }
    .bg-light { background-color: var(--bg-light); }
    .bg-tint { background-color: var(--bg-tint); }
    .bg-dark { background-color: var(--dark-base); color: var(--white); }

    .section-header {
      margin-bottom: 48px;
    }
    .section-header.text-center {
      text-align: center;
      max-width: 760px;
      margin-left: auto;
      margin-right: auto;
    }
    .badge {
      display: inline-block;
      padding: 4px 12px;
      background-color: var(--primary-light);
      color: var(--primary-dark);
      font-size: 0.8125rem;
      font-weight: 700;
      border-radius: var(--radius-full);
      margin-bottom: 12px;
      text-transform: uppercase;
    }
    .bg-dark .badge {
      background: rgba(16, 185, 129, 0.2);
      color: var(--primary);
    }
    .section-title {
      font-size: 2.1rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.3;
      margin-bottom: 16px;
      color: var(--dark-base);
    }
    .bg-dark .section-title {
      color: var(--white);
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.7;
    }
    .bg-dark .section-desc {
      color: var(--text-light);
    }

    /* 1. Hero 首屏（无大图，图标矩阵+状态条） */
    .hero-section {
      background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
      padding: 60px 0 70px;
      border-bottom: 1px solid var(--border-color);
    }
    .hero-status-bar {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--white);
      border: 1px solid var(--border-color);
      padding: 6px 16px;
      border-radius: var(--radius-full);
      margin-bottom: 24px;
      box-shadow: var(--shadow-sm);
    }
    .status-dot {
      width: 8px;
      height: 8px;
      background-color: var(--primary);
      border-radius: 50%;
      box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    }
    .hero-title {
      font-size: 2.6rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.25;
      margin-bottom: 20px;
      color: var(--dark-base);
    }
    .hero-title span {
      background: linear-gradient(120deg, var(--primary-dark), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-intro {
      font-size: 1.125rem;
      color: var(--text-muted);
      line-height: 1.8;
      max-width: 840px;
      margin-bottom: 36px;
    }
    .hero-matrix {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 32px;
    }
    .matrix-card {
      background: var(--white);
      padding: 20px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .matrix-icon {
      font-size: 1.5rem;
      color: var(--primary);
    }
    .matrix-title {
      font-weight: 700;
      font-size: 1rem;
      color: var(--dark-base);
    }
    .matrix-desc {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* 2. 入口矩阵 */
    .portal-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .portal-card {
      background: var(--white);
      padding: 28px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .portal-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: var(--primary);
    }
    .portal-header {
      margin-bottom: 16px;
    }
    .portal-badge {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--accent);
      background: rgba(14, 165, 233, 0.1);
      padding: 3px 8px;
      border-radius: 4px;
      display: inline-block;
      margin-bottom: 8px;
    }
    .portal-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--dark-base);
      margin-bottom: 8px;
    }
    .portal-text {
      font-size: 0.925rem;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .portal-link {
      margin-top: 20px;
      font-weight: 600;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    /* 3. 最新动态 */
    .news-spotlight {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 32px;
      align-items: center;
    }
    .spotlight-media {
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }
    .spotlight-info {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .dynamic-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 12px;
    }
    .dynamic-item {
      padding: 14px 18px;
      background: var(--white);
      border-radius: var(--radius-sm);
      border-left: 4px solid var(--primary);
      box-shadow: var(--shadow-sm);
    }
    .dynamic-date {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 4px;
    }
    .dynamic-heading {
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--dark-base);
    }

    /* 4. 精选分类 */
    .category-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .category-item {
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      transition: var(--transition);
    }
    .category-item:hover {
      border-color: var(--primary);
      box-shadow: var(--shadow-md);
    }
    .cat-num {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 8px;
    }
    .cat-title {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--dark-base);
    }
    .cat-desc {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 5. 战术分析与大盘演示（深色） */
    .dashboard-preview {
      background: var(--dark-card);
      border-radius: var(--radius-lg);
      padding: 32px;
      border: 1px solid var(--border-dark);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      align-items: center;
    }
    .dash-metrics {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    .dash-metric-box {
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid var(--border-dark);
      padding: 20px;
      border-radius: var(--radius-md);
    }
    .metric-val {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 4px;
    }
    .metric-lbl {
      font-size: 0.875rem;
      color: var(--text-light);
    }

    /* 6. 场景矩阵 */
    .scenario-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .scenario-card {
      background: var(--white);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border-color);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }
    .scenario-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .scenario-img-wrap {
      height: 150px;
      overflow: hidden;
    }
    .scenario-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .scenario-body {
      padding: 20px;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .scenario-title {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--dark-base);
      margin-bottom: 8px;
    }
    .scenario-text {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 7. 标杆复盘与案例 */
    .case-box {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      margin-bottom: 24px;
    }
    .case-content {
      padding: 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .case-tag {
      font-weight: 700;
      color: var(--primary-dark);
      font-size: 0.85rem;
      margin-bottom: 8px;
    }
    .case-heading {
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 14px;
      color: var(--dark-base);
    }
    .case-desc {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 20px;
    }
    .case-stats-row {
      display: flex;
      gap: 24px;
    }
    .case-stat-item h4 {
      font-size: 1.3rem;
      color: var(--primary);
      font-weight: 800;
    }
    .case-stat-item p {
      font-size: 0.8rem;
      color: var(--text-muted);
    }
    .case-image {
      position: relative;
    }
    .case-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* 8. 性能统计条 */
    .stat-banner {
      background: linear-gradient(135deg, var(--dark-base), #1e3a8a);
      color: var(--white);
      padding: 50px 0;
    }
    .stat-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    .stat-card-title {
      font-size: 2.4rem;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 6px;
    }
    .stat-card-label {
      font-size: 0.9rem;
      color: var(--text-light);
    }

    /* 9. 版本更新日志 */
    .timeline {
      position: relative;
      max-width: 800px;
      margin: 0 auto;
      padding-left: 28px;
      border-left: 2px solid var(--border-color);
    }
    .timeline-item {
      position: relative;
      margin-bottom: 32px;
    }
    .timeline-item:last-child {
      margin-bottom: 0;
    }
    .timeline-dot {
      position: absolute;
      left: -35px;
      top: 4px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--primary);
      box-shadow: 0 0 0 4px var(--primary-light);
    }
    .timeline-ver {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--dark-base);
      margin-bottom: 6px;
    }
    .timeline-date {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    .timeline-body {
      font-size: 0.925rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 10. 多端覆盖 */
    .app-platform-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .platform-card {
      background: var(--white);
      padding: 30px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }
    .platform-name {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--dark-base);
    }
    .platform-features {
      list-style: none;
      margin-top: 16px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .platform-features li {
      font-size: 0.9rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .platform-features li::before {
      content: '✓';
      color: var(--primary);
      font-weight: 800;
    }

    /* 11. 资讯列表 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .news-card {
      background: var(--white);
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
    }
    .news-img {
      height: 180px;
    }
    .news-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .news-content {
      padding: 22px;
      display: flex;
      flex-direction: column;
      flex: 1;
      justify-content: space-between;
    }
    .news-meta {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    .news-title {
      font-size: 1.05rem;
      font-weight: 700;
      line-height: 1.5;
      margin-bottom: 10px;
      color: var(--dark-base);
    }
    .news-snippet {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 12. 快速解答 FAQ */
    .faq-container {
      max-width: 820px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .faq-item {
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 20px 24px;
      box-shadow: var(--shadow-sm);
    }
    .faq-q {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--dark-base);
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .faq-q::before {
      content: 'Q';
      color: var(--primary);
      font-weight: 800;
      font-size: 1.1rem;
    }
    .faq-a {
      font-size: 0.925rem;
      color: var(--text-muted);
      line-height: 1.7;
      padding-left: 24px;
    }

    /* 13. 开通与转化 CTA */
    .cta-container {
      background: linear-gradient(135deg, #065F46 0%, var(--dark-base) 100%);
      border-radius: var(--radius-lg);
      padding: 60px 48px;
      color: var(--white);
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 40px;
      align-items: center;
    }
    .cta-form {
      background: var(--white);
      padding: 28px;
      border-radius: var(--radius-md);
      color: var(--text-main);
      box-shadow: var(--shadow-lg);
    }
    .form-group {
      margin-bottom: 16px;
    }
    .form-label {
      display: block;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--dark-base);
    }
    .form-input {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      outline: none;
      transition: var(--transition);
    }
    .form-input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    }

    /* 页脚设计 */
    .site-footer {
      background-color: var(--dark-base);
      color: var(--text-light);
      padding: 70px 0 24px;
      border-top: 1px solid var(--border-dark);
      font-size: 0.9rem;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 50px;
    }
    .footer-brand-title {
      color: var(--white);
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 14px;
    }
    .footer-desc {
      line-height: 1.7;
      margin-bottom: 20px;
      color: var(--text-light);
    }
    .footer-col-title {
      color: var(--white);
      font-weight: 700;
      font-size: 0.95rem;
      margin-bottom: 18px;
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-links a:hover {
      color: var(--primary);
    }
    .footer-bottom {
      border-top: 1px solid var(--border-dark);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.825rem;
    }

    /* 响应式断点 */
    @media (max-width: 1024px) {
      .portal-grid, .category-grid, .scenario-grid, .news-grid, .stat-grid, .hero-matrix {
        grid-template-columns: repeat(2, 1fr);
      }
      .app-platform-grid {
        grid-template-columns: 1fr;
      }
      .case-box, .news-spotlight, .dashboard-preview, .cta-container {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 768px) {
      .top-bar { display: none; }
      .nav-list { display: none; }
      .hero-title { font-size: 2rem; }
      .section-title { font-size: 1.7rem; }
      .portal-grid, .category-grid, .scenario-grid, .news-grid, .stat-grid, .hero-matrix {
        grid-template-columns: 1fr;
      }
      .dash-metrics {
        grid-template-columns: 1fr;
      }
      .cta-container {
        padding: 32px 20px;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
      }
    }
