/* 右上角登录按钮 */
.nav-login {
  padding: 8px 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
  transition: var(--transition);
  margin-right: 8px;
}

.nav-login:hover {
  color: #0eb085;
  background: rgba(14, 176, 133, 0.08);
}

/* 移动端菜单中的登录按钮 */
.mobile-login {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-cta {
  display: block;
  padding: 12px 20px;
  background: linear-gradient(135deg, #0eb085, #0a9b73);
  color: white;
  font-weight: 600;
  text-align: center;
  margin: 12px 20px;
  border-radius: 100px;
}

/* ========== 首页专属样式 ========== */

/* Hero 区域 */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 60%, #fafafa 100%);
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(14,176,133,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(14,176,133,0.06) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(14,176,133,0.2);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-30px) rotate(180deg); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(14,176,133,0.1);
  color: #0eb085;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(14,176,133,0.2);
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.gradient-text {
  background: linear-gradient(135deg, #0eb085, #0a9b73, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 36px;
  background: linear-gradient(135deg, #0eb085, #0a9b73);
  color: white;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14,176,133,0.4);
}

.btn-secondary {
  padding: 14px 36px;
  background: #2d76b7;
  color: #ffffff;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: inline-block;
}

.btn-secondary:hover {
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: #ffffff;
}

.btn-large { padding: 16px 48px; font-size: 18px; }

/* 统计数据 */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #0eb085;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* 手机 Mockup */
.hero-visual {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.phone-mockup {
  width: 380px;
  height: 760px;
  background: linear-gradient(145deg, #1e1e2e, #2d2d44);
  border-radius: 48px;
  padding: 14px;
  box-shadow: 
    0 25px 50px -12px rgba(0,0,0,0.25),
    0 0 0 1px rgba(255,255,255,0.1) inset;
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 38px;
  overflow: hidden;
  padding: 16px;
}

.screen-header {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 12px;
  padding: 6px 10px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.screen-card {
  background: white;
  border-radius: 12px;
  padding: 12px;
  font-size: 11px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.screen-card:hover { transform: scale(1.05); }

.screen-card.large {
  grid-column: span 2;
  background: linear-gradient(135deg, #0eb085, #0a9b73);
  color: white;
  padding: 20px;
  font-size: 14px;
}

/* ========== Bento Grid 功能模块 (Win11 不规则风格) ========== */
.features-section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 16px;
}

.bento-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0eb085, #3dd4a8);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.bento-card:hover::before {
  transform: scaleX(1);
}

/* 超大卡片 - 2x2 */
.bento-card.bento-xl {
  grid-column: span 2;
  grid-row: span 2;
  color: white;
  border: none;
  padding: 28px;
  justify-content: center;
}

.bento-card.bento-xl::before { display: none; }

.bento-card.bento-xl:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* 竖长卡片 - 1x2 */
.bento-card.bento-tall {
  grid-row: span 2;
  color: white;
  border: none;
  padding: 24px;
  justify-content: center;
}

.bento-card.bento-tall::before { display: none; }

.bento-card.bento-tall:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}

/* 横向长条 - 2x1 */
.bento-card.bento-wide {
  grid-column: span 2;
  color: white;
  border: none;
  padding: 20px 28px;
  flex-direction: row;
  align-items: center;
}

.bento-card.bento-wide::before { display: none; }

.bento-card.bento-wide:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.bento-wide-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bento-wide-content .bento-icon {
  font-size: 36px;
  margin: 0;
}

.bento-wide-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: white !important;
}

.bento-wide-content p {
  font-size: 13px;
  opacity: 0.95;
  margin: 0;
  color: rgba(255,255,255,0.9) !important;
}

/* 带背景色的普通卡片 */
.bento-card[style*="background"] {
  border: none;
  color: white;
}
.bento-card[style*="background"]::before { display: none; }

/* 深色卡片文字强制白色 */
.bento-card[style*="background"] h3,
.bento-card[style*="background"] h4,
.bento-card[style*="background"] p,
.bento-card[style*="background"] span {
  color: white !important;
}

.bento-card[style*="background"] .bento-tags span {
  background: rgba(255,255,255,0.2) !important;
  color: white !important;
}

.bento-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.bento-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.bento-card p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.9;
}

.bento-card:not([style*="background"]) p {
  color: var(--text-secondary);
  font-size: 12px;
}

.bento-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.bento-tags span {
  padding: 4px 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
}
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-card.bento-large { grid-column: span 2; grid-row: span 1; }
  .trust-logos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hero-visual { display: none; }
  .hero { justify-content: center; text-align: center; padding-top: 80px; }
  .hero-content { max-width: 100%; padding: 0 16px; }
  .hero { min-height: auto; padding: 100px 16px 60px; }
  .hero-title { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 28px; }

  .bento-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bento-card { padding: 16px; }
  .bento-card.bento-large,
  .bento-card.bento-medium,
  .bento-card.bento-wide { grid-column: span 2; }
  .bento-card.bento-tall { grid-row: span 1; }
  .bento-icon { font-size: 28px; }
  .bento-card h3 { font-size: 18px; }
  .bento-card h4 { font-size: 14px; }

  .trust-logos { grid-template-columns: repeat(2, 1fr); }
  .cta-content h2 { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 380px; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.bento-large,
  .bento-card.bento-medium,
  .bento-card.bento-wide,
  .bento-card.bento-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .trust-logos { grid-template-columns: 1fr; }
}

/* ========== 首页快讯区块 ========== */
.home-news-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  padding: 40px 0;
}

.home-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.news-column {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}
.news-column:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.news-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.news-column-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(14,176,133,0.1);
  color: #0eb085;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

.news-column-more {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  transition: all 0.3s;
}
.news-column-more:hover {
  color: #0eb085;
}

/* 推荐快讯 - 大卡片 */
.news-featured {
  padding: 20px;
}

.news-featured-card {
  display: block;
  background: linear-gradient(135deg, rgba(14,176,133,0.06), rgba(14,176,133,0.02));
  border: 1px solid rgba(14,176,133,0.15);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}
.news-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(14,176,133,0.12);
  border-color: rgba(14,176,133,0.3);
}

.featured-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #0eb085;
  color: white;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.news-featured-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-featured-card > p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 16px;
}

.featured-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.featured-meta span:first-child {
  color: #94a3b8;
}
.featured-meta span:last-child {
  color: #0eb085;
  font-weight: 600;
}

/* 快讯列表项 - 日期块样式 */
.news-item-row {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #f8fafc;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}
.news-item-row:last-child {
  border-bottom: none;
}
.news-item-row:hover {
  background: #f8fafc;
}

.news-item-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 8px;
  background: linear-gradient(135deg, #0eb085, #0a9b73);
  border-radius: 10px;
  color: white;
  text-align: center;
  flex-shrink: 0;
}
.item-day {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.item-month {
  font-size: 11px;
  margin-top: 2px;
  opacity: 0.9;
}

.news-item-body {
  flex: 1;
  min-width: 0;
}
.news-item-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.4;
  transition: color 0.3s;
}
.news-item-row:hover .news-item-body h4 {
  color: #0eb085;
}
.news-item-body p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 最新快讯列 */
.news-latest {
  padding: 8px 0;
}
.news-latest .news-item-row {
  padding: 18px 24px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .home-news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .news-item-row {
    padding: 14px 16px;
    gap: 12px;
  }
  .news-item-date {
    min-width: 44px;
    padding: 6px;
  }
  .item-day {
    font-size: 16px;
  }
  .news-featured-card {
    padding: 18px;
  }
  .news-featured-card h3 {
    font-size: 16px;
  }
}

/* ========== 二维码滚动区域 ========== */
.qr-scroll-area {
  margin-top: 20px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 12px 0;
}

.qr-scroll-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: qrScroll 20s linear infinite;
}

.qr-scroll-area:hover .qr-scroll-track {
  animation-play-state: paused;
}

@keyframes qrScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  transition: all 0.3s;
  cursor: pointer;
}

.qr-item:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}

.qr-placeholder {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.9);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.qr-item span {
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  font-weight: 500;
}

/* 响应式 */
@media (max-width: 768px) {
  .qr-placeholder {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .qr-item span {
    font-size: 10px;
  }
  .qr-scroll-track {
    animation-duration: 15s;
  }
}

/* ========== 信任背书 ========== */
.trust-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 60px 0;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-logo {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  transition: all 0.3s;
}

.trust-logo:hover {
  border-color: #0eb085;
  color: #0eb085;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ========== CTA ========== */
.cta-section {
  padding: 100px 24px;
  background: linear-gradient(135deg, #0eb085 0%, #0a9b73 50%, #059669 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}

.cta-content .btn-primary {
  background: white;
  color: #0eb085;
  border: none;
  padding: 16px 48px;
  font-size: 18px;
}

.cta-content .btn-primary:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  color: #0a9b73;
  transform: translateY(-2px);
}

/* 响应式 */
@media (max-width: 768px) {
  .trust-logos { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-logo { padding: 18px; font-size: 14px; }
  .cta-content h2 { font-size: 28px; }
  .cta-content p { font-size: 16px; }
}

/* ========== 友情链接 ========== */
.friendlink-section {
  padding: 60px 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.friendlink-section .section-header {
  margin-bottom: 40px;
}

.friendlink-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.friendlink-item {
  display: inline-block;
  padding: 10px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.friendlink-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(14,176,133,0.05);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* 响应式 */
@media (max-width: 768px) {
  .friendlink-section {
    padding: 40px 16px;
  }
  .friendlink-item {
    padding: 8px 16px;
    font-size: 13px;
  }
}

