/* ============================================
   小马拉大车 - 原创样式表
   品牌：小马拉大车 | 域名：sh6u1L.cn
   影视传媒公司 + 视频社区
   ============================================ */

/* CSS Variables */
:root {
  --tx-pink: #FF6B9D;
  --tx-deep-rose: #C44569;
  --tx-gold: #F8B500;
  --tx-light-bg: #FFF5F7;
  --tx-dark-bg: #1A1A2E;
  --tx-text: #2D2D3A;
  --tx-text-light: #6B7280;
  --tx-white: #FFFFFF;
  --tx-gradient: linear-gradient(135deg, #FF6B9D 0%, #C44569 50%, #F8B500 100%);
  --tx-gradient-soft: linear-gradient(135deg, #FF6B9D 0%, #F8B500 100%);
  --tx-shadow: 0 4px 20px rgba(255, 107, 157, 0.15);
  --tx-shadow-hover: 0 8px 30px rgba(255, 107, 157, 0.25);
  --tx-radius: 12px;
  --tx-radius-sm: 8px;
  --tx-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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-color: var(--tx-light-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* ============================================
   Header & Navigation
   ============================================ */
.tx-header {
  background: var(--tx-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-bottom: 2px solid var(--tx-pink);
}

.tx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.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: 700;
  background: var(--tx-gradient-soft);
  -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: var(--tx-text);
  padding: 8px 14px;
  border-radius: var(--tx-radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--tx-transition);
  white-space: nowrap;
}

.tx-nav a:hover,
.tx-nav a.active {
  color: var(--tx-white);
  background: var(--tx-gradient-soft);
}

.tx-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--tx-text);
  cursor: pointer;
}

/* ============================================
   Search Bar
   ============================================ */
.tx-search-bar {
  background: linear-gradient(135deg, #FF6B9D22 0%, #F8B50022 100%);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,107,157,0.1);
}

.tx-search-wrap {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  padding: 0 20px;
}

.tx-search-input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid rgba(255,107,157,0.3);
  border-radius: 50px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--tx-transition);
  background: var(--tx-white);
}

.tx-search-input:focus {
  border-color: var(--tx-pink);
  box-shadow: 0 0 0 3px rgba(255,107,157,0.15);
}

.tx-search-btn {
  padding: 12px 28px;
  background: var(--tx-gradient-soft);
  color: var(--tx-white);
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tx-transition);
  white-space: nowrap;
}

.tx-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--tx-shadow-hover);
}

/* ============================================
   Hero Banner
   ============================================ */
.tx-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tx-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.tx-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--tx-white);
  padding: 0 20px;
}

.tx-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  line-height: 1.3;
}

.tx-hero h1 span {
  background: var(--tx-gradient-soft);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tx-hero p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.tx-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}

.tx-hero-tags span {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.25);
}

.tx-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--tx-gradient-soft);
  color: var(--tx-white);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--tx-transition);
  border: none;
  cursor: pointer;
}

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

.tx-btn-outline {
  background: transparent;
  border: 2px solid var(--tx-white);
}

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

/* ============================================
   Section Titles
   ============================================ */
.tx-section {
  padding: 60px 0;
}

.tx-section-alt {
  background: var(--tx-white);
}

.tx-section-dark {
  background: var(--tx-dark-bg);
  color: var(--tx-white);
}

.tx-section-title {
  text-align: center;
  margin-bottom: 45px;
}

.tx-section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.tx-section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--tx-gradient-soft);
  border-radius: 2px;
}

.tx-section-title p {
  color: var(--tx-text-light);
  font-size: 1rem;
  margin-top: 16px;
}

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

/* ============================================
   Video Cards Grid
   ============================================ */
.tx-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.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: var(--tx-shadow-hover);
}

.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.4s 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.8);
  width: 56px;
  height: 56px;
  background: rgba(255,107,157,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--tx-transition);
}

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

.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 white;
  margin-left: 3px;
}

.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;
}

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

.tx-video-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  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-text-light);
}

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

.tx-video-tag {
  display: inline-block;
  background: rgba(255,107,157,0.1);
  color: var(--tx-pink);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  margin-top: 8px;
}

/* ============================================
   Feature Cards
   ============================================ */
.tx-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.tx-feature-card:hover {
  border-color: var(--tx-pink);
  transform: translateY(-4px);
}

.tx-feature-icon {
  width: 64px;
  height: 64px;
  background: var(--tx-gradient-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
}

.tx-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.tx-feature-card p {
  font-size: 0.9rem;
  color: var(--tx-text-light);
  line-height: 1.6;
}

/* ============================================
   Expert Section
   ============================================ */
.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);
  text-align: center;
  transition: var(--tx-transition);
}

.tx-expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tx-shadow-hover);
}

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

.tx-expert-info {
  padding: 18px;
}

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

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

.tx-expert-info p {
  font-size: 0.82rem;
  color: var(--tx-text-light);
  line-height: 1.5;
  margin-bottom: 12px;
}

.tx-expert-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.tx-expert-btns a {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
}

.tx-expert-btns .tx-btn-sm {
  background: var(--tx-gradient-soft);
  color: var(--tx-white);
}

.tx-expert-btns .tx-btn-sm-outline {
  border: 1px solid var(--tx-pink);
  color: var(--tx-pink);
}

/* ============================================
   Partner Logos
   ============================================ */
.tx-partner-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.tx-partner-logo {
  width: 140px;
  height: 60px;
  background: var(--tx-white);
  border-radius: var(--tx-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 10px;
  font-weight: 600;
  color: var(--tx-text-light);
  font-size: 0.85rem;
  transition: var(--tx-transition);
}

.tx-partner-logo:hover {
  box-shadow: var(--tx-shadow);
  transform: scale(1.05);
}

/* ============================================
   FAQ Section
   ============================================ */
.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: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  border: 1px solid rgba(255,107,157,0.1);
}

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

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

.tx-faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--tx-pink);
  transition: var(--tx-transition);
}

.tx-faq-item.active .tx-faq-q::after {
  content: '−';
}

.tx-faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.9rem;
  color: var(--tx-text-light);
  line-height: 1.7;
}

.tx-faq-item.active .tx-faq-a {
  padding: 0 24px 18px;
  max-height: 300px;
}

/* ============================================
   Reviews Section
   ============================================ */
.tx-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

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

.tx-review-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--tx-text);
  margin-bottom: 12px;
  font-style: italic;
}

.tx-review-author {
  font-size: 0.85rem;
  color: var(--tx-text-light);
  font-weight: 500;
}

/* ============================================
   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: 24px 16px;
  position: relative;
}

.tx-howto-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--tx-gradient-soft);
  color: var(--tx-white);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.tx-howto-step h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.tx-howto-step p {
  font-size: 0.85rem;
  color: var(--tx-text-light);
}

/* ============================================
   Contact Section
   ============================================ */
.tx-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.tx-contact-info {
  background: var(--tx-white);
  padding: 30px;
  border-radius: var(--tx-radius);
  box-shadow: var(--tx-shadow);
}

.tx-contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--tx-pink);
}

.tx-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.tx-contact-item .label {
  font-weight: 600;
  min-width: 80px;
  color: var(--tx-text);
}

.tx-contact-item .value {
  color: var(--tx-text-light);
}

.tx-qr-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}

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

.tx-qr-item img {
  width: 140px;
  height: 140px;
  border-radius: var(--tx-radius-sm);
  margin-bottom: 8px;
}

.tx-qr-item p {
  font-size: 0.82rem;
  color: var(--tx-text-light);
}

/* ============================================
   Social Share
   ============================================ */
.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: 10px 20px;
  border-radius: 50px;
  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; }

/* ============================================
   Footer
   ============================================ */
.tx-footer {
  background: var(--tx-dark-bg);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 24px;
}

.tx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.tx-footer-brand img {
  height: 40px;
  margin-bottom: 14px;
}

.tx-footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

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

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

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

.tx-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.tx-footer-bottom a {
  color: var(--tx-pink);
}

/* ============================================
   Breadcrumb
   ============================================ */
.tx-breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--tx-text-light);
  background: var(--tx-white);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

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

.tx-breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

/* ============================================
   Inner Page Hero
   ============================================ */
.tx-page-hero {
  background: var(--tx-gradient);
  padding: 50px 0;
  text-align: center;
  color: var(--tx-white);
}

.tx-page-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.tx-page-hero p {
  font-size: 1rem;
  opacity: 0.9;
}

/* ============================================
   Category Tabs
   ============================================ */
.tx-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.tx-tab {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  background: var(--tx-white);
  color: var(--tx-text);
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: var(--tx-transition);
}

.tx-tab:hover,
.tx-tab.active {
  background: var(--tx-gradient-soft);
  color: var(--tx-white);
  border-color: transparent;
}

/* ============================================
   Stats Bar
   ============================================ */
.tx-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 30px 0;
}

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

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

.tx-stat-label {
  font-size: 0.88rem;
  color: var(--tx-text-light);
  margin-top: 4px;
}

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

.tx-lazy.loaded {
  opacity: 1;
}

/* ============================================
   Back to Top
   ============================================ */
.tx-back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--tx-gradient-soft);
  color: var(--tx-white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--tx-transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tx-back-top.visible {
  opacity: 1;
  visibility: visible;
}

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

/* ============================================
   Community Features
   ============================================ */
.tx-community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tx-community-card {
  background: linear-gradient(135deg, rgba(255,107,157,0.05) 0%, rgba(248,181,0,0.05) 100%);
  border: 1px solid rgba(255,107,157,0.15);
  border-radius: var(--tx-radius);
  padding: 24px;
  text-align: center;
  transition: var(--tx-transition);
}

.tx-community-card:hover {
  border-color: var(--tx-pink);
  background: linear-gradient(135deg, rgba(255,107,157,0.1) 0%, rgba(248,181,0,0.1) 100%);
}

.tx-community-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.tx-community-card p {
  font-size: 0.85rem;
  color: var(--tx-text-light);
}

/* ============================================
   AI Section
   ============================================ */
.tx-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tx-ai-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 28px;
  box-shadow: var(--tx-shadow);
  border-top: 3px solid;
  border-image: var(--tx-gradient-soft) 1;
  transition: var(--tx-transition);
}

.tx-ai-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tx-shadow-hover);
}

.tx-ai-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.tx-ai-card p {
  font-size: 0.88rem;
  color: var(--tx-text-light);
  line-height: 1.6;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .tx-video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tx-expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tx-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tx-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--tx-white);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  .tx-nav.open {
    display: flex;
  }

  .tx-mobile-toggle {
    display: block;
  }

  .tx-hero {
    height: 400px;
  }

  .tx-hero h1 {
    font-size: 1.8rem;
  }

  .tx-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .tx-feature-grid,
  .tx-ai-grid,
  .tx-community-grid {
    grid-template-columns: 1fr;
  }

  .tx-expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tx-howto-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .tx-review-grid {
    grid-template-columns: 1fr;
  }

  .tx-contact-grid {
    grid-template-columns: 1fr;
  }

  .tx-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .tx-footer-grid {
    grid-template-columns: 1fr;
  }

  .tx-section {
    padding: 40px 0;
  }

  .tx-section-title h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .tx-video-grid {
    grid-template-columns: 1fr;
  }

  .tx-expert-grid {
    grid-template-columns: 1fr;
  }

  .tx-hero {
    height: 320px;
  }

  .tx-hero h1 {
    font-size: 1.5rem;
  }

  .tx-howto-steps {
    grid-template-columns: 1fr;
  }
}

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

.tx-animate {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   MCP Service Frontend (Decorative)
   ============================================ */
.tx-mcp-widget {
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
  border-radius: var(--tx-radius);
  padding: 20px;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  margin-top: 20px;
}

.tx-mcp-widget .n5klhsp {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tx-mcp-widget .v0yrdnc {
  width: 8px;
  height: 8px;
  background: #00FF88;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
