/* roulang page: index */
:root {
      --primary: #f43f5e;
      --primary-dark: #e11d48;
      --primary-light: #fff1f2;
      --accent: #ec4899;
      --dark: #0f172a;
      --dark-card: #1e293b;
      --text: #334155;
      --text-muted: #64748b;
      --border: #e2e8f0;
      --bg-light: #f8fafc;
      --bg-white: #ffffff;
      --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
      --shadow-md: 0 10px 25px -5px rgba(244, 63, 94, 0.12);
      --shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.12);
      --radius: 12px;
      --radius-sm: 6px;
    }

    * { 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;
      color: var(--text);
      background-color: var(--bg-white);
      line-height: 1.7;
      overflow-x: hidden;
    }

    a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
    a:hover { color: var(--primary); }
    img { max-width: 100%; height: auto; display: block; object-fit: cover; }

    /* 全局导航 */
    .top-bar-custom {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 1000;
      padding: 0.85rem 1.5rem;
    }
    .brand-logo {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      letter-spacing: -0.5px;
    }
    .brand-logo span { color: var(--dark); }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
      list-style: none;
      margin: 0;
    }
    .nav-item a {
      font-weight: 600;
      color: var(--dark);
      font-size: 0.95rem;
      padding: 0.4rem 0.2rem;
      position: relative;
    }
    .nav-item.active a, .nav-item a:hover {
      color: var(--primary);
    }
    .nav-item.active a::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
    }
    .btn-nav {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #fff !important;
      padding: 0.55rem 1.25rem !important;
      border-radius: 50px;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
    }
    .btn-nav:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(244, 63, 94, 0.4);
    }

    /* 现代 Section 间距与包装 */
    .section-wrap {
      padding: 5.5rem 0;
      position: relative;
    }
    .section-wrap.bg-alt {
      background-color: var(--bg-light);
    }
    .section-wrap.bg-dark {
      background-color: var(--dark);
      color: #fff;
    }
    .section-header {
      margin-bottom: 3.5rem;
    }
    .section-badge {
      display: inline-block;
      padding: 0.3rem 0.85rem;
      background: var(--primary-light);
      color: var(--primary);
      font-size: 0.8rem;
      font-weight: 700;
      border-radius: 30px;
      margin-bottom: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .section-badge.badge-dark {
      background: rgba(244, 63, 94, 0.2);
      color: #fda4af;
    }
    .section-title {
      font-size: 2.15rem;
      font-weight: 800;
      color: var(--dark);
      letter-spacing: -0.5px;
      margin-bottom: 1rem;
    }
    .bg-dark .section-title {
      color: #ffffff;
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 760px;
      margin: 0 auto;
      line-height: 1.8;
    }
    .bg-dark .section-desc {
      color: #94a3b8;
    }

    /* Hero 前后对比首屏 */
    .hero-section {
      padding: 5rem 0 6rem;
      background: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%);
      position: relative;
      overflow: hidden;
    }
    .hero-bg-overlay {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      opacity: 0.04;
      pointer-events: none;
    }
    .hero-title {
      font-size: 2.75rem;
      font-weight: 900;
      line-height: 1.25;
      color: var(--dark);
      margin-bottom: 1.5rem;
      letter-spacing: -1px;
    }
    .hero-title .highlight {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-lead {
      font-size: 1.15rem;
      color: var(--text-muted);
      line-height: 1.85;
      margin-bottom: 2.25rem;
    }
    .hero-actions {
      display: flex;
      gap: 1.25rem;
      align-items: center;
      margin-bottom: 2rem;
    }
    .btn-main {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #ffffff !important;
      padding: 0.85rem 2.2rem;
      font-size: 1.05rem;
      font-weight: 700;
      border-radius: 8px;
      box-shadow: 0 8px 20px rgba(244, 63, 94, 0.35);
      border: none;
      cursor: pointer;
    }
    .btn-main:hover {
      box-shadow: 0 12px 25px rgba(244, 63, 94, 0.45);
      transform: translateY(-2px);
    }
    .btn-sub {
      background: #ffffff;
      color: var(--dark) !important;
      padding: 0.85rem 1.8rem;
      font-size: 1.05rem;
      font-weight: 600;
      border-radius: 8px;
      border: 1px solid var(--border);
    }
    .btn-sub:hover {
      background: #f1f5f9;
      border-color: #cbd5e1;
    }

    /* Before / After 对比组件 */
    .compare-container {
      background: #ffffff;
      border-radius: var(--radius);
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .compare-header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      text-align: center;
      background: #f8fafc;
      border-bottom: 1px solid var(--border);
    }
    .compare-tag {
      padding: 0.75rem 1rem;
      font-weight: 700;
      font-size: 0.9rem;
    }
    .tag-before {
      background: #f1f5f9;
      color: #64748b;
    }
    .tag-after {
      background: var(--primary-light);
      color: var(--primary);
    }
    .compare-body {
      display: grid;
      grid-template-columns: 1fr 1fr;
      padding: 1.5rem;
      gap: 1.5rem;
    }
    .compare-panel {
      border-radius: var(--radius-sm);
      padding: 1.25rem;
      font-size: 0.9rem;
    }
    .panel-before {
      background: #f8fafc;
      border: 1px dashed #cbd5e1;
    }
    .panel-after {
      background: #fff1f2;
      border: 1px solid #fecdd3;
    }
    .compare-item {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
      color: var(--text);
    }
    .compare-item:last-child { margin-bottom: 0; }
    .status-bad { color: #ef4444; font-weight: bold; }
    .status-good { color: #10b981; font-weight: bold; }

    /* KPI 看板 */
    .kpi-card {
      background: #ffffff;
      padding: 2.5rem 1.5rem;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      text-align: center;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
    }
    .kpi-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
      border-color: #fda4af;
    }
    .kpi-value {
      font-size: 2.85rem;
      font-weight: 900;
      color: var(--primary);
      line-height: 1.1;
      margin-bottom: 0.5rem;
    }
    .kpi-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 0.5rem;
    }
    .kpi-desc {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 服务矩阵 */
    .matrix-card {
      background: #ffffff;
      padding: 2rem;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: all 0.3s;
    }
    .matrix-card:hover {
      border-color: var(--primary);
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }
    .matrix-icon {
      width: 52px;
      height: 52px;
      border-radius: 10px;
      background: var(--primary-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: var(--primary);
      margin-bottom: 1.25rem;
    }
    .matrix-name {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 0.75rem;
    }
    .matrix-text {
      color: var(--text-muted);
      font-size: 0.92rem;
      line-height: 1.65;
      margin-bottom: 1.25rem;
    }
    .matrix-badge {
      display: inline-block;
      padding: 0.2rem 0.65rem;
      background: #f1f5f9;
      color: #475569;
      font-size: 0.75rem;
      font-weight: 600;
      border-radius: 4px;
      align-self: flex-start;
    }

    /* 里程碑模块 */
    .timeline {
      position: relative;
      max-width: 900px;
      margin: 0 auto;
    }
    .timeline::before {
      content: '';
      position: absolute;
      top: 0; bottom: 0;
      left: 50%;
      width: 2px;
      background: var(--border);
      transform: translateX(-50%);
    }
    .timeline-node {
      position: relative;
      margin-bottom: 3rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .timeline-node:nth-child(even) { flex-direction: row-reverse; }
    .timeline-content {
      width: 44%;
      background: #ffffff;
      padding: 1.75rem;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
    }
    .timeline-dot {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--primary);
      border: 4px solid #ffffff;
      box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.25);
    }
    .timeline-time {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 0.4rem;
    }
    .timeline-heading {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 0.5rem;
    }
    .timeline-detail {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 资讯热榜 */
    .news-card {
      background: #ffffff;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      overflow: hidden;
      height: 100%;
      display: flex;
      flex-direction: column;
      transition: all 0.3s;
    }
    .news-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }
    .news-cover {
      height: 190px;
      overflow: hidden;
      position: relative;
    }
    .news-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .news-card:hover .news-cover img {
      transform: scale(1.05);
    }
    .news-content {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .news-meta {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 0.5rem;
      display: flex;
      gap: 0.85rem;
    }
    .news-title {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 0.75rem;
      line-height: 1.45;
    }
    .news-desc {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 1.25rem;
      flex-grow: 1;
    }
    .news-link {
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
    }

    /* 平台保障 */
    .security-box {
      background: var(--dark-card);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius);
      padding: 2rem 1.5rem;
      text-align: center;
      transition: all 0.3s;
    }
    .security-box:hover {
      border-color: rgba(244, 63, 94, 0.4);
      transform: translateY(-3px);
    }
    .security-icon {
      font-size: 2rem;
      color: #fda4af;
      margin-bottom: 1rem;
    }
    .security-name {
      font-size: 1.15rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 0.5rem;
    }
    .security-text {
      color: #94a3b8;
      font-size: 0.88rem;
      line-height: 1.6;
    }

    /* 快速解答 FAQ */
    .faq-container {
      max-width: 840px;
      margin: 0 auto;
    }
    .faq-card {
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      margin-bottom: 1.25rem;
      padding: 1.5rem;
      transition: border-color 0.2s;
    }
    .faq-card:hover {
      border-color: var(--primary);
    }
    .faq-q {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 0.65rem;
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }
    .faq-q-mark {
      color: var(--primary);
      font-weight: 900;
    }
    .faq-a {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 战役强化带与收口 */
    .cta-banner {
      background: linear-gradient(135deg, #e11d48, #be185d);
      border-radius: var(--radius);
      padding: 3.5rem 2rem;
      color: #ffffff;
      text-align: center;
      box-shadow: var(--shadow-lg);
    }
    .cta-banner h2 {
      font-size: 2.25rem;
      font-weight: 800;
      margin-bottom: 1rem;
      color: #ffffff;
    }
    .cta-banner p {
      font-size: 1.05rem;
      opacity: 0.95;
      max-width: 680px;
      margin: 0 auto 2rem;
      line-height: 1.75;
    }
    .btn-cta-white {
      background: #ffffff;
      color: #be185d !important;
      font-weight: 700;
      padding: 0.85rem 2.5rem;
      border-radius: 50px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
      display: inline-block;
    }
    .btn-cta-white:hover {
      background: #fff1f2;
      transform: translateY(-2px);
    }

    /* 全局页脚 */
    .site-footer {
      background: #090d16;
      color: #94a3b8;
      padding: 4.5rem 0 2.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 0.9rem;
    }
    .footer-brand {
      font-size: 1.6rem;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 1rem;
    }
    .footer-brand span { color: var(--primary); }
    .footer-text {
      line-height: 1.75;
      margin-bottom: 1.5rem;
      max-width: 320px;
    }
    .footer-col-title {
      font-size: 1rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 1.25rem;
    }
    .footer-links {
      list-style: none;
      margin: 0;
    }
    .footer-links li {
      margin-bottom: 0.75rem;
    }
    .footer-links a:hover {
      color: #fda4af;
    }
    .footer-bottom {
      margin-top: 3.5rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.82rem;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
    }

    /* 移动端断点适配 */
    @media (max-width: 1024px) {
      .hero-title { font-size: 2.3rem; }
      .section-title { font-size: 1.85rem; }
    }
    @media (max-width: 768px) {
      .top-bar-custom { padding: 0.75rem 1rem; }
      .nav-links { display: none; }
      .hero-section { padding: 3.5rem 0 4.5rem; text-align: center; }
      .hero-actions { justify-content: center; flex-direction: column; width: 100%; }
      .btn-main, .btn-sub { width: 100%; text-align: center; }
      .timeline::before { left: 20px; }
      .timeline-node { flex-direction: column !important; align-items: flex-start; margin-left: 20px; }
      .timeline-content { width: calc(100% - 30px); margin-left: 30px; }
      .timeline-dot { left: 20px; }
      .compare-body { grid-template-columns: 1fr; }
      .section-wrap { padding: 3.5rem 0; }
    }
