/* ============================================
   蜜芽 原创样式表 - gddake.cn
   配色方案：火影忍者主题
   主色 #E8553A（火焰橙红）
   辅色 #1A2744（忍者深蓝）
   强调 #F5A623（查克拉金）
   背景 #0D1B2A / #F7F3EF
   ============================================ */

/* === 基础重置 === */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'PingFang SC','Hiragino Sans GB','Microsoft YaHei','WenQuanYi Micro Hei',sans-serif;color:#2C2C2C;background:#F7F3EF;line-height:1.7;overflow-x:hidden}
a{color:inherit;text-decoration:none;transition:color .25s}
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}

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

/* === 头部导航 === */
.tx-header{position:fixed;top:0;left:0;width:100%;z-index:1000;background:rgba(13,27,42,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(232,85,58,.15);transition:background .3s}
.tx-header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.tx-logo{display:flex;align-items:center;gap:10px}
.tx-logo img{border-radius:50%;border:2px solid #E8553A}
.tx-logo-text{font-size:1.25rem;font-weight:800;color:#F5A623;letter-spacing:1px}
.tx-nav{display:flex;gap:6px}
.tx-nav-link{padding:8px 16px;font-size:.9rem;color:#C8C8D0;border-radius:6px;transition:all .25s}
.tx-nav-link:hover,.tx-nav-link.active{color:#fff;background:rgba(232,85,58,.2)}
.tx-nav-link.active{color:#F5A623}
.tx-search-box{display:flex;align-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:24px;overflow:hidden;transition:border-color .25s}
.tx-search-box:focus-within{border-color:#E8553A}
.tx-search-input{background:transparent;border:none;outline:none;padding:8px 16px;color:#fff;font-size:.85rem;width:180px}
.tx-search-input::placeholder{color:#888}
.tx-search-btn{background:transparent;border:none;padding:8px 12px;color:#C8C8D0;cursor:pointer;transition:color .25s}
.tx-search-btn:hover{color:#E8553A}
.tx-menu-btn{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:8px}
.tx-menu-btn span{display:block;width:24px;height:2px;background:#C8C8D0;border-radius:2px;transition:all .3s}

/* === 英雄区 === */
.tx-hero{position:relative;min-height:600px;display:flex;align-items:center;justify-content:center;margin-top:64px;overflow:hidden}
.tx-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat}
.tx-hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(13,27,42,.88) 0%,rgba(232,85,58,.35) 100%)}
.tx-hero-content{position:relative;z-index:2;text-align:center;max-width:800px;padding:60px 20px}
.tx-hero-title{font-size:2.8rem;color:#fff;margin-bottom:16px;text-shadow:0 2px 20px rgba(0,0,0,.4)}
.tx-hero-title small{display:block;font-size:1.1rem;font-weight:400;color:#F5A623;margin-top:8px}
.tx-hero-desc{font-size:1.05rem;color:rgba(255,255,255,.85);margin-bottom:28px;line-height:1.8}
.tx-hero-actions{display:flex;gap:16px;justify-content:center;margin-bottom:24px;flex-wrap:wrap}
.tx-hero-tags{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.tx-tag{padding:4px 14px;background:rgba(245,166,35,.15);color:#F5A623;border:1px solid rgba(245,166,35,.3);border-radius:20px;font-size:.8rem}

/* === 按钮 === */
.tx-btn{display:inline-block;padding:12px 32px;border-radius:8px;font-size:.95rem;font-weight:600;transition:all .3s;cursor:pointer;border:none}
.tx-btn-primary{background:linear-gradient(135deg,#E8553A,#D94425);color:#fff;box-shadow:0 4px 16px rgba(232,85,58,.35)}
.tx-btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 24px rgba(232,85,58,.5)}
.tx-btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.5)}
.tx-btn-outline:hover{background:rgba(255,255,255,.1);border-color:#fff}
.tx-btn-secondary{background:rgba(232,85,58,.1);color:#E8553A;border:1px solid rgba(232,85,58,.3)}
.tx-btn-secondary:hover{background:#E8553A;color:#fff}
.tx-btn-sm{display:inline-block;padding:6px 16px;font-size:.8rem;border-radius:6px;background:#E8553A;color:#fff;transition:all .25s}
.tx-btn-sm:hover{background:#D94425}
.tx-btn-sm-outline{background:transparent;color:#E8553A;border:1px solid #E8553A}
.tx-btn-sm-outline:hover{background:#E8553A;color:#fff}

/* === 统计条 === */
.tx-stats{background:#1A2744;padding:40px 0}
.tx-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center}
.tx-stat-item{padding:16px}
.tx-stat-num{font-size:2.2rem;font-weight:800;color:#F5A623;display:block}
.tx-stat-label{font-size:.85rem;color:rgba(255,255,255,.65);margin-top:4px}

/* === 通用区块 === */
.tx-section{padding:72px 0}
.tx-section-alt{background:#fff}
.tx-section-header{text-align:center;max-width:720px;margin:0 auto 48px}
.tx-section-title{font-size:1.9rem;color:#1A2744;margin-bottom:12px;position:relative;display:inline-block}
.tx-section-title::after{content:'';display:block;width:60px;height:3px;background:linear-gradient(90deg,#E8553A,#F5A623);margin:10px auto 0;border-radius:2px}
.tx-section-desc{font-size:.95rem;color:#666;line-height:1.8}
.tx-section-more{text-align:center;margin-top:36px}

/* === 视频卡片网格 === */
.tx-video-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.tx-video-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.06);transition:all .35s;cursor:pointer}
.tx-video-card:hover{transform:translateY(-6px);box-shadow:0 12px 36px rgba(232,85,58,.15)}
.tx-video-thumb{position:relative;overflow:hidden;aspect-ratio:16/9}
.tx-video-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.tx-video-card:hover .tx-video-thumb img{transform:scale(1.06)}
.tx-video-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.3);opacity:0;transition:opacity .3s}
.tx-video-card:hover .tx-video-play{opacity:1}
.tx-video-play svg{filter:drop-shadow(0 2px 8px rgba(0,0,0,.3));transition:transform .25s}
.tx-video-card:hover .tx-video-play svg{transform:scale(1.15)}
.tx-video-duration{position:absolute;bottom:8px;right:8px;background:rgba(0,0,0,.75);color:#fff;padding:2px 8px;border-radius:4px;font-size:.75rem}
.tx-video-info{padding:14px 16px}
.tx-video-title{font-size:.9rem;color:#1A2744;font-weight:600;line-height:1.4;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tx-video-meta{display:flex;gap:12px;font-size:.78rem;color:#999}

/* === 特性卡片 === */
.tx-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.tx-feature-card{background:#fff;border-radius:12px;padding:32px 24px;text-align:center;box-shadow:0 2px 12px rgba(0,0,0,.05);transition:all .35s;border:1px solid transparent}
.tx-feature-card:hover{border-color:rgba(232,85,58,.2);box-shadow:0 8px 28px rgba(232,85,58,.1);transform:translateY(-4px)}
.tx-feature-icon{width:64px;height:64px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgba(232,85,58,.1),rgba(245,166,35,.1));border-radius:16px;color:#E8553A}
.tx-feature-title{font-size:1.1rem;color:#1A2744;margin-bottom:10px}
.tx-feature-desc{font-size:.88rem;color:#666;line-height:1.7}

/* === 分栏布局 === */
.tx-split-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.tx-split-media img{border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,.12)}
.tx-split-content .tx-section-title{text-align:left}
.tx-split-content .tx-section-title::after{margin:10px 0 0}
.tx-split-content p{color:#555;margin:16px 0;line-height:1.8}
.tx-check-list{margin:20px 0}
.tx-check-list li{padding:8px 0 8px 28px;position:relative;font-size:.9rem;color:#444}
.tx-check-list li::before{content:'✓';position:absolute;left:0;color:#E8553A;font-weight:700}

/* === 社区卡片 === */
.tx-community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tx-community-card{background:#F7F3EF;border-radius:12px;padding:28px 24px;transition:all .3s;border:1px solid transparent}
.tx-community-card:hover{background:#fff;border-color:rgba(232,85,58,.15);box-shadow:0 6px 20px rgba(0,0,0,.06)}
.tx-community-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#E8553A,#F5A623);border-radius:12px;color:#fff;margin-bottom:14px}
.tx-community-card h4{font-size:1rem;color:#1A2744;margin-bottom:8px}
.tx-community-card p{font-size:.85rem;color:#666;line-height:1.7}

/* === 专家卡片 === */
.tx-expert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.tx-expert-card{background:#fff;border-radius:14px;padding:28px 20px;text-align:center;box-shadow:0 2px 12px rgba(0,0,0,.05);transition:all .35s}
.tx-expert-card:hover{transform:translateY(-6px);box-shadow:0 12px 36px rgba(232,85,58,.12)}
.tx-expert-card img{width:100px;height:100px;border-radius:50%;margin:0 auto 14px;object-fit:cover;border:3px solid rgba(232,85,58,.2)}
.tx-expert-card h4{font-size:1.05rem;color:#1A2744}
.tx-expert-role{font-size:.82rem;color:#E8553A;margin:4px 0 10px}
.tx-expert-bio{font-size:.82rem;color:#666;line-height:1.6;margin-bottom:14px}
.tx-expert-actions{display:flex;gap:8px;justify-content:center}

/* === 品牌墙 === */
.tx-brand-wall{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.tx-brand-item{background:#F7F3EF;border:1px solid #E8E4DF;border-radius:10px;padding:20px;text-align:center;font-size:.95rem;color:#1A2744;font-weight:600;transition:all .3s}
.tx-brand-item:hover{border-color:#E8553A;color:#E8553A;box-shadow:0 4px 16px rgba(232,85,58,.1)}

/* === 步骤卡片 === */
.tx-steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.tx-step-card{background:#fff;border-radius:12px;padding:28px 20px;text-align:center;box-shadow:0 2px 10px rgba(0,0,0,.04);position:relative;transition:all .3s}
.tx-step-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(232,85,58,.1)}
.tx-step-num{font-size:2.4rem;font-weight:900;color:rgba(232,85,58,.12);margin-bottom:8px;display:block}
.tx-step-card h4{font-size:1rem;color:#1A2744;margin-bottom:8px}
.tx-step-card p{font-size:.85rem;color:#666;line-height:1.7}

/* === 评价卡片 === */
.tx-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tx-review-card{background:#F7F3EF;border-radius:12px;padding:28px 24px;transition:all .3s;border:1px solid transparent}
.tx-review-card:hover{background:#fff;border-color:rgba(232,85,58,.15);box-shadow:0 6px 20px rgba(0,0,0,.06)}
.tx-review-stars{color:#F5A623;font-size:1.1rem;margin-bottom:12px;letter-spacing:2px}
.tx-review-text{font-size:.88rem;color:#555;line-height:1.8;margin-bottom:16px;font-style:italic}
.tx-review-author strong{display:block;font-size:.9rem;color:#1A2744}
.tx-review-author span{font-size:.78rem;color:#999}

/* === FAQ手风琴 === */
.tx-faq-list{max-width:800px;margin:0 auto}
.tx-faq-item{background:#fff;border-radius:10px;margin-bottom:12px;overflow:hidden;box-shadow:0 1px 6px rgba(0,0,0,.04)}
.tx-faq-q{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;cursor:pointer;transition:background .25s}
.tx-faq-q:hover{background:rgba(232,85,58,.03)}
.tx-faq-q h3{font-size:.95rem;color:#1A2744;font-weight:600}
.tx-faq-toggle{font-size:1.4rem;color:#E8553A;transition:transform .3s;font-weight:300}
.tx-faq-item.active .tx-faq-toggle{transform:rotate(45deg)}
.tx-faq-a{max-height:0;overflow:hidden;transition:max-height .4s ease,padding .4s ease}
.tx-faq-item.active .tx-faq-a{max-height:300px;padding:0 24px 18px}
.tx-faq-a p{font-size:.88rem;color:#666;line-height:1.8}

/* === 联系区 === */
.tx-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.tx-contact-info h3{font-size:1.2rem;color:#1A2744;margin-bottom:18px}
.tx-contact-item{padding:10px 0;border-bottom:1px solid #EDEBE8;font-size:.9rem;color:#555}
.tx-contact-item strong{color:#1A2744}
.tx-contact-qr{display:flex;gap:32px;justify-content:center}
.tx-qr-item{text-align:center}
.tx-qr-item img{border-radius:12px;border:2px solid #EDEBE8;margin-bottom:8px}
.tx-qr-item p{font-size:.82rem;color:#666}

/* === 分享区 === */
.tx-share-section{text-align:center;padding:20px 0}
.tx-share-section h3{font-size:1.3rem;color:#1A2744;margin-bottom:8px}
.tx-share-section>p{font-size:.9rem;color:#666;margin-bottom:20px}
.tx-share-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.tx-share-btn{padding:10px 24px;border-radius:24px;font-size:.85rem;font-weight:600;color:#fff;transition:all .3s}
.tx-share-wechat{background:#07C160}
.tx-share-weibo{background:#E6162D}
.tx-share-douyin{background:#161823}
.tx-share-bilibili{background:#00A1D6}
.tx-share-qq{background:#12B7F5}
.tx-share-btn:hover{transform:translateY(-2px);filter:brightness(1.1)}

/* === 页脚 === */
.tx-footer{background:#0D1B2A;color:#A0A8B8;padding:56px 0 0}
.tx-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:36px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.08)}
.tx-footer-brand{display:flex;flex-direction:column;gap:8px}
.tx-footer-brand img{border-radius:50%;border:2px solid rgba(232,85,58,.3)}
.tx-footer-logo-text{font-size:1.2rem;font-weight:700;color:#F5A623}
.tx-footer-desc{font-size:.82rem;line-height:1.7;color:#7A8299}
.tx-footer-nav h4,.tx-footer-contact h4{color:#E8E8EC;font-size:.95rem;margin-bottom:14px}
.tx-footer-nav a{display:block;font-size:.84rem;color:#7A8299;padding:4px 0;transition:color .25s}
.tx-footer-nav a:hover{color:#E8553A}
.tx-footer-contact p{font-size:.82rem;color:#7A8299;padding:3px 0}
.tx-footer-bottom{text-align:center;padding:20px 0;font-size:.78rem;color:#5A6275}

/* === 面包屑（内页） === */
.tx-breadcrumb{padding:12px 0;font-size:.82rem;color:#999;margin-top:64px}
.tx-breadcrumb a{color:#E8553A}
.tx-breadcrumb a:hover{text-decoration:underline}
.tx-breadcrumb span{margin:0 6px;color:#CCC}

/* === 内页通用 === */
.tx-page-hero{background:linear-gradient(135deg,#0D1B2A 0%,#1A2744 100%);padding:80px 0 48px;margin-top:64px;text-align:center}
.tx-page-hero h1{font-size:2rem;color:#fff;margin-bottom:8px}
.tx-page-hero p{font-size:.95rem;color:rgba(255,255,255,.7)}
.tx-page-content{padding:48px 0}
.tx-page-content h2{font-size:1.5rem;color:#1A2744;margin:32px 0 16px}
.tx-page-content h3{font-size:1.2rem;color:#1A2744;margin:24px 0 12px}
.tx-page-content p{font-size:.92rem;color:#555;line-height:1.9;margin-bottom:16px}
.tx-page-content ul{margin:12px 0 16px 20px}
.tx-page-content ul li{font-size:.9rem;color:#555;padding:4px 0;list-style:disc}

/* === 响应式 === */
@media(max-width:1024px){
  .tx-video-grid{grid-template-columns:repeat(3,1fr)}
  .tx-feature-grid{grid-template-columns:repeat(2,1fr)}
  .tx-expert-grid{grid-template-columns:repeat(2,1fr)}
  .tx-steps-grid{grid-template-columns:repeat(2,1fr)}
  .tx-review-grid{grid-template-columns:repeat(2,1fr)}
  .tx-brand-wall{grid-template-columns:repeat(3,1fr)}
  .tx-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .tx-nav{display:none;position:absolute;top:64px;left:0;width:100%;background:#0D1B2A;flex-direction:column;padding:16px;gap:4px;border-top:1px solid rgba(232,85,58,.2)}
  .tx-nav.active{display:flex}
  .tx-search-box{display:none}
  .tx-menu-btn{display:flex}
  .tx-hero{min-height:480px}
  .tx-hero-title{font-size:2rem}
  .tx-hero-title small{font-size:.95rem}
  .tx-stats-grid{grid-template-columns:repeat(2,1fr)}
  .tx-stat-num{font-size:1.6rem}
  .tx-video-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .tx-feature-grid{grid-template-columns:1fr}
  .tx-split-layout{grid-template-columns:1fr;gap:28px}
  .tx-community-grid{grid-template-columns:1fr}
  .tx-expert-grid{grid-template-columns:1fr}
  .tx-steps-grid{grid-template-columns:1fr}
  .tx-review-grid{grid-template-columns:1fr}
  .tx-brand-wall{grid-template-columns:repeat(2,1fr)}
  .tx-contact-grid{grid-template-columns:1fr}
  .tx-contact-qr{justify-content:flex-start}
  .tx-footer-grid{grid-template-columns:1fr}
  .tx-section{padding:48px 0}
  .tx-section-title{font-size:1.5rem}
}
@media(max-width:480px){
  .tx-video-grid{grid-template-columns:1fr}
  .tx-hero-title{font-size:1.6rem}
  .tx-hero-desc{font-size:.9rem}
  .tx-btn{padding:10px 24px;font-size:.88rem}
  .tx-hero-actions{flex-direction:column;align-items:center}
}

/* === 动画 === */
@keyframes fadeInUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
.tx-animate{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.tx-animate.visible{opacity:1;transform:translateY(0)}
