/* ============================================
   糖心vlog - 银幕叙事设计系统
   Design: 高端影视传媒 + 视频社区
   Colors: #111318 深底 / #1c1f26 面板 / #ff5a4e 品牌色 / #4d9fff 辅助蓝 / #f5f5f0 文字
   ============================================ */

/* === Reset & Base === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Noto Sans SC',system-ui,-apple-system,sans-serif;background:#111318;color:#f5f5f0;line-height:1.7;overflow-x:hidden}
a{color:#ff5a4e;text-decoration:none;transition:color .2s}
a:hover{color:#ff7e6b}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{font-weight:900;line-height:1.3}

/* === Layout === */
.container{width:100%;max-width:1280px;margin:0 auto;padding:0 1.5rem}
.section{padding:4rem 0}
.section-dark{background:#111318}
.section-panel{background:#1c1f26}

/* === Header === */
.site-header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(17,19,24,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.06);transition:background .3s}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo-link{display:flex;align-items:center;gap:.6rem}
.logo-img{height:36px;width:auto}
.logo-text{font-size:1.25rem;font-weight:900;color:#f5f5f0;letter-spacing:-.02em}
.logo-text span{color:#ff5a4e}

/* Nav */
.main-nav{display:flex;align-items:center;gap:1.8rem}
.main-nav a{color:#b0b8c4;font-size:.9rem;font-weight:500;transition:color .2s}
.main-nav a:hover,.main-nav a.active{color:#ff5a4e}

/* Search */
.search-box{position:relative;width:220px}
.search-box input{width:100%;padding:.5rem 2.2rem .5rem .9rem;border-radius:20px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#f5f5f0;font-size:.85rem;outline:none;transition:border-color .2s}
.search-box input:focus{border-color:#ff5a4e}
.search-box button{position:absolute;right:.6rem;top:50%;transform:translateY(-50%);background:none;border:none;color:#8b95a5;cursor:pointer}

/* Mobile menu */
.menu-toggle{display:none;background:none;border:none;color:#f5f5f0;font-size:1.5rem;cursor:pointer}

/* === Hero === */
.hero{position:relative;height:85vh;min-height:520px;display:flex;align-items:center;overflow:hidden;margin-top:64px}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}
.hero-bg::after{content:'';position:absolute;inset:0;background:linear-gradient(to right,rgba(17,19,24,.88) 0%,rgba(17,19,24,.5) 60%,rgba(17,19,24,.3) 100%)}
.hero-content{position:relative;z-index:2;max-width:640px}
.hero-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .9rem;background:rgba(255,90,78,.15);border:1px solid rgba(255,90,78,.3);border-radius:20px;font-size:.8rem;color:#ff5a4e;margin-bottom:1.2rem}
.hero h1{font-size:clamp(2rem,5vw,3.2rem);margin-bottom:.8rem}
.hero h1 span{color:#ff5a4e}
.hero p{font-size:1.05rem;color:#b0b8c4;margin-bottom:1.8rem;max-width:480px}
.hero-btns{display:flex;gap:1rem;flex-wrap:wrap}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.7rem 1.6rem;border-radius:6px;font-size:.9rem;font-weight:600;border:none;cursor:pointer;transition:transform .16s,box-shadow .2s}
.btn:active{transform:scale(.97)}
.btn-primary{background:#ff5a4e;color:#fff;box-shadow:0 4px 16px rgba(255,90,78,.3)}
.btn-primary:hover{background:#ff7060;box-shadow:0 6px 24px rgba(255,90,78,.4);color:#fff}
.btn-outline{background:transparent;color:#f5f5f0;border:1px solid rgba(255,255,255,.2)}
.btn-outline:hover{border-color:#ff5a4e;color:#ff5a4e}

/* === Video Card Grid === */
.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}
.video-card{position:relative;border-radius:8px;overflow:hidden;background:#1c1f26;transition:transform .25s cubic-bezier(.23,1,.32,1),box-shadow .25s}
.video-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.4)}
.video-card::before{content:'';position:absolute;top:0;left:0;width:4px;height:100%;background:#ff5a4e;z-index:2}
.video-thumb{position:relative;aspect-ratio:16/9;overflow:hidden}
.video-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.video-card:hover .video-thumb img{transform:scale(1.03)}
.play-btn{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .25s;background:rgba(0,0,0,.35)}
.video-card:hover .play-btn{opacity:1}
.play-btn svg{width:48px;height:48px;fill:#fff;filter:drop-shadow(0 2px 8px rgba(0,0,0,.5))}
.video-info{padding:1rem 1.2rem}
.video-info h3{font-size:.95rem;font-weight:700;margin-bottom:.4rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.video-meta{display:flex;gap:1rem;font-size:.78rem;color:#8b95a5}
.video-meta span{display:flex;align-items:center;gap:.3rem}
.video-tag{display:inline-block;padding:.15rem .5rem;background:rgba(77,159,255,.12);color:#4d9fff;border-radius:3px;font-size:.7rem;margin-top:.5rem}

/* === Section Titles === */
.section-title{margin-bottom:2.5rem}
.section-title h2{font-size:1.8rem;margin-bottom:.4rem}
.section-title h2 span{color:#ff5a4e}
.section-title p{color:#8b95a5;font-size:.95rem}
.section-title-bar{width:40px;height:3px;background:#ff5a4e;border-radius:2px;margin-top:.6rem}

/* === Expert Cards === */
.expert-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}
.expert-card{background:#1c1f26;border-radius:8px;padding:1.5rem;border:1px solid rgba(255,255,255,.06);transition:border-color .2s}
.expert-card:hover{border-color:rgba(255,90,78,.3)}
.expert-avatar{width:56px;height:56px;border-radius:50%;background:#2a2d35;margin-bottom:1rem;display:flex;align-items:center;justify-content:center;font-size:1.4rem;color:#ff5a4e}
.expert-card h4{font-size:1rem;margin-bottom:.3rem}
.expert-card .role{color:#4d9fff;font-size:.8rem;margin-bottom:.6rem}
.expert-card p{font-size:.85rem;color:#8b95a5;line-height:1.6}

/* === FAQ === */
.faq-list{max-width:800px}
.faq-item{border-bottom:1px solid rgba(255,255,255,.08);padding:1.2rem 0}
.faq-item summary{cursor:pointer;font-weight:700;font-size:.95rem;list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq-item summary::after{content:'+';font-size:1.2rem;color:#ff5a4e;transition:transform .2s}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{margin-top:.8rem;color:#b0b8c4;font-size:.9rem;padding-left:.5rem}

/* === Reviews === */
.review-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}
.review-card{background:#1c1f26;border-radius:8px;padding:1.5rem;border:1px solid rgba(255,255,255,.06)}
.review-stars{color:#f0a500;margin-bottom:.6rem;font-size:.9rem}
.review-card blockquote{font-size:.9rem;color:#b0b8c4;font-style:italic;margin-bottom:.8rem;line-height:1.6}
.review-author{font-size:.8rem;color:#8b95a5}

/* === Partners === */
.partner-wall{display:flex;flex-wrap:wrap;gap:2rem;align-items:center;justify-content:center}
.partner-wall span{padding:.8rem 1.5rem;background:#1c1f26;border-radius:6px;font-size:.85rem;color:#8b95a5;border:1px solid rgba(255,255,255,.06)}

/* === Contact === */
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2rem}
.contact-card{background:#1c1f26;border-radius:8px;padding:1.5rem;border:1px solid rgba(255,255,255,.06)}
.contact-card h4{font-size:.95rem;margin-bottom:.8rem;color:#ff5a4e}
.contact-card p{font-size:.85rem;color:#b0b8c4;margin-bottom:.4rem}

/* === Footer === */
.site-footer{background:#0a0c10;padding:3rem 0 1.5rem;border-top:1px solid rgba(255,255,255,.06)}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:2rem}
.footer-col h5{font-size:.9rem;margin-bottom:1rem;color:#f5f5f0}
.footer-col a{display:block;font-size:.82rem;color:#8b95a5;margin-bottom:.5rem}
.footer-col a:hover{color:#ff5a4e}
.footer-bottom{text-align:center;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.06);font-size:.78rem;color:#8b95a5}
.footer-qr{display:flex;gap:1.5rem;justify-content:center;margin-bottom:1rem}
.footer-qr div{text-align:center}
.footer-qr img{width:100px;height:100px;border-radius:6px;background:#1c1f26;margin-bottom:.4rem}
.footer-qr span{font-size:.75rem;color:#8b95a5}

/* === Share === */
.share-bar{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}
.share-bar span{font-size:.85rem;color:#8b95a5}
.share-bar a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.06);color:#b0b8c4;font-size:.85rem;transition:background .2s,color .2s}
.share-bar a:hover{background:#ff5a4e;color:#fff}

/* === Breadcrumb === */
.breadcrumb{padding:.8rem 0;font-size:.8rem;color:#8b95a5}
.breadcrumb a{color:#8b95a5}
.breadcrumb a:hover{color:#ff5a4e}
.breadcrumb span{margin:0 .4rem}

/* === Responsive === */
@media(max-width:768px){
  .main-nav{display:none;position:absolute;top:64px;left:0;right:0;background:#111318;flex-direction:column;padding:1.5rem;gap:1rem;border-bottom:1px solid rgba(255,255,255,.06)}
  .main-nav.active{display:flex}
  .menu-toggle{display:block}
  .hero{height:70vh;min-height:400px}
  .hero h1{font-size:1.8rem}
  .video-grid{grid-template-columns:1fr}
  .search-box{width:160px}
  .header-inner{flex-wrap:wrap}
  .container{padding:0 1rem}
  .section{padding:2.5rem 0}
}
@media(max-width:480px){
  .hero-btns{flex-direction:column}
  .search-box{width:100%;margin-top:.5rem}
}

/* === Animations === */
@media(prefers-reduced-motion:no-preference){
  .fade-up{opacity:0;transform:translateY(20px);transition:opacity .5s cubic-bezier(.23,1,.32,1),transform .5s cubic-bezier(.23,1,.32,1)}
  .fade-up.visible{opacity:1;transform:translateY(0)}
}

/* === JSON-LD hidden === */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
