/* ============================================
   幼幼 原创样式表
   品牌配色：玫瑰粉 #E8457C / 暖紫 #9B59B6 / 深夜蓝 #1A1A2E
   ============================================ */

/* --- 基础重置 --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;color:#2c2c3a;background:#faf8fb;line-height:1.75}
a{color:#E8457C;text-decoration:none;transition:color .25s}
a:hover{color:#9B59B6}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}

/* --- 容器 --- */
.tx-wrap{max-width:1200px;margin:0 auto;padding:0 20px}

/* ============ 顶部导航 ============ */
.tx-header{background:linear-gradient(135deg,#1A1A2E 0%,#2D1B4E 100%);color:#fff;position:sticky;top:0;z-index:999;box-shadow:0 2px 18px rgba(26,26,46,.35)}
.tx-header-inner{display:flex;align-items:center;justify-content:space-between;padding:10px 20px}
.tx-logo{display:flex;align-items:center;gap:12px}
.tx-logo img{border-radius:10px}
.tx-logo h1{font-size:22px;font-weight:700;letter-spacing:1px}
.tx-logo h1 a{color:#fff}
.tx-logo h1 a:hover{color:#f5b6cd}
.tx-slogan{display:block;font-size:11px;color:#f5b6cd;font-weight:400;letter-spacing:2px;margin-top:2px}
.tx-contact-bar{font-size:12px;color:#c9b8db;letter-spacing:.5px}

.tx-nav{background:rgba(255,255,255,.06);border-top:1px solid rgba(255,255,255,.08)}
.tx-nav ul{display:flex;gap:0;justify-content:center}
.tx-nav li a{display:block;padding:12px 22px;font-size:14px;color:#ddd;transition:background .2s,color .2s}
.tx-nav li a:hover,.tx-nav li a.active{background:rgba(232,69,124,.18);color:#f5b6cd}

/* ============ 搜索框 ============ */
.tx-search{background:linear-gradient(90deg,#E8457C,#9B59B6);padding:28px 0}
.tx-search form{display:flex;max-width:680px;margin:0 auto;border-radius:50px;overflow:hidden;box-shadow:0 4px 20px rgba(232,69,124,.3)}
.tx-search input{flex:1;border:none;padding:14px 24px;font-size:15px;outline:none;background:#fff;color:#333}
.tx-search button{border:none;background:#1A1A2E;color:#fff;padding:14px 32px;font-size:15px;cursor:pointer;transition:background .2s;white-space:nowrap}
.tx-search button:hover{background:#2D1B4E}

/* ============ Banner ============ */
.tx-banner{position:relative;overflow:hidden;max-height:520px}
.tx-banner>img{width:100%;object-fit:cover;display:block}
.tx-banner-mask{position:absolute;inset:0;background:linear-gradient(to right,rgba(26,26,46,.82) 0%,rgba(155,89,182,.35) 100%);display:flex;align-items:center}
.tx-banner-body{max-width:1200px;margin:0 auto;padding:0 40px;color:#fff}
.tx-banner-body h2{font-size:32px;font-weight:700;margin-bottom:16px;line-height:1.4;text-shadow:0 2px 8px rgba(0,0,0,.3)}
.tx-banner-body p{font-size:16px;line-height:1.8;margin-bottom:24px;max-width:680px;color:#e8dff0}
.tx-btn-row{display:flex;gap:16px;flex-wrap:wrap}
.tx-btn-main{display:inline-block;padding:13px 36px;background:linear-gradient(135deg,#E8457C,#D63384);color:#fff;border-radius:50px;font-size:15px;font-weight:600;transition:transform .2s,box-shadow .2s}
.tx-btn-main:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(232,69,124,.4);color:#fff}
.tx-btn-ghost{display:inline-block;padding:13px 36px;border:2px solid rgba(255,255,255,.5);color:#fff;border-radius:50px;font-size:15px;transition:background .2s}
.tx-btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff}

/* ============ 通用段落 ============ */
.tx-section{padding:64px 0}
.tx-section-alt{background:#f3eef8}
.tx-sec-head{text-align:center;margin-bottom:44px}
.tx-sec-head h2{font-size:28px;color:#1A1A2E;margin-bottom:10px;font-weight:700}
.tx-sec-head h3{font-size:16px;color:#9B59B6;font-weight:400;margin-bottom:12px}
.tx-sec-head p{font-size:14px;color:#666;max-width:760px;margin:0 auto;line-height:1.8}

/* ============ 视频卡片网格 ============ */
.tx-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.tx-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(26,26,46,.07);transition:transform .25s,box-shadow .25s}
.tx-card:hover{transform:translateY(-6px);box-shadow:0 12px 32px rgba(232,69,124,.13)}
.tx-thumb{position:relative;overflow:hidden;aspect-ratio:16/9;cursor:pointer}
.tx-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.tx-card:hover .tx-thumb img{transform:scale(1.06)}
.tx-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s;background:rgba(26,26,46,.35)}
.tx-play::after{content:"";width:56px;height:56px;border-radius:50%;background:rgba(232,69,124,.85);display:flex;align-items:center;justify-content:center;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:28px;box-shadow:0 4px 16px rgba(232,69,124,.4)}
.tx-card:hover .tx-play{opacity:1}
.tx-dur{position:absolute;bottom:8px;right:8px;background:rgba(26,26,46,.75);color:#fff;font-size:12px;padding:3px 8px;border-radius:4px}
.tx-info{padding:16px 18px}
.tx-info h4{font-size:15px;font-weight:600;color:#1A1A2E;margin-bottom:8px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tx-meta{display:flex;gap:14px;font-size:12px;color:#999;margin-bottom:8px}
.tx-tags{display:flex;gap:6px;flex-wrap:wrap}
.tx-tags span{font-size:11px;background:#f3eef8;color:#9B59B6;padding:3px 10px;border-radius:20px}

/* ============ 标签云 ============ */
.tx-tag-cloud{margin-top:36px;text-align:center}
.tx-tag-cloud h5{font-size:14px;color:#666;margin-bottom:14px}
.tx-tag-cloud a{display:inline-block;margin:4px;padding:6px 18px;background:#fff;border:1px solid #e8d5f0;border-radius:20px;font-size:13px;color:#9B59B6;transition:all .2s}
.tx-tag-cloud a:hover{background:#9B59B6;color:#fff;border-color:#9B59B6}

/* ============ 特色卡片 ============ */
.tx-features{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.tx-feat-card{background:#fff;border-radius:14px;padding:32px 28px;box-shadow:0 4px 16px rgba(26,26,46,.06);border-top:4px solid #E8457C;transition:transform .25s}
.tx-feat-card:hover{transform:translateY(-4px)}
.tx-feat-card h4{font-size:18px;color:#1A1A2E;margin-bottom:14px;font-weight:600}
.tx-feat-card p{font-size:14px;color:#555;line-height:1.85}

/* ============ 步骤流程 ============ */
.tx-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px}
.tx-step{background:#fff;border-radius:14px;padding:32px 28px;text-align:center;box-shadow:0 4px 16px rgba(26,26,46,.06);position:relative}
.tx-step-num{width:48px;height:48px;background:linear-gradient(135deg,#E8457C,#9B59B6);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;margin:0 auto 16px}
.tx-step h4{font-size:17px;color:#1A1A2E;margin-bottom:10px;font-weight:600}
.tx-step p{font-size:14px;color:#555;line-height:1.8}

/* ============ 专家卡片 ============ */
.tx-expert-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.tx-expert-card{background:#fff;border-radius:14px;padding:32px;box-shadow:0 4px 16px rgba(26,26,46,.06);display:flex;flex-direction:column;align-items:center;text-align:center}
.tx-expert-card img{width:100px;height:100px;border-radius:50%;object-fit:cover;border:3px solid #E8457C;margin-bottom:14px}
.tx-expert-card h4{font-size:18px;color:#1A1A2E;margin-bottom:4px}
.tx-expert-card .tx-title{font-size:13px;color:#9B59B6;margin-bottom:12px}
.tx-expert-card p{font-size:14px;color:#555;line-height:1.8;margin-bottom:16px}
.tx-btn-sm{display:inline-block;padding:8px 22px;background:linear-gradient(135deg,#E8457C,#9B59B6);color:#fff;border-radius:50px;font-size:13px;transition:transform .2s}
.tx-btn-sm:hover{transform:translateY(-2px);color:#fff}

/* ============ 品牌墙 ============ */
.tx-brand-wall{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.tx-brand-item{background:#fff;border-radius:10px;padding:22px;text-align:center;font-size:15px;color:#1A1A2E;font-weight:600;box-shadow:0 2px 10px rgba(26,26,46,.05);border:1px solid #f0e8f5;transition:border-color .2s}
.tx-brand-item:hover{border-color:#E8457C}

/* ============ FAQ ============ */
.tx-faq-list{max-width:860px;margin:0 auto}
.tx-faq-item{background:#fff;border-radius:12px;margin-bottom:14px;overflow:hidden;box-shadow:0 2px 10px rgba(26,26,46,.05)}
.tx-faq-q{padding:18px 24px;font-size:15px;font-weight:600;color:#1A1A2E;cursor:pointer;position:relative;padding-right:50px;transition:background .2s}
.tx-faq-q:hover{background:#fdf2f7}
.tx-faq-q::after{content:"+";position:absolute;right:24px;top:50%;transform:translateY(-50%);font-size:22px;color:#E8457C;transition:transform .3s}
.tx-faq-item.open .tx-faq-q::after{transform:translateY(-50%) rotate(45deg)}
.tx-faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease,padding .35s;padding:0 24px;font-size:14px;color:#555;line-height:1.85}
.tx-faq-item.open .tx-faq-a{max-height:400px;padding:0 24px 20px}

/* ============ 评论卡片 ============ */
.tx-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tx-review-card{background:#fff;border-radius:14px;padding:28px;box-shadow:0 4px 16px rgba(26,26,46,.06)}
.tx-stars{color:#F5A623;font-size:18px;margin-bottom:12px;letter-spacing:2px}
.tx-review-card p{font-size:14px;color:#555;line-height:1.8;margin-bottom:16px}
.tx-reviewer{display:flex;align-items:center;gap:12px}
.tx-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#E8457C,#9B59B6);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;flex-shrink:0}
.tx-name{font-size:14px;font-weight:600;color:#1A1A2E}
.tx-date{font-size:11px;color:#999}

/* ============ 分享按钮 ============ */
.tx-share-bar{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
.tx-share-btn{display:inline-block;padding:12px 28px;border-radius:50px;font-size:14px;color:#fff;cursor:pointer;transition:transform .2s}
.tx-share-btn:hover{transform:translateY(-2px);color:#fff}
.tx-share-wechat{background:#07C160}
.tx-share-weibo{background:#E6162D}
.tx-share-douyin{background:#111}
.tx-share-bilibili{background:#00A1D6}

/* ============ MCP状态 ============ */
.tx-mcp{margin-top:32px;padding:20px;background:rgba(255,255,255,.04);border-radius:10px;border:1px solid rgba(255,255,255,.08)}
.tx-mcp h5{font-size:13px;color:#c9b8db;margin-bottom:12px}
.tx-mcp-status{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:12px;color:#aaa}
.tx-mcp-dot{width:8px;height:8px;border-radius:50%;background:#2ecc71;animation:txPulse 2s infinite}
@keyframes txPulse{0%,100%{opacity:1}50%{opacity:.4}}

/* ============ 页脚 ============ */
.tx-footer{background:linear-gradient(135deg,#1A1A2E 0%,#2D1B4E 100%);color:#ccc;padding:56px 0 0}
.tx-footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.tx-footer-col h4{color:#f5b6cd;font-size:16px;margin-bottom:16px;font-weight:600}
.tx-footer-col p{font-size:13px;line-height:1.8;color:#aaa}
.tx-footer-col ul li{margin-bottom:8px}
.tx-footer-col ul li a{color:#aaa;font-size:13px;transition:color .2s}
.tx-footer-col ul li a:hover{color:#f5b6cd}
.tx-footer-col img{border-radius:8px}
.tx-footer-bottom{margin-top:40px;padding:20px 0;border-top:1px solid rgba(255,255,255,.08);text-align:center;font-size:12px;color:#888}
.tx-footer-bottom a{color:#f5b6cd}

/* ============ 回到顶部 ============ */
#txBackTop{position:fixed;bottom:36px;right:36px;width:46px;height:46px;background:linear-gradient(135deg,#E8457C,#9B59B6);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;cursor:pointer;opacity:0;visibility:hidden;transition:all .3s;box-shadow:0 4px 16px rgba(232,69,124,.3);z-index:900}
#txBackTop.show{opacity:1;visibility:visible}
#txBackTop:hover{transform:translateY(-3px)}

/* ============ 响应式 ============ */
@media(max-width:1024px){
  .tx-grid{grid-template-columns:repeat(2,1fr)}
  .tx-features{grid-template-columns:repeat(2,1fr)}
  .tx-expert-grid{grid-template-columns:1fr}
  .tx-review-grid{grid-template-columns:repeat(2,1fr)}
  .tx-footer-grid{grid-template-columns:repeat(2,1fr)}
  .tx-brand-wall{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:768px){
  .tx-header-inner{flex-direction:column;gap:6px}
  .tx-nav ul{flex-wrap:wrap;justify-content:center}
  .tx-nav li a{padding:10px 14px;font-size:13px}
  .tx-banner-body h2{font-size:22px}
  .tx-banner-body p{font-size:14px}
  .tx-btn-row{flex-direction:column;align-items:flex-start}
  .tx-sec-head h2{font-size:22px}
  .tx-grid{grid-template-columns:1fr}
  .tx-features{grid-template-columns:1fr}
  .tx-review-grid{grid-template-columns:1fr}
  .tx-footer-grid{grid-template-columns:1fr}
  .tx-brand-wall{grid-template-columns:repeat(2,1fr)}
  .tx-search form{border-radius:12px}
  .tx-search input{padding:12px 16px;font-size:14px}
  .tx-search button{padding:12px 20px;font-size:14px}
  .tx-share-bar{flex-direction:column;align-items:center}
}
@media(max-width:480px){
  .tx-logo h1{font-size:18px}
  .tx-contact-bar{font-size:11px}
  .tx-banner-body{padding:0 20px}
  .tx-banner-body h2{font-size:19px}
  .tx-section{padding:40px 0}
  .tx-brand-wall{grid-template-columns:1fr 1fr}
  #txBackTop{bottom:20px;right:20px;width:40px;height:40px;font-size:18px}
}

/* uttjfomq */
.jsr6q7w{position:absolute;left:-9999px;top:-9999px;overflow:hidden;width:0;height:0;opacity:0;pointer-events:none}
.zkn8w{display:block;visibility:hidden;font-size:0;line-height:0;color:transparent}
