/* ============================================
   偷拍 - 原创样式表
   品牌：偷拍 | 域名：gxunba.cn
   配色：玫瑰粉 #E8456B / 深紫 #2D1B69 / 暖橙 #FFB347
   ============================================ */

/* --- CSS Reset & Base --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;color:#1A1A2E;background:#FAF5FF;line-height:1.7;overflow-x:hidden}
a{color:#E8456B;text-decoration:none;transition:color .3s}
a:hover{color:#2D1B69}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.3;color:#2D1B69}

/* --- Layout Container --- */
.xh-container{max-width:1200px;margin:0 auto;padding:0 20px}
.xh-section{padding:60px 0}
.xh-section-alt{background:#F0EBF8}

/* --- Header & Navigation --- */
.xh-header{background:linear-gradient(135deg,#2D1B69 0%,#4A2D8C 100%);position:sticky;top:0;z-index:1000;box-shadow:0 2px 20px rgba(45,27,105,.3)}
.xh-header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;max-width:1200px;margin:0 auto}
.xh-logo{display:flex;align-items:center;gap:10px}
.xh-logo img{height:48px;width:auto}
.xh-logo-text{color:#fff;font-size:1.5rem;font-weight:700;letter-spacing:2px}
.xh-nav{display:flex;align-items:center;gap:6px}
.xh-nav a{color:rgba(255,255,255,.85);padding:8px 16px;border-radius:8px;font-size:.95rem;transition:all .3s}
.xh-nav a:hover,.xh-nav a.active{background:rgba(232,69,107,.6);color:#fff}
.xh-menu-btn{display:none;background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer}

/* --- Search Bar --- */
.xh-search-bar{background:linear-gradient(90deg,#2D1B69,#4A2D8C);padding:14px 0}
.xh-search-wrap{max-width:680px;margin:0 auto;position:relative;padding:0 20px}
.xh-search-wrap input{width:100%;padding:12px 50px 12px 20px;border:2px solid rgba(232,69,107,.4);border-radius:30px;background:rgba(255,255,255,.95);font-size:1rem;outline:none;transition:border-color .3s}
.xh-search-wrap input:focus{border-color:#E8456B}
.xh-search-wrap button{position:absolute;right:28px;top:50%;transform:translateY(-50%);background:#E8456B;border:none;color:#fff;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:1.1rem;transition:background .3s}
.xh-search-wrap button:hover{background:#d63a5e}

/* --- Hero Banner --- */
.xh-hero{position:relative;height:520px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.xh-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.55)}
.xh-hero-content{position:relative;z-index:2;text-align:center;color:#fff;padding:0 20px}
.xh-hero h1{font-size:2.8rem;margin-bottom:16px;text-shadow:0 4px 20px rgba(0,0,0,.4)}
.xh-hero h1 span{color:#FFB347}
.xh-hero p{font-size:1.2rem;max-width:700px;margin:0 auto 28px;opacity:.92}
.xh-hero-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.xh-btn{display:inline-block;padding:12px 32px;border-radius:30px;font-size:1rem;font-weight:600;transition:all .3s;cursor:pointer;border:none}
.xh-btn-primary{background:linear-gradient(135deg,#E8456B,#FF6B8A);color:#fff;box-shadow:0 4px 15px rgba(232,69,107,.4)}
.xh-btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 25px rgba(232,69,107,.5);color:#fff}
.xh-btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.7)}
.xh-btn-outline:hover{background:rgba(255,255,255,.15);color:#fff}

/* --- Section Titles --- */
.xh-title{text-align:center;margin-bottom:48px}
.xh-title h2{font-size:2rem;margin-bottom:12px;position:relative;display:inline-block}
.xh-title h2::after{content:"";display:block;width:60px;height:4px;background:linear-gradient(90deg,#E8456B,#FFB347);margin:12px auto 0;border-radius:2px}
.xh-title p{color:#666;font-size:1.05rem;max-width:600px;margin:0 auto}
.xh-tag{display:inline-block;background:linear-gradient(135deg,#E8456B,#FF6B8A);color:#fff;padding:4px 14px;border-radius:20px;font-size:.8rem;margin-bottom:10px}

/* --- Video Cards Grid --- */
.xh-video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.xh-video-card{position:relative;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 4px 20px rgba(45,27,105,.08);transition:all .4s}
.xh-video-card:hover{transform:translateY(-6px);box-shadow:0 12px 40px rgba(45,27,105,.15)}
.xh-video-thumb{position:relative;aspect-ratio:16/9;overflow:hidden}
.xh-video-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.xh-video-card:hover .xh-video-thumb img{transform:scale(1.08)}
.xh-play-btn{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(45,27,105,.3);opacity:0;transition:opacity .4s}
.xh-video-card:hover .xh-play-btn{opacity:1}
.xh-play-icon{width:64px;height:64px;background:rgba(232,69,107,.9);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(232,69,107,.5);transition:transform .3s}
.xh-play-icon::after{content:"";display:block;width:0;height:0;border-style:solid;border-width:12px 0 12px 22px;border-color:transparent transparent transparent #fff;margin-left:4px}
.xh-video-card:hover .xh-play-icon{transform:scale(1.1)}
.xh-video-info{padding:16px}
.xh-video-info h4{font-size:1.05rem;margin-bottom:8px;color:#2D1B69;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.xh-video-meta{display:flex;gap:16px;color:#999;font-size:.85rem}
.xh-video-meta span{display:flex;align-items:center;gap:4px}
.xh-video-tags{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}
.xh-video-tags span{background:#F0EBF8;color:#2D1B69;padding:3px 10px;border-radius:12px;font-size:.78rem}

/* --- Feature Cards --- */
.xh-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.xh-feature-card{background:#fff;border-radius:16px;padding:32px 24px;text-align:center;box-shadow:0 4px 20px rgba(45,27,105,.06);transition:all .4s;border:1px solid transparent}
.xh-feature-card:hover{border-color:#E8456B;transform:translateY(-4px);box-shadow:0 8px 30px rgba(232,69,107,.12)}
.xh-feature-icon{width:72px;height:72px;margin:0 auto 20px;background:linear-gradient(135deg,#FAF5FF,#F0EBF8);border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:2rem}
.xh-feature-card h4{font-size:1.1rem;margin-bottom:10px;color:#2D1B69}
.xh-feature-card p{color:#666;font-size:.92rem;line-height:1.6}

/* --- AI Section --- */
.xh-ai-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.xh-ai-card{border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 4px 20px rgba(45,27,105,.08);transition:all .4s}
.xh-ai-card:hover{transform:translateY(-4px);box-shadow:0 8px 30px rgba(45,27,105,.15)}
.xh-ai-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.xh-ai-card-body{padding:20px}
.xh-ai-card-body h4{font-size:1.05rem;margin-bottom:8px;color:#2D1B69}
.xh-ai-card-body p{color:#666;font-size:.9rem}

/* --- Expert Section --- */
.xh-expert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.xh-expert-card{background:#fff;border-radius:16px;padding:28px 20px;text-align:center;box-shadow:0 4px 20px rgba(45,27,105,.06);transition:all .4s}
.xh-expert-card:hover{transform:translateY(-4px);box-shadow:0 8px 30px rgba(45,27,105,.12)}
.xh-expert-avatar{width:100px;height:100px;border-radius:50%;margin:0 auto 16px;overflow:hidden;border:3px solid #E8456B;padding:3px}
.xh-expert-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.xh-expert-card h4{font-size:1.05rem;color:#2D1B69;margin-bottom:6px}
.xh-expert-card .xh-expert-role{color:#E8456B;font-size:.88rem;margin-bottom:10px}
.xh-expert-card p{color:#666;font-size:.85rem;margin-bottom:14px}
.xh-expert-btns{display:flex;gap:8px;justify-content:center}
.xh-expert-btns a{padding:6px 16px;border-radius:20px;font-size:.82rem;border:1px solid #E8456B;color:#E8456B;transition:all .3s}
.xh-expert-btns a:hover{background:#E8456B;color:#fff}

/* --- Partner Logos --- */
.xh-partner-wall{display:flex;flex-wrap:wrap;justify-content:center;gap:32px;align-items:center}
.xh-partner-wall img{height:50px;opacity:.6;filter:grayscale(100%);transition:all .4s}
.xh-partner-wall img:hover{opacity:1;filter:grayscale(0)}

/* --- Reviews --- */
.xh-review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.xh-review-card{background:#fff;border-radius:16px;padding:28px;box-shadow:0 4px 20px rgba(45,27,105,.06);transition:all .3s}
.xh-review-card:hover{box-shadow:0 8px 30px rgba(45,27,105,.12)}
.xh-review-stars{color:#FFB347;font-size:1.1rem;margin-bottom:12px;letter-spacing:2px}
.xh-review-text{color:#444;font-size:.95rem;line-height:1.7;margin-bottom:16px;font-style:italic}
.xh-review-author{display:flex;align-items:center;gap:12px}
.xh-review-author-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#E8456B,#FFB347);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.1rem}
.xh-review-author-info h5{font-size:.95rem;color:#2D1B69}
.xh-review-author-info span{color:#999;font-size:.82rem}

/* --- FAQ --- */
.xh-faq-list{max-width:800px;margin:0 auto}
.xh-faq-item{background:#fff;border-radius:12px;margin-bottom:12px;box-shadow:0 2px 10px rgba(45,27,105,.05);overflow:hidden}
.xh-faq-q{padding:18px 24px;font-weight:600;color:#2D1B69;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:background .3s}
.xh-faq-q:hover{background:#F0EBF8}
.xh-faq-q::after{content:"+";font-size:1.4rem;color:#E8456B;transition:transform .3s}
.xh-faq-item.open .xh-faq-q::after{transform:rotate(45deg)}
.xh-faq-a{padding:0 24px;max-height:0;overflow:hidden;transition:all .4s ease;color:#555;font-size:.95rem;line-height:1.7}
.xh-faq-item.open .xh-faq-a{padding:0 24px 18px;max-height:500px}

/* --- Contact Section --- */
.xh-contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.xh-contact-card{background:#fff;border-radius:16px;padding:28px;text-align:center;box-shadow:0 4px 20px rgba(45,27,105,.06)}
.xh-contact-card h4{color:#2D1B69;margin-bottom:16px;font-size:1.1rem}
.xh-contact-card p{color:#666;font-size:.92rem;margin-bottom:8px}
.xh-contact-card img{max-width:160px;margin:12px auto 0;border-radius:8px}

/* --- How-To Guide --- */
.xh-howto-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;counter-reset:step}
.xh-howto-step{background:#fff;border-radius:16px;padding:28px 20px;text-align:center;box-shadow:0 4px 20px rgba(45,27,105,.06);position:relative;counter-increment:step}
.xh-howto-step::before{content:counter(step);display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:linear-gradient(135deg,#E8456B,#FF6B8A);color:#fff;border-radius:50%;font-size:1.3rem;font-weight:700;margin:0 auto 16px}
.xh-howto-step h4{color:#2D1B69;margin-bottom:8px}
.xh-howto-step p{color:#666;font-size:.9rem}

/* --- Social Share --- */
.xh-share-bar{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:20px}
.xh-share-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 20px;border-radius:24px;font-size:.9rem;color:#fff;transition:all .3s}
.xh-share-btn:hover{transform:translateY(-2px);color:#fff}
.xh-share-wechat{background:#07C160}
.xh-share-weibo{background:#E6162D}
.xh-share-douyin{background:#1A1A2E}
.xh-share-bilibili{background:#00A1D6}

/* --- Footer --- */
.xh-footer{background:linear-gradient(135deg,#1A1A2E 0%,#2D1B69 100%);color:rgba(255,255,255,.75);padding:48px 0 0}
.xh-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.xh-footer h4{color:#fff;font-size:1.1rem;margin-bottom:16px}
.xh-footer p{font-size:.9rem;line-height:1.7;margin-bottom:8px}
.xh-footer a{color:rgba(255,255,255,.7);font-size:.9rem;display:block;margin-bottom:8px;transition:color .3s}
.xh-footer a:hover{color:#FFB347}
.xh-footer-qr{display:flex;gap:20px;margin-top:12px}
.xh-footer-qr img{width:120px;border-radius:8px}
.xh-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:20px 0;text-align:center;font-size:.85rem}
.xh-footer-bottom .xh-update-time{margin-top:6px;color:rgba(255,255,255,.5);font-size:.82rem}

/* --- Breadcrumb --- */
.xh-breadcrumb{padding:14px 0;font-size:.88rem;color:#999}
.xh-breadcrumb a{color:#E8456B}
.xh-breadcrumb span{margin:0 8px;color:#ccc}

/* --- Community Features --- */
.xh-community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.xh-community-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px rgba(45,27,105,.06);transition:all .4s}
.xh-community-card:hover{transform:translateY(-4px);box-shadow:0 8px 30px rgba(45,27,105,.12)}
.xh-community-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.xh-community-card-body{padding:20px}
.xh-community-card-body h4{color:#2D1B69;margin-bottom:8px}
.xh-community-card-body p{color:#666;font-size:.9rem}

/* --- Inner Page Content --- */
.xh-page-hero{background:linear-gradient(135deg,#2D1B69,#4A2D8C);padding:60px 0;text-align:center;color:#fff}
.xh-page-hero h1{font-size:2.2rem;margin-bottom:12px}
.xh-page-hero p{opacity:.85;font-size:1.05rem}
.xh-content-section{padding:40px 0}
.xh-content-section h2{font-size:1.6rem;color:#2D1B69;margin-bottom:20px}
.xh-content-section h3{font-size:1.3rem;color:#2D1B69;margin-bottom:14px}
.xh-content-section p{color:#555;margin-bottom:16px;line-height:1.8}
.xh-content-section ul{margin-bottom:16px}
.xh-content-section ul li{padding:6px 0 6px 20px;position:relative;color:#555}
.xh-content-section ul li::before{content:"";position:absolute;left:0;top:14px;width:8px;height:8px;background:#E8456B;border-radius:50%}

/* --- Stats Bar --- */
.xh-stats{background:linear-gradient(135deg,#E8456B,#FF6B8A);padding:40px 0;color:#fff}
.xh-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.xh-stats-item h3{font-size:2.4rem;font-weight:700;margin-bottom:6px}
.xh-stats-item p{font-size:.95rem;opacity:.9}

/* --- Responsive --- */
@media(max-width:1024px){
  .xh-video-grid,.xh-ai-grid,.xh-community-grid{grid-template-columns:repeat(2,1fr)}
  .xh-feature-grid,.xh-expert-grid,.xh-howto-steps{grid-template-columns:repeat(2,1fr)}
  .xh-footer-grid{grid-template-columns:1fr 1fr}
  .xh-stats-grid{grid-template-columns:repeat(2,1fr)}
  .xh-contact-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .xh-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#2D1B69;flex-direction:column;padding:16px;gap:4px}
  .xh-nav.open{display:flex}
  .xh-menu-btn{display:block}
  .xh-hero{height:400px}
  .xh-hero h1{font-size:1.8rem}
  .xh-video-grid,.xh-ai-grid,.xh-community-grid,.xh-review-grid{grid-template-columns:1fr}
  .xh-feature-grid,.xh-expert-grid,.xh-howto-steps{grid-template-columns:1fr}
  .xh-footer-grid{grid-template-columns:1fr}
  .xh-section{padding:40px 0}
  .xh-title h2{font-size:1.6rem}
  .xh-stats-grid{grid-template-columns:1fr 1fr}
  .xh-contact-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
  .xh-hero{height:320px}
  .xh-hero h1{font-size:1.5rem}
  .xh-hero p{font-size:1rem}
  .xh-stats-grid{grid-template-columns:1fr}
}

/* --- Lazy Load Placeholder --- */
.xh-lazy{opacity:0;transition:opacity .6s}
.xh-lazy.loaded{opacity:1}

/* --- Animation --- */
@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
.xh-animate{animation:fadeInUp .6s ease forwards}
