/* roulang page: index */
:root {
    --primary: #0F766E;
    --primary-dark: #115E59;
    --primary-light: #14B8A6;
    --accent: #D97706;
    --accent-dark: #B45309;
    --bg-dark: #0F172A;
    --bg-light: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  img {
    max-width: 100%;
    display: block;
  }

  button {
    cursor: pointer;
  }

  /* 浮动Dock导航 */
  .floating-nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: min(960px, calc(100% - 2rem));
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .floating-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  }

  .floating-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.25rem;
  }

  .nav-logo {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
  }

  .nav-logo .logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.25rem 0;
  }

  .nav-links a:hover {
    color: var(--primary);
  }

  .nav-links a.active {
    color: var(--primary);
    font-weight: 600;
  }

  .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
  }

  .nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .nav-cta .btn-nav {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: none;
    transition: all 0.25s ease;
    white-space: nowrap;
  }

  .nav-cta .btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.35);
  }

  /* Hero */
  .hero-section {
    position: relative;
    background-image: url('/assets/images/backpic/back-1.jpg');
    background-size: cover;
    background-position: center;
    padding: 7rem 0 4rem;
    min-height: 680px;
    display: flex;
    align-items: center;
  }

  .hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 118, 110, 0.65) 100%);
  }

  .hero-section .hero-content {
    position: relative;
    z-index: 2;
  }

  .flash-bar {
    background: linear-gradient(90deg, #991b1b, #dc2626, #b91c1c);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
  }

  .flash-bar i {
    animation: pulse 1.5s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  .hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    margin: 1.25rem 0 1rem;
  }

  .hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 1.75rem;
  }

  .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .product-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    max-width: 380px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .product-card .card-img {
    border-radius: 14px;
    overflow: hidden;
    height: 160px;
    margin-bottom: 1rem;
    position: relative;
  }

  .product-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .product-card .discount-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc2626;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
  }

  .product-card .product-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
  }

  .product-card .product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .product-card .price-now {
    font-size: 1.4rem;
    font-weight: 800;
    color: #dc2626;
  }

  .product-card .price-origin {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
  }

  .countdown {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
  }

  .countdown .cd-box {
    background: var(--bg-dark);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    min-width: 40px;
    text-align: center;
  }

  .countdown .cd-sep {
    color: var(--text-muted);
    font-weight: 700;
  }

  .countdown .cd-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 0.2rem;
  }

  /* 板块通用 */
  .section-padding {
    padding: 4.5rem 0;
  }

  .section-head {
    max-width: 720px;
    margin-bottom: 3rem;
  }

  .section-head.left {
    margin-left: 0;
  }

  .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(15, 118, 110, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
  }

  .section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }

  .section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
  }

  /* 时间线 */
  .timeline {
    position: relative;
    padding-left: 1.5rem;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  }

  .timeline-item {
    position: relative;
    padding: 0 0 1.75rem 1.5rem;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
  }

  .timeline-item .tl-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.2rem;
  }

  .timeline-item .tl-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.3rem;
  }

  .timeline-item .tl-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
  }

  /* 服务卡片 */
  .service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
  }

  .service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    border-color: rgba(15, 118, 110, 0.3);
  }

  .service-card .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(217, 119, 6, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
  }

  .service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
  }

  .service-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
  }

  /* 数据指标 */
  .stats-section {
    background: var(--bg-dark);
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 118, 110, 0.85));
    color: #fff;
    padding: 4rem 0;
  }

  .stat-item {
    text-align: center;
    padding: 1rem;
  }

  .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
  }

  .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.3rem;
  }

  /* 资讯区 */
  .news-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: padding 0.2s ease;
  }

  .news-list-item:hover {
    padding-left: 0.4rem;
  }

  .news-list-item .news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .news-list-item .news-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    flex: 1;
    line-height: 1.5;
  }

  .news-list-item .news-title:hover {
    color: var(--primary);
  }

  .sidebar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.25rem;
    margin-bottom: 1rem;
  }

  .sidebar-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tag-item {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--text-muted);
    transition: all 0.2s ease;
  }

  .tag-item:hover {
    background: var(--primary);
    color: #fff;
  }

  /* FAQ */
  .faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
  }

  .faq-item:hover {
    border-color: rgba(15, 118, 110, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  }

  .faq-item .faq-q {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .faq-item .faq-q i {
    color: var(--primary);
    font-size: 0.8rem;
  }

  .faq-item .faq-a {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 0.65rem;
    padding-left: 1.4rem;
  }

  /* 安全体系 */
  .security-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    height: 100%;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
  }

  .security-card:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
  }

  .security-card .sec-icon {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
  }

  .security-card h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.4rem;
  }

  .security-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
  }

  /* App 下载 */
  .app-section {
    background: linear-gradient(135deg, #0f172a, #134e4a, #0f766e);
    color: #fff;
    padding: 4.5rem 0;
  }

  .app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    border: none;
    transition: all 0.25s ease;
  }

  .app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
  }

  .app-btn.dark {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
  }

  .app-btn.dark:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  /* 用户评价 */
  .review-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
  }

  .review-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }

  .review-card .quote-mark {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: Georgia, serif;
  }

  .review-card .review-text {
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
  }

  .review-card .review-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .review-card .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
  }

  .review-card .user-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
  }

  .review-card .user-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
  }

  /* CTA */
  .cta-section {
    background: #fff;
    padding: 4rem 0;
  }

  .cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
  }

  .cta-box::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
  }

  .cta-box::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -20px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
  }

  .cta-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
  }

  .cta-box p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    border: none;
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
  }

  .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
  }

  /* Footer */
  footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 2rem;
  }

  .footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .footer-desc {
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    max-width: 300px;
  }

  .footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: color 0.2s ease;
  }

  .footer-link:hover {
    color: #fff;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.25rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
  }

  /* 移动端菜单 */
  .mobile-menu {
    display: none;
  }

  @media (max-width: 768px) {
    .nav-links {
      gap: 0.8rem;
    }
    .nav-cta .btn-nav {
      display: none;
    }
    .hero-section {
      padding: 6rem 0 3rem;
      min-height: auto;
    }
    .product-card {
      margin-left: 0;
      margin-top: 1.5rem;
      max-width: 100%;
    }
    .floating-nav .nav-logo span.logo-text {
      font-size: 0.9rem;
      max-width: 140px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  @media (max-width: 520px) {
    .section-padding {
      padding: 3rem 0;
    }
    .hero-title {
      font-size: 1.4rem;
    }
    .hero-desc {
      font-size: 0.88rem;
    }
    .product-card {
      padding: 1rem;
    }
    .product-card .card-img {
      height: 120px;
    }
    .countdown .cd-box {
      min-width: 32px;
      font-size: 0.85rem;
      padding: 0.2rem 0.4rem;
    }
    .stat-number {
      font-size: 1.8rem;
    }
    .cta-box {
      padding: 1.5rem;
    }
    .cta-box h2 {
      font-size: 1.4rem;
    }
    .floating-nav .nav-inner {
      padding: 0.4rem 0.8rem;
    }
    .nav-links a {
      font-size: 0.85rem;
    }
  }

  /* 关于页脚版权行域名显示 */
  .domain-text {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
  }

  /* 列表hover状态 */
  .list-hover-link {
    transition: color 0.2s ease;
  }

  .list-hover-link:hover {
    color: var(--primary);
  }

  /* 活动标签 */
  .activity-tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    background: rgba(217, 119, 6, 0.12);
    color: var(--accent);
  }
