/* =====================
   ULTRA-LUXURY DESIGN SYSTEM
   Consolidated Master Styles (Navbar & Footer Fixed)
   ===================== */

:root {
    --brand: #C5A059; 
    --brand-dark: #A68549;
    --accent: #FFA873;
    --ink-strong: #1D1D1F;
    --ink: #424245;
    --ink-soft: #86868B;
    --bg-surface: #F5F5F7;
    --bg-dark: #000000;
    --nav-h: 80px;
    --radius-lg: 24px;
    --glass: rgba(255, 255, 255, 0.8);
}

body {
    font-family: "Inter", "Noto Sans SC", -apple-system, system-ui, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    margin: 0;
    padding-top: var(--nav-h);
    overflow-x: hidden;
}

body.is-home { padding-top: 0; }

/* ================= 导航栏 (精致修正) ================= */
.navbar-nz {
    height: var(--nav-h);
    background: var(--bg-dark) !important; /* 默认内页为深色 */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 首页透明状态 */
.transparent-nav {
    background: transparent !important;
}

/* 滚动后状态 */
.navbar-nz.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: saturate(180%) blur(20px);
    height: 72px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 36px !important; 
    width: auto;
    object-fit: contain;
    transition: all 0.3s;
}

.navbar-nz.scrolled .logo-img { height: 30px !important; }

/* 导航链接适配 */
.nz-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem !important;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.navbar-nz.scrolled .nav-link { 
    color: var(--ink-strong) !important; 
}

.nz-nav .nav-link:hover,
.nz-nav .nav-link.active { 
    color: var(--brand) !important; 
}

/* 语言切换按钮 */
.btn-lang {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    border-radius: 20px;
    padding: 4px 12px !important;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-nz.scrolled .btn-lang {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: var(--ink-strong) !important;
    background: transparent;
}

.btn-lang.active {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
}

/* 阅读进度条 */
.read-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--brand);
    z-index: 1001;
}

/* ================= 核心组件 ================= */
.btn-brand-solid {
    padding: 1.2rem 3.5rem;
    background: var(--brand);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-brand-solid:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.3);
}

/* ================= FOOTER (大厂级极简) ================= */
.footer-nz {
    background: var(--bg-dark);
    color: #fff;
    padding: 100px 0 40px;
    position: relative;
}

.footer-nz::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
    transition: 0.3s;
}

.footer-link:hover {
    color: var(--brand);
    transform: translateX(5px);
}

/* WeChat QR Code */
.wechat-qr-box {
    flex-shrink: 0;
}

.footer-qr {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.footer-qr:hover {
    border-color: var(--brand);
    transform: scale(1.05);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ================= 视频背景优化 ================= */
.hero-immersive {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: #000;
}

.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-media { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); }

video::-webkit-media-controls { display: none !important; }

/* 隐藏部分浏览器插件或特定播放器生成的控制层 */
._video_op_wrapper_96mx8_1 {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

.hero-mask {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

.text-highlight {
    background: linear-gradient(90deg, #fff 0%, var(--brand) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= 其他部分保持简洁 ================= */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ================= FLASH BANNER (GLOBAL) ================= */
.flash-banner {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    pointer-events: none;
    padding: 0.75rem;
}

.flash-card {
    pointer-events: auto;
    max-width: 760px;
    width: min(96vw, 760px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: #fff;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    animation: fb-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.flash-card.success { background: #198754; }
.flash-card.error { background: #dc3545; }

.flash-msg { margin: 0; font-size: 0.95rem; }

.flash-close {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.2s;
}

.flash-close:hover { opacity: 1; }

@keyframes fb-fade {
    to { opacity: 1; transform: translateY(0); }
}
