/* ==========================================================================
   草莓视频 官方网站 - 全站样式表 (assets/css/style.css)
   主题色：焦糖金 #E9A23B / 深海青 #0E2A38 / 糖心玫 #F4728F / 奶油白 #FFF6EC
   说明：完全原创配色与版式，PC 与移动端自适应。
   ========================================================================== */

/* ---------------------------------------------------------------
   1. 变量与基础重置
   --------------------------------------------------------------- */
:root {
  --tx-color-ink: #0B1B22;
  --tx-color-deep: #0E2A38;
  --tx-color-teal: #12404E;
  --tx-color-teal-soft: #1B5768;
  --tx-color-caramel: #E9A23B;
  --tx-color-caramel-deep: #C97F1E;
  --tx-color-rose: #F4728F;
  --tx-color-cream: #FFF6EC;
  --tx-color-paper: #FFFFFF;
  --tx-color-mist: #F2F6F8;
  --tx-color-line: #E1E9ED;
  --tx-color-text: #1B2A33;
  --tx-color-text-soft: #5B6E78;
  --tx-color-text-faint: #8697A0;
  --tx-shadow-sm: 0 4px 14px rgba(11, 27, 34, .06);
  --tx-shadow-md: 0 14px 38px rgba(11, 27, 34, .10);
  --tx-shadow-lg: 0 26px 60px rgba(11, 27, 34, .16);
  --tx-shadow-glow: 0 14px 40px rgba(233, 162, 59, .28);
  --tx-radius-sm: 10px;
  --tx-radius: 16px;
  --tx-radius-lg: 24px;
  --tx-radius-pill: 999px;
  --tx-wrap: 1220px;
  --tx-header-h: 72px;
  --tx-ease: cubic-bezier(.22, .68, .32, 1);
  --tx-font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --tx-font-num: "DIN Alternate", "Bahnschrift", "Impact", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--tx-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--tx-color-text);
  background: var(--tx-color-paper);
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; border: 0; }

a { color: inherit; text-decoration: none; transition: color .25s var(--tx-ease); }
a:hover { color: var(--tx-color-caramel-deep); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.3; font-weight: 800; letter-spacing: .2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea { font-family: inherit; }

::selection { background: rgba(233, 162, 59, .28); }

.tx-wrap { width: 100%; max-width: var(--tx-wrap); margin: 0 auto; padding: 0 22px; }
.tx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tx-skip { position: absolute; left: -9999px; top: 0; background: var(--tx-color-caramel); color: #fff; padding: 10px 16px; z-index: 999; }
.tx-skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------
   2. 顶部公告条
   --------------------------------------------------------------- */
.tx-topbar {
  background: linear-gradient(90deg, var(--tx-color-deep), var(--tx-color-teal) 55%, var(--tx-color-teal-soft));
  color: #DCEBF0;
  font-size: 13px;
  line-height: 34px;
}
.tx-topbar .tx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tx-topbar-label { color: var(--tx-color-caramel); font-weight: 700; letter-spacing: .5px; }
.tx-topbar-list { display: flex; gap: 18px; }
.tx-topbar-list li { display: flex; align-items: center; gap: 6px; }
.tx-topbar-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tx-color-rose); box-shadow: 0 0 0 3px rgba(244, 114, 143, .22); }
.tx-topbar-links a { margin-left: 16px; color: #B9D2DA; }
.tx-topbar-links a:hover { color: var(--tx-color-caramel); }

/* ---------------------------------------------------------------
   3. 头部：Logo / 导航 / 搜索
   --------------------------------------------------------------- */
.tx-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--tx-color-line);
}
.tx-header-inner { display: flex; align-items: center; gap: 18px; height: var(--tx-header-h); }

.tx-brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.tx-brand-mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(145deg, #FFF3DE, #FFE3B2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--tx-shadow-sm);
}
.tx-brand-mark img { width: 30px; height: 30px; object-fit: contain; }
.tx-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.tx-brand-name {
  font-size: 22px; font-weight: 900; letter-spacing: .5px;
  background: linear-gradient(95deg, var(--tx-color-caramel-deep), var(--tx-color-caramel) 45%, var(--tx-color-rose));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tx-brand-sub { font-size: 11px; color: var(--tx-color-text-faint); letter-spacing: 1.6px; }

.tx-nav { flex: 1 1 auto; }
.tx-nav ul { display: flex; align-items: center; gap: 4px; }
.tx-nav a {
  display: block; padding: 10px 14px; border-radius: var(--tx-radius-pill);
  font-size: 15px; font-weight: 600; color: var(--tx-color-text);
  white-space: nowrap;
}
.tx-nav a:hover { background: var(--tx-color-mist); color: var(--tx-color-caramel-deep); }
.tx-nav a.is-active { background: linear-gradient(135deg, var(--tx-color-caramel), #F6BE6B); color: #fff; box-shadow: var(--tx-shadow-glow); }

.tx-header-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.tx-btn-ghost {
  border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius-pill);
  padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--tx-color-teal);
}
.tx-btn-ghost:hover { border-color: var(--tx-color-caramel); color: var(--tx-color-caramel-deep); }

.tx-burger { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--tx-color-mist); }
.tx-burger span { display: block; width: 18px; height: 2px; background: var(--tx-color-teal); margin: 3px auto; border-radius: 2px; }

/* 搜索条（导航下方，JS 演示交互） */
.tx-searchbar { background: var(--tx-color-mist); border-bottom: 1px solid var(--tx-color-line); }
.tx-searchbar-inner { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.tx-search-form { flex: 1 1 auto; display: flex; align-items: center; gap: 0; max-width: 720px; background: #fff; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius-pill); padding: 4px 4px 4px 18px; box-shadow: var(--tx-shadow-sm); }
.tx-search-form:focus-within { border-color: var(--tx-color-caramel); box-shadow: var(--tx-shadow-glow); }
.tx-search-form svg { flex: 0 0 auto; }
.tx-search-input { flex: 1 1 auto; border: 0; outline: none; background: transparent; font-size: 15px; color: var(--tx-color-text); padding: 9px 10px; }
.tx-search-input::placeholder { color: var(--tx-color-text-faint); }
.tx-search-btn {
  flex: 0 0 auto; padding: 10px 22px; border-radius: var(--tx-radius-pill);
  background: linear-gradient(135deg, var(--tx-color-teal), var(--tx-color-teal-soft));
  color: #fff; font-size: 15px; font-weight: 700;
}
.tx-search-btn:hover { background: linear-gradient(135deg, var(--tx-color-caramel-deep), var(--tx-color-caramel)); }
.tx-hotwords { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tx-color-text-soft); flex-wrap: wrap; }
.tx-hotwords b { color: var(--tx-color-caramel-deep); font-weight: 700; }
.tx-hotwords a { padding: 4px 10px; background: #fff; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius-pill); }
.tx-search-tip { display: none; font-size: 13px; color: var(--tx-color-caramel-deep); font-weight: 600; }

/* 移动端抽屉导航 */
.tx-drawer { display: none; background: #fff; border-top: 1px solid var(--tx-color-line); }
.tx-drawer.is-open { display: block; }
.tx-drawer ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px 0 20px; }
.tx-drawer a { display: block; padding: 11px 14px; background: var(--tx-color-mist); border-radius: 12px; font-weight: 600; font-size: 14px; }

/* ---------------------------------------------------------------
   4. 面包屑
   --------------------------------------------------------------- */
.tx-crumb { background: #fff; border-bottom: 1px solid var(--tx-color-line); font-size: 13px; color: var(--tx-color-text-soft); }
.tx-crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0; }
.tx-crumb li::after { content: "›"; margin-left: 8px; color: var(--tx-color-text-faint); }
.tx-crumb li:last-child::after { content: ""; }
.tx-crumb a { color: var(--tx-color-text-soft); }
.tx-crumb a:hover { color: var(--tx-color-caramel-deep); }

/* ---------------------------------------------------------------
   5. 首屏 Hero
   --------------------------------------------------------------- */
.tx-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(233, 162, 59, .22), transparent 62%),
    radial-gradient(760px 420px at 88% 4%, rgba(244, 114, 143, .18), transparent 60%),
    linear-gradient(150deg, var(--tx-color-ink) 0%, var(--tx-color-deep) 44%, #103B49 100%);
  color: #EAF3F6;
  padding: 54px 0 64px;
}
.tx-hero::after {
  content: "";
  position: absolute; inset: auto 0 -1px 0; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .06));
  pointer-events: none;
}
.tx-hero-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: 44px; align-items: center; position: relative; z-index: 2; }
.tx-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: var(--tx-radius-pill);
  background: rgba(233, 162, 59, .14); border: 1px solid rgba(233, 162, 59, .42);
  color: var(--tx-color-caramel); font-size: 13px; font-weight: 700; letter-spacing: .6px;
  margin-bottom: 18px;
}
.tx-hero h1 { font-size: 44px; line-height: 1.22; margin-bottom: 14px; color: #fff; letter-spacing: .5px; }
.tx-hero h1 em { font-style: normal; background: linear-gradient(96deg, var(--tx-color-caramel), #FFD79A 48%, var(--tx-color-rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tx-hero-slogan { font-size: 19px; color: #CBE0E7; margin-bottom: 8px; font-weight: 600; min-height: 30px; }
.tx-hero-slogan .tx-slogan-text { color: var(--tx-color-caramel); }
.tx-hero-desc { font-size: 15.5px; color: #A9C4CD; max-width: 560px; margin-bottom: 24px; }
.tx-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.tx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--tx-radius-pill);
  font-size: 15px; font-weight: 700; transition: transform .25s var(--tx-ease), box-shadow .25s var(--tx-ease);
}
.tx-btn-primary { background: linear-gradient(135deg, var(--tx-color-caramel), #F7C070); color: #3A2405; box-shadow: var(--tx-shadow-glow); }
.tx-btn-primary:hover { transform: translateY(-2px); color: #3A2405; }
.tx-btn-outline { border: 1px solid rgba(255, 255, 255, .34); color: #EAF3F6; }
.tx-btn-outline:hover { border-color: var(--tx-color-caramel); color: var(--tx-color-caramel); transform: translateY(-2px); }

.tx-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; }
.tx-hero-stats strong { display: block; font-family: var(--tx-font-num); font-size: 25px; color: var(--tx-color-caramel); letter-spacing: .5px; }
.tx-hero-stats span { font-size: 12.5px; color: #9CBAC4; }

/* Hero 右侧视频卡 */
.tx-hero-media { position: relative; }
.tx-hero-media .tx-video-frame {
  position: relative; border-radius: var(--tx-radius-lg); overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .14);
  background: #0A1A21;
}
.tx-hero-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--tx-ease); }
.tx-hero-media .tx-video-frame:hover img { transform: scale(1.05); }
.tx-hero-media .tx-video-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 33, .05) 40%, rgba(10, 26, 33, .72));
}
.tx-hero-media .tx-frame-meta { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 3; color: #fff; }
.tx-hero-media .tx-frame-meta h3 { font-size: 17px; margin: 0 0 4px; }
.tx-hero-media .tx-frame-meta p { margin: 0; font-size: 12.5px; color: #BED6DE; }
.tx-hero-float {
  margin-top: 14px; z-index: 4;
  background: #fff; color: var(--tx-color-text); border-radius: var(--tx-radius);
  padding: 12px 18px; box-shadow: var(--tx-shadow-lg);
  font-size: 13px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.tx-hero-float b { font-size: 14.5px; color: var(--tx-color-teal); }
.tx-hero-float small { color: var(--tx-color-text-faint); }

/* 播放按钮（视频卡片通用，悬停显示） */
.tx-play {
  position: absolute; left: 50%; top: 50%; z-index: 4;
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  border-radius: 50%; background: rgba(255, 255, 255, .92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .38);
  opacity: 0; transform: scale(.72); transition: all .32s var(--tx-ease);
}
.tx-play::before {
  content: ""; display: block; margin-left: 5px;
  width: 0; height: 0; border-style: solid;
  border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--tx-color-caramel-deep);
}
.tx-play-ring { position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(233, 162, 59, .6); animation: tx-ring 1.9s infinite; }
@keyframes tx-ring {
  0% { transform: scale(.86); opacity: .9; }
  100% { transform: scale(1.28); opacity: 0; }
}

/* ---------------------------------------------------------------
   6. 通用区块与标题
   --------------------------------------------------------------- */
.tx-section { padding: 62px 0; }
.tx-section.is-mist { background: var(--tx-color-mist); }
.tx-section.is-dark {
  background: linear-gradient(160deg, var(--tx-color-ink), var(--tx-color-deep) 60%, #0F3743);
  color: #E6F0F3;
}
.tx-section.is-dark .tx-section-desc { color: #A6C1CA; }
.tx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 32px; }
.tx-section-title-wrap { max-width: 760px; }
.tx-section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--tx-color-caramel-deep); margin-bottom: 10px;
}
.tx-section-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--tx-color-caramel), var(--tx-color-rose)); }
.tx-section.is-dark .tx-section-eyebrow { color: var(--tx-color-caramel); }
.tx-section-title { font-size: 30px; margin-bottom: 10px; }
.tx-section.is-dark .tx-section-title { color: #fff; }
.tx-section-desc { font-size: 15px; color: var(--tx-color-text-soft); margin: 0; }
.tx-section-more { flex: 0 0 auto; font-size: 14px; font-weight: 700; color: var(--tx-color-teal); border-bottom: 2px solid var(--tx-color-caramel); padding-bottom: 3px; }
.tx-section.is-dark .tx-section-more { color: var(--tx-color-caramel); }

/* ---------------------------------------------------------------
   7. 卡片网格通用
   --------------------------------------------------------------- */
.tx-grid { display: grid; gap: 20px; }
.tx-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.tx-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tx-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.tx-card {
  background: #fff; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius);
  padding: 24px; box-shadow: var(--tx-shadow-sm);
  transition: transform .3s var(--tx-ease), box-shadow .3s var(--tx-ease), border-color .3s var(--tx-ease);
  position: relative; overflow: hidden;
}
.tx-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--tx-color-caramel), var(--tx-color-rose));
  transition: width .35s var(--tx-ease);
}
.tx-card:hover { transform: translateY(-5px); box-shadow: var(--tx-shadow-md); border-color: #F0DDBD; }
.tx-card:hover::after { width: 100%; }
.tx-card h3 { font-size: 19px; margin-bottom: 8px; }
.tx-card h4 { font-size: 16.5px; margin-bottom: 6px; }
.tx-card p { font-size: 14.5px; color: var(--tx-color-text-soft); margin-bottom: 0; }
.tx-card-icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: linear-gradient(140deg, #FFF1D9, #FFE0C2); color: var(--tx-color-caramel-deep);
}
.tx-card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tx-tag {
  font-size: 12px; padding: 4px 10px; border-radius: var(--tx-radius-pill);
  background: var(--tx-color-mist); color: var(--tx-color-teal); font-weight: 600;
}
.tx-tag.is-rose { background: rgba(244, 114, 143, .13); color: #C2455F; }
.tx-tag.is-caramel { background: rgba(233, 162, 59, .16); color: var(--tx-color-caramel-deep); }
.tx-section.is-dark .tx-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; color: #DCE9ED; }
.tx-section.is-dark .tx-card p { color: #A6C1CA; }
.tx-section.is-dark .tx-card:hover { border-color: rgba(233, 162, 59, .5); }
.tx-section.is-dark .tx-tag { background: rgba(255, 255, 255, .09); color: #CFE2E8; }

/* ---------------------------------------------------------------
   8. 视频卡片
   --------------------------------------------------------------- */
.tx-video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tx-video-card {
  background: #fff; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius);
  overflow: hidden; box-shadow: var(--tx-shadow-sm); cursor: pointer;
  transition: transform .3s var(--tx-ease), box-shadow .3s var(--tx-ease);
}
.tx-video-card:hover { transform: translateY(-6px); box-shadow: var(--tx-shadow-md); }
.tx-video-media { position: relative; overflow: hidden; background: #0B1B22; }
.tx-video-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .55s var(--tx-ease); }
.tx-video-card:hover .tx-video-media img { transform: scale(1.07); }
.tx-video-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 27, 34, 0) 45%, rgba(11, 27, 34, .58));
  opacity: .85; transition: opacity .3s var(--tx-ease);
}
.tx-video-card:hover .tx-play { opacity: 1; transform: scale(1); }
.tx-video-badge {
  position: absolute; right: 10px; top: 10px; z-index: 4;
  font-size: 12px; font-weight: 700; color: #fff; background: rgba(11, 27, 34, .7);
  padding: 3px 9px; border-radius: var(--tx-radius-pill); backdrop-filter: blur(4px);
}
.tx-video-kind {
  position: absolute; left: 10px; top: 10px; z-index: 4;
  font-size: 12px; font-weight: 700; color: #3A2405;
  background: linear-gradient(135deg, var(--tx-color-caramel), #F8C87E);
  padding: 3px 9px; border-radius: var(--tx-radius-pill);
}
.tx-video-time { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 4; background: rgba(255, 255, 255, .22); }
.tx-video-time i { display: block; height: 100%; background: linear-gradient(90deg, var(--tx-color-caramel), var(--tx-color-rose)); }
.tx-video-body { padding: 15px 16px 17px; }
.tx-video-body h3 { font-size: 16px; line-height: 1.45; margin-bottom: 7px; }
.tx-video-body p { font-size: 13px; color: var(--tx-color-text-soft); margin-bottom: 10px; }
.tx-video-stats { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--tx-color-text-faint); }
.tx-video-stats span { display: inline-flex; align-items: center; gap: 4px; }
.tx-video-stats b { color: var(--tx-color-teal); font-weight: 700; }

/* 影片筛选标签 */
.tx-filter { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.tx-filter button {
  padding: 8px 17px; border-radius: var(--tx-radius-pill); font-size: 14px; font-weight: 600;
  background: #fff; border: 1px solid var(--tx-color-line); color: var(--tx-color-text-soft);
}
.tx-filter button.is-on, .tx-filter button:hover { background: var(--tx-color-teal); border-color: var(--tx-color-teal); color: #fff; }

/* ---------------------------------------------------------------
   9. AI 能力 / 数据条
   --------------------------------------------------------------- */
.tx-ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tx-ai-card {
  border-radius: var(--tx-radius); padding: 26px; color: #E9F3F6;
  background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .13);
  transition: transform .3s var(--tx-ease), border-color .3s var(--tx-ease);
}
.tx-ai-card:hover { transform: translateY(-5px); border-color: rgba(233, 162, 59, .55); }
.tx-ai-card h3 { color: #fff; font-size: 19px; }
.tx-ai-card p { color: #A9C6CF; font-size: 14.5px; }
.tx-ai-meter { margin-top: 16px; }
.tx-ai-meter-label { display: flex; justify-content: space-between; font-size: 12.5px; color: #9CBDC7; margin-bottom: 6px; }
.tx-ai-meter-label b { color: var(--tx-color-caramel); }
.tx-ai-meter-bar { height: 7px; border-radius: 7px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.tx-ai-meter-bar i { display: block; height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--tx-color-caramel), var(--tx-color-rose)); }
.tx-ai-figure { margin-top: 26px; border-radius: var(--tx-radius-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .13); }
.tx-ai-figure img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }

/* 通用图片框：统一 16:9 视频比例，避免 HTML height 属性覆盖 aspect-ratio */
.tx-media-figure { margin: 24px 0 0; border-radius: var(--tx-radius-lg); overflow: hidden; box-shadow: var(--tx-shadow-md); }
.tx-media-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------------------------------------------------------------
   10. 社区功能
   --------------------------------------------------------------- */
.tx-community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tx-community-item {
  display: flex; gap: 14px; padding: 20px; border-radius: var(--tx-radius);
  background: #fff; border: 1px solid var(--tx-color-line); box-shadow: var(--tx-shadow-sm);
  transition: transform .3s var(--tx-ease), box-shadow .3s var(--tx-ease);
}
.tx-community-item:hover { transform: translateY(-4px); box-shadow: var(--tx-shadow-md); }
.tx-community-ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  background: linear-gradient(140deg, #E8F3F6, #D6E9EF); color: var(--tx-color-teal);
}
.tx-community-item h3 { font-size: 16px; margin-bottom: 4px; }
.tx-community-item p { font-size: 13.5px; color: var(--tx-color-text-soft); margin: 0; }
.tx-community-item .tx-live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tx-color-rose); margin-right: 6px; animation: tx-pulse 1.6s infinite; }
@keyframes tx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------------------------------------------------------------
   11. 专家团队
   --------------------------------------------------------------- */
.tx-expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tx-expert {
  background: #fff; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius-lg);
  overflow: hidden; box-shadow: var(--tx-shadow-sm);
  transition: transform .3s var(--tx-ease), box-shadow .3s var(--tx-ease);
}
.tx-expert:hover { transform: translateY(-6px); box-shadow: var(--tx-shadow-md); }
.tx-expert-photo { position: relative; }
.tx-expert-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; }
.tx-expert-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 27, 34, .72)); }
.tx-expert-role {
  position: absolute; left: 14px; bottom: 12px; z-index: 3; color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: var(--tx-radius-pill);
  background: rgba(233, 162, 59, .92); color: #3A2405;
}
.tx-expert-body { padding: 18px; }
.tx-expert-body h3 { font-size: 18px; margin-bottom: 4px; }
.tx-expert-title { font-size: 13px; color: var(--tx-color-caramel-deep); font-weight: 700; margin-bottom: 10px; }
.tx-expert-dl { font-size: 13px; color: var(--tx-color-text-soft); margin: 0 0 10px; }
.tx-expert-dl dt { font-weight: 700; color: var(--tx-color-teal); }
.tx-expert-dl dd { margin: 0 0 6px; }
.tx-expert-social { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tx-expert-social span { font-size: 12px; padding: 3px 9px; border-radius: var(--tx-radius-pill); background: var(--tx-color-mist); color: var(--tx-color-teal); }
.tx-expert-actions { display: flex; gap: 9px; }
.tx-expert-actions .tx-btn { padding: 9px 16px; font-size: 13.5px; }
.tx-btn-mini { background: var(--tx-color-teal); color: #fff; }
.tx-btn-mini:hover { background: var(--tx-color-caramel-deep); color: #fff; }
.tx-btn-mini-outline { border: 1px solid var(--tx-color-line); color: var(--tx-color-teal); }
.tx-btn-mini-outline:hover { border-color: var(--tx-color-caramel); color: var(--tx-color-caramel-deep); }

/* ---------------------------------------------------------------
   12. 合作品牌 Logo 墙
   --------------------------------------------------------------- */
.tx-brandwall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tx-brandwall-item {
  height: 86px; border-radius: var(--tx-radius); background: #fff; border: 1px solid var(--tx-color-line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: var(--tx-shadow-sm); transition: transform .3s var(--tx-ease), border-color .3s var(--tx-ease);
  text-align: center; padding: 8px;
}
.tx-brandwall-item:hover { transform: translateY(-4px); border-color: var(--tx-color-caramel); }
.tx-brandwall-mark {
  width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #fff; font-size: 15px; letter-spacing: -.5px;
}
.tx-brandwall-item b { font-size: 13px; color: var(--tx-color-text); font-weight: 700; }
.tx-brandwall-item small { font-size: 11px; color: var(--tx-color-text-faint); }

/* ---------------------------------------------------------------
   13. 加入社区 How-To / 步骤
   --------------------------------------------------------------- */
.tx-howto { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tx-step {
  background: #fff; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius);
  padding: 20px 18px; position: relative; box-shadow: var(--tx-shadow-sm);
}
.tx-step-num {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--tx-font-num); font-size: 15px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--tx-color-caramel), var(--tx-color-rose)); margin-bottom: 12px;
}
.tx-step h3 { font-size: 15.5px; margin-bottom: 6px; }
.tx-step p { font-size: 13px; color: var(--tx-color-text-soft); margin: 0; }

/* ---------------------------------------------------------------
   14. FAQ 手风琴
   --------------------------------------------------------------- */
.tx-faq { display: grid; gap: 12px; max-width: 1000px; }
.tx-faq-item { background: #fff; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius); overflow: hidden; box-shadow: var(--tx-shadow-sm); }
.tx-faq-q {
  width: 100%; text-align: left; padding: 17px 54px 17px 20px; position: relative;
  font-size: 15.5px; font-weight: 700; color: var(--tx-color-text);
}
.tx-faq-q::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--tx-color-caramel-deep); font-weight: 400; line-height: 1;
}
.tx-faq-item.is-open .tx-faq-q::after { content: "−"; }
.tx-faq-item.is-open .tx-faq-q { color: var(--tx-color-caramel-deep); }
.tx-faq-a { display: none; padding: 0 20px 18px; font-size: 14.5px; color: var(--tx-color-text-soft); }
.tx-faq-item.is-open .tx-faq-a { display: block; }
.tx-faq-a p { margin-bottom: 8px; }

/* ---------------------------------------------------------------
   15. 联系我们 / 公司信息
   --------------------------------------------------------------- */
.tx-contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: start; }
.tx-company-card { background: #fff; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius-lg); padding: 26px; box-shadow: var(--tx-shadow-sm); }
.tx-company-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.tx-company-gallery figure { margin: 0; border-radius: var(--tx-radius); overflow: hidden; position: relative; }
.tx-company-gallery img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.tx-company-gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; font-size: 12.5px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(11, 27, 34, .78));
}
.tx-info-list { display: grid; gap: 12px; }
.tx-info-list li { display: flex; gap: 12px; font-size: 14.5px; border-bottom: 1px dashed var(--tx-color-line); padding-bottom: 11px; }
.tx-info-list li:last-child { border-bottom: 0; }
.tx-info-list span:first-child { flex: 0 0 88px; color: var(--tx-color-text-faint); }
.tx-info-list b { color: var(--tx-color-teal); font-weight: 700; }
.tx-business-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }

.tx-qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tx-qr { background: #fff; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius); padding: 16px; text-align: center; box-shadow: var(--tx-shadow-sm); }
.tx-qr img { width: 100%; max-width: 150px; margin: 0 auto 10px; border-radius: 8px; }
.tx-qr b { display: block; font-size: 14px; }
.tx-qr small { color: var(--tx-color-text-faint); font-size: 12px; }

/* ---------------------------------------------------------------
   16. 用户口碑
   --------------------------------------------------------------- */
.tx-review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tx-review {
  background: #fff; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius);
  padding: 20px; box-shadow: var(--tx-shadow-sm); display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--tx-ease), box-shadow .3s var(--tx-ease);
}
.tx-review:hover { transform: translateY(-4px); box-shadow: var(--tx-shadow-md); }
.tx-stars { color: var(--tx-color-caramel); letter-spacing: 2px; font-size: 14px; }
.tx-review p { font-size: 14px; color: var(--tx-color-text-soft); margin: 0; flex: 1 1 auto; }
.tx-review-user { display: flex; align-items: center; gap: 10px; }
.tx-avatar {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700; background: linear-gradient(135deg, var(--tx-color-teal), var(--tx-color-teal-soft));
}
.tx-review-user b { display: block; font-size: 13.5px; }
.tx-review-user small { color: var(--tx-color-text-faint); font-size: 12px; }

/* ---------------------------------------------------------------
   17. 分享
   --------------------------------------------------------------- */
.tx-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tx-share-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px;
  border-radius: var(--tx-radius-pill); font-size: 14px; font-weight: 600; color: #fff;
  transition: transform .25s var(--tx-ease), opacity .25s var(--tx-ease);
}
.tx-share-btn:hover { transform: translateY(-2px); color: #fff; opacity: .92; }
.tx-share-wechat { background: linear-gradient(135deg, #22B14C, #3ED17A); }
.tx-share-weibo { background: linear-gradient(135deg, #D5322B, #F25B4B); }
.tx-share-douyin { background: linear-gradient(135deg, #111, #3A3A3A); }
.tx-share-bili { background: linear-gradient(135deg, #0F93D8, #45B7F0); }
.tx-share-qq { background: linear-gradient(135deg, #1E7FD4, #4AA3EE); }

/* ---------------------------------------------------------------
   18. 页脚
   --------------------------------------------------------------- */
.tx-footer { background: linear-gradient(170deg, #0A1720, var(--tx-color-deep)); color: #A9C2CB; padding: 54px 0 0; font-size: 14px; }
.tx-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tx-footer h3 { color: #fff; font-size: 15.5px; margin-bottom: 14px; }
.tx-footer-links li { margin-bottom: 9px; }
.tx-footer-links a { color: #A9C2CB; font-size: 13.5px; }
.tx-footer-links a:hover { color: var(--tx-color-caramel); }
.tx-footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.tx-footer-brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 11px; background: rgba(255, 255, 255, .08); padding: 5px; }
.tx-footer-brand b { font-size: 20px; color: #fff; }
.tx-footer-brand small { display: block; color: var(--tx-color-caramel); font-size: 12px; letter-spacing: 1.4px; }
.tx-footer-qr { display: flex; gap: 14px; }
.tx-footer-qr figure { margin: 0; text-align: center; }
.tx-footer-qr img { width: 88px; height: 88px; border-radius: 8px; background: #fff; padding: 3px; }
.tx-footer-qr figcaption { font-size: 12px; margin-top: 6px; color: #9FBAC4; }
.tx-footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 13px; color: #8FAAB4; }
.tx-footer-bottom a { color: #8FAAB4; }
.tx-footer-bottom a:hover { color: var(--tx-color-caramel); }
.tx-update-time b { color: var(--tx-color-caramel); }

/* ---------------------------------------------------------------
   19. 播放弹窗 / 提示
   --------------------------------------------------------------- */
.tx-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.tx-modal.is-open { display: flex; }
.tx-modal-mask { position: absolute; inset: 0; background: rgba(6, 16, 21, .82); backdrop-filter: blur(3px); }
.tx-modal-box { position: relative; z-index: 2; width: min(920px, 96vw); background: #0B1B22; border-radius: var(--tx-radius-lg); overflow: hidden; box-shadow: var(--tx-shadow-lg); }
.tx-modal-box video { width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.tx-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; color: #fff; font-weight: 700; }
.tx-modal-close { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; line-height: 1; }
.tx-modal-meta { padding: 0 18px 16px; color: #9FBDC6; font-size: 13px; }
.tx-toast {
  position: fixed; left: 50%; bottom: 46px; transform: translate(-50%, 20px);
  background: rgba(11, 27, 34, .94); color: #fff; padding: 11px 22px; border-radius: var(--tx-radius-pill);
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s var(--tx-ease); z-index: 300;
}
.tx-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.tx-totop {
  position: fixed; right: 22px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--tx-color-teal), var(--tx-color-teal-soft)); color: #fff;
  display: none; align-items: center; justify-content: center; font-size: 18px; z-index: 120;
  box-shadow: var(--tx-shadow-md);
}
.tx-totop.is-show { display: flex; }

/* ---------------------------------------------------------------
   20. 内页通用
   --------------------------------------------------------------- */
.tx-page-head {
  background: linear-gradient(150deg, var(--tx-color-ink), var(--tx-color-deep) 60%, #12414F);
  color: #EAF3F6; padding: 44px 0 40px;
}
.tx-page-head h1 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.tx-page-head p { color: #A8C3CC; max-width: 760px; margin: 0; font-size: 15px; }
.tx-page-head-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tx-page-body { padding: 52px 0; }
.tx-article { background: #fff; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius-lg); padding: 30px; box-shadow: var(--tx-shadow-sm); }
.tx-article h2 { font-size: 23px; margin-top: 26px; }
.tx-article h2:first-child { margin-top: 0; }
.tx-article h3 { font-size: 18px; margin-top: 20px; }
.tx-article p, .tx-article li { font-size: 15px; color: #2E414B; }
.tx-article ul, .tx-article ol { padding-left: 20px; margin-bottom: 16px; list-style: disc; }
.tx-article ol { list-style: decimal; }
.tx-article li { margin-bottom: 6px; }
.tx-article blockquote {
  margin: 18px 0; padding: 14px 20px; border-left: 4px solid var(--tx-color-caramel);
  background: var(--tx-color-mist); border-radius: 0 var(--tx-radius-sm) var(--tx-radius-sm) 0; color: #33454F;
}
.tx-aside { display: grid; gap: 18px; }
.tx-aside-card { background: #fff; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius); padding: 20px; box-shadow: var(--tx-shadow-sm); }
.tx-aside-card h3 { font-size: 16.5px; }
.tx-aside-list li { padding: 9px 0; border-bottom: 1px dashed var(--tx-color-line); font-size: 14px; }
.tx-aside-list li:last-child { border-bottom: 0; }
.tx-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tx-link-grid a { padding: 10px 12px; background: var(--tx-color-mist); border-radius: 10px; font-size: 13.5px; font-weight: 600; }
.tx-pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 26px; }
.tx-pager a { flex: 1 1 0; padding: 14px 16px; border: 1px solid var(--tx-color-line); border-radius: var(--tx-radius); font-size: 14px; font-weight: 600; background: #fff; }
.tx-pager a:hover { border-color: var(--tx-color-caramel); }
.tx-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.tx-table th, .tx-table td { border: 1px solid var(--tx-color-line); padding: 11px 13px; text-align: left; }
.tx-table th { background: var(--tx-color-mist); font-weight: 700; color: var(--tx-color-teal); }
.tx-note { font-size: 13px; color: var(--tx-color-text-faint); }

/* ---------------------------------------------------------------
   21. 响应式
   --------------------------------------------------------------- */
@media (max-width: 1120px) {
  .tx-hero h1 { font-size: 37px; }
  .tx-video-grid { grid-template-columns: repeat(3, 1fr); }
  .tx-review-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-brandwall { grid-template-columns: repeat(4, 1fr); }
  .tx-howto { grid-template-columns: repeat(3, 1fr); }
  .tx-expert-grid, .tx-ai-grid, .tx-community-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .tx-nav { display: none; }
  .tx-burger { display: block; margin-left: auto; }
  .tx-header-cta { display: flex; margin-left: auto; }
  .tx-header-cta .tx-btn-ghost { display: none; }
  .tx-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .tx-hero-media { order: 0; } /* 移动端保持 H1 文案在前，利于移动搜索 */
  .tx-hero-float { margin-top: 12px; }
  .tx-contact-grid { grid-template-columns: 1fr; }
  .tx-footer-grid { grid-template-columns: 1fr 1fr; }
  .tx-section-head { flex-direction: column; align-items: flex-start; }
  .tx-searchbar-inner { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .tx-topbar { display: none; }
  .tx-hero { padding: 36px 0 46px; }
  .tx-hero h1 { font-size: 29px; }
  .tx-hero-slogan { font-size: 16px; }
  .tx-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tx-section { padding: 42px 0; }
  .tx-section-title { font-size: 23px; }
  .tx-grid.cols-3, .tx-grid.cols-4, .tx-video-grid, .tx-review-grid,
  .tx-expert-grid, .tx-ai-grid, .tx-community-grid, .tx-howto, .tx-brandwall { grid-template-columns: 1fr 1fr; }
  .tx-grid.cols-2 { grid-template-columns: 1fr; }
  .tx-company-gallery { grid-template-columns: 1fr; }
  .tx-qr-grid { grid-template-columns: 1fr 1fr; }
  .tx-footer-grid { grid-template-columns: 1fr; }
  .tx-footer-bottom { justify-content: flex-start; }
  .tx-search-form { max-width: 100%; }
  .tx-article { padding: 20px; }
}

@media (max-width: 480px) {
  .tx-grid.cols-3, .tx-grid.cols-4, .tx-video-grid, .tx-review-grid,
  .tx-expert-grid, .tx-ai-grid, .tx-community-grid, .tx-howto, .tx-brandwall,
  .tx-qr-grid { grid-template-columns: 1fr; }
  .tx-wrap { padding: 0 16px; }
  .tx-brand-name { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
