/* roulang page: index */
:root {
      --primary: #0F172A;
      --primary-dark: #0B0F19;
      --brand: #10B981;
      --brand-hover: #059669;
      --accent: #F97316;
      --accent-hover: #EA580C;
      --bg-page: #F8FAFC;
      --bg-card: #FFFFFF;
      --text-main: #0F172A;
      --text-body: #334155;
      --text-muted: #64748B;
      --border-color: #E2E8F0;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
      --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
      --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      --container-max: 1240px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background-color: var(--bg-page);
      color: var(--text-body);
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.25s ease;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input, select, textarea {
      font-family: inherit;
      font-size: inherit;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 顶部双行导航 */
    .top-bar {
      background-color: var(--primary-dark);
      color: #94A3B8;
      font-size: 13px;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .top-status {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .status-dot {
      width: 8px;
      height: 8px;
      background-color: var(--brand);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--brand);
    }

    .site-header {
      background-color: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: 1px solid var(--border-color);
    }
    .nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }
    .logo-box {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .logo-icon {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, var(--brand), var(--primary));
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 800;
      font-size: 20px;
    }
    .logo-text {
      font-size: 18px;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: -0.5px;
    }
    .logo-badge {
      font-size: 11px;
      background: rgba(16, 185, 129, 0.1);
      color: var(--brand-hover);
      padding: 2px 6px;
      border-radius: 4px;
      font-weight: 600;
    }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 28px;
    }
    .nav-link {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-body);
      position: relative;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--brand-hover);
    }
    .nav-link.active::after {
      content: "";
      position: absolute;
      bottom: -24px;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: var(--brand);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 22px;
      font-size: 14px;
      font-weight: 600;
      border-radius: var(--radius-sm);
      cursor: pointer;
      border: 1px solid transparent;
      transition: all 0.25s ease;
    }
    .btn-primary {
      background-color: var(--brand);
      color: white;
    }
    .btn-primary:hover {
      background-color: var(--brand-hover);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    }
    .btn-accent {
      background-color: var(--accent);
      color: white;
    }
    .btn-accent:hover {
      background-color: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
    }
    .btn-outline {
      border-color: var(--border-color);
      color: var(--text-body);
      background-color: white;
    }
    .btn-outline:hover {
      background-color: #F1F5F9;
      color: var(--primary);
    }

    /* 章节基础排版 */
    section {
      padding: 80px 0;
      position: relative;
    }
    .section-dark {
      background-color: var(--primary-dark);
      color: #F1F5F9;
    }
    .section-alt {
      background-color: #FFFFFF;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }
    .section-header {
      margin-bottom: 48px;
    }
    .section-tag {
      display: inline-block;
      font-size: 13px;
      font-weight: 700;
      color: var(--brand);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 12px;
    }
    .section-title {
      font-size: 32px;
      font-weight: 800;
      color: var(--primary);
      line-height: 1.3;
      margin-bottom: 16px;
    }
    .section-dark .section-title {
      color: #FFFFFF;
    }
    .section-desc {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 800px;
    }
    .section-dark .section-desc {
      color: #94A3B8;
    }

    /* 秒杀与应急响应条 */
    .flash-notice-bar {
      background: linear-gradient(90deg, #1E293B, #0F172A);
      color: white;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .flash-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }
    .flash-tag {
      background-color: var(--accent);
      color: white;
      padding: 3px 8px;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 700;
    }
    .countdown-box {
      display: inline-flex;
      gap: 6px;
      font-weight: 700;
      color: #F8FAFC;
    }
    .countdown-unit {
      background: rgba(255,255,255,0.1);
      padding: 2px 6px;
      border-radius: 4px;
      color: var(--brand);
    }

    /* Hero 板块：自测选型短问卷架构 */
    .hero-section {
      background: linear-gradient(180deg, #F1F5F9 0%, #F8FAFC 100%);
      padding: 60px 0 90px;
      position: relative;
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 48px;
      align-items: center;
    }
    .hero-badge-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      background-color: #E2E8F0;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 24px;
    }
    .hero-title {
      font-size: 42px;
      font-weight: 800;
      color: var(--primary);
      line-height: 1.25;
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }
    .hero-intro {
      font-size: 16px;
      color: var(--text-body);
      margin-bottom: 32px;
      line-height: 1.8;
    }
    .hero-stats-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      padding-top: 24px;
      border-top: 1px solid var(--border-color);
    }
    .hero-stat-item h4 {
      font-size: 26px;
      font-weight: 800;
      color: var(--primary);
    }
    .hero-stat-item p {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* 问卷评估卡片 */
    .hero-quiz-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 32px;
      box-shadow: var(--shadow-lg);
      position: relative;
    }
    .quiz-badge {
      position: absolute;
      top: -12px;
      right: 24px;
      background-color: var(--brand);
      color: white;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 12px;
    }
    .quiz-title {
      font-size: 20px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 8px;
    }
    .quiz-desc {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 20px;
    }
    .quiz-step {
      margin-bottom: 16px;
    }
    .quiz-label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-body);
      margin-bottom: 6px;
    }
    .quiz-select, .quiz-input {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      background-color: #F8FAFC;
      color: var(--text-main);
      outline: none;
    }
    .quiz-select:focus, .quiz-input:focus {
      border-color: var(--brand);
      background-color: white;
    }
    .quiz-result-preview {
      background: #ECFDF5;
      border: 1px dashed var(--brand);
      border-radius: var(--radius-sm);
      padding: 14px;
      margin: 16px 0;
      font-size: 13px;
      color: #065F46;
    }

    /* 城市/区域切换条 */
    .city-switch-bar {
      background-color: #FFFFFF;
      padding: 16px 0;
      border-bottom: 1px solid var(--border-color);
    }
    .city-chips-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
      overflow-x: auto;
    }
    .city-chip-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--text-muted);
      white-space: nowrap;
    }
    .city-chip {
      padding: 6px 14px;
      background-color: #F1F5F9;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-body);
      white-space: nowrap;
      cursor: pointer;
    }
    .city-chip.active, .city-chip:hover {
      background-color: var(--primary);
      color: white;
    }

    /* 板块卡片通用样式 */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
    }
    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .feature-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s ease;
    }
    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: #CBD5E1;
    }
    .feature-icon-box {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-sm);
      background-color: #ECFDF5;
      color: var(--brand);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      margin-bottom: 20px;
    }
    .feature-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 12px;
    }
    .feature-desc {
      font-size: 14px;
      color: var(--text-body);
      line-height: 1.65;
    }

    /* 方案精选大卡 */
    .solution-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
    }
    .solution-img-box {
      height: 200px;
      overflow: hidden;
      position: relative;
    }
    .solution-img-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .solution-card:hover .solution-img-box img {
      transform: scale(1.05);
    }
    .solution-body {
      padding: 28px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .solution-tag {
      font-size: 12px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 8px;
    }
    .solution-title {
      font-size: 20px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 12px;
    }
    .solution-desc {
      font-size: 14px;
      color: var(--text-body);
      margin-bottom: 20px;
      flex: 1;
    }
    .solution-spec-list {
      list-style: none;
      border-top: 1px solid var(--border-color);
      padding-top: 16px;
      margin-bottom: 20px;
    }
    .solution-spec-list li {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .solution-spec-list li::before {
      content: "✓";
      color: var(--brand);
      font-weight: bold;
    }

    /* 排行榜组件 */
    .rank-board {
      background-color: white;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .rank-item {
      display: flex;
      align-items: center;
      padding: 18px 24px;
      border-bottom: 1px solid var(--border-color);
      transition: background 0.2s ease;
    }
    .rank-item:last-child {
      border-bottom: none;
    }
    .rank-item:hover {
      background-color: #F8FAFC;
    }
    .rank-num {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background-color: #F1F5F9;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      margin-right: 16px;
    }
    .rank-item:nth-child(1) .rank-num {
      background-color: #FEF3C7;
      color: #D97706;
    }
    .rank-item:nth-child(2) .rank-num {
      background-color: #E2E8F0;
      color: #475569;
    }
    .rank-item:nth-child(3) .rank-num {
      background-color: #FFEDD5;
      color: #EA580C;
    }
    .rank-info {
      flex: 1;
    }
    .rank-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--primary);
    }
    .rank-sub {
      font-size: 13px;
      color: var(--text-muted);
    }
    .rank-data {
      text-align: right;
    }
    .rank-value {
      font-size: 15px;
      font-weight: 700;
      color: var(--brand-hover);
    }

    /* 对比表格 */
    .compare-wrap {
      overflow-x: auto;
      background: white;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }
    .compare-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }
    .compare-table th, .compare-table td {
      padding: 18px 24px;
      border-bottom: 1px solid var(--border-color);
      font-size: 14px;
    }
    .compare-table th {
      background-color: #F8FAFC;
      font-weight: 700;
      color: var(--primary);
    }
    .compare-table th.highlight, .compare-table td.highlight {
      background-color: #F0FDF4;
      color: #065F46;
      font-weight: 600;
    }

    /* 证据与数据条 */
    .stats-strip {
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: white;
      padding: 60px 0;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    .stat-number {
      font-size: 40px;
      font-weight: 800;
      color: var(--brand);
      line-height: 1;
      margin-bottom: 8px;
    }
    .stat-label {
      font-size: 14px;
      color: #CBD5E1;
    }

    /* 伙伴与保障条 */
    .guarantee-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      background-color: #F1F5F9;
      padding: 24px;
      border-radius: var(--radius-lg);
    }
    .guarantee-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }
    .guarantee-icon {
      font-size: 24px;
      color: var(--brand);
    }
    .guarantee-item h4 {
      font-size: 15px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 4px;
    }
    .guarantee-item p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* 深度案例 */
    .case-box {
      background: white;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 32px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      align-items: center;
    }
    .case-metrics {
      display: flex;
      gap: 24px;
      margin: 20px 0;
    }
    .metric-item {
      background: #F8FAFC;
      padding: 12px 18px;
      border-radius: var(--radius-sm);
      border-left: 3px solid var(--brand);
    }
    .metric-val {
      font-size: 20px;
      font-weight: 800;
      color: var(--primary);
    }
    .metric-lbl {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 安全审计清单 */
    .audit-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .audit-card {
      background: white;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 20px;
    }
    .audit-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 8px;
    }
    .audit-item span {
      color: var(--brand);
    }
    .audit-desc {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* 资源白皮书墙 */
    .resource-card {
      background: white;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .resource-badge {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      color: var(--accent);
      background: #FFF7ED;
      padding: 2px 8px;
      border-radius: 4px;
      margin-bottom: 12px;
      width: fit-content;
    }

    /* 试用与转化表单 */
    .cta-block {
      background: linear-gradient(135deg, var(--primary), #1E293B);
      border-radius: var(--radius-lg);
      padding: 48px;
      color: white;
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 40px;
      align-items: center;
    }
    .cta-form {
      background: white;
      padding: 28px;
      border-radius: var(--radius-md);
      color: var(--text-main);
    }
    .form-group {
      margin-bottom: 16px;
    }
    .form-label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 6px;
    }
    .form-control {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      font-size: 14px;
    }

    /* 页脚 */
    .site-footer {
      background-color: var(--primary-dark);
      color: #94A3B8;
      padding: 60px 0 24px;
      font-size: 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-col h5 {
      color: white;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 18px;
    }
    .footer-links {
      list-style: none;
    }
    .footer-links li {
      margin-bottom: 10px;
    }
    .footer-links a:hover {
      color: var(--brand);
    }
    .footer-bottom {
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      text-align: center;
      font-size: 13px;
      color: #64748B;
    }

    /* 移动端固定底栏 */
    .mobile-fixed-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 60px;
      background: white;
      border-top: 1px solid var(--border-color);
      z-index: 999;
      padding: 8px 16px;
      box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    }
    .mobile-bar-inner {
      display: flex;
      gap: 12px;
      height: 100%;
    }
    .mobile-bar-inner .btn {
      flex: 1;
      font-size: 13px;
      padding: 0;
    }

    /* 响应式断点 */
    @media (max-width: 1024px) {
      .hero-grid, .cta-block, .case-box {
        grid-template-columns: 1fr;
      }
      .grid-3, .audit-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .grid-4, .guarantee-bar, .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .top-bar {
        display: none;
      }
      .main-nav {
        display: none;
      }
      .hero-title {
        font-size: 28px;
      }
      .section-title {
        font-size: 24px;
      }
      .grid-3, .grid-2, .grid-4, .audit-grid, .guarantee-bar, .stats-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .mobile-fixed-bar {
        display: block;
      }
      body {
        padding-bottom: 60px;
      }
      .hero-stats-row {
        grid-template-columns: 1fr;
      }
    }
