/* ============================================
   强上 全站样式表 - 原创设计
   品牌：强上 | 域名：szkunshan.cn
   配色：强上粉红 #E8456B / 暖橙 #FF7E5F / 深夜蓝 #1A1A2E
   ============================================ */

/* === 基础重置与变量 === */
:root {
  --tx-pink: #E8456B;
  --tx-orange: #FF7E5F;
  --tx-dark: #1A1A2E;
  --tx-deep: #16213E;
  --tx-gold: #FFD93D;
  --tx-bg: #F8F9FA;
  --tx-text: #2D2D2D;
  --tx-white: #FFFFFF;
  --tx-gray: #6C757D;
  --tx-light-gray: #E9ECEF;
  --tx-gradient: linear-gradient(135deg, #E8456B 0%, #FF7E5F 100%);
  --tx-shadow: 0 4px 20px rgba(0,0,0,0.08);
  --tx-radius: 12px;
  --tx-transition: all 0.3s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--tx-text);
  background: var(--tx-bg);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: var(--tx-pink);
  text-decoration: none;
  transition: var(--tx-transition);
}

a:hover {
  color: var(--tx-orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === 顶部导航栏 === */
.tx-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  transition: var(--tx-transition);
}

.tx-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.tx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tx-logo img {
  height: 42px;
  width: 42px;
  border-radius: 8px;
}

.tx-logo span {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--tx-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tx-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tx-nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--tx-transition);
  white-space: nowrap;
}

.tx-nav a:hover,
.tx-nav a.active {
  background: var(--tx-gradient);
  color: var(--tx-white);
  -webkit-text-fill-color: initial;
}

.tx-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--tx-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* === 搜索栏 === */
.tx-search-bar {
  background: var(--tx-dark);
  padding: 12px 0;
  margin-top: 70px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tx-search-bar .container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tx-search-input {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.tx-search-input input {
  width: 100%;
  padding: 10px 44px 10px 18px;
  border: 2px solid rgba(232,69,107,0.3);
  border-radius: 25px;
  background: rgba(255,255,255,0.08);
  color: var(--tx-white);
  font-size: 0.9rem;
  outline: none;
  transition: var(--tx-transition);
}

.tx-search-input input::placeholder {
  color: rgba(255,255,255,0.5);
}

.tx-search-input input:focus {
  border-color: var(--tx-pink);
  background: rgba(255,255,255,0.12);
}

.tx-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--tx-gradient);
  border: none;
  color: var(--tx-white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.tx-search-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tx-search-tags a {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  transition: var(--tx-transition);
}

.tx-search-tags a:hover {
  background: rgba(232,69,107,0.2);
  color: var(--tx-pink);
}

/* === Banner 英雄区域 === */
.tx-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--tx-dark);
}

.tx-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.tx-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(232,69,107,0.3) 100%);
}

.tx-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
  max-width: 800px;
}

.tx-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--tx-white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.tx-hero-content h1 em {
  font-style: normal;
  background: var(--tx-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tx-hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  line-height: 1.8;
}

.tx-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.tx-hero-stat {
  text-align: center;
}

.tx-hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--tx-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tx-hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* === 通用按钮 === */
.tx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--tx-transition);
}

.tx-btn-primary {
  background: var(--tx-gradient);
  color: var(--tx-white);
  box-shadow: 0 4px 15px rgba(232,69,107,0.3);
}

.tx-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232,69,107,0.4);
  color: var(--tx-white);
}

.tx-btn-outline {
  background: transparent;
  color: var(--tx-white);
  border: 2px solid rgba(255,255,255,0.3);
}

.tx-btn-outline:hover {
  border-color: var(--tx-pink);
  color: var(--tx-pink);
}

/* === 通用区块标题 === */
.tx-section {
  padding: 70px 0;
}

.tx-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.tx-section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--tx-dark);
  margin-bottom: 12px;
}

.tx-section-header h2 em {
  font-style: normal;
  color: var(--tx-pink);
}

.tx-section-header p {
  font-size: 1rem;
  color: var(--tx-gray);
  max-width: 600px;
  margin: 0 auto;
}

.tx-section-header .tx-tag {
  display: inline-block;
  background: rgba(232,69,107,0.1);
  color: var(--tx-pink);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* === 视频卡片 === */
.tx-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tx-video-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  overflow: hidden;
  box-shadow: var(--tx-shadow);
  transition: var(--tx-transition);
  cursor: pointer;
}

.tx-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.tx-video-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}

.tx-video-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tx-video-card:hover .tx-video-thumb img {
  transform: scale(1.05);
}

.tx-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: rgba(232,69,107,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tx-transition);
  z-index: 3;
}

.tx-video-play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--tx-white);
  margin-left: 4px;
}

.tx-video-card:hover .tx-video-play {
  transform: translate(-50%, -50%) scale(1);
}

.tx-video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: var(--tx-white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  z-index: 2;
}

.tx-video-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--tx-gradient);
  color: var(--tx-white);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 2;
}

.tx-video-info {
  padding: 16px;
}

.tx-video-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--tx-dark);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tx-video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--tx-gray);
}

.tx-video-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* === 模块卡片 === */
.tx-module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tx-module-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--tx-shadow);
  transition: var(--tx-transition);
  border: 1px solid transparent;
}

.tx-module-card:hover {
  transform: translateY(-4px);
  border-color: var(--tx-pink);
  box-shadow: 0 8px 30px rgba(232,69,107,0.15);
}

.tx-module-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--tx-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  color: var(--tx-white);
}

.tx-module-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tx-dark);
  margin-bottom: 8px;
}

.tx-module-card p {
  font-size: 0.85rem;
  color: var(--tx-gray);
  line-height: 1.6;
}

/* === 专家卡片 === */
.tx-expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tx-expert-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  overflow: hidden;
  box-shadow: var(--tx-shadow);
  transition: var(--tx-transition);
  text-align: center;
}

.tx-expert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.tx-expert-avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.tx-expert-info {
  padding: 20px 16px;
}

.tx-expert-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tx-dark);
  margin-bottom: 4px;
}

.tx-expert-info .role {
  font-size: 0.8rem;
  color: var(--tx-pink);
  font-weight: 500;
  margin-bottom: 8px;
}

.tx-expert-info p {
  font-size: 0.8rem;
  color: var(--tx-gray);
  line-height: 1.5;
}

.tx-expert-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.tx-expert-actions a {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tx-expert-actions .btn-contact {
  background: var(--tx-gradient);
  color: var(--tx-white);
}

.tx-expert-actions .btn-works {
  border: 1px solid var(--tx-pink);
  color: var(--tx-pink);
}

/* === FAQ 手风琴 === */
.tx-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.tx-faq-item {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  margin-bottom: 12px;
  box-shadow: var(--tx-shadow);
  overflow: hidden;
}

.tx-faq-question {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tx-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--tx-transition);
}

.tx-faq-question:hover {
  color: var(--tx-pink);
}

.tx-faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--tx-pink);
  transition: var(--tx-transition);
}

.tx-faq-item.active .tx-faq-question::after {
  transform: rotate(45deg);
}

.tx-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.tx-faq-answer-inner {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  color: var(--tx-gray);
  line-height: 1.8;
}

.tx-faq-item.active .tx-faq-answer {
  max-height: 300px;
}

/* === 用户评价 === */
.tx-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tx-review-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 24px;
  box-shadow: var(--tx-shadow);
  transition: var(--tx-transition);
}

.tx-review-card:hover {
  transform: translateY(-2px);
}

.tx-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.tx-review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tx-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx-white);
  font-weight: 700;
  font-size: 1.1rem;
}

.tx-review-name {
  font-weight: 600;
  color: var(--tx-dark);
  font-size: 0.95rem;
}

.tx-review-date {
  font-size: 0.75rem;
  color: var(--tx-gray);
}

.tx-review-stars {
  color: var(--tx-gold);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.tx-review-text {
  font-size: 0.9rem;
  color: var(--tx-text);
  line-height: 1.7;
}

/* === 合作品牌墙 === */
.tx-partner-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
}

.tx-partner-item {
  width: 140px;
  height: 70px;
  background: var(--tx-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--tx-shadow);
  padding: 12px;
  transition: var(--tx-transition);
  font-weight: 700;
  color: var(--tx-gray);
  font-size: 0.85rem;
}

.tx-partner-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

/* === 社交分享 === */
.tx-share-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.tx-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--tx-white);
  transition: var(--tx-transition);
}

.tx-share-btn:hover {
  transform: translateY(-2px);
  color: var(--tx-white);
}

.tx-share-wechat { background: #07C160; }
.tx-share-weibo { background: #E6162D; }
.tx-share-douyin { background: #161823; }
.tx-share-bilibili { background: #00A1D6; }

/* === 页脚 === */
.tx-footer {
  background: var(--tx-dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 0;
}

.tx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tx-footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--tx-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.tx-footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.tx-footer-qr {
  display: flex;
  gap: 16px;
}

.tx-footer-qr-item {
  text-align: center;
}

.tx-footer-qr-item img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.tx-footer-qr-item span {
  font-size: 0.7rem;
  display: block;
}

.tx-footer h4 {
  color: var(--tx-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.tx-footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  padding: 4px 0;
  transition: var(--tx-transition);
}

.tx-footer-links a:hover {
  color: var(--tx-pink);
  padding-left: 6px;
}

.tx-footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.tx-footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* === 面包屑 === */
.tx-breadcrumb {
  padding: 15px 0;
  font-size: 0.85rem;
  color: var(--tx-gray);
  margin-top: 70px;
}

.tx-breadcrumb a {
  color: var(--tx-gray);
}

.tx-breadcrumb a:hover {
  color: var(--tx-pink);
}

.tx-breadcrumb span {
  margin: 0 8px;
  color: var(--tx-light-gray);
}

/* === 内页通用 === */
.tx-page-hero {
  background: var(--tx-dark);
  padding: 100px 0 50px;
  text-align: center;
}

.tx-page-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--tx-white);
  margin-bottom: 12px;
}

.tx-page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}

/* === 内页侧边栏推荐 === */
.tx-sidebar {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 24px;
  box-shadow: var(--tx-shadow);
}

.tx-sidebar h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tx-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--tx-pink);
}

.tx-sidebar-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tx-light-gray);
}

.tx-sidebar-item:last-child {
  border-bottom: none;
}

.tx-sidebar-item img {
  width: 80px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.tx-sidebar-item h4 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--tx-dark);
  line-height: 1.4;
}

.tx-sidebar-item .meta {
  font-size: 0.75rem;
  color: var(--tx-gray);
  margin-top: 4px;
}

/* === 内页内容区 === */
.tx-content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  padding: 40px 0;
}

.tx-content-main {
  min-width: 0;
}

.tx-content-main h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tx-dark);
  margin: 30px 0 16px;
}

.tx-content-main h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--tx-dark);
  margin: 24px 0 12px;
}

.tx-content-main p {
  font-size: 0.95rem;
  color: var(--tx-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* === 深色背景区块 === */
.tx-section-dark {
  background: var(--tx-dark);
  color: var(--tx-white);
}

.tx-section-dark .tx-section-header h2 {
  color: var(--tx-white);
}

.tx-section-dark .tx-section-header p {
  color: rgba(255,255,255,0.7);
}

/* === 标签云 === */
.tx-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.tx-tag-cloud a {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(232,69,107,0.08);
  color: var(--tx-pink);
  border-radius: 20px;
  font-size: 0.8rem;
  transition: var(--tx-transition);
}

.tx-tag-cloud a:hover {
  background: var(--tx-gradient);
  color: var(--tx-white);
}

/* === 响应式 === */
@media (max-width: 1024px) {
  .tx-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tx-module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tx-expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tx-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tx-content-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tx-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--tx-dark);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
  }
  .tx-nav.active {
    display: flex;
  }
  .tx-nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  .tx-menu-btn {
    display: block;
  }
  .tx-hero-content h1 {
    font-size: 1.8rem;
  }
  .tx-hero-stats {
    gap: 20px;
  }
  .tx-hero-stat .num {
    font-size: 1.4rem;
  }
  .tx-video-grid {
    grid-template-columns: 1fr;
  }
  .tx-module-grid {
    grid-template-columns: 1fr;
  }
  .tx-expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tx-review-grid {
    grid-template-columns: 1fr;
  }
  .tx-footer-grid {
    grid-template-columns: 1fr;
  }
  .tx-search-tags {
    display: none;
  }
  .tx-section {
    padding: 40px 0;
  }
  .tx-section-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .tx-expert-grid {
    grid-template-columns: 1fr;
  }
  .tx-hero {
    min-height: 400px;
  }
}

/* === 懒加载 === */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img.loaded {
  opacity: 1;
}

/* === 动画 === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tx-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tx-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === 回到顶部 === */
.tx-back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--tx-gradient);
  color: var(--tx-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(232,69,107,0.3);
  z-index: 999;
  transition: var(--tx-transition);
}

.tx-back-top.show {
  display: flex;
}

.tx-back-top:hover {
  transform: translateY(-3px);
}
