/* ============================================
   91秦先生 - 原创样式表
   品牌色系：甜蜜粉 + 深玫红 + 暖金
   ============================================ */

/* CSS Variables */
:root {
  --tx-pink: #FF6B9D;
  --tx-rose: #C44569;
  --tx-gold: #F8B500;
  --tx-bg-light: #FFF5F7;
  --tx-bg-dark: #1A1A2E;
  --tx-text: #2D2D3A;
  --tx-text-light: #7A7A8E;
  --tx-white: #FFFFFF;
  --tx-border: #F0E0E5;
  --tx-shadow: rgba(196, 69, 105, 0.12);
  --tx-gradient: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
  --tx-gradient-gold: linear-gradient(135deg, #F8B500 0%, #E8A600 100%);
  --tx-radius: 12px;
  --tx-radius-sm: 8px;
  --tx-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--tx-text);
  background: var(--tx-bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--tx-rose); text-decoration: none; transition: var(--tx-transition); }
a:hover { color: var(--tx-pink); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--tx-text); }

/* Container */
.tx-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.tx-container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ============ Header / Navigation ============ */
.tx-header {
  background: var(--tx-white);
  box-shadow: 0 2px 20px var(--tx-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--tx-pink);
}
.tx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
  height: 68px;
}
.tx-logo { display: flex; align-items: center; gap: 10px; }
.tx-logo img { height: 42px; width: auto; }
.tx-logo-text { font-size: 1.4rem; font-weight: 800; background: var(--tx-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.tx-nav { display: flex; align-items: center; gap: 0; }
.tx-nav a {
  padding: 22px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tx-text);
  position: relative;
  transition: var(--tx-transition);
}
.tx-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--tx-gradient);
  border-radius: 3px;
  transition: var(--tx-transition);
}
.tx-nav a:hover, .tx-nav a.active { color: var(--tx-rose); }
.tx-nav a:hover::after, .tx-nav a.active::after { width: 60%; }
.tx-mobile-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: var(--tx-rose); background: none; border: none; }

/* Search Bar */
.tx-search-bar {
  background: linear-gradient(135deg, #FFF0F3 0%, #FDE8EE 100%);
  padding: 14px 0;
  border-bottom: 1px solid var(--tx-border);
}
.tx-search-wrap {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  position: relative;
}
.tx-search-wrap input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid var(--tx-border);
  border-right: none;
  border-radius: var(--tx-radius) 0 0 var(--tx-radius);
  font-size: 0.95rem;
  outline: none;
  background: var(--tx-white);
  transition: var(--tx-transition);
}
.tx-search-wrap input:focus { border-color: var(--tx-pink); }
.tx-search-wrap button {
  padding: 12px 28px;
  background: var(--tx-gradient);
  color: var(--tx-white);
  border: none;
  border-radius: 0 var(--tx-radius) var(--tx-radius) 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tx-transition);
}
.tx-search-wrap button:hover { opacity: 0.9; transform: scale(1.02); }

/* ============ Hero Banner ============ */
.tx-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--tx-bg-dark);
}
.tx-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  transition: transform 0.5s ease;
}
.tx-hero:hover .tx-hero-bg { transform: scale(1.03); }
.tx-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,46,0.3) 0%, rgba(26,26,46,0.8) 100%);
}
.tx-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--tx-white);
  padding: 0 20px;
}
.tx-hero-content h1 {
  font-size: 2.8rem;
  color: var(--tx-white);
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.tx-hero-content h1 span { color: var(--tx-gold); }
.tx-hero-content p {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 640px;
  margin-bottom: 28px;
  line-height: 1.8;
}
.tx-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.tx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tx-transition);
  border: none;
}
.tx-btn-primary { background: var(--tx-gradient); color: var(--tx-white); box-shadow: 0 4px 15px rgba(255,107,157,0.4); }
.tx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,157,0.5); color: var(--tx-white); }
.tx-btn-outline { background: transparent; color: var(--tx-white); border: 2px solid var(--tx-white); }
.tx-btn-outline:hover { background: var(--tx-white); color: var(--tx-rose); }
.tx-btn-gold { background: var(--tx-gradient-gold); color: var(--tx-text); box-shadow: 0 4px 15px rgba(248,181,0,0.3); }
.tx-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(248,181,0,0.4); }

/* ============ Section Common ============ */
.tx-section { padding: 70px 0; }
.tx-section-alt { background: var(--tx-white); }
.tx-section-dark { background: var(--tx-bg-dark); color: var(--tx-white); }
.tx-section-dark h2, .tx-section-dark h3, .tx-section-dark h4 { color: var(--tx-white); }
.tx-section-header { text-align: center; margin-bottom: 48px; }
.tx-section-header h2 { font-size: 2rem; margin-bottom: 12px; }
.tx-section-header h2 span { color: var(--tx-rose); }
.tx-section-header p { color: var(--tx-text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.tx-section-header .tx-line {
  width: 60px;
  height: 4px;
  background: var(--tx-gradient);
  border-radius: 4px;
  margin: 16px auto 0;
}

/* ============ Video Cards Grid ============ */
.tx-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tx-video-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--tx-shadow);
  transition: var(--tx-transition);
  position: relative;
}
.tx-video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(196,69,105,0.18); }
.tx-video-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  cursor: pointer;
}
.tx-video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tx-video-card:hover .tx-video-thumb img { transform: scale(1.08); }
.tx-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,26,46,0.35);
  opacity: 0;
  transition: var(--tx-transition);
}
.tx-video-card:hover .tx-video-play { opacity: 1; }
.tx-video-play-icon {
  width: 56px;
  height: 56px;
  background: var(--tx-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255,107,157,0.5);
  transition: var(--tx-transition);
}
.tx-video-play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
  margin-left: 3px;
}
.tx-video-card:hover .tx-video-play-icon { transform: scale(1.1); }
.tx-video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}
.tx-video-info { padding: 16px; }
.tx-video-info h4 { font-size: 0.95rem; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.tx-video-meta { display: flex; align-items: center; gap: 14px; font-size: 0.82rem; color: var(--tx-text-light); }
.tx-video-meta span { display: flex; align-items: center; gap: 4px; }
.tx-video-tag {
  display: inline-block;
  padding: 2px 10px;
  background: #FFF0F3;
  color: var(--tx-rose);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 8px;
}

/* ============ Service Cards ============ */
.tx-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tx-service-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px var(--tx-shadow);
  transition: var(--tx-transition);
  border: 1px solid transparent;
}
.tx-service-card:hover { border-color: var(--tx-pink); transform: translateY(-4px); }
.tx-service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #FFF0F3 0%, #FDE2EA 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}
.tx-service-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.tx-service-card p { color: var(--tx-text-light); font-size: 0.92rem; line-height: 1.7; }

/* ============ Expert Cards ============ */
.tx-expert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tx-expert-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--tx-shadow);
  transition: var(--tx-transition);
  text-align: center;
}
.tx-expert-card:hover { transform: translateY(-4px); }
.tx-expert-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 28px auto 16px;
  border: 4px solid var(--tx-pink);
  box-shadow: 0 4px 15px var(--tx-shadow);
}
.tx-expert-info { padding: 0 24px 28px; }
.tx-expert-info h4 { font-size: 1.1rem; margin-bottom: 4px; }
.tx-expert-info .tx-role { color: var(--tx-rose); font-size: 0.88rem; font-weight: 600; margin-bottom: 10px; }
.tx-expert-info p { color: var(--tx-text-light); font-size: 0.88rem; line-height: 1.6; margin-bottom: 16px; }
.tx-expert-btns { display: flex; gap: 10px; justify-content: center; }
.tx-btn-sm { padding: 8px 18px; font-size: 0.82rem; border-radius: 50px; }

/* ============ Brand Wall ============ */
.tx-brand-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  align-items: center;
}
.tx-brand-item {
  padding: 16px 28px;
  background: var(--tx-white);
  border-radius: var(--tx-radius-sm);
  box-shadow: 0 2px 12px var(--tx-shadow);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tx-text-light);
  transition: var(--tx-transition);
}
.tx-brand-item:hover { color: var(--tx-rose); transform: scale(1.05); }

/* ============ FAQ ============ */
.tx-faq-list { max-width: 800px; margin: 0 auto; }
.tx-faq-item {
  background: var(--tx-white);
  border-radius: var(--tx-radius-sm);
  margin-bottom: 14px;
  box-shadow: 0 2px 12px var(--tx-shadow);
  overflow: hidden;
}
.tx-faq-q {
  padding: 18px 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--tx-transition);
}
.tx-faq-q:hover { color: var(--tx-rose); }
.tx-faq-q .tx-faq-icon { font-size: 1.2rem; transition: transform 0.3s ease; color: var(--tx-rose); }
.tx-faq-item.active .tx-faq-icon { transform: rotate(45deg); }
.tx-faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--tx-text-light);
  line-height: 1.8;
  font-size: 0.94rem;
}
.tx-faq-item.active .tx-faq-a { max-height: 300px; padding: 0 24px 18px; }

/* ============ Reviews ============ */
.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: 28px;
  box-shadow: 0 4px 20px var(--tx-shadow);
  transition: var(--tx-transition);
}
.tx-review-card:hover { transform: translateY(-3px); }
.tx-review-stars { color: var(--tx-gold); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.tx-review-text { color: var(--tx-text); font-size: 0.94rem; line-height: 1.8; margin-bottom: 16px; font-style: italic; }
.tx-review-author { display: flex; align-items: center; gap: 12px; }
.tx-review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tx-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}
.tx-review-name { font-weight: 600; font-size: 0.9rem; }
.tx-review-date { font-size: 0.8rem; color: var(--tx-text-light); }

/* ============ Contact Section ============ */
.tx-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}
.tx-contact-info h3 { font-size: 1.4rem; margin-bottom: 20px; }
.tx-contact-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.tx-contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, #FFF0F3 0%, #FDE2EA 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.tx-contact-item strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.tx-contact-item span { color: var(--tx-text-light); font-size: 0.88rem; }
.tx-qrcode-wrap { display: flex; gap: 28px; justify-content: center; }
.tx-qrcode-item { text-align: center; }
.tx-qrcode-item img { width: 140px; height: 140px; border-radius: var(--tx-radius-sm); margin-bottom: 8px; box-shadow: 0 2px 12px var(--tx-shadow); }
.tx-qrcode-item p { font-size: 0.85rem; color: var(--tx-text-light); font-weight: 600; }

/* ============ Footer ============ */
.tx-footer {
  background: var(--tx-bg-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 .tx-logo-text { font-size: 1.3rem; margin-bottom: 12px; display: block; }
.tx-footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }
.tx-footer h5 { color: var(--tx-white); font-size: 1rem; margin-bottom: 16px; }
.tx-footer-links a { display: block; padding: 4px 0; font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: var(--tx-transition); }
.tx-footer-links a:hover { color: var(--tx-pink); padding-left: 6px; }
.tx-footer-social { display: flex; gap: 12px; margin-top: 12px; }
.tx-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  transition: var(--tx-transition);
}
.tx-footer-social a:hover { background: var(--tx-gradient); transform: scale(1.1); }
.tx-footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
}
.tx-footer-bottom a { color: var(--tx-pink); }

/* ============ Share Buttons ============ */
.tx-share-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.tx-share-btn {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: var(--tx-transition);
  border: none;
}
.tx-share-btn:hover { transform: scale(1.05); opacity: 0.9; }
.tx-share-wechat { background: #07C160; }
.tx-share-weibo { background: #E6162D; }
.tx-share-douyin { background: #161823; }
.tx-share-bilibili { background: #00A1D6; }

/* ============ Breadcrumb ============ */
.tx-breadcrumb {
  padding: 14px 0;
  font-size: 0.88rem;
  color: var(--tx-text-light);
  background: var(--tx-white);
  border-bottom: 1px solid var(--tx-border);
}
.tx-breadcrumb a { color: var(--tx-rose); }
.tx-breadcrumb span { margin: 0 8px; }

/* ============ How-To Guide ============ */
.tx-howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.tx-howto-step {
  text-align: center;
  padding: 28px 20px;
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  box-shadow: 0 4px 20px var(--tx-shadow);
  position: relative;
  counter-increment: step;
}
.tx-howto-step::before {
  content: counter(step);
  width: 44px;
  height: 44px;
  background: var(--tx-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}
.tx-howto-step h4 { font-size: 1rem; margin-bottom: 8px; }
.tx-howto-step p { font-size: 0.88rem; color: var(--tx-text-light); }

/* ============ Stats Bar ============ */
.tx-stats {
  background: var(--tx-gradient);
  padding: 40px 0;
}
.tx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  color: white;
}
.tx-stat-num { font-size: 2.4rem; font-weight: 800; }
.tx-stat-label { font-size: 0.92rem; opacity: 0.9; margin-top: 4px; }

/* ============ Inner Page Banner ============ */
.tx-page-banner {
  background: var(--tx-bg-dark);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tx-page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--tx-gradient);
  opacity: 0.15;
}
.tx-page-banner h1 { color: var(--tx-white); font-size: 2.2rem; position: relative; z-index: 1; margin-bottom: 10px; }
.tx-page-banner p { color: rgba(255,255,255,0.75); position: relative; z-index: 1; font-size: 1.05rem; }

/* ============ Content Area ============ */
.tx-content { padding: 50px 0; }
.tx-content-text { max-width: 800px; margin: 0 auto; }
.tx-content-text p { margin-bottom: 18px; line-height: 1.9; }
.tx-content-text h2 { margin: 32px 0 16px; font-size: 1.5rem; }
.tx-content-text h3 { margin: 24px 0 12px; font-size: 1.25rem; }

/* ============ Tag Cloud ============ */
.tx-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tx-tag {
  padding: 5px 14px;
  background: #FFF0F3;
  color: var(--tx-rose);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--tx-transition);
}
.tx-tag:hover { background: var(--tx-rose); color: white; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .tx-video-grid { grid-template-columns: repeat(3, 1fr); }
  .tx-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-howto-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tx-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: 0 10px 30px var(--tx-shadow); z-index: 999; }
  .tx-nav.active { display: flex; }
  .tx-nav a { padding: 14px 0; border-bottom: 1px solid var(--tx-border); }
  .tx-mobile-toggle { display: block; }
  .tx-hero { height: 400px; }
  .tx-hero-content h1 { font-size: 1.8rem; }
  .tx-video-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tx-service-grid { grid-template-columns: 1fr; }
  .tx-expert-grid { grid-template-columns: 1fr; }
  .tx-review-grid { grid-template-columns: 1fr; }
  .tx-contact-grid { grid-template-columns: 1fr; }
  .tx-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-howto-steps { grid-template-columns: 1fr; }
  .tx-footer-grid { grid-template-columns: 1fr; }
  .tx-section { padding: 50px 0; }
  .tx-section-header h2 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .tx-video-grid { grid-template-columns: 1fr; }
  .tx-hero { height: 340px; }
  .tx-hero-content h1 { font-size: 1.5rem; }
  .tx-btn { padding: 11px 24px; font-size: 0.9rem; }
}

/* ============ Lazy Load Placeholder ============ */
.tx-lazy { opacity: 0; transition: opacity 0.5s ease; }
.tx-lazy.loaded { opacity: 1; }

/* ============ Animation ============ */
.tx-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.tx-fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============ Community Features ============ */
.tx-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tx-feature-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 28px;
  box-shadow: 0 4px 20px var(--tx-shadow);
  transition: var(--tx-transition);
  text-align: center;
}
.tx-feature-card:hover { transform: translateY(-4px); border: 1px solid var(--tx-pink); }
.tx-feature-card h4 { margin-top: 12px; font-size: 1.05rem; }
.tx-feature-card p { color: var(--tx-text-light); font-size: 0.9rem; margin-top: 8px; }
.tx-feature-icon { font-size: 2.4rem; }

/* ============ MCP Frontend Placeholder ============ */
.tx-mcp-widget {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D1B3D 100%);
  border-radius: var(--tx-radius);
  padding: 24px;
  margin-top: 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-align: center;
}
.tx-mcp-widget .tx-mcp-title { color: var(--tx-pink); font-weight: 700; margin-bottom: 8px; }

/* ============ Video Player Overlay ============ */
.tx-video-player-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: txFadeIn 0.3s ease;
}
@keyframes txFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.tx-video-player-mock {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.tx-video-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1a1a2e;
}
.tx-video-player-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}
.tx-video-player-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.tx-video-player-close:hover { opacity: 1; }
.tx-video-player-body {
  position: relative;
}
.tx-video-player-body img {
  width: 100%;
  display: block;
}
.tx-video-player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #1a1a2e;
}
.tx-vp-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.tx-vp-btn:hover { opacity: 1; }
.tx-vp-progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  overflow: hidden;
}
.tx-vp-bar {
  height: 100%;
  width: 0;
  background: var(--tx-gradient);
  border-radius: 4px;
  transition: width 0.5s linear;
}
.tx-vp-time {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  white-space: nowrap;
}

/* ============ Header Scroll Effect ============ */
.tx-header-scrolled {
  box-shadow: 0 4px 30px rgba(196,69,105,0.2);
}

/* ============ Mobile Nav Open ============ */
.tx-nav.tx-nav-open {
  display: flex;
}

/* ============ Lazy Loaded ============ */
.tx-loaded { opacity: 1; }

/* ============ Visible Animation ============ */
.tx-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Video Play Show (touch) ============ */
.tx-video-play.tx-show {
  opacity: 1;
}

/* ============ Small Button ============ */
.tx-btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 50px;
}

/* ============ Brand Wall ============ */
.tx-brand-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tx-brand-item {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 28px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--tx-text);
  box-shadow: 0 4px 16px var(--tx-shadow);
  transition: var(--tx-transition);
  border: 1px solid var(--tx-border);
}
.tx-brand-item:hover {
  border-color: var(--tx-pink);
  transform: translateY(-3px);
  color: var(--tx-rose);
}

/* ============ Contact Grid ============ */
.tx-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.tx-contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--tx-rose);
}
.tx-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.tx-contact-icon {
  font-size: 1.4rem;
  min-width: 32px;
  text-align: center;
}
.tx-contact-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--tx-text-light);
  margin-bottom: 2px;
}
.tx-contact-item span {
  font-size: 0.95rem;
  color: var(--tx-text);
}
.tx-qrcode-wrap {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
}
.tx-qrcode-item {
  text-align: center;
}
.tx-qrcode-item img {
  border-radius: var(--tx-radius);
  box-shadow: 0 4px 16px var(--tx-shadow);
  margin-bottom: 10px;
}
.tx-qrcode-item p {
  font-size: 0.88rem;
  color: var(--tx-text-light);
  font-weight: 600;
}

/* ============ Responsive Additions ============ */
@media (max-width: 768px) {
  .tx-brand-wall { grid-template-columns: repeat(2, 1fr); }
  .tx-feature-grid { grid-template-columns: 1fr; }
  .tx-qrcode-wrap { flex-direction: column; gap: 20px; }
}
@media (max-width: 480px) {
  .tx-brand-wall { grid-template-columns: 1fr; }
}

/* ============ Navigation Dropdown ============ */
.tx-nav-dropdown {
  position: relative;
}
.tx-nav-dropdown .tx-nav-parent {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tx-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}
.tx-nav-dropdown:hover .tx-arrow {
  transform: rotate(180deg);
}
.tx-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--tx-white);
  min-width: 160px;
  border-radius: 0 0 var(--tx-radius-sm) var(--tx-radius-sm);
  box-shadow: 0 8px 30px var(--tx-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 1001;
  border-top: 2px solid var(--tx-pink);
}
.tx-nav-dropdown:hover .tx-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tx-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--tx-text);
  border-bottom: 1px solid var(--tx-border);
  transition: var(--tx-transition);
}
.tx-dropdown-menu a:last-child {
  border-bottom: none;
}
.tx-dropdown-menu a:hover {
  background: #FFF0F3;
  color: var(--tx-rose);
  padding-left: 26px;
}
.tx-dropdown-menu a::after {
  display: none;
}

/* ============ Hero Categories ============ */
.tx-hero-cats {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.tx-hero-cats a {
  padding: 6px 18px;
  background: rgba(255,255,255,0.15);
  color: var(--tx-white);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
  transition: var(--tx-transition);
}
.tx-hero-cats a:hover {
  background: var(--tx-white);
  color: var(--tx-rose);
}

/* ============ News / Latest Updates ============ */
.tx-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tx-news-card {
  display: flex;
  gap: 20px;
  background: var(--tx-bg-light);
  border-radius: var(--tx-radius);
  padding: 24px;
  box-shadow: 0 2px 12px var(--tx-shadow);
  transition: var(--tx-transition);
  border-left: 4px solid var(--tx-pink);
}
.tx-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px var(--tx-shadow);
}
.tx-news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}
.tx-news-day {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--tx-rose);
  line-height: 1;
}
.tx-news-month {
  font-size: 0.78rem;
  color: var(--tx-text-light);
  font-weight: 600;
}
.tx-news-body h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.tx-news-body h4 a {
  color: var(--tx-text);
}
.tx-news-body h4 a:hover {
  color: var(--tx-rose);
}
.tx-news-body p {
  font-size: 0.88rem;
  color: var(--tx-text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ Certifications Bar ============ */
.tx-certs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}
.tx-certs-bar span {
  padding: 8px 16px;
  background: var(--tx-bg-light);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tx-text);
  border: 1px solid var(--tx-border);
}

/* ============ Expert Grid 5 Columns ============ */
.tx-expert-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.tx-expert-certs {
  font-size: 0.78rem;
  color: var(--tx-rose);
  font-weight: 600;
  margin-top: 8px;
  padding: 4px 12px;
  background: #FFF0F3;
  border-radius: 20px;
  display: inline-block;
}

/* ============ Footer Logo ============ */
.tx-footer-logo {
  width: 80px;
  height: auto;
  margin-bottom: 12px;
  border-radius: var(--tx-radius-sm);
}

/* ============ Friend Links ============ */
.tx-footer-friendlinks {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.tx-footer-friendlinks h6 {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.tx-friendlinks {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.tx-friendlinks a {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  transition: var(--tx-transition);
}
.tx-friendlinks a:hover {
  color: var(--tx-pink);
}

/* ============ Video Description & Tags ============ */
.tx-video-desc {
  font-size: 0.82rem;
  color: var(--tx-text-light);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tx-video-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* ============ Responsive Additions for New Elements ============ */
@media (max-width: 1024px) {
  .tx-expert-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .tx-news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .tx-expert-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .tx-nav-dropdown .tx-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    padding-left: 20px;
  }
  .tx-nav-dropdown .tx-dropdown-menu a {
    padding: 10px 0;
    font-size: 0.85rem;
  }
  .tx-hero-cats a {
    padding: 4px 12px;
    font-size: 0.8rem;
  }
  .tx-certs-bar span {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
}
@media (max-width: 480px) {
  .tx-expert-grid-5 { grid-template-columns: 1fr; }
  .tx-news-card { flex-direction: column; gap: 12px; }
  .tx-news-date { flex-direction: row; gap: 8px; }
}
