/* roulang page: index */
:root {
      --primary: #0F5132;
      --primary-light: #157347;
      --secondary: #0D9488;
      --accent: #F59E0B;
      --accent-hover: #D97706;
      --bg-main: #F8FAFC;
      --bg-card: #FFFFFF;
      --bg-dark: #0B1120;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --text-light: #F1F5F9;
      --border-color: #E2E8F0;
      --radius-sm: 8px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --shadow-sm: 0 2px 4px rgba(0,0,0,0.03);
      --shadow-md: 0 4px 20px -2px rgba(15, 81, 50, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
      --shadow-lg: 0 10px 25px -5px rgba(15, 81, 50, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
      --sidebar-width: 250px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-main);
      color: var(--text-main);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* 侧边栏 App Shell 导航 */
    .app-sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: var(--sidebar-width);
      height: 100vh;
      background-color: #062b1b;
      color: #fff;
      display: flex;
      flex-direction: column;
      z-index: 1000;
      box-shadow: 4px 0 15px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .brand-box {
      padding: 28px 24px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand-logo-icon {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, var(--accent), var(--secondary));
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 20px;
      color: #fff;
    }

    .brand-title {
      font-size: 19px;
      font-weight: 700;
      letter-spacing: -0.3px;
      color: #FFFFFF;
    }

    .nav-menu {
      flex: 1;
      padding: 24px 16px;
      overflow-y: auto;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .nav-item a {
      display: flex;
      align-items: center;
      padding: 12px 16px;
      border-radius: var(--radius-sm);
      color: #94A3B8;
      font-size: 15px;
      font-weight: 500;
      transition: all 0.25s ease;
    }

    .nav-item a:hover,
    .nav-item.active a {
      background-color: rgba(255, 255, 255, 0.12);
      color: #FFFFFF;
      font-weight: 600;
    }

    .nav-item.active a {
      border-left: 4px solid var(--accent);
    }

    .sidebar-footer {
      padding: 20px;
      border-top: 1px solid rgba(255,255,255,0.08);
    }

    .btn-side-cta {
      display: block;
      width: 100%;
      text-align: center;
      padding: 12px;
      background: var(--accent);
      color: #000;
      font-weight: 700;
      border-radius: var(--radius-sm);
      transition: background 0.2s;
    }

    .btn-side-cta:hover {
      background: var(--accent-hover);
    }

    /* 移动端顶部吸顶 */
    .mobile-header {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 64px;
      background: #062b1b;
      color: #fff;
      z-index: 999;
      padding: 0 20px;
      align-items: center;
      justify-content: space-between;
    }

    .mobile-toggle-btn {
      background: none;
      border: none;
      color: #fff;
      font-size: 24px;
      cursor: pointer;
    }

    /* 主内容区偏移 */
    .app-main {
      margin-left: var(--sidebar-width);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    /* 通用版块样式 */
    section {
      padding: 80px 48px;
      position: relative;
    }

    .container {
      max-width: 1180px;
      margin: 0 auto;
    }

    .section-header {
      text-align: center;
      margin-bottom: 50px;
      max-width: 780px;
      margin-left: auto;
      margin-right: auto;
    }

    .section-badge {
      display: inline-block;
      padding: 6px 14px;
      background: rgba(13, 148, 136, 0.1);
      color: var(--secondary);
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 12px;
      letter-spacing: 0.5px;
    }

    .section-title {
      font-size: 32px;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 16px;
      line-height: 1.3;
    }

    .section-desc {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 1. Hero 秒杀闪购条版式 */
    .hero-section {
      background: linear-gradient(rgba(11, 17, 32, 0.85), rgba(15, 81, 50, 0.9)), url('/assets/images/4204acbad818a3ac.png') center/cover no-repeat;
      color: #fff;
      padding: 100px 48px 80px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .hero-flash-bar {
      background: rgba(245, 158, 11, 0.15);
      border: 1px solid var(--accent);
      border-radius: var(--radius-md);
      padding: 16px 24px;
      margin-bottom: 36px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .flash-title {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 16px;
      font-weight: 700;
      color: var(--accent);
    }

    .countdown-timer {
      display: flex;
      gap: 8px;
      align-items: center;
      font-weight: 700;
    }

    .countdown-timer span {
      background: #000;
      color: #fff;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 14px;
    }

    .hero-content-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 40px;
      align-items: center;
    }

    .hero-h1 {
      font-size: 44px;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 24px;
    }

    .hero-p {
      font-size: 16px;
      line-height: 1.8;
      color: #CBD5E1;
      margin-bottom: 32px;
    }

    .hero-btns {
      display: flex;
      gap: 16px;
    }

    .btn-primary {
      padding: 14px 28px;
      background: var(--accent);
      color: #0B1120;
      font-weight: 700;
      border-radius: var(--radius-sm);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.25s ease;
      cursor: pointer;
      border: none;
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    }

    .btn-outline {
      padding: 14px 28px;
      background: rgba(255,255,255,0.1);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.25);
      font-weight: 600;
      border-radius: var(--radius-sm);
      display: inline-flex;
      align-items: center;
      transition: all 0.25s ease;
    }

    .btn-outline:hover {
      background: rgba(255,255,255,0.2);
    }

    .hero-product-card {
      background: #fff;
      color: var(--text-main);
      padding: 28px;
      border-radius: var(--radius-lg);
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
      border-top: 5px solid var(--accent);
    }

    .flash-badge {
      display: inline-block;
      background: #FEF3C7;
      color: #B45309;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 20px;
      margin-bottom: 12px;
    }

    .hero-card-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .hero-card-desc {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 18px;
    }

    .hero-card-stats {
      display: flex;
      justify-content: space-between;
      border-top: 1px solid var(--border-color);
      padding-top: 16px;
      margin-bottom: 20px;
    }

    .stat-label {
      font-size: 12px;
      color: var(--text-muted);
      display: block;
    }

    .stat-val {
      font-size: 18px;
      font-weight: 800;
      color: var(--primary);
    }

    /* 2. 产品价值 (非对称混排) */
    .bg-light {
      background-color: #FFFFFF;
    }

    .two-col-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }

    .img-box-rounded {
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }

    .value-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 18px;
      margin-top: 24px;
    }

    .value-item {
      display: flex;
      gap: 14px;
    }

    .value-icon {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: rgba(15, 81, 50, 0.1);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      flex-shrink: 0;
      margin-top: 2px;
    }

    /* 3. 功能展示 (6大卡片矩阵) */
    .grid-3-col {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .feature-card {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      padding: 32px 28px;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-md);
      transition: all 0.25s ease;
      position: relative;
    }

    .feature-card:hover {
      transform: translateY(-4px);
      border-color: var(--secondary);
      box-shadow: var(--shadow-lg);
    }

    .feature-icon-box {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-sm);
      background: linear-gradient(135deg, rgba(15, 81, 50, 0.1), rgba(13, 148, 136, 0.2));
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      font-weight: 800;
      margin-bottom: 20px;
    }

    .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-muted);
      line-height: 1.6;
    }

    /* 4. 方案配置与价格对比 (3列卡片) */
    .pricing-card {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      padding: 36px 30px;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-md);
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .pricing-card.featured {
      border: 2px solid var(--primary);
      box-shadow: var(--shadow-lg);
      transform: scale(1.02);
      z-index: 2;
    }

    .popular-tag {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--primary);
      color: #fff;
      padding: 4px 14px;
      border-radius: 12px;
      font-size: 12px;
      font-weight: 700;
    }

    .pricing-header {
      text-align: center;
      padding-bottom: 24px;
      border-bottom: 1px solid var(--border-color);
      margin-bottom: 24px;
    }

    .plan-name {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .plan-desc {
      font-size: 13px;
      color: var(--text-muted);
    }

    .plan-features {
      list-style: none;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 28px;
    }

    .plan-features li {
      font-size: 14px;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* 5. 三步上手流程区 */
    .step-flow {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      position: relative;
    }

    .step-box {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px 20px;
      text-align: center;
      box-shadow: var(--shadow-sm);
      position: relative;
    }

    .step-number {
      width: 36px;
      height: 36px;
      background: var(--primary);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-weight: 700;
      font-size: 16px;
    }

    .step-box h4 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .step-box p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* 6. 沉浸式场景区 (深色) */
    .dark-section {
      background-color: var(--bg-dark);
      color: var(--text-light);
    }

    .dark-section .section-title {
      color: #FFFFFF;
    }

    .dark-section .section-desc {
      color: #94A3B8;
    }

    .hud-card {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-md);
      padding: 24px;
      margin-bottom: 18px;
    }

    .hud-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 8px;
    }

    .hud-desc {
      font-size: 14px;
      color: #CBD5E1;
    }

    /* 7. 案例墙 (错落网格) */
    .grid-2-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    .case-card {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-color);
      overflow: hidden;
      box-shadow: var(--shadow-md);
      display: flex;
      flex-direction: column;
    }

    .case-img-box {
      height: 220px;
      overflow: hidden;
    }

    .case-img-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .case-card:hover .case-img-box img {
      transform: scale(1.04);
    }

    .case-content {
      padding: 28px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .case-tag {
      font-size: 12px;
      font-weight: 700;
      color: var(--secondary);
      margin-bottom: 8px;
      display: inline-block;
    }

    .case-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .case-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .case-metric {
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px dashed var(--border-color);
      display: flex;
      gap: 20px;
    }

    .metric-item strong {
      display: block;
      color: var(--primary);
      font-size: 18px;
      font-weight: 800;
    }

    .metric-item span {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 8. 核心指标统计通栏 */
    .stats-bar-section {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: #fff;
      padding: 48px;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }

    .stat-number {
      font-size: 40px;
      font-weight: 900;
      line-height: 1.1;
      margin-bottom: 8px;
      color: #FEF08A;
    }

    .stat-caption {
      font-size: 15px;
      color: #E2E8F0;
      font-weight: 500;
    }

    /* 9. 裂变邀请墙 (蓝图需求) */
    .referral-card {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-color);
      padding: 40px;
      box-shadow: var(--shadow-md);
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 36px;
      align-items: center;
    }

    .progress-bar-bg {
      background: #E2E8F0;
      height: 12px;
      border-radius: 6px;
      overflow: hidden;
      margin: 16px 0 24px;
    }

    .progress-bar-fill {
      background: linear-gradient(90deg, var(--secondary), var(--accent));
      width: 68%;
      height: 100%;
    }

    .leaderboard-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .leaderboard-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 12px;
      background: var(--bg-main);
      border-radius: var(--radius-sm);
      font-size: 13px;
    }

    /* 10. 评价墙 */
    .testimonial-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
    }

    .testimonial-text {
      font-size: 14px;
      color: var(--text-main);
      line-height: 1.7;
      margin-bottom: 20px;
      font-style: italic;
      position: relative;
    }

    .testimonial-user {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: auto;
    }

    .user-avatar-circle {
      width: 42px;
      height: 42px;
      background: #CBD5E1;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: #334155;
    }

    .user-info h5 {
      font-size: 14px;
      font-weight: 700;
    }

    .user-info span {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 11. 资讯动态摘要 */
    .news-layout {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 30px;
    }

    .news-featured {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
    }

    .news-featured img {
      height: 220px;
      width: 100%;
      object-fit: cover;
    }

    .news-featured-body {
      padding: 24px;
    }

    .news-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .news-list-item {
      background: var(--bg-card);
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-color);
      padding: 16px 20px;
      box-shadow: var(--shadow-sm);
      transition: border-color 0.2s;
    }

    .news-list-item:hover {
      border-color: var(--primary);
    }

    .news-date {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .news-item-title {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .news-item-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* 12. 系统要求与安全保障条 */
    .requirements-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .req-card {
      background: var(--bg-card);
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-color);
      padding: 20px;
      text-align: center;
    }

    .req-card strong {
      display: block;
      font-size: 15px;
      color: var(--text-main);
      margin-bottom: 8px;
    }

    .req-card span {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* 底部 CTA 表单收口区 */
    .cta-card-section {
      padding: 60px 48px;
    }

    .cta-banner {
      background: linear-gradient(135deg, #0B1120 0%, #0F5132 100%);
      border-radius: var(--radius-lg);
      padding: 50px;
      color: #fff;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 40px;
      align-items: center;
    }

    .cta-form {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: var(--radius-md);
      padding: 28px;
    }

    .form-group {
      margin-bottom: 16px;
    }

    .form-control {
      width: 100%;
      padding: 12px 16px;
      border-radius: var(--radius-sm);
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(255, 255, 255, 0.9);
      color: var(--text-main);
      font-size: 14px;
      outline: none;
    }

    .form-control:focus {
      border-color: var(--accent);
    }

    /* 页脚 Footer */
    .app-footer {
      background: #061f13;
      color: #94A3B8;
      padding: 60px 48px 30px;
      font-size: 14px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-col h5 {
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 18px;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-links a:hover {
      color: var(--accent);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 24px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 16px;
      font-size: 13px;
    }

    /* 响应式断点 */
    @media (max-width: 1024px) {
      .app-sidebar {
        transform: translateX(-100%);
      }
      .app-sidebar.open {
        transform: translateX(0);
      }
      .mobile-header {
        display: flex;
      }
      .app-main {
        margin-left: 0;
        padding-top: 64px;
      }
      .grid-3-col,
      .step-flow,
      .stats-grid,
      .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .hero-content-grid,
      .two-col-layout,
      .grid-2-col,
      .referral-card,
      .news-layout,
      .cta-banner {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      section {
        padding: 50px 20px;
      }
      .hero-section {
        padding: 40px 20px;
      }
      .hero-h1 {
        font-size: 28px;
      }
      .grid-3-col,
      .step-flow,
      .stats-grid,
      .requirements-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .hero-flash-bar {
        flex-direction: column;
        align-items: flex-start;
      }
    }
